@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap')

:root {
    --tilewidth: 92vw;
    --tileheight: 92vw;
    --color-one: darkgrey;
}

@media (min-width: 992px) {
     :root {
        --tilewidth: 25vw;
        --tileheight: 25vw;
    }
}

.red {
  background-color: rgba(220, 36, 31, 0.8);
  padding: 25px;
}

body {
  font-family: Hind, sans-serif;
  font-size: 1.25rem;
}
p {
  font-size: 1.25rem;
}
#map p {
  font-size: 1rem;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
  font-weight:600;
  line-height:1.2;
  margin-bottom:0;
  margin-top:0;
}
h2 {
  color: black;
  font-size: 1.25rem;
  font-weight: 700;
}
h3 {
  color: #bdd026;
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom:1.5rem;
}
h4 {
  font-weight:700;
}
div.carousel-item-bodytext {
  font-size:2rem;
}
.carousel .carousel-item h1 {
  color:#fff!important;
  font-size:3rem;
  font-weight:600;
  text-shadow:3px 3px 4px #333;
  -webkit-text-stroke:1px #333;
}
.standort-header-detail h1 {
  padding: 15px 15px 15px 20px;
  font-size:2rem;
  font-weight:600;
/*  text-shadow:3px 3px 4px #333;
  -webkit-text-stroke:1px #333;
*/  color:#fff!important;
  background-color: #212121;
  word-break: break-word;
}
details {
  background-color: antiquewhite;
}
summary {
  padding: 5px 5px 5px 10px;
}
iframe {
    height: 450px;
}
#map {
  width: 100%;
  height: 50%;
  min-height: 450px;
  margin-top: 0px;
}
.row {
  margin-bottom: 1.8rem;
}
.header-row {
  margin: 0;
  margin-right: -20px;
  margin-left: -20px;
}
.main-section h2 {
  color: black;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 25px auto;
}
.haupt-titel h2 {
  color: #bdd026;
  font-size: 1.85rem;
  font-weight: 600;
  margin: 25px auto;
}
.dropdown-item {
  text-transform: uppercase;
}

.icongroup-columns-2 .icongroup-item {
  max-height: 450px;
}
.icongroup-item {
  width: 90vw;
  aspect-ratio: 1;
  max-height: 400px;
  padding: 25px;
/*  border: 5px solid #b1c800;
  background-color: #b1c800;
*/  background-color: #eceded;
  border-radius: 25px;
  font-size: 1.5rem;
  display: inline;
}
.icongroup-item-text-header {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
#mainnavigation .nav-link {
color:#000!important;
font-size:1.3rem;
font-weight:lighter;
text-shadow:1px 1px 1px #eee;
}

.navbar-mainnavigation .navbar-brand {
margin-right:10px;
}

.navbar-mainnavigation .navbar-brand-image img {
max-height:30px!important;
}

.navbar-toggler:focus {
box-shadow:none;
outline:0;
text-decoration:none;
}

