body {
  background-color: #063f5c;
  color: #000;
}

html * {
  font-family: Arial, sans-serif !important;
  font-size: 16pt !important;
}

strong {
  font-weight: bold;
}

.ui-helper-hidden {
  display: none;
}

ul.fancytree-container {
  /*font-family: tahoma, arial, helvetica;*/
  font-family: Arial, sans-serif;
  font-size: 16pt;
  padding: 3px;
  margin: 0;
  background-color: #fff;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  min-height: 0;
  position: relative;
  white-space: normal;
}

ul.fancytree-container ul {
  padding: 0 0 0 30px;
  margin: 0;
}

img.fancytree-icon {
  width: 32px;
  height: 32px;
  margin-left: 3px;
  margin-top: -2px;
  vertical-align: top;
  border-style: none;
}

span.fancytree-node {
  display: flex;
}

span.fancytree-title {
  color: #002664;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  min-height: 30px;
  line-height: 30px;
  padding: 0 3px;
  margin: 0 0 0 3px;
  border: 1px solid transparent;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

.fancytree-plain span.fancytree-node span.fancytree-selected span.fancytree-title {
  font-style: italic;
}

.fancytree-plain span.fancytree-node:hover span.fancytree-title {
  background-color: #ccc;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
  border-radius: 0.125rem;
  border: 1px solid transparent;
}

.fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title {
  color: #000;
  font-weight: lighter;
}

.fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title,
.fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title {
  font-weight: 400;
}

.fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title,
.fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title {
  font-weight: 700;
}

.fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title,
.fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title {
  color: #000;
  font-weight: lighter;
}

/* Currently selected node */
ul.ui-fancytree.fancytree-container.fancytree-plain.fancytree-focus
  span.fancytree-node.fancytree-focused,
ul.ui.fancytree.fancytree-container.fancytree-plain span.fancytree-node {
  background-color: #fff;
}
ul.ui-fancytree.fancytree-container.fancytree-plain
  span.fancytree-node.fancytree-active
  span.fancytree-title,
span.fancytree-focused span.fancytree-title,
.fancytree-plain.fancytree-container.fancytree-treefocus
  span.fancytree-selected
  span.fancytree-title,
.fancytree-plain span.fancytree-active span.fancytree-title,
.fancytree-plain span.fancytree-selected span.fancytree-title {
  background-color: #fff;
  border-color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
  border-radius: 0.125rem;
}

/* checkboxes */
span.fancytree-checkbox {
  width: 30px;
  height: 30px;
  min-width: 30px;
  left: 0%;
  background-color: #eee;
  background-position: 0 32px;
  border: 2px solid #002664;
  border-radius: 0.125rem;
}

span.fancytree-checkbox:hover {
  width: 30px;
  height: 30px;
  background-color: #ccc;
  background-position: 0 32px;
}

span.fancytree-selected span.fancytree-checkbox {
  background-color: #002664;
  background-position: 0 32px;
}

span.fancytree-selected span.fancytree-checkbox:hover {
  background-color: #002664;
  background-position: 0 32px;
}

#map-container {
  width: auto;
  height: 70vh;
}

.container {
  display: grid;
  grid-template-columns: 400pt auto 25vw;
  grid-template-rows: 5vh auto 0px;
  gap: 25px 25px;
  grid-auto-flow: row dense;
  grid-template-areas:
    "Header-Left Header-Middle Header-Right"
    "Left Middle Right"
    "Footer Footer Footer";
  height: 100%;
  left: 2vw;
  right: 98vw;
}

.Header-Middle {
  grid-area: Header-Middle;
  background-color: #063f5c;
  color: white;
  text-align: center;
}

.Header-Left {
  grid-area: Header-Left;
  display: inline-block;
  height: 100%;
  max-width: 40vw;
}
.Header-Right {
  grid-area: Header-Right;
  display: inline-block;
  height: 100%;
  max-width: 40vw;
  float: right;
}

.Left {
  grid-area: Left;
  display: inline-block;
  width: 100%;
}

.Middle {
  grid-area: Middle;
  display: inline-block;
  width: 100%;
}

.Right {
  grid-area: Right;
  display: inline-block;
  width: 100%;
}

.Footer {
  grid-area: Footer;
  height: auto;
}

.mytooltip:hover:after {
  background: #333;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 0.25rem;
  bottom: 26px;
  color: rgb(255, 77, 85);
  content: attr(title);
  right: 20%;
  padding: 5px 15px;
  position: absolute;
  z-index: 98;
  width: 220px;
}

