body {
  /*background-color: #eee;*/
}

div.chart_container {
  height: 450px;
}
div.chart_container div[class^="chart_"] {
  width: 100%;
  height: 100%;
}

div.sections_navbar {
  width: 100px;
  float: left;
  text-align: left;

}
div.sections_navbar ul {
  list-style-type: none;
  -webkit-padding-start: 0px;
  -moz-padding-start: 0px;
  padding: 0px;
}
div.sections_navbar li {
  margin-bottom: 30px;
  cursor: pointer;
  text-align: center;
}

div.sections_navbar span {
  display: block;
  color: #000;
  font-family: Cambria,Calibri,Trebuchet MS,Helvetica,Consolas, monospace;
}

div.sections_navbar img {
  margin: 10px auto;
  width: 50px;  /* Instead of manually adjusting here, re-size the actual icons */
}

span#cancer, span#mi, span#esld, span#esrd, span#comorb, span#multi, span#age, span#life {
  color: #0d2a77;
  font-weight: 600;
}

div#splash {
  font-family: Helvetica, sans-serif;
  max-width: 800px; 
  padding: 20px;
  margin: 10px 10px 10px 120px; /* don't allow wrapping around sections_navbar */
  border-left: 1px solid #ddd;
}

div#splash img {
  margin: 10px;
}
  
div.flexslider {
  margin-left: 120px;
}

/* Only display the splash section initally, hide all others */
div#slider_cancer, div#slider_mi, div#slider_esld, div#slider_esrd, div#slider_comorb, div#slider_multi, div#slider_age, div#slider_life {
  display: none;
}
div.ret_def {
  display: block;
}

/*DVR: adjustment to jquery ui button styling for indicator definition dialog boxes*/
div.ui-dialog button {
  float: right;
}

img#play {
  vertical-align: center;
}

img#fwd {
}

img#loading {
  display: none;
}

/***** Cancer images *****/
div#slider_cancer {
  height: 1000px;
}

img#cancer_ci_slide {
  margin: 5px auto;  
  height: 800px;
  width: 570px;
}

img#cancer_sir_slide {
  margin: 5px auto;
  height: 900px;
  width: 485px;
}

img#cancer_maad_slide {
  margin: 5px auto;
  height: 800px;
  width: 860px;
}

img#cancer_mr_slide, img#age_slide {
  margin: 5px auto;
  height: 800px;
  width: 800px;
}


/***** MI images *****/
div#slider_mi {
  height: 700px;
}

img#mi_i_slide {
  margin: 5px auto;
  height: 600px;
  width: 490px;
}

img#mi_rf_slide {
  margin: 5px auto;
  height: 600px;
  width: 780px;
}


/***** ESLD images *****/
div#slider_esld {
  height: 800px;
}

img#esld_i_slide {
  margin: 5px auto;
  height: 500px;
  width: 815px;
}

img#esld_haa_slide {
  margin: 5px auto;
  height: 700px;
  width: 700px;
}


/***** ESRD images *****/
div#slider_esrd {
  height: 800px;
}

img#esrd_i_slide {
  margin: 5px auto;
  height: 600px;
  width: 760px;
}

img#esrd_rf_slide {
  margin: 5px auto;
  height: 700px;
  width: 445px;
}

img#esrd_cibvl_slide {
  margin: 5px auto;
  height: 600px;
  width: 640px;
}

img#esrd_cibe_slide {
  margin: 5px auto;
  height: 600px;
  width: 640px;
}

/***** Comorbidity images *****/
div#slider_comorb {
  height: 800px;
}

img#comorb_i_slide {
  margin: 5px auto;
  height: 350px;
  width: 880px;
}

img#comorb_ci_slide {
  margin: 5px auto;
  height: 700px;
  width: 710px;
}

/***** Multimorbidities images *****/
div#slider_mutli {
  height: 800px;
}

img#multi_pbcy_slide {
  margin: 5px auto;
  height: 700px;
  width: 765px;
}

img#multi_pba_slide {
  margin: 5px auto;
  height: 500px;
  width: 770px;
}

img#multi_comcc_slide {
  margin: 5px auto;
  height: 500px;
  width: 855px;
}

div#slider_age {
    height: 850px;
}

div#slider_life { 
  height: 800px;
}

img#life_expobs_slide {
  margin: 5px auto;
  height: 750px;
  width: 402px;
}

div.slide_buttons {
  text-align: center;
}

