/* map legend */
#map_legend {
  margin-bottom: 0px;
  margin-right: 0px;
}
.map_legend_box {
  display: none;
  width: 240px;
  margin: 20px 20px 0 0;
  border: 2px solid #333;
  border-radius: 4px;
  font-size: 75%;
  color: #333;
}
.map_legend_box .map_legend_title {
  padding: 5px 10px;
  text-align: left;
  background-color: #e6e6e6;
}
.map_legend_box .map_legend_content {
  background-color: white;
  padding: 5px 10px;
  border-top: 2px solid #333;  
}

#loading {
  position: absolute;
  z-index: 1;
  width: 300px;
  height: 30px;
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -15px;
}

/* OpenLayers Attribution */
.olControlAttribution {
  bottom: 0;
  right: 0;
  /* Fallback for web browsers that don't support RGBa */
  background-color: white;
  /* RGBa with 0.6 opacity */
  background-color: rgba(255, 255, 255, 0.6);
} 

/* Make error image or cross domain image look like ok */
.olImageLoadError {
    background-color: transparent;
}

/* button */
.c-button {
  display: block;
  padding: 3px 8px;
  border: 2px solid #BBB;
  border-radius: 15px;
  color: #333;
  background-color: #F3F3F3;
  font-size: 120%;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 1px #FFF;
  box-shadow: 1px 2px 3px 0px #DDD;
  box-sizing: border-box;
}
.c-button:hover,
.c-button:focus {
  border-color: #999;
  background-color: #E6E6E6;
  color: #333;
  text-decoration: none;
}

/* map overlay */
.c-map-overlay {
  z-index: 1100; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
}
.c-map-overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.c-map-overlay-close-button {
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/close.gif") 0 0 no-repeat;
  background-size: 100% 100%;
  font-size: 0;
  line-height: 0;
}

.c-map-overlay-content {
  padding-right: 40px;
  overflow: auto;
}

.c-map-overlay iframe {
  border: 0;
}

/* map controller */
.c-map-controller {
}
.c-map-primary-controller,
.c-map-secondary-controller {
  vertical-align: top;
  margin-bottom: 10px;
}
.c-map-primary-controller {
}
.c-map-controller-inputs {
  display: inline-block;
}
.c-map-controller-inputs select {
  margin-right: 10px;
}

/* map layer trigger */
.c-map-layer-trigger {
  display: inline-block;
  padding-right: 20px;
}
.c-map-layer-trigger label {
  margin: 0 5px 0 0;
  vertical-align: middle;
}
.c-map-layer-trigger input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  vertical-align: middle;
}

/* map status */
.c-map-status {
}
.wxgis .c-map-status p {
  margin: 5px 0;
}

.c-help {
  margin-top: 20px;
}

@media all and (min-width:1024px) {
  .c-map-primary-controller,
  .c-map-secondary-controller {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 10px;
  }

  .c-map-primary-controller {
    margin-right: 20px;
  }
}

@media all and (max-width:767px) {
}