div.carousel-item-bodytext {
  font-size:2rem;
}
.table-standorte {
  display: contents;
  width: 100%;
}
.table-standorte tr:nth-child(1) {
  width: 30%;
}
.table-standorte tr:nth-child(2) {
  width: 20%;
}
.table-standorte tr:nth-child(3) {
  width: 20%;
}
.table-standorte tr:nth-child(4) {
  width: 30%;
}
#tablefilter select {
  width: 100%;
  height: 50px;
}
.standort-item {
/*  filter: drop-shadow(0px 3px 3px rgba(0,0,0,0.4)) !important;
*/
  background-color: rgba(156,158,159,0.1) !important;
  margin: 10px 15px 20px 15px;
  padding: 0px 0px 5px 0px;
  transition: .2s ease-in-out;
}
.standort-item:hover {
/*  background-color: rgb(57,174,210) !important;
*/
  transform: scale(1.02);
  z-index: 1000;
}
.standort-navi {
  padding: 0px 15px 0px 20px;
}
.standort-header {
  font-size: 1.2em;
  font-weight: 600;
  min-height: 92px;
  color: white;
  background-color: #212121;
  padding: 10px;
}
.standort-header h2 {
  font-size: 1em;
  font-weight:600;
  min-height: 92px;
  color: white;
  padding: 15px;
}
.standort-header-detail {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0px 0px 15px 0px;
}
.haupt-bemerkung {
  color: rgba(220, 36, 31, 0.8);
  margin: 15px 0px 15px 0px;
}
.haupt-text {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.standort-nummer {
  font-size: 1em;
  font-weight: 400;
}
.standort {
  background-color: rgba(156,158,159,0.1);
}
.standort .standort-image {
  min-height: 150px;
  margin-bottom: 0px;
  cursor: pointer;
}
.header-image .standort-image-caption {
  padding: 15px 15px 15px 20px;
  margin-bottom: 0px;
  font-size: 0.85rem;
  color: white;
  background-color: #212121;
}
.standort-image-caption {
  font-size: 0.85rem;
  margin-bottom: 25px;
  padding: 5px;
  color: white;
  background-color: #212121;
}
.modal-image-zoom {
    max-width: 70vw;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1050;
}
.custom-close {
  position: absolute;
  top: 0px;
  right: 0;
  height: 35px;
  width: 40px;
  margin-top: 8px;
  margin-right: 2px;
  padding-top: 15px;
  padding-left: 7px;
  line-height: 0;
  font-size: 50px;
  color: #000;
  background-color: white;
  cursor: pointer;
  z-index: 1050;
}
.custom-close:hover,
.custom-close:focus {
    color: #000;
    text-decoration: none;
    color: grey;
}
.filter, .map {
  font-size: 1.2em;
  font-weight: 600;
  margin: 10px 15px 20px 15px;
  width: 100%;
}
.dropdowns {
  margin: 10px 15px 20px 15px;
  width: 100%;
}
#gemeinde,
#branche,
#abschnitt {
  width: 100%;
  margin: 0px 10px 25px 0px;
}
.btn-primary {
  color: black;
  background-color: transparent;
  border-color: black;
  width: fit-content;
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: 1.25rem;
}
.btn-primary:hover {
  color: #000000;
  background-color: #bdd026;
  border-color: #b9ce1a;
  text-decoration: underline;
}
.btn-item {
  margin: 25px auto;
  width: fit-content;
  display: inherit;
}
.btn-filter {
  margin: 25px 0px 25px 110px;
  width: auto;
  display: inherit;
  padding: 10px;
}
.btn-front {
  margin: unset;
  min-width: 10% !important;
  max-width: fit-content;
}
.btn-beta {
  margin: unset;
  width: fit-content;
  background-color: white;
}
.back-detail {
  width: fit-content;
}
.inf {
  border: none !important;
}
.helpBtn {
  display: none !important;
}
.hide {
  display: none;
}
#forward, #backward {
  width: 50px;
}
img {
  object-fit: contain;
}
select {
  width: 100%;
  height: 51px;
}
input, select, textarea, label {
  margin-right: 10px;
  font-size: 1.2rem;
  min-width: 100px;
}
table {
  border-collapse: collapse;
  width: 100%;
}

td {
  border-bottom: 1px solid black;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.label {
  display: inline-block;
  min-width: 180px;
  margin-top: 1.8rem;
}
.red .label {
 min-width: 250px; 
}
.bemerkung {
  color: rgba(220, 36, 31, 0.8);
}
.dropdowns div {
  margin-bottom: 10px;
}
.meilensteine,
.quellen {
  margin-top: 15px;
  font-size: 1rem;
}
p.meilensteine td:first-child,
p.meilensteine td:nth-child(2) {
  border-top: 1px solid black;
}
.standort-2col {
  margin: 25px auto;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
}
.standort-2col-left {
  flex: 100%;
}
.standort-2col-right {
  flex: 100%;
}

.switch-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    margin-right: 10px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s;
}

input:checked + .switch-slider {
    background-color: #2196F3;
}

input:checked + .switch-slider:before {
    transform: translateX(25px);
}

.column-view .col-md-4 {
    display: inline-block;
    width: 30%;
    margin-right: 3%;
}

.column-view .standort-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    padding: 10px;
}

.column-view .standort-item .standort-header {
    font-weight: bold;
}

.list-view .standort-item {
    border: none;
    margin-bottom: 10px;
    padding: 0;
}

.list-view .standort-item .standort-header {
    font-weight: normal;
}

