/* line-height:1.6;
overflow: auto; */
:root {
  --bgColor: #0fddaf;
  --btnColor: DarkBlue;
  --txtColor: WhiteSmoke;
  --focColor: DarkOrange;
  --hovColor: Orange;
  --borColor: rgba(0, 0, 0, 0);
  --fontSize: 12px;
  --textPrimary: black;
  --textSecondary: #4b4760;
  --borderColor: #cccccc;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* padding: calc(8px + 1.5625vw); */
  /* font-size: calc(15px + 0.390625vw); */
  /* font-size: calc(11px + 0.390625vw); */
  font-weight: 400;
  font-size: calc(var(--fontSize) * 1.17);
  font-family: 'Lato',sans-serif;
}
* {
  font-size: inherit;
}
button {
  /* border-radius: 0.25rem; */
  /* padding: 4px; */
  border: none;
  border-radius: calc(var(--fontSize) / 2);
  background-color: var(--btnColor);
  font-size: calc(var(--fontSize) * 1.0);
  font-weight: 500;
  outline: none;
  padding: calc(var(--fontSize) * 0.6) calc(var(--fontSize) * 0.3);
  /* padding: var(--fontSize) calc(var(--fontSize) * 1.75); */
  cursor: pointer;
  color: var(--txtColor);
  box-shadow: 0 0 0 1px var(--borColor) inset;
}
button:active {
  --bgColor: #1db284;
}
button:focus {
  --borColor: rgba(0, 0, 0, 0.4);
  background-color: var(--focColor);
}
button:hover {
  background-color: var(--hovColor);
}
dialog > input[type=text]:focus, input[type=search]:focus {
  width: 90%;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}
