:root {
  --treeclimateGreen: #21ab2b;
  --treeclimateDark: #212529;
  --treeclimateLightBG: #363d44;
  --bs-list-group-bg: #212529;
  --white: #ffffff;
}

.searchfilter-badge {
  background-color: #504848;
}

.cursor-hand {
  cursor: pointer;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: arial;
}
#filterKey {
  width: auto;
  background-color: #333540;
  border-radius: 3px;
  padding: 5px;
}
#filterKeyHeader {
  width: auto;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--treeclimateGreen);
}
#flexCheckDefault {
  width: auto;
}
#noSearchTagsSet {
  transition: all 1s;
}
#searchTagsContainer {
  float: right;
  position: sticky;
  align-self: flex-start;
  top: 0;
}

.sticky {
  position: sticky;
  align-self: flex-start;
  top: 0;
  z-index: 10000000000000;
}

#alertWindow {
  position: absolute;
  z-index: 1500;
  float: right;
  top: 10px;
  right: 10px;
}

#SearchFilterContainer {
  color: #ffffff;
  display: table;
  animation: fadeIn 5s;
  margin: 10px 0 0 0;
  height: auto;
}

#searchTags {
  min-height: 400px;
  width: 99%;
  height: auto;
  display: table-row;
  float: right;
  position: relative;
  /* margin-left: auto; */
  padding: 10px;
  background-color: var(--treeclimateLightBG);
  border-radius: 5px;
}

#Result {
  margin-top: 5px;
  min-height: 400px;
  display: table-row;
  width: 99%;
  height: auto;
  float: right;
  position: relative;
  /* margin-left: auto; */
  padding: 10px;
  background-color: var(--treeclimateLightBG);
  border-radius: 5px;
}

#card-body {
  display: flex;
  flex-wrap: wrap;
}
#card-body > * {
  flex: 1 1 160px;
}

#deleteButton {
  float: right;
}

#searchFilterMoreBadge {
  float: right;
}

#searchFilterCountBadge {
  float: right;
}

.list-group-item-treeclimate {
  background-color: var(--treeclimateLightBG);
  color: #ffffff;
  padding: 2px;
}

.list-group-item-treeclimate a {
  color: #ffffff;
  text-decoration: none;
}

.list-group-treeclimate {
  background-color: #212529 !important;
  color: #ffffff;
}

#SearchFilterContainer h1 {
  color: var(--treeclimateGreen);
}

#SearchFilter {
  min-height: 400px;
  float: left;
  position: relative;
  margin-left: auto;
  margin-right: 0;
  background-color: var(--treeclimateDark);
}

#title {
  position: static;
  min-height: 20px;
  width: 100%;
  background-color: #f1f3f4;
  border: 1px solid darkgrey;
}

#header {
  margin-left: 20px;
}

#livesearch a:before {
  content: "";
  display: block;

  background-color: #21ab2b;
  -webkit-mask-image: url("img/arrow-right-short.svg");
  mask-image: url("img/arrow-right-short.svg");
  width: 20px;
  height: 20px;
  float: left;
  margin: 4px 0px 0 0;
}

.livesearchLink {
  text-decoration: none;
  color: #fff;
}

#table_data td {
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}

#wms_layers_btn {
  position: absolute;
  z-index: 500;
  top: 1%;
  left: 60%;
}

#footer {
  min-height: 120px;
}

#data {
  width: 60%;
}

#popup-content {
  font-size: 12px;
  max-height: 350px;
}

#table_data {
  min-height: 200px;
  overflow: auto;
  max-height: 300px;
  margin: 0 -15px 0 -15px;
  padding: 0;
}

#resultTable {
  overflow: auto;
}

#table {
  white-space: nowrap;
  grid-template-areas: "head-fixed" "body-scrollable";
}

#showData {
  overflow: auto;
  width: 100%;
}

#table th {
  position: -webkit-sticky;
  /* for Safari */
  position: sticky;
  top: 0;
  background-color: darksalmon;
}

#table_wms_layers {
  white-space: nowrap;
  border-collapse: separate;
  font-family: arial;
  font-size: 14px;
}

#table_wms_layers th {
  position: -webkit-sticky;
  /* for Safari */
  position: sticky;
  top: 0;
  background-color: darksalmon;
}

#livesearch {
  z-index: 10;
  max-width: 200px;
  max-height: 400px;
  position: absolute;
  margin-top: -17px;
  float: left;
  overflow: auto;
  border-radius: 10px;
}
.labelSearch {
  font-weight: bold;
  font-size: 12px;
}