.beta-info {
  display: none;
  width: 35vw;
  height: auto;
  position: fixed;
  left: 0px;
  top: 0px;
  background-color: rgba(249, 105, 14, 0.9);
  text-align: center;
  line-height: inherit;
  color: white;
  font-weight: bold;
  font-size: 20px !important;
  box-shadow: rgba(0,0,0,0.35) 0px 5px 15px;
  z-index: 1111;
/*  transform: rotate(-45deg);
*/
  padding: 25px;
}

a:hover.beta-info {
  color: black;
  text-decoration: underline;
}
#standort-container {
  width: 100%;
}

.section-row {
  justify-content:flex-start;
}

@media only screen and (min-width: 1px) {
  .navbar-default-transition:not(.navbar-transition),.navbar-inverse-transition:not(.navbar-transition) {
  box-shadow:none;
  }
}

@media only screen and (max-width: 576px) {
  h2 {
    font-size: 1rem;
  }
  .btn-front {
    max-width: fit-content;
  }
}
@media only screen and (max-width: 991px) {
  .row > * {
    padding-right: 20px;
    padding-left: 20px;
  }
}
@media only screen and (min-width: 576px) {
  header h2 {
    margin-left: -130px;
  }
  .navbar-mainnavigation .navbar-brand {
  margin-right:40px;
  }
  .navbar-mainnavigation .navbar-brand-image img {
  max-height:40px!important;
  }

  .icongroup-columns-2 .icongroup-item {
    width: 40% !important;
    height: 70vw;
  }
  .frame-container-default {
    max-width: 720px;
  }
}

@media only screen and (min-width: 768px) {
    header h2 {
      margin-left: -280px;
    }
  #gemeinde,
  #branche,
  #abschnitt {
    width: 49%;
    margin: 0px 10px 0px 0px;
  }
}
@media only screen and (min-width: 991px) {
    .item-contact-flex {
    flex-basis:50%;
    }

    .carousel .carousel-item h1 {
    font-size:5rem;
    }
    header h2 {
      margin-left: 0px;
    }
    .navbar-mainnavigation .navbar-brand {
    height:110px;
    }
    .icongroup-columns-2 .icongroup-item {
      padding: 3vw 5vw 3vw 5vw;
    }
    .icongroup-item-icon, .icongroup-item-text-header {
      margin-bottom: 3rem;
    }
    .frame-container-default {
      max-width: 980px;
    }
/* .standort-image {
    min-height: 200px;
  }
*/
  .standort-2col-left {
  flex: 48%;
  margin-right:10px;
  }
  .standort-2col-right {
    flex: 48%;
    margin-left:10px;
  }

}

@media only screen and (min-width: 1199px) {
    #mainnavigation .nav-link {
    color:#000!important;
    font-size:1.5rem;
    font-weight:lighter;
    text-shadow:1px 1px 1px #eee;
    }
    .carousel .carousel-item h1 {
    font-size:5rem;
    }
    h2 {
      color:black;
      font-size:1.25rem;
      font-weight:400;
    }
/*  .standort-image {
    min-height: 250px;
  }
*/
}

@media only screen and (min-width: 1399px) {
    .icongroup-columns-2 .icongroup-item {
      width: 44% !important;
      height: 44vw;
    }
/*  .standort-image {
    min-height: 280px;
  }
*/
}

@media only screen and (min-width: 1651px) {
    .frame-container-default {
    max-width: 1520px;
    }
    .icongroup-columns-2 .icongroup-item {
      padding: 2vw 4vw 2vw 4vw;
    }
    .icongroup-item-icon, .icongroup-item-text-header {
      margin-bottom: 3rem;
    }
}
@media (max-width: 991px) {
  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  .beta-info {
    width: 100vw;
    height: auto;
  }
}
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 47%;
  }
}
@media (min-width: 992px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 28%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}
@media (max-width: 991px) {
  .row {
    display: flex;
    flex-direction: column-reverse;
  }
}
/* Standort forward/back navigation: same look as the "zurück"/"mehr" buttons
   (theme .btn-primary: rounded corners, green, lighter green on hover) —
   only glyph sizing/spacing added here. */
.standort-navi .btn-standort-nav {
  font-size: 1.15em;
  line-height: 1;
  padding: 8px 16px;
  margin: 0 8px 12px 0;
}
/* no underline on the arrow glyphs (btn-primary:hover underlines text buttons) */
.standort-navi .btn-standort-nav:hover,
.standort-navi .btn-standort-nav:focus,
.standort-navi .btn-standort-nav:active {
  text-decoration: none;
}
