* {
  box-sizing: border-box;
}

select {
  width: 100%;
  color: #1E90FF;
  background-color: white;
  font-size: 1.5vh;
  padding-top: 8px;
  padding-right: 25px;
  padding-bottom: 8px;
  padding-left: 8px;
  border:1px solid #dddddd;
  border-style: outset;
}


html, body {
  margin: 0;
  height: 100%;
  font-size: 1.5vh;
  font-family: Arial, Helvetica, sans-serif;
  color: #555555;
}

.error-div{
  text-align: center;
  color: #B00020;
  font-weight: 500;
  z-index: 100;
  display: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background-color: #f8d7da;
  border: 1px solid;
  border-color: #f5c6cb;
  border-radius: 5px;
  padding: 5px;
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
}

.ol-error-div-closer {
  text-decoration: none;
  position: absolute;
  top: 1px;
  right: 4px;
  color: #B00020;
}


.ol-error-div-closer:after {
  content: "✖";
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#root {
  margin: auto;
  top: 0;
  bottom: 0;
  width: 100%;
}

#map {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.caption {
  text-align: center;
  color: #1E90FF;
 /*  font-size: 1.3em; */
}

.controlCaption{
  text-align: center;
  color: #1E90FF;
  font-weight: 500;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 2.0vh;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 5px;
}

#description {
  text-align: justify;
  text-align-last: left;
}

#cfTable {
  margin-top: 20px;
}

#cfTable tr{
  border-bottom: 1px solid #DDDDDD;
}

.mdLabel {
  width: 180px;
  text-align: right;
}

.mdValue {
  color: #1E90FF;
  padding-left: 5px;
}

.cfHeader {
  text-align: center;
  color: white;
  background-color: #1E90FF ;
  /* font-size: 1.3em; */
}

.cfLabel {
  width:100px;
  text-align: center;
}

.cfCaption {
  /* font-size: 1.1em; */
  color: #1E90FF;
}

.cfDescription {
  /* font-size: .9em; */
  font-size: 1.1vh;
  text-align: justify;
  text-align-last: left;
}

.puLabel {
  width: 100px;
  text-align: right;
}

.puValue {
  color: #1E90FF;
  padding-left: 5px;
}

.puLabelS {
  color: white;
  background-color: #1E90FF;
  width: 100px;
  text-align: right;
}

.puValueS {
  color: white;
  background-color: #1E90FF;
  padding-left: 5px;
}

.lat-long {
  float: right;
  font-size: 0.8em;
  margin-top: 15px;
  margin-bottom: 0px;
}

.marker{
  margin-left: 5px;
  margin-right: 5px;
  color: #1E90FF;
}

.ol-layers-extent{
  top: 4.5em;
  right: 0.5em;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .ol-layers-div{
    width: 80vw;
  }
  .ol-metadata-div{
    width: 80vw;
  }
  .ol-popup {
    min-width: 60vw;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .ol-layers-div{
    width: 70vw;
  }
  .ol-metadata-div{
    width: 70vw;
  }
  .ol-popup {
    min-width: 50vw;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .ol-layers-div{
    width: 50vw;
  }
  .ol-metadata-div{
    width: 50vw;
  }
  .ol-popup {
    min-width: 40vw;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .ol-layers-div{
    width: 40vw;
  }
  .ol-metadata-div{
    width: 40vw;
  }
  .ol-popup {
    min-width: 30vw;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .ol-layers-div{
    width: 30vw;
  }
  .ol-metadata-div{
    width: 30vw;
  }
  .ol-popup {
    min-width: 20vw;
  }
}

.ol-layers-div{
  position: absolute;
  opacity: .9;
  top: 1.5em;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 100;
  /* width: 60vw;
  max-width: 450px; */
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background-color:  rgba(255,255,255,.9);
  padding: 5px;
}

.ol-legend-extent{
  top: 2.5em;
  right: 0.5em;
}

.ol-legend-div{
  position: absolute;
  opacity: .9;
  top: 2.5em;
  right: 2.5em;
  z-index: 100;

}

.ol-metadata {
  top: 0.5em;
  right: 0.5em;
}

.ol-metadata-div {  
  position: absolute;
  display: inline-block;
  overflow: auto;
  opacity: .9;
  top: 1.5em;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 100;
 /*  width: 40vw; */
  height: 50vh;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background-color:  rgba(255,255,255,.9);
  border-radius: 5px;  
  padding: 5px;
}

#metadataTable tr{
  border-bottom: 1px solid #DDDDDD;
}

.metadata {
  width: 100%;
  overflow: auto;
}

.ol-mouse-position {
    top:auto!important;
    bottom: 8px!important;
    right: 8px !important;
    position: absolute;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #DDDDDD;
  bottom: 12px;
  left: -50px;
  max-width: 400px;
  /* min-width: 20vw;*/
} 

.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before {
  border-top-color: #DDDDDD;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 3px;
  right: 3px;
  color: #1E90FF;
}

.ol-popup-closer:after {
    content: "✖";
}

.layerLabel {
  padding-left: 10px;
  text-align: left;
}

.layerValue {
  width: 80%;
  color: #1E90FF;
  padding-left: 5px;
}

/* select styles */
.custom-select {
  position: relative;
  font-family: Arial;
  float: left;
  width: 100%;
}

.timeDimensionDiv{
  display: flex;
  float: left;
  width: 100%;
}