/* General */
html * {
  font-family: 'Lato', sans-serif;
}

ol.Datenschutz>li {
  margin-bottom: 20px;
}

img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

a {
  color: #3c62a7 !important;
  /* text-decoration: underline !important; */
}

.stay-open {
  display: block !important;
}


progress {
  width: 100%;
  display: block;
  margin: 1px auto;
  padding: 2px;
  border: 0 none;
  background: #444;
  border-radius: 12px;
}

progress::-moz-progress-bar {
  border-radius: 8px;
  /* background: orange; */
  background: #3c62a7;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  progress {
    height: 15px;
  }
}

progress::-webkit-progress-bar {
  background: transparent;
}

progress::-webkit-progress-value {
  border-radius: 8px;
  /* background: orange; */
  background: #3c62a7;
}




/* Custom Klassen */
.map {
  height: 90vh;
  width: 100%;
}


#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 7rem;
  /* Footer height */
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  height: auto;
}



.tab-pane {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

.Startseite {
  font-size: 1.1rem;
}

.blue_box {
  background-color: #e8f1ff;
  border: 1px solid #3c62a7;
  border-radius: 8px;
}

.halo-white {
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

.halo-black {
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;
}


.copyright {
  position: absolute;
  right: 0px;
  bottom: 0px;
  font-size: 12px;
}

.card_images {
  width: 100%
}

/* #e7e6e6 */

.icon {
  width: auto;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.set_transparency {
  top: .5em;
  right: .5em;
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

.set_transparency.opacity_starkregen {
  top: 2.5em;
}

.wrapper {
  position: relative;
}

.tight-ul {
  margin: 10px 0;
}

.legend_div {
  position: absolute;
  left: 0.5em;
  bottom: 3em;
  z-index: 10000;

  max-height: 80%;
  height: auto;

  max-width: 25%;
  width: auto;

  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid black;
}


div.legend_div img {
  width: 100%;
  height: 100%;
}


.row.row-light {
  background-color: #fcfcfc;
}

.row.row-dark {
  background-color: #f2f2f2;
}


.img-text {
  position: absolute;

  top: 0px;
  left: 0px;

  background-color: rgba(53, 96, 169, 0.5);
  color: white;
}

.offcanvas-backdrop {
  opacity: .4;
}

.flatpickr-input[readonly] {
  cursor: auto;
  background-color: white !important;
}


.owl-prev,
.owl-next {
  width: 35px;
  height: 37px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
  border: 0px solid black;
}

.owl-prev {
  left: -30px;
}

.owl-next {
  right: -30px;
}

.owl-prev i,
.owl-next i {
  color: #ccc;
}

.item {
  /* max-height: 450px;
  width: auto; */
  padding: 20px;
  margin: 20px;
}

.img-container {
  position: relative;
  text-align: center;
  color: white;
}

.logo-container {
  max-height: 75px
}

.logo-container.sm {
  max-height: 45px;
}

.logo-container.xs {
  max-height: 35px;
}


/* .owl-item.active.center {
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
} */


#TabellenTabs.nav-tabs .nav-item .nav-link {
  background-color: #ffffff;
  color: #3c62a7;
  border: 1px solid #1d1d1d;
}

#TabellenTabs.nav-tabs .nav-item .nav-link.active {
  background-color: #3c62a7 !important;
  text-shadow: 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black;
  color: white !important
}

#TabellenTabs.nav-tabs {
  margin-bottom: 0;
  padding-bottom: 0;
}


/* Div IDs */
#Timestamp {
  text-align: center;

  color: black;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 3px white, 0 0 3px white, 0 0 3px white, 0 0 3px white;
}

#logo_img {
  mix-blend-mode: multiply;
  height: auto;
  width: 50px;
}


#niederschlags_info {
  position: absolute;
  bottom: 2.5em;
  right: .5em;
  font-weight: bold;
  font-size: larger;
  color: rgb(0, 0, 0);
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}




.btn-primary {
  color: #fff !important;
  background-color: #3c62a7 !important;
  border-color: #3c62a7 !important;
}

.bg-primary {
  color: #fff !important;
  background-color: #3c62a7 !important;
  border-color: #3c62a7 !important;
}




nav.border {
  /* border-radius: 6px !important; */
  border-color: #3c62a7 !important;
  border-top-width: 0px !important;
  border-left-width: 0px !important;
  border-right-width: 0px !important;
  border-bottom-width: 2px !important;
}


.navbar-brand {
  font-size: 1.5rem !important;
}


.nav-link {
  font-size: 1.2em !important;
  color: #3c62a7 !important;
  text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 2px white;
}

.nav-link.active {
  /* font-size: 2em !important; */
  color: #3c62a7 !important;
  font-weight: bold !important;

}

.dropdown-item.active {
  color: #fff !important;
  background-color: #3c62a7 !important;
}

.dropdown-item:active {
  color: #fff !important;
  background-color: #3c62a7 !important;
}



/* Scalable d3 Container */
.svg-container {
  width: 100%;
  vertical-align: top;
  overflow: visible;
}

.svg-content {
  display: inline-block;
  height: inherit;
  max-width: 1100;
  padding: 5px;
}



.accordion-button:not(.collapsed) {
  color: #3c62a7 !important;
}




/* OpenLayer */
#scaleBarOptions {
  display: none;
}

input[type=range] {
  vertical-align: middle;
}

.ol-scale-bar-inverted .ol-scale-singlebar-even {
  background-color: var(--ol-background-color);
}

.ol-scale-bar-inverted .ol-scale-singlebar-odd {
  background-color: var(--ol-subtle-foreground-color);
  ;
}


img.olTileImage {
  max-width: none;
}

.ol-zoom {
  right: unset;
  left: 8px;
}

.ol-popup {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 350px;
}

.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: "✖";
}





/* TABLES */
datatableID.tr {
  height: 100px;
}

table {
  border-collapse: collapse;
  border-color: #ccc;
}

td,
th {
  font-size: 13px;
  line-height: 16px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  padding: 8px;
  font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}

th {
  font-weight: 600;
  text-align: left;
}

thead th,
tfoot td {
  color: rgb(27, 27, 27);
  padding: 5px 10px;
  font-size: 11px;
  background: #fff;
  border: none;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

tfoot td {
  border-bottom: none;
  border-top: 1px solid #eee;
}

thead th.required {
  color: #000;
}

tr.alt {
  background: #f6f6f6;
}

.row1 {
  background: #fff;
}

.row2 {
  background: #f9f9f9;
}


/* Errormessage */
ul.errorlist {
  list-style-type: none;
  /* Remove bullets */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margins */
  color: red;
}



a[aria-expanded=false] .bi-chevron-up {
  display: none;
}

a[aria-expanded=true] .bi-chevron-down {
  display: none;
}


.potential__range .range {
  display: flex;
}

.potential__range .range .range-item {
  width: calc(100% / 6);
  height: 17px;
  position: relative;
  margin-left: 0.1rem;
  margin-right: 0rem;
}

#marker-div {
  margin-left: -0.4rem;
  position: relative;
}

#marker {
  position: relative;
}