html,
body {
  min-height: 100%;
  height: 100%;
}

body {
  font-family: 'Nanum Gothic', sans-serif;
}

#map {
  min-height: calc(100% - 62px);
  height: calc(100% - 62px);
  width: 100%;
}

/* Navbar */
.pwa-navbar {
  text-transform: uppercase;
}

.nav-link {
  font: normal bold 14px / 18px "Open Sans Condensed", Helvetica, Arial, Verdana, sans-serif !important;
  color: white !important;
}

/* Map Marker layer styles */
.cold {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 16px !important;
  vertical-align: middle;
  background-color: rgb(191, 191, 255);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 10px;
  font-weight: bold;
}

.lo {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 16px !important;
  vertical-align: middle;
  background-color: #33cc33;
  background-color: rgb(51, 204, 51);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 10px;
  font-weight: bold;
}

.med {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 16px !important;
  vertical-align: middle;
  background-color: #ffff00;
  background-color: rgb(255, 255, 0);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 10px;
  font-weight: bold;
}

.hi {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  height: 16px !important;
  vertical-align: middle;
  background-color: #ff0000;
  background-color: rgb(255, 0, 0);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
}

.bridgeIcon {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 1px !important;
  height: 1px !important;
  vertical-align: middle;
  background-color: #ff0000;
  background-color: rgb(255, 0, 0);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 10px;
  font-weight: bold;
  color: #fff;
}

.lo.bak {
  position: relative;
  width: 100%;
  min-height: 5px !important;
  height: 5px !important;
  padding-top: 0px;
  background-color: #33cc33;
  background-color: rgb(51, 204, 51);
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-align: center;
  color: #000;
  font-weight: bold;
  border-style: solid;
  border-width: 1px;
  border-color: #000;
}

.leaflet-marker-iconlabel {
  heigh: 0px !important;
}

.leaflet-marker-icon-wrapper {
  height: 0px !important;
  padding: 0px !important;
}

.leaflet-tooltip-left:before {
    right: 0;
    margin-right: -12px;
    border-left-color: rgba(0, 0, 0, 0);
}
.leaflet-tooltip-right:before {
    left: 0;
    margin-left: -12px;
    border-right-color: rgba(0, 0, 0, 0);
    }
.leaflet-tooltip-own {
    position: absolute;
    padding: 4px;
    background-color: rgba(0, 0, 0, 0);
    border: 0px solid #000;
    color: #000;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0);
}

.leaflet-center {
    left: 50%;
    transform: translate(-50%, 0%);
}


/* Navbar */
/* Modal */
.modal-header {
  color: white !important;
}

.close {
  color: #fff !important;
  opacity: 1;
}

.close:hover {
  color: #fff;
  opacity: 1;
}

/* Dataset radio list */
.list-group-item {
  user-select: none;
  padding: 5px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.list-group input[type="checkbox"] {
  display: none;
}

.list-group input[type="checkbox"]+.list-group-item {
  cursor: pointer;
}

.list-group input[type="checkbox"]+.list-group-item:before {
  content: "\2713";
  color: transparent;
  font-weight: bold;
  margin-right: 1em;
}

.list-group input[type="checkbox"]:checked+.list-group-item {
  background-color: #0275D8;
  color: #FFF;
}

.list-group input[type="checkbox"]:checked+.list-group-item:before {
  color: inherit;
}

.list-group input[type="radio"] {
  display: none;
}

.list-group input[type="radio"]+.list-group-item {
  cursor: pointer;
}

.list-group input[type="radio"]+.list-group-item:before {
  content: "\2714";
  color: transparent;
  font-weight: bold;
  margin-right: 1em;
}

.list-group input[type="radio"]:checked+.list-group-item {
  background-color: #0275D8;
  color: #FFF;
}

.list-group input[type="radio"]:checked+.list-group-item:before {
  color: inherit;
}

/* Leaflet Info Control */
.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;
}

.info h4 {
  margin: 0 0 5px;
  color: #777;
}


.time-interval {
  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;
}

.time-interval h5 {
  margin: 0 0 5px;
  color: #777;
}

/* AHPS Colors */
.below-action {
  fill: green;
  stroke: gray;
  opacity: 0.7;
}
.action {
  fill: rgb(255,255,128);
  stroke: gray;
  //opacity: 0.7;
}
.flood {
  fill: rgb(255,204,128);
  stroke: gray;
  //opacity: 0.7;
}
.moderate {
  fill: rgb(255,128,128);
  stroke: gray;
  //opacity: 0.7;
}
.major {
  fill: rgb(220,150,255);
  stroke: gray;
  //opacity: 0.7;
}

/* HotSpot */

.hotSpotIcon {
  display: inline-block;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 1px !important;
  height: 1px !important;
  vertical-align: middle;
  horizontal-align: middle;
  background-color: #ff0000;
  background-color: rgb(255, 0, 0);
  border-style: solid;
  border-width: 1px;
  border-color: #000;
  font-size: 18px;
  font-weight: bold;
  font-color: white;
}