#clear_btn {
  position: absolute;
  z-index: 500;
  top: 1%;
  left: 75%;
}

.ol-mouse-position {
  top: 97%;
  right: 20%;
  position: absolute;
  font-weight: bold;
}

.ol-scale-line {
  position: absolute;
  /*bottom: 0px;*/
  left: 50px;
}
/*    .ol-zoomslider {
  position:fixed;
  top: 10px;
  left: auto;
  right: 20px;
}

.ol-slider-thumb{
  left:0px;
}*/

.layer-switcher.shown {
  max-height: 465px;
}
#leftMenu {
  color: #ffffff;
  position: static;
  float: left;
  margin-top: 20px;
}

#rightMap {
  height: 800px;
  min-height: 400px;
  float: right;
  position: relative;
  margin-left: auto;
  margin-right: 0;
}

#measure {
  position: absolute;
  z-index: 50;
  float: left;
  margin: 10px 0 0 50px;
  backdrop-filter: blur(10px);
  border-radius: 25px;
}

#getinfo {
  display: none;
  position: absolute;
  z-index: 51;
  /*height:15px;*/
  float: left;
}
.nav-link a:hover {
  color: #fff;
}

#query_tab {
  position: static;
  margin: 20px 0 0 0;
  padding: 0 0 0 0;
  width: 250px;
}

#hiddenDiv {
  display: none;
}

#info {
  display: none;
}

.featureInfo {
  display: none;
}

.hide {
  display: none;
}

.tab-content {
  position: static;
  /*overflow: scroll;
  border: 1px solid blue;*/
}
#legend {
  color: #fff;
  padding: 2px 4px;
  border: 0px solid grey;
  width: 120px;
  font-weight: bold;
  position: absolute;
  z-index: 50;
  float: left;
  margin: 0 0 80px 0px;
  backdrop-filter: blur(10px);
  border-radius: 25px;
  bottom: 0;
}
.list-group {
  max-height: inherit;
  overflow: auto;
  bottom: 0%;
  background-color: #ffffff;
}

.ol-popup {
  position: absolute;
  background-color: white;
  /*-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));*/
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
}

.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: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}

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

.tooltip {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
}

.tooltip-measure {
  opacity: 1;
  font-weight: bold;
}

.tooltip-static {
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}

.tooltip-measure:before,
.tooltip-static:before {
  border-top: 6px solid rgba(0, 0, 0, 0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}

.tooltip-static:before {
  border-top-color: #ffcc33;
}

button.btn-settings {
  margin: 25px;
  padding: 20px 30px;
  font-size: 1.2em;
  background-color: #337ab7;
  color: white;
}

button.btn-settings:active {
  color: white;
}

.modal {
  overflow: hidden;
}

.modal-dialog {
  height: 300px;
}

.modal-header {
  height: 30px;
  padding: 20px;
  background-color: #18456b;
  color: white;
}

.modal-title {
  margin-top: -10px;
  font-size: 16px;
}

.modal-header .close {
  margin-top: -10px;
  color: #fff;
}

.modal-body {
  color: #888;
  padding: 5px 35px 20px;
}

.modal-body h3 {
  text-align: center;
}

.modal-body p {
  padding-top: 10px;
  font-size: 1.1em;
}

marquee {
  width: 100%;
  padding: 0px 0;
  color: rgb(16, 179, 57);
}

/* SCROLLBARS */

::-webkit-scrollbar {
  width: 12px; /* width of the entire scrollbar */
}

::-webkit-scrollbar-track {
  background: #212529; /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
  background-color: #21ab2b; /* color of the scroll thumb */
  border-radius: 20px; /* roundness of the scroll thumb */
  border: 3px solid #212529; /* creates padding around scroll thumb */
}
.table a {
  color: #21ab2b;
  text-align: left;
  font-weight: bold;
}

.ol-overviewmap {
  bottom: 2.5em !important;
}

/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/

hr.dashed {
  border-top: 2px dashed #999;
}

hr.dotted {
  border-top: 2px dotted #999;
}

hr.solid {
  border-top: 2px solid #999;
}

hr.hr-text {
  position: relative;
  border: none;
  height: 1px;
  background: #999;
}

hr.hr-text::before {
  content: attr(data-content);
  display: inline-block;
  background: #fff;
  font-weight: bold;
  font-size: 0.85rem;
  color: #999;
  border-radius: 30rem;
  padding: 0.2rem 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