h1, h2, h3, h4, h5, h6 {
  color: DarkBlue;
}
h1 {
  font-size: calc(var(--fontSize) * 2);
}
h2 {
  font-size: calc(var(--fontSize) * 1.73);
}
h3 {
  font-size: calc(var(--fontSize) * 1.47);
}
h4 {
  font-size: calc(var(--fontSize) * 1.33);
}
h5 {
  font-size: calc(var(--fontSize) * 1.2);
}
h6 {
  font-size: calc(var(--fontSize) * 0.8);
}
input[type=text], input[type=search] {
  width: 90%;
  border: none;
  border-radius: 0.5rem;
  font-size: calc(var(--fontSize) * 1.0);
  background-color: Khaki;
  padding: 2px 1px;
  transition: width 0.4s ease-in-out;
}
input[type=text]:focus, input[type=search]:focus {
  width: 95%;
}
summary {
  font-weight: bold;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
  width: 90%;
}
details[open] {
  padding: 0.5em 0.5em 0;
}
option:checked {
  color: darkblue;
  font-weight: bold;
}
textarea {
  box-sizing: border-box;
  width: 90%;
}
.btn {
  background-color: green;
  border: none;
  border-radius: 0.25rem;
  /* font-size: calc(var(--fontSize) * 0.93); */
  /* color: var(--txtColor); */
  padding: 4px;
}
#button {
  background-color: DarkBlue;
  border: none;
  border-radius: 0.5rem;
  color: var(--txtColor);
  /* padding: 0.5rem 1rem; */
  text-align: center;
  text-decoration: none;
  width: auto;
  display: inline-block;
  font-size: calc(var(--fontSize) * 1.67);
  cursor: pointer;
}
.menu-button {
  background-color: DarkBlue;
  border: none;
  border-radius: 0.4rem;
  color: var(--txtColor);
  padding: 0.5rem 0rem;
  text-align: center;
  text-decoration: none;
  width: 100%;
  display: inline-block;
  font-size: calc(var(--fontSize) * 1.07);
  cursor: pointer;
}
.dialog-close-button {
  background-color: palegoldenrod;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: calc(var(--fontSize) * 1.07);
  cursor: pointer;
}
.dropdown {
  width: 95%;
  box-sizing: border-box;
  border-radius: 0.5rem;
  font-size: calc(var(--fontSize) * 0.93);
  background-color: palegoldenrod;
  padding: 5px 7px 5px 7px;
}
.align-right {
  float:right;
}
button:hover, .menu-button:hover {
  background-color: #8B8B00;
  box-shadow: 0 0.75rem 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
.dialog-close-button:hover {
  /* transform: scale(1.5); */
  background-color: red;
}
.badging {
  color: red;
}
.grid-container {
  display: grid;
  grid-template-columns:  repeat(6, minmax(0, 1fr));
  grid-template-rows: 72px auto;
  gap: 0;
}
.header-menu {
  grid-column: 1;
  grid-row: 1;
  background-image: linear-gradient(to bottom, #B8B8B8, WhiteSmoke);
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-image {
  grid-column: 2 / span 3;
  grid-row: 1;
  background-image: linear-gradient(to bottom, #B8B8B8, WhiteSmoke);
}
.header-about {
  grid-column: 5 / span 2;
  grid-row: 1;
  background-image: linear-gradient(to bottom, #B8B8B8, WhiteSmoke);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}
.sidebar {
  grid-column: 1;
  grid-row: 2;
  background-image: linear-gradient(to bottom, WhiteSmoke, #B8B8B8);
  height: calc(100% - 72px);
  padding: 0 3px;
}
.map {
  grid-column: 2 / span 5;
  grid-row: 2;
}
.menu-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* width: fit-content; */
  /* width: 19rem; */
  /* margin: 32px; */
  margin: 2px;
}
.menu-option-wrapper {
  position: absolute;
  top: 50px;
  /* bottom: 20%; */
  right: 35vw;
  left: 3%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 100ms linear 0s;
  filter: drop-shadow(0 6px 26px rgba(0, 0, 0, 0.24));
  padding-top: calc(var(--fontSize) / 2);
  z-index: 575;
}
.menu-options {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  border: 1px solid var(--borderColor);
  box-sizing: border-box;
  border-radius: calc(var(--fontSize) / 2);
  position: absolute;
  width: auto;
  left: 0;
  right: 0;
  overflow: auto;
  background: palegoldenrod;
  color: black;
  transition: transform 300ms ease-in-out 0s, clip-path 300ms ease-in-out 0s;
}
.menu-options div {
  color: var(--textPrimary);
  padding: 8px 16px;
  width: auto;
  cursor: pointer;
}
.menu-options div:hover {
  background-color: var(--hovColor);
}
.menu-options div:focus {
  background-color: var(--focColor);
}
.menu-bottom-border {
  border-bottom: 1px solid var(--borderColor);
}
.menu-top-border {
  border-top: 1px solid var(--borderColor);
}
.menu-component {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-no-space {
  justify-content: flex-start;
  gap: 6px;
}
.menu-sub-header {
  pointer-events: none;
  font-weight: 700;
  font-size: calc(var(--fontSize) * 1.25);
}
.menu-options .placeholder {
  color: var(--textSecondary);
  font-style: italic;
}
.menu-options .narrow {
  padding: 8px 16px;
}
.menu-options i {
  color: var(--textSecondary);
}
.menu-options {
  transform: translateX(100%);
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}
.menu-options:nth-of-type(1) {
  transform: translateX(0);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

#map {
  height: calc(100% - 72px);
  width: calc((100%*5/6) - 6px);
}
#map-control {
  visibility: hidden;
}
#sidebar {
  float: left;
  width: calc((100%*1/6));
  /* width: calc(17% - 28px); */
  /* padding: 0.625rem; */
  background-color: WhiteSmoke;
  overflow: auto;
}
/* Absolute positioning */
#help-container {
  position: absolute;
  display: none;
  width: 85vw;
  height: 60vh;
  left: 8.75vw;
  overflow: hidden;
  padding-top: 15%;
  z-index: 1001;
}
#help-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 95%;
  border: 4mm ridge rgba(211, 220, 50, .6);
}
#free-download {
  position: absolute;
  opacity: 0.6;
  z-index: 600;
  bottom: 110px;
  right: 0;
  background-color: rgba(255, 255, 255, 0.6);
  /* width: 128px;
  height: 69px; */
  width: auto;
  height: auto;
  /* padding: 0 3px;
  margin:0; */
  color: DarkBlue;
  font: 1rem "Lato", Arial, Helvetica, sans-serif;
}
#map-centre-overlay {
  display: none;
  font-family: NotoColorEmoji;
}
#quick-search-control {
  display: none;
}
#slider-trench {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5px;
  top: 80px;
  right: 20px;
  z-index: 540;
}
#slider-image {
  display: none;
  position: absolute;
  accent-color: red;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5px;
  top: 110px;
  right: 20px;
  z-index: 540;
}

