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

/* Accessibility Icons */
.icon-leichte-sprache,
.icon-gebaerdensprache {
  display: inline-block;
  width: 1.9rem;
  height: 1.9rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-leichte-sprache {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%234f4f4f'%3E%3Cpath fill-rule='evenodd' d='M14.505 6.001c-.647.135-1.28.33-1.892.585a9.774 9.774 0 0 0-1.726.93c-.493.342-.959.724-1.393 1.144a.17.17 0 0 1-.239 0c-.436-.417-.901-.8-1.392-1.144a9.925 9.925 0 0 0-1.734-.93 10.003 10.003 0 0 0-1.908-.601c-.602-.127-1.215-.2-1.83-.22-.076-.002-.141.065-.141.145v9.053c0 .076.058.135.13.137.618.013 1.234.081 1.841.204a9.908 9.908 0 0 1 3.634 1.548c.465.321.906.678 1.32 1.067a.285.285 0 0 0 .399 0c.41-.386.85-.737 1.313-1.051.548-.365 1.126-.68 1.726-.939a10.368 10.368 0 0 1 1.892-.592c.614-.13 1.237-.2 1.864-.206a.13.13 0 0 0 .131-.132V6.197c0-.372-.065-.434-.142-.431-.623.02-1.243.1-1.853.235M7.26 5.224c.268.275.584.497.93.652.376.16.779.24 1.185.234a3.106 3.106 0 0 0 1.136-.264 2.75 2.75 0 0 0 .93-.642 3.04 3.04 0 0 0 .646-.957c.152-.378.228-.783.226-1.192v-.091a2.96 2.96 0 0 0-.215-1.151 3.084 3.084 0 0 0-.608-.927 3.093 3.093 0 0 0-.91-.651A2.727 2.727 0 0 0 9.463 0h-.176A2.634 2.634 0 0 0 8.2.224c-.33.154-.632.368-.891.631-.277.261-.498.58-.647.937a3.19 3.19 0 0 0-.225 1.191v.164c-.003.391.07.78.215 1.14.144.35.35.668.608.937'/%3E%3C/svg%3E");
}

.icon-gebaerdensprache {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%234f4f4f'%3E%3Cpath fill-rule='evenodd' d='m13.039 6.784 2.598-2.804c.333-.36.67-.716.997-1.08a.683.683 0 0 0-.035-.944c-.255-.238-.594-.207-.87.09-.844.908-1.685 1.818-2.527 2.726-.357.386-.713.772-1.073 1.154-.124.133-.278.143-.391.043a.313.313 0 0 1-.048-.417c.022-.033.051-.064.079-.094l1.07-1.156c.846-.913 1.693-1.825 2.536-2.742a.669.669 0 0 0-.03-.955c-.266-.241-.586-.211-.87.094-.88.946-1.756 1.895-2.634 2.843-.325.351-.65.702-.976 1.05-.102.108-.225.128-.352.046a.295.295 0 0 1-.103-.376.843.843 0 0 1 .134-.183l2.19-2.363c.192-.208.39-.41.576-.625a.688.688 0 0 0-.051-.944.581.581 0 0 0-.826.055c-1.187 1.28-2.372 2.563-3.558 3.845-.23.248-.462.495-.716.767 0-.07-.004-.1 0-.128.112-.662.232-1.322.334-1.985.058-.372.16-.739.163-1.118.001-.3-.226-.563-.5-.599a.597.597 0 0 0-.663.436c-.104.331-.207.663-.312.994-.431 1.352-.86 2.704-1.297 4.053-.049.151-.017.177.13.175.834-.005 1.666-.002 2.499-.002h.973c.599 0 1.103.5 1.152 1.146.052.688-.394 1.273-1.035 1.369-.33.048-.658.108-.993.164.014.028.016.043.024.048.969.51 1.94 1.018 2.908 1.531.094.05.14.021.207-.05 1.2-1.292 2.404-2.582 3.607-3.873.426-.457.853-.913 1.274-1.377a.676.676 0 0 0-.044-.954c-.253-.229-.6-.181-.871.113-.488.53-.977 1.058-1.466 1.586-.285.307-.569.614-.855.92-.133.143-.285.162-.405.058-.135-.119-.149-.294-.032-.444.026-.032.054-.063.082-.093m-.254 8.07a.639.639 0 0 1-.47.538.572.572 0 0 1-.426-.065l-4.49-2.36a3.914 3.914 0 0 0-.077-.042c-.2-.098-.344-.07-.429.088-.085.159-.02.353.158.448.661.35 1.324.696 1.987 1.044l2.613 1.374c.29.153.43.473.342.776-.089.305-.333.486-.628.465a.705.705 0 0 1-.282-.096 4337.94 4337.94 0 0 0-4.505-2.37c-.214-.112-.377-.082-.46.08-.088.172-.011.357.194.465l2.943 1.543c.334.174.474.49.365.826-.131.405-.514.545-.911.335-.687-.365-1.374-.73-2.062-1.093-1.323-.7-2.648-1.395-3.967-2.102-.714-.383-1.215-.977-1.529-1.711-.666-1.562-.513-3.05.54-4.394.695-.888 1.638-1.343 2.781-1.344 1.04-.001 2.08-.012 3.118-.008.632.002 1.264.014 1.895 0 .282-.007.536.229.58.523.055.349-.11.663-.422.739-.326.08-.66.122-.992.178-.615.105-1.232.208-1.848.312l-.108.024c.398.21.754.398 1.111.584 1.44.757 2.88 1.512 4.319 2.27.268.14.415.414.376.682-.042.294-.223.5-.49.562-.148.035-.28-.007-.408-.073L8.3 11.317c-.079-.041-.156-.084-.236-.122-.176-.083-.314-.045-.395.103-.08.149-.04.33.112.416.266.152.54.291.81.434 1.279.671 2.558 1.34 3.835 2.012a.66.66 0 0 1 .358.693'/%3E%3C/svg%3E");
}

/* Base styling for accessibility nav-links to prevent layout shift */
.nav-link.py-0[href="/leichte-sprache"],
.nav-link.py-0[href="/gebaerdensprache-videos"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border: 2px solid transparent;
  border-radius: 6px;
}


/* Hover animations */
.nav-link:hover .icon-leichte-sprache,
.nav-link:hover .icon-gebaerdensprache {
  transform: scale(1.31);
}

/* Active state styling */
.nav-link-active {
  border-color: #000000 !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
}

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

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

a {
  color: #3c62a7 !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;
}


.video-container video {
  background-color: #000;
}

.video-container video:focus {
  outline: 3px solid #007bff;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .video-container video {
      max-height: 260px;
  }
}