.slide_buttons input{
  border:1px solid #d1dcdf; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 10px 10px 10px 10px; text-decoration:none; display:inline-block;font-weight:bold; color: #0000a5;
  background-color: #f2f5f6; background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f5f6), to(#c8d7dc));
  background-image: -webkit-linear-gradient(top, #f2f5f6, #c8d7dc);
  background-image: -moz-linear-gradient(top, #f2f5f6, #c8d7dc);
  background-image: -ms-linear-gradient(top, #f2f5f6, #c8d7dc);
  background-image: -o-linear-gradient(top, #f2f5f6, #c8d7dc);
  background-image: linear-gradient(to bottom, #f2f5f6, #c8d7dc);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#f2f5f6, endColorstr=#c8d7dc);

  background-color: #bbb;
  border: 1px solid #333;
  color: #333;
  font-weight: bold;
  padding: 8px;
  margin-left: -2px;
  margin-right: -2px;
  display: inline;
  border-radius: 0px;
}

.slide_buttons input:hover{
  border:1px solid #b6c7cc;
  background-color: #d4dee1; background-image: -webkit-gradient(linear, left top, left bottom, from(#d4dee1), to(#a9c0c8));
  background-image: -webkit-linear-gradient(top, #d4dee1, #a9c0c8);
  background-image: -moz-linear-gradient(top, #d4dee1, #a9c0c8);
  background-image: -ms-linear-gradient(top, #d4dee1, #a9c0c8);
  background-image: -o-linear-gradient(top, #d4dee1, #a9c0c8);
  background-image: linear-gradient(to bottom,#d4dee1,#a9c0c8);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d4dee1, endColorstr=#a9c0c8);
  cursor: pointer;
}

div.slide_buttons input.chosen {
  background-color: #0d2a77;
  color: #fff;
  background-image: none;
  outline: none;
  text-shadow: none;
  box-shadow: none;
}

/* DVR: need to override Drupal theme defaults */
.slide_buttons input[type='button'] {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.slide_buttons input[type='button']:hover {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

/* DVR: removing rounded buttons for now, don't look good when re-sizing to small screen
div.slide_buttons .right_end_button {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

div.slide_buttons .left_end_button {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

div.slide_buttons .right_end_button:hover {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

div.slide_buttons .left_end_button:hover{
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
*/
h2.title {
  text-align: center;
  font-family: Cambria, sans-serif;
  color: #000;
  padding-bottom: 4px;
}

h3.slide_title {
  text-align: center;
  font-family: Cambria, sans-serif;
  display:none;
}

ul.slides p {
  margin-top: 100px;
  text-align: center;
}

.info {
  padding: 6px 8px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}
div.leaflet-top, div.leaflet-control {
  margin-top: 100px;
}

/* Make sure the leaflet map controls don't appear on top of the Drupal admin menu overlay */
.leaflet-top,
.leaflet-bottom {
	z-index: 100; /* DVR: was 1000 in leaflet.css */
	}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}

.legend {
  text-align: left;
  line-height: 18px;
  color: #555;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.legend .circle {
  border-radius: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid black;
  vertical-align: middle;
  margin-top: 5px;
}

/* DVR: code for adjusting responsiveness is overriding the base theme's media queries defined in responsive.css  */

/* Smaller Then Desktop
================================================== */
@media only screen and (max-width: 959px) {
}

/* Tablet (Portrait)
================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
}


/* Mobile (Portrait & Landscape)
================================================== */
@media only screen and (max-width: 767px) {
}

/* Mobile (Landscape)
================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  div#map_container {
    /*margin: 0px;*/
  }
  div.map_controls {
    float: none;
	/*margin: 5px auto; */
	width: auto;
	height: auto;
  }
  div#map {
    margin: 5px;
	margin-top: 10px;
	width: 100%;
	height: 600px;
  }
}

/* Mobile (Portrait only)
================================================== */
@media only screen and (max-width: 479px) {
  div.sections_navbar {
    width: 100%;
	display: inline-block;
	float: none;
	text-align: center;
  }
  div.sections_navbar ul {
    width: 100%;
    display: inline-block;
	list-style-type: none;
	border-bottom: 1px solid #ddd;
  }
  div.sections_navbar li {
    display: inline-block;
  }
  div.sections_navbar span {
    display: none; 
  }
  div.sections_navbar img {
    display: inline-block;
	margin: 8px;
  }
  div.flexslider {
    margin: 5px;
  }
  div#splash {
    margin: 10px;
    border: 0px;
  }
  div#map_container {
    margin: 0px;
  }
  div.map_controls {
    float: none;
	margin: 5px auto; 
	width: auto;
	height: auto;
  }
  div#map {
    margin: 5px;
	width: 100%;
	height: 600px;
  }
}

