/* Overidden legend styles */
.wax-legend .overlay-legend {
  padding-top: 1px;
  min-width: 143px;
  }
.wax-legend .title {
  text-align: left;
  margin-bottom: 1px;
  font-weight: bold;
  font-size: 90%;
  line-height: 14px;
  width: 143px;
  }
.wax-legend .title2 {
  text-align: left;
  margin-top: 1px;
  margin-bottom: 4px;
  font-size: 75%;
  line-height: 14px;
  width: 143px;
  }
.wax-legend .overlay-legend.drought .title2 {
  width: 185px;
  }
.wax-legend .overlay-legend.commitment .title {
  width: 160px;
  }
.wax-legend .scale {
  clear: both;
  }
.wax-legend .scale ul {
  margin: 0;
  padding: 0;
  list-style: none !important;
  -webkit-padding-start: 0 !important;
  }
.wax-legend .scale ul li {
  font-size: 80%;
  list-style: none !important;
  margin-left: 0px !important;
  padding:2px 0;
  }
.wax-legend ul.labels li span {
  display:inline-block;
  vertical-align:middle;
  height: 16px;
  width: 30px;
  border: .5px solid #333;
  margin-right: 5px;
  margin-left: 0px !important;
  }
.wax-legend ul li span {
  display: block;
  margin-left: 0px !important;
  }
.wax-legend .source1 {
  font-size: 70%;
  color: #666;
  margin-top: 1px;
  clear: both;
  }
.wax-legend .source2 {
  font-size: 70%;
  color: #666;
  margin-top: 1px;
  clear: both;
  }
.wax-attribution a,
.wax-legend a {
  color: #7F8A8C;
  text-decoration: none !important;
  }

/* slider */

.slider-container {
   position: relative;
   width:100%;
   /*height: 50px;*/
   background: #C0C0BB;
   /*padding-left: 25px;
   padding-right: 25px;*/
   font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.slider-wrapper {
   padding-left: 25px;
   padding-right: 25px;
}

.slider-title {
   text-align: right;
   margin-left: 10px;
   margin-bottom: 2px;
   font-style: italic;
   padding-right: 10px;
   color: #635F5D;;
   /*font-weight: bold;*/
}

/*.controls {
   position: absolute;
   bottom: 30px;
   right: 0;
   font-size: 8pt;
   text-align: right;
}
.controls .clabel { font-size: .9em; }
.ui-spinner { width: 4em; }*/

.ui-slider-wrapper.horizontal {
    height: 2.3em;
}

.horizontal .ui-slider-label-ticks {
    height: 0.3em;
}

.horizontal .ui-slider-label-ticks span {
    top: 0px;
    color: #635F5D;
    font-size: 0.9em;
    font-weight: bold;
}

/* wax overrides */

  .caption-legend-container {
    clear:both;
    width:100%;
    margin: auto;
    background: #C0C0BB;
    }
   
  .wax-legend .my-legend {
    font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #635F5D ;

    }

  .map-legends {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    background: inherit;
    }
  
    .map-legends .map-legend {
    padding-top:0px;
    }

  .wax-legend .legend-title {
    text-align: left;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
    padding-top: 8px;
    }
  .wax-legend .legend-scale ul {
    margin: 0;
    padding: 0;
    width:100%;
    float: left;
    list-style: none;
    }
  .wax-legend .legend-scale ul li {
    display: block;
    float: left;
    margin-bottom: 0px;
    text-align: center;
    font-size: 80%;
    list-style: none;
    }
  .wax-legend ul.legend-labels li span {
    display: block;
    float: left;
    height: 15px;
    }

  .wax-legend .scaleLabel {
    clear:both;
    width:69.23%;
   }

  .wax-legend .scaleLabel-left {
    width: 49%;
    display: inline-block;
    text-align: center;
    font-weight: bold;
  }
  .wax-legend .scaleLabel-right {
    width: 49%;
    display: inline-block;
    text-align: center;
    font-weight: bold;
  }

  .wax-legend .scaleLabel-center {
    width: 100%;
    display: inline-block;
    text-align: center;
    font-weight: bold;
  }

  .wax-legend .citation-container {
      display: block;
      height: 100%;
    background: #C0C0BB;
    
  }

  .wax-legend .legend-source {
    font-size: 12px;
    color: #635F5D;
    float: left;
    height: 40px;
    padding-left:10px;
    padding-right:10px;
    }
  
  .wax-legend .legend-logo {
    float:right;
    height: 40px;
    padding-left:10px;
    padding-right:10px;
    }

  .wax-legend a {
    color: #FFFFFF;
    }
  
  .legend-logo a img {
    border:none;
    }
    
   .source {
    clear: both;
    height: 40px;
    background-color:#C0C0BB;
    padding-top: 20px;
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    }

body, html { 
    background-color:#C0C0BB;
}