.mytooltip:hover:before {
  border: solid;
  border-color: #333 transparent;
  border-width: 6px 6px 0 6px;
  bottom: 20px;
  content: "";
  right: 50%;
  position: absolute;
  z-index: 99;
}

.mytooltip {
  border-radius: 0.25rem;
  margin-left: 300px;
  text-align: center;
  font: bold 12px;
  font-stretch: condensed;
  text-decoration: none;
  box-shadow: 0 0 10px black;
}

/* Style the tab */
.tab {
  overflow: hidden;
  background-color: #fff;
  border-color: #fff;
  border-radius: 0.25rem;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  color: #000;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 10px;
  transition: 0.3s;
  font-size: 16pt;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  color: #000;
  padding: 6px 12px;
  border-top: none;
  max-height: 72.5vh;
  overflow-y: auto;
}

/* Style the layer process buton */
.button {
  position: relative;
  font-size: 16pt;
  padding: 10px 16px;
  overflow: hidden;
  width: 100%;
  transition: 0.3s;
  border-radius: 0.125rem;
  border: 1px solid transparent;
  background: #fff;
}

.button:hover {
  background-color: #ddd;
}

#process-layers button-progress {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  background: #aaa;
  transition: width 0.3s;
}
.button-text {
  position: relative;
}

/* feedback button */
#feedback-content {
  display: none;
}

#feedback-textbox {
  resize: none;
  width: 100%;
  height: 15vh;
  background-color: #eee;
}

/* Style the noUi slider */
.slider-text {
  text-align: center;
  color: #fff;
}

/* Style the legend */
.legend-title {
  font-family: Arial, sans-serif;
  color: #002664;
  font-size: 16pt;
  font-weight: lighter;
  text-align: center;
}
.legend-icon {
  height: 16pt;
  width: 32pt;
  border-radius: 0.25rem;
  display: inline-block;
  margin-top: -2px;
}
.legend {
  background-color: rgb(255, 255, 255, 0.75);
  padding: 5px;
  border-radius: 0.25rem;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
}

/* Each 'module' */
.container-card {
  font-family: Arial, sans-serif;
  font-size: 16pt;
  background-color: #fff;
  border-color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  color: #002664;
  font-weight: lighter;
}

.header-col {
  float: center;
  width: 20%;
  padding: 5px;
}
.header-title {
  font-size: 4vh !important;
  text-align: center;
  white-space: nowrap;
}

.header-subheading {
  font-size: 16pt;
  text-align: center;
}

.featherlight .featherlight-content {
  width: 80%;
  height: 80%;
  margin-left: 0%;
  margin-right: 0%;
}

* {
  box-sizing: border-box;
}

.erf_buttn {
  float: left;
  width: 120px;
  height: 50px;
  padding-right: 5px;
}
.erf_buttn img {
  width: 50px;
  height: 50px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-flow: row;
}

.info-panel {
  border-radius: 3px;
  margin: 0.75rem 0px 0px;
  padding: 8px;
  min-width: 48px;
  display: flex;
  position: relative;
  -moz-box-align: baseline;
  align-items: baseline;
  word-break: break-word;
  background-color: rgb(222, 235, 255);
  border: medium none;
  color: inherit;
}

.logo {
  height: 100%;
}

@media (max-width: 1000px) {
  .container {
    display: block;
    grid-template-columns: fit-content(100vw) 100vw fit-content(100vw);
    gap: 0px 0px;
  }
  .logo {
    max-height: 50px;
  }
  .row {
    display: inline-block;
  }
  .header-title {
    white-space: pre-wrap;
  }
  .Header-Left {
    display: contents;
  }
  .Header-Right {
    max-width: 20vw;
  }
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #erf-comparison {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
}
/* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  #erf-comparison {
    background-color: rgba(200, 200, 200, 0.6);
  }
}

#erf-comparison {
  text-align: center;
  padding-top: 10vh;
  transition: opacity 800ms ease;
}

.erf-comparison-button {
  width: 30%;
  display: inline-block;
  margin: 5px;
  padding: 5px;
  transition: 0.3s;
  border: none;
}

.erf-comparison-button:hover {
  background-color: #ddd;
  border-color: #ddd;
}

.erf-comparison-icon {
  width: 32px;
  height: 32px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: none; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  overflow-y: scroll;
  max-height: 80vh;
}

/* The Close Button */
.disclaimerButton {
  background-color: #04aa6d;
  color: white;
}

.disclaimerButton:hover {
  background-color: #059862;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
