html,
body {
  margin: 0;
  padding: 0;
  background-color: rgb(0, 0, 0);
  font-family: Arial, Helvetica, sans-serif;
}

#header {
  height: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: large;
  text-align: center;
  justify-content: start;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 5px;
  border: 2px;
  border-style: solid;
  border-radius: 15px;
  width: fit-content;
  margin: auto;
  z-index: 9999999;
}

h1:hover {
  font-size: large;
  text-align: center;
  justify-content: start;
  background-color: rgba(0, 0, 0, 0.5);
  text-emphasis-color: rgb(255, 255, 255);
  padding: 5px;
  border: 2px;
  border-style: solid;
  border-radius: 15px;
  width: fit-content;
  margin: auto;
  cursor: pointer;
}

#footer {
  width: 100%;
  z-index: 99999;
  bottom: -21vh;
  height: 25vh;
  position: fixed;
  display: flex;
  flex-direction: row;
}

#info {
  position: absolute !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: fit-content;
  height: fit-content;
  padding-bottom: 0px;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  top: 2vh;
  right: 1vw;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 99999;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
}

#info::-webkit-scrollbar {
  display: none;
}

#courseInfo {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px;
}

#mesoPic {
  margin-top: 10px;
}

#xmlAlertInfo {
  border: 2px solid rgba(34, 17, 17, 0.5);
  /* background-color: rgba(255, 255, 255, 0.55);*/
  border-radius: 6px;
  padding: 2px;
  border-collapse: collapse;
  width: 440px;
  height: 60vh;
  margin-bottom: 0px;
}

#xmlAlertInfo tr,
td {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#dropDowns {
  display: flex;
  position: absolute;
  height: calc(100% - 35px);
  bottom: 0px;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}





#meso,
#refreshRadar {
  display: block;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  width: 96px;
  height: 40px;
  appearance: initial;
  -webkit-appearance: initial;
  border-radius: 3px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  font-size: 12px;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #ddd;
}

#meso:after,
#refreshRadar:after {
  position: absolute;
  top: 5%;
  display: block;
  line-height: 32px;
  width: 45%;
  height: 90%;
  background: rgba(255, 0, 0, 0.25);
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease-in 0s;
  color: black;
  border: #888 1px solid;
  border-radius: 3px;
  left: 2%;
  content: ' ';
}

#meso:checked:after,
#refreshRadar:checked:after {
  left: 53%;
  background-color: rgba(25, 255, 25, 0.25);
  content: ' ';
}


#crawl,
#forecast,
#minimize {
  display: block;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  width: 96px;
  height: 40px;
  appearance: initial;
  -webkit-appearance: initial;
  border-radius: 3px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  font-size: 12px;
  font-family: Trebuchet, Arial, sans-serif;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #ddd;
}


#crawl:after,
#forecast:after,
#minimize:after {
  position: absolute;
  top: 5%;
  display: block;
  line-height: 32px;
  width: 45%;
  height: 90%;
  background: rgba(255, 0, 0, 0.25);
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease-in 0s;
  color: black;
  border: #888 1px solid;
  border-radius: 3px;
  left: 2%;
  content: ' ';
}


#crawl:checked:after,
#forecast:checked:after,
#minimize:checked:after {
  left: 53%;
  background-color: rgba(25, 255, 25, 0.25);
  content: ' ';
}

#dropDowns>div {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#dropDowns>div>table {
  border-collapse: collapse;
  box-sizing: content-box;
  text-indent: 0;
  display: table;
  margin: 0;
  display: table;
  flex-grow: 1;
  justify-content: center;
  background-color: rgba(0, 0, 0, 1);
  color: white;
}

#dropDowns * th {
  border-bottom: none;
  border: 1px solid black;
}

#dropDowns>div>div {
  display: flex;
  justify-content: center;
}

#dropDowns * input {
  margin: 2px;
}

#dropDowns * td {
  margin: 0;
  border: 1px solid black;
  border-bottom: 2px;
  text-align: center;
}

