/* Override .blog_left img 10px margin bottom!
   Leave icons alone to avoid shifting marker icons,
   which have their own margin settings: */

img:not( .leaflet-marker-icon ) {
  margin: 0px !important;
}

.leaflet-control img {
  margin: 0px !important;
}

.leaflet-contextmenu img {
  margin: 0px !important;
}

/* Style of Leaflet map pop-up windows: */

.leafletPopup div {
  color: #6e6e6e;
  white-space: nowrap;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 13px !important;
}

.leafletPopup .leaflet-popup-content {
  min-width: 250px;
}

.leaflet-container a.leaflet-popup-close-button {
  font-weight: 900 !important;
  font: 21px/18px Arial, Verdana, sans-serif;
  padding: 4px 19px 0px 0px;
}

.leafletPopup h2 {
  background-color: #E9F6FC;
  color: #003366;
  /*background-color: #254ba0;*/
  /*color: #ffffff;*/
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 3px;
  padding-left: 6px;
  text-transform: none;
  white-space: nowrap;
  margin-bottom: 6px;
  letter-spacing: normal !important;
}

.leafletPopup a {
  font-weight: bold;
}

.leafletPopup a:hover {
  text-decoration: underline;
}

.markerFoot {
  margin-top: 6px;
}

/* Style of Leaflet Labels so that pop-up windows appear above labels: */

.leaflet-label {
  z-index: 0;
}

/* Don't underline the close button in Leaflet pop-up windows: */

.leaflet-container a.leaflet-popup-close-button:hover {
  text-decoration: none;
}

/* Style of custom control elements added to Leaflet map: */

.leafletCustomControl {
  padding: 6px 6px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  /*font-face: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
}

.leafletCustomControlThin {
  padding: 2px 3px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}

.ac-container {
    margin-bottom: 5px;
}

/* Style of leaflet link hover (not set by default in leaflet.css) */

.leaflet-container a:hover {
  color: #17ace3;
}

/* Style of jQuery UI dialog inline pop-up: */

.dialog-popup {
  z-index: 9999;
}

.dialog-popup .ui-dialog-titlebar-close {
  display: none;
}

.ui-dialog a {
  color: #204fa0;
}

.ui-dialog a:hover {
  color: #17ace3;
}

/* Style of jQuery UI buttonset: */

/*
Interferes with metadata inline popup viewer open/close buttons...
.ui-button-text {
  font-size: 12px;
  padding: 0.4em 0.7em !important;
}

.ui-button {
  float: left;
}
*/

/* Style of jQuery UI slider: */

.ui-slider {
  font: 12px/1.5 Arial, Helvetica, sans-serif;
}

/* Style of jQuery UI slider when it is disabled: */

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
  opacity: 1.00;
  filter: Alpha( Opacity=100 );
  background-image: none;
}

.ui-state-disabled .ui-icon {
  filter: Alpha( Opacity=100 ); /* For IE8 */
}

/* Style of jQuery tooltip: */

.ui-tooltip {
  font-size: 12px;
}

a.tooltip {
  color: #000000;
  cursor: default;
  font-weight: normal;
  text-decoration: none;
}

a:link.tooltip {
  color: #000000;
  cursor: default;
  font-weight: normal;
  text-decoration: none;
}

a:visited.tooltip {
  color: #000000;
  cursor: default;
  font-weight: normal;
  text-decoration: none;
}

a:hover.tooltip {
  color: #000000;
  cursor: default;
  font-weight: normal;
  text-decoration: none;
}

a:active.tooltip {
  color: #000000;
  cursor: default;
  font-weight: normal;
  text-decoration: none;
}

/* Style of close buttons and other font awesome utilities: */

span.utility {
  color: #9c9c9c;
  cursor: pointer;
}

span:hover.utility {
  color: gray;
}

a.utility {
  color: #9c9c9c;
  cursor: pointer;
}

a:hover.utility {
  color: gray;
}

/* Style of info icons in layer menu; StyledLayerControl also defines this
   in its own CSS. Added here for non-StyledLayerControl maps: */

.info-icon {
  color: #aaaaaa;
  cursor: pointer;
}

/* Style of dataset info divs: */

.dataset {
  border: 1px solid lightgrey;
  padding: 0px 15px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 5px lightgray;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.dataset_title h3 {
  background: #254ba0 none repeat scroll 0 0;
  color: #ffffff;
  font-size: 16px;
  padding: 15px;
}

.credit_blurb {
  margin: 2px 0px -4px 0px !important;
}

/* Override Google Map z-index for lower-right copyright (cc) bar
   (google-style-cc) and lower-left Google Logo (gm-style) so
   they don't get hidden when GoogleMutant z-index is auto,
   which is needed in order for gesturehandling (map scroll) to
   work: */

.gm-style {
  z-index: auto !important;
}

.gm-style-cc {
  z-index: 1000001 !important;
}