.tooltip {
  position: absolute;
  display: none;
  bottom: 110%;
  padding: 0.625rem;
  background-color: #333;
  border-radius: 3px;
  font-size: calc(var(--fontSize) * 0.83);
  color: #eee;
  animation: moveup 0.1s linear;
}
.tooltip:after {
position: absolute;
content: "";
top: 100%;
left: 10%;
border-top: 5px solid #333;
border-right: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid transparent;
}
button:hover > .tooltip {
display: block;
}
.highlight {
  background-color: Yellow;
  font-weight: bold;
  padding: 1px;
}

/* Dialogs */
.dlg-modal {
  max-width: 80vw;
  border-radius: 12px;
  background-color: palegoldenrod;
  opacity: 0.8;
}
.dlg-modeless {
  /* z-index: 456; */
  z-index: 1001;
  top: 10%;
  /* top: translate(-50%, -50%); */
  /* margin-left: 17.5%; */
  margin-left: 2.5%;
  max-width: 80vw;
  border-radius: 12px;
  background-color: palegoldenrod;
  accent-color: red;
  opacity: 0.8;
}
.dlg-modeless-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dlg-modeless-result {
  z-index: 457;
  top: 72px;
  margin-left: 5%;
  max-height: 70vh;
  max-width: 80vw;
  line-height:1.4;
  background-color: NavajoWhite;
  overflow-y:scroll;
  opacity: 0.8;
}
#modeless-search-result > a {
  text-decoration: none;
}
.dlg-modeless-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}
.dlg-toolbar {
  z-index: 1001;
  bottom: 1%;
  margin-right: 1%;
  border-radius: 12px;
  background-color: palegoldenrod;
  accent-color: red;
  opacity: 0.8;
}
#snackbar {
  visibility: hidden;
  position: fixed;
  top: 5px;
  left: 17%;
  margin: auto;
  right: auto;
  background-color: DarkViolet;
  color: #fff;
  font-family: Verdana, Tahoma, sans-serif;
  font-size: calc(var(--fontSize) * 1.07);
  /* text-align: center; */
  border-radius: 1rem;
  padding: 1rem;
  z-index: 1001;
}
.list-container {
  display: flex;
  flex-direction: column;
}
.menu-expand {
  float:right;
  margin-right:0.875rem;
}
.heat-leginfo {
  padding: 6px 8px;
  font: 1.0rem/1.2rem Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.heat-leginfo h4 {
  margin: 0 0 5px;
  color: #777;
}
.heat-legend {
  text-align: left;
  line-height: 26px;
  color: #555;
}
.heat-legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}
.list-container > a:link, .list-container > a:visited {
  background: palegoldenrod;
  color: black;
}
.list-container > a:hover, .list-container > a:focus {
  background: orange;
}
.list-container > a:active {
  background: DarkRed;
  color: white;
}
#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 3.0s;
  animation: fadein 0.5s, fadeout 0.5s 3.0s;
}
.leaflet-container .leaflet-control-mouseposition {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0 3px;
  margin:0;
  color: DarkBlue;
  font: 16px "Lato", Arial, Helvetica, sans-serif;
}
.leaflet-container {
  cursor: auto;
}
#street-view {
  height: 120px;
  width:120px;
  text-align: center;
  /* opacity: 1; */
}
#dlg-street-view {
  opacity: 1;
}