#dropDowns>*>*>table {
  margin: 0;
  display: table;
  flex-grow: 1;
  border-collapse: collapse;
  box-sizing: content-box;
  text-indent: 0;
  border-spacing: 2px;
  height: fit-content;
}

tr:hover>td {
  background-color: rgba(251, 255, 0, 0.5);
}

#map {
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: rgb(0, 0, 0);
}

.leaflet-tooltip-left:before {
  right: 0;
  margin-right: -6px;
  border-left-color: rgba(0, 0, 0, 0.5);
}

.leaflet-tooltip-right:before {
  left: 0;
  margin-left: -6px;
  border-right-color: rgba(0, 0, 0, 0.5);
}

.leaflet-tooltip {
  position: absolute;
  padding: 2px;
  background-color: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: 3px;
  color: #222;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

#forecastTable {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.75);
  width: 440px;
  height: 40vh;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 6px;
  border: 2px solid rgb(0, 0, 0);
}

#forecastButtons {
  background-color: rgba(255, 255, 255, 0.25);
  width: 15vw;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  padding-left: 0px;
  padding-right: 0px;
  border: 2px solid rgb(0, 0, 0);
  margin-left: 5vw;
}

.slide {
  display: none;
  height: 35vh;
  padding: 2px;
}

.prev,
.next {
  height: fit-content;
  cursor: pointer;
  position: sticky;
  top: 50%;
  width: auto;
  margin: 6px 6px 6px 6px;
  padding: 18px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 6px;
  user-select: none;
  z-index: 9999;
  border: 2px solid rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.25);
}

.prev:hover,
.next:hover {
  height: fit-content;
  cursor: pointer;
  position: sticky;
  top: 50%;
  width: auto;
  margin: 6px 6px 6px 6px;
  padding: 18px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 6px;
  user-select: none;
  z-index: 9999;
  border: 2px solid rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.55);
}


#mapbox {
  height: 100%;
  width: fit-content;
  display: flex;
  border-style: none;
  justify-content: center;
  align-items: center;
  top: 0px;
}

#content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}



#controlBox {
  position: absolute !important;
  border-radius: 6px;
  right: 0.5vw;
  bottom: 30vh;
  width: fit-content;
  height: fit-content;
  background-color: rgba(0, 0, 0, 0.55);
  color: whitesmoke;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

#controlBox>* {
  margin: 16px 0 0;
}

.leaflet-control-layers-overlays>label {
  width: fit-content;
}

#toggleBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  width: 96px;
  background-color: rgba(0, 0, 0, 0.55);
  color: white;
  text-align: center;
  position: absolute !important;
  left: 0.5vw;
  bottom: 33vh;
  padding-top: 16px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

#toggleBox>:first-child {
  border-top: 2px solid black;
  padding-top: 4px;
}

#toggleBox>* {
  margin: 2px;
}

#timeControl {
  background-color: rgba(0, 0, 0, 0.55);
  color: whitesmoke;
  width: fit-content;
  height: fit-content;
  position: absolute !important;
  right: 0.5vw;
  border-radius: 6px;
  bottom: 23vh;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

#timeControl>* {
  margin-top: 16px;
}


#alertImage>img {
  left: 0px;
  bottom: 0px;
}

#alertInfo {
  position: absolute;
  height: 15vh;
  overflow-y: scroll;
  flex-direction: row;
  justify-content: right;
  align-items: end;
  width: 440px;
  right: 0px;
  margin-top: 72px;
  margin-left: 72px;
}



#stationInfo {
  background-color: rgba(0, 53, 110, 0);
}

#czSidenav {
  background-color: rgba(0, 53, 110, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 2px;
}

#splitBox {
  height: fit-content;
  width: 23vw;
}

#attributions {
  margin: auto;
  padding: 2px;
  width: 23vw;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  border-style: groove;
  text-align: left;
}

#wmsAlertDiv {
  z-index: 99999999;
  height: fit-content;
}

.leaflet-tooltip-NWS-wms {
  z-index: 9999999999;
}

#alertURNInfo {
  height: 20vh;
  width: 20vw;
  white-space: wrap;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0);
}

#areaDesc {
  display: block;
  margin: auto;
  text-align: center;
  width: 40vw;
  height: 36px;
  overflow-y: auto;
  white-space: wrap;
  overflow-x: hidden;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  scrollbar-width: none;
}

#eventDesc {
  display: block;
  padding: 1px;
  text-align: left;
  margin: auto;
  width: 40vw;
  height: 64px;
  white-space: wrap;
  overflow-y: auto;
  overflow-x: hidden;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  scrollbar-width: none;
}

.Minor,
.Statement {
  background: rgb(21, 177, 0);
  border-radius: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: #ccc;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  margin: auto;
  width: fit-content;
}

.Moderate,
.Advisory {
  background: rgb(208, 255, 0);
  border-radius: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: #ccc;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  margin: auto;
  width: fit-content;
}

.Severe,
.Watch {
  background: rgb(255, 136, 0);
  border-radius: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: #ccc;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  margin: auto;
  width: fit-content;
}

.Extreme,
.Warning {
  background: rgb(255, 0, 0);
  border-radius: 15px;
  border-style: solid;
  border-width: 2px;
  border-color: #ccc;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  margin: auto;
  width: fit-content;
}

.leaflet-popup .leaflet-popup-content-wrapper {
  background: rgba(0, 0, 0, 0.45);
  color: #000;
  overflow-y: scroll;
  height: 450px;
  width: 70vw;
  min-width: 70vw;
  border-style: hidden;
}

.leaflet-marker-icon .leaflet-zoom-animated .leaflet-interactive {
  /* transform: translate3d(-48px, -160px, 0px); */
  z-index: 127;
  height: 16px;
}

.leaflet-marker-shadow .leaflet-zoom-animated .leaflet-interactive {
  /* transform: translate3d(-48px, -160px, 0px); */
  z-index: 99;
  height: 16px;
}

.leaflet-popup-content>table {
  width: 70vw;
  min-width: 70vw;
  height: 350px;
  border-collapse: collapse;
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
  table {
    width: 100%;
  }

  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid #ccc;
  }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    /* Label the data */
    content: attr(data-column);

    color: #000;
    font-weight: bold;
  }
}

.udiscBox {
  justify-content: center;
  text-align: center;
}

.myCluster {
  width: 16px;
  height: 16px;
  background-image: linear-gradient(rgb(22, 110, 0),
      rgb(22, 110, 0),
      rgb(0, 128, 128),
      rgb(0, 128, 128),
      rgb(3, 190, 237),
      rgb(3, 190, 237),
      rgb(3, 190, 237),
      rgb(3, 190, 237),
      rgb(3, 190, 237),
      rgb(3, 190, 237),
      rgb(0, 128, 128),
      rgb(0, 128, 128),
      rgb(22, 110, 0),
      rgb(22, 110, 0));
  text-align: center;
  font-size: 16px;
  font-family: Roboto;
}

.target {
  font-size: 2em;
  line-height: 1em;
  margin-left: -2px;
}

.strip1 {
  overflow-x: hidden;
}

.loading {
  text-align: left;
}

.loaded {
  text-align: left;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(5, end) 900ms infinite;
  animation: ellipsis steps(5, end) 900ms infinite;
  content: "\2026";
  /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

.pulse {
  display: block;
  border-radius: 50%;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.35);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
}




.mesoStyle {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.85);
  color: rgba(0, 53, 110, 1);
  border: 1px solid rgba(255, 255, 255, 1);
  margin: 2px 5px 2px 2px;
  align-self: start;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
  padding: 2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}


.mesoBox {
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid black;
  border-radius: 6px;
  padding: 3px;
  margin-bottom: 2px;
  text-align: center;
  margin-top: 16px;
}

.mesoBox>span {
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgb(0, 53, 110);
  border-radius: 5px;
  padding: 3px;
}

.draggable {
  position: absolute;
  user-select: none;
  /* prevent text selection */
  touch-action: none;
  /* fixes drag on touch devices */
  width: fit-content;
}

.closeButton {
  width: fit-content;
  position: relative;
  margin-left: 96%;
  cursor: pointer;
}