/*Wrapperclass for the divicon */
.map-label {
  position: absolute;
  bottom: 0;
  left: -50%;
  display: flex;
  flex-direction: column;
  text-align: center;
  /* opacity: 0.75; */
  opacity: 1.0;
}
/*Wrap the text of the primary divicon (text) in this class*/
.map-label-text {
  order: 1;
  position: relative; left: -50%;
  color: darkblue;
  /* background-color: #fff; */
  background-color: rgba(255, 255, 255, .6);
  border-radius: 5px;
  border-width: 2px;
  border-style: solid;
  border-color: #444;
  padding: 3px;
  white-space: nowrap;
}
/*Add this arrow*/
.map-label-arrow {
  order: 2;
  width: 0px; height: 0px; left: 50%;
  border-style: solid;
  border-color: #444 transparent transparent transparent;
  border-width: 0.625rem 6px 0 6px; /*[first number is height, second/fourth are rigth/left width]*/
  margin-left: -6px;
}
/*Instance classes*/
.map-label.inactive {
  opacity: 0.5;
}
/* colorChoice = ['#a6cee3','#1f78b4','#b2df8a','#33a02c','#fb9a99','#e31a1c','#fdbf6f','#ff7f00','#cab2d6','#6a3d9a','#ffff99']; */
.map-label.bld > .map-label-text {
  border-color: #fb9a99;
}
.map-label.bld > .map-label-arrow {
  border-top-color: #fb9a99;
}
.map-label.chc > .map-label-text {
  border-color: #6a3d9a;
}
.map-label.chc > .map-label-arrow {
  border-top-color: #6a3d9a;
}
.map-label.frm > .map-label-text {
  border-color: #b2df8a;
}
.map-label.frm > .map-label-arrow {
  border-top-color: #b2df8a;
}
.map-label.mil > .map-label-text {
  border-color: #e00;
}
.map-label.mil > .map-label-arrow {
  border-top-color: #e00;
}
.map-label.rde > .map-label-text {
  border-color: #fdbf6f;
}
.map-label.rde > .map-label-arrow {
  border-top-color: #fdbf6f;
}
.map-label.rlw > .map-label-text {
  border-color: #1f78b4;
}
.map-label.rlw > .map-label-arrow {
  border-top-color: #1f78b4;
}
.map-label.tre > .map-label-text {
  border-color: #33a02c;
}
.map-label.tre > .map-label-arrow {
  border-top-color: #33a02c;
}
.map-label.trn > .map-label-text {
  border-color: #ff7f00;
}
.map-label.trn > .map-label-arrow {
  border-top-color: #ff7f00;
}
.map-label.twn > .map-label-text {
  border-color: #ffff99;
}
.map-label.twn > .map-label-arrow {
  border-top-color: #ffff99;
}
.map-label.unc > .map-label-text {
  color: #fff;
  border-color: #cab2d6;
  background-color: blue;
}
.map-label.unc > .map-label-arrow {
  border-top-color: lightblue;
}
.map-label.grm > .map-label-text {
  color: #fff;
  border-color: #cab2d6;
  background-color: DarkRed;
}
.map-label.grm > .map-label-arrow {
  border-top-color: #e00;
}
.map-label.wtr > .map-label-text {
  border-color: #a6cee3;
}
.map-label.wtr > .map-label-arrow {
  border-top-color: #a6cee3;
}
.map-label.forty > .map-label-text {
  white-space: default;
  color: #fff;
  background-color: #e00;
}
/*Wrap the text of the secondary divicon (text) in this class*/
.map-label-secondary {
  color: darkblue;
  font-size: large;
  white-space: nowrap;
}
/* Media Query (adjust from mobile to ultra-wide */
@media only screen and (min-width: 480px) {
  #quick-search-control {
    display: block;
  }  
}
@media only screen and (min-width: 600px) {
  input[type=text], input[type=search] {
    padding: 5px 5px;
  }
  button {
    padding: 6px;
  }
  .menu-button {
    width: 70%;
  }
  #modeless-search-result > a {
    font-size: calc(var(--fontSize) * 1.07);
  }
}
@media only screen and (min-width: 768px) {
  html {
    font-size: calc(var(--fontSize) * 1.5);
  }
  input[type=text], input[type=search] {
    width: 60%;
    box-sizing: border-box;
    border: 1px solid Red;
    font-size: calc(var(--fontSize) * 1.07);
  }
  input[type=text]:focus, input[type=search]:focus {
    width: 65%;
  }  
  .header-image {
    grid-column: 2 / span 4;
  }
  .header-about {
    grid-column: 6;
    padding-right: 0;
  }
  .menu-option-wrapper {
    right: 55vw;
  }
}
@media only screen and (min-width: 1024px) {
  html {
    font-size: calc(var(--fontSize) * 1.58);
  }
  .dropdown {
    font-size: calc(var(--fontSize) * 1.07);
    border: 1px solid Red;
    padding: 0.625rem 0.875rem 0.625rem 0.875rem;
  }
  .menu-options {
    overflow: hidden;
  }
  .menu-option-wrapper {
    right: 65vw;
  }
  #street-view {
    height:320px;
    width:320px;
  }
}
@media only screen and (min-width: 1280px) {
  html {
    font-size: calc(var(--fontSize) * 1.67);
  }
  .dlg-modeless {
    top: 25%;
  }
  .menu-option-wrapper {
    top: 55px;
    right: 79vw;
  }
}
@media only screen and (min-width: 1536px) {
  html {
    font-size: calc(var(--fontSize) * 1.67);
  }
  button {
    font-size: calc(var(--fontSize) * 1.35);
  }
  h3 {
    font-size: calc(var(--fontSize) * 2.1);
  }
  h4 {
    font-size: calc(var(--fontSize) * 1.9);
  }
  h5 {
    font-size: calc(var(--fontSize) * 1.6);
  }
  h6 {
    font-size: calc(var(--fontSize) * 1.1);
  }
  .menu-button {
    width: 70%;
    font-size: calc(var(--fontSize) * 1.6);
  }
  .menu-option-wrapper {
    top: 57px;
    right: 83vw;
  }
}
@media only screen and (min-width: 1920px) {
  button {
    font-size: calc(var(--fontSize) * 1.5);
  }
  h3 {
    font-size: calc(var(--fontSize) * 2.3);
  }
  h4 {
    font-size: calc(var(--fontSize) * 2.1);
  }
  h5 {
    font-size: calc(var(--fontSize) * 1.8);
  }
  h6 {
    font-size: calc(var(--fontSize) * 1.2);
  }
  input[type=text], input[type=search] {
    border-radius: 0.5rem;
    font-size: calc(var(--sizeVar) * 1.13);
    padding: 5px 5px;
  }
  .dropdown {
    font-size: calc(var(--fontSize) * 1.2);
    border: 1px solid Red;
    padding: 0.625rem 0.875rem 0.625rem 0.875rem;
  }
  .menu-option-wrapper {
    top: 55px;
  }
  #map-control {
    margin-left: 6px;
  }  
  #quick-search-control {
    margin-left: 6px;
  }  
  #street-view {
    height:420px;
    width:420px;
  }
}
@media only screen and (min-width: 2560px) {
  html {
    font-size: calc(var(--fontSize) * 1.75);
  }
  button {
    font-size: calc(var(--fontSize) * 1.6);
  }
  h3 {
    font-size: calc(var(--fontSize) * 2.4);
  }
  h4 {
    font-size: calc(var(--fontSize) * 2.2);
  }
  h5 {
    font-size: calc(var(--fontSize) * 1.9);
  }
  h6 {
    font-size: calc(var(--fontSize) * 1.3);
  }
  .dlg-modeless {
    top: 20%;
  }
  .menu-option-wrapper {
    right: 87vw;
  }
    #map-control {
    margin-left: 0.625rem;
  }  
  #quick-search-control {
    margin-left: 0.625rem;
  }  
  #street-view {
    height:420px;
    width:420px;
  }
}