.navbar-light .navbar-nav .nav-link{
    text-decoration: none;
    font-size: 18.5px;
    font-weight: 400;
    color: #222222;
    position: relative;
    bottom: -1px;
    border-bottom: 2px solid transparent;
}

.navbar-expand-lg .navbar-nav .dropdown-menu{
    border: 2px;
    border-radius: 0;
}

.main-header{
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
    /* check js in footer */
}

.logo{
  transition: all 0.3s ease-in-out;
  /* check js in footer */
}

@media (min-width: 1200px){
  
  .show.nav-link, .navbar-light .navbar-nav .nav-link:hover {
    color: #a31e36 !important;
    position: relative !important;
    /* font-weight: 600; */
    /* alternativ to font-weight spacing rendering issue*/
    -webkit-text-stroke-width: 0.5px;
    border-bottom: 2px solid #a31e36 !important;
    /* background-color: #1e5266; */
    z-index: 1001;
  }
  

  .main-header{
    flex-direction: row;
    justify-content: space-between;
  }

/* Max-Höhe Nav-Dropdown */
  .dropdown-menu{
        max-height: 670px; 
  }

  .dropdown-menu-header{
    display: flex !important;
    width: 100%;
    padding: 30px 0;
  }
  
    /* dropdown-menu animation */
  .dropdown .dropdown-menu {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    left: 0;
  }

  .dropdown-menu.show {
    opacity: 1;
    transform: scaleY(1);
    margin-top: 0px;
    border: 0;
    border-top: 1px solid #bfbcbc;
    border-radius: 0;
  }
}

.dropdown-head, .dropdown-item{
    color: white;
}

.backdrop{
  transition: all 0.3s ease-in-out;
}

a[aria-expanded="true"] + .backdrop {
  position:fixed;
  right:0;
  bottom:0;
  left:0;
  z-index: 1;
  height: 75%;
  background-color: rgba(0,0,0,.2);
  transition: all 0.3s ease-in;
}

.backdrop-mbl{
  position:fixed;
  /* top: 20%; in active js*/
  right:0;
  bottom:0;
  left:0;
  z-index: 1;
  background-color: rgba(0,0,0,.2);
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  /* top: 90px; */
}

/* cookie consent V2 modal background */
/* .backdropCookie{
  position:fixed;
  right:0;
  bottom:0;
  left:0;
  z-index: 1050;
  background-color: rgba(0,0,0,.2);
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  top: 0;
} */

.cookie-consent-body{
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #f3f3f3;
  z-index: 999999;
  width: 100%;
  display: flex;
  justify-content: center;
}

#cookieBody a {font-weight:bolder;}

/* #cookie-consent{
  width: 80%;
} */

#cookie-consent a {font-weight:bolder;}


#cookie-user-settings{
  background-color: #f3f3f3;
  border-color: #212121;
}

#cookie-user-settings-modal{
  background-color: #f3f3f3;
  border-color: #212121;
}

#cookie-user-settings:hover, #cookie-user-settings-modal:hover{
    background-color: #a31e36;
    border-color: #a31e36;
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

#cookie-accept, #cookie-accept-modal{
  background-color: #212121;
  border-color: #212121;
  color: white;
}

#cookie-accept:hover, #cookie-accept-modal:hover{
    background-color: #777777;
    border-color: #777777;
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.cookie-submit{
  width: 25%;
}

@media (max-width: 1199px) {
  .cookie-submit{
    width: 50%;
  }
}

@media (max-width: 576px) {
  .cookie-submit{
    width: 100%;
    padding: 0 0.5em;
  }
}

@media (max-width: 1199px){
  .backdrop-mbl{
    top: initial;
  }
}

/* nav scroll check js in footer */
#nav{
  transition: top 0.3s;
}

main{
  margin-top: 163px;
}

@media (min-width: 1200px){
  main{
    margin-top: 145px;
  }
}


.btn:hover,
btn:focus {
    transition: 0.25s;
}


/* offcanvas mobile view */
.offcanvas{
  overflow: auto;
}

.offcanvas-header{
  display: block;
  height: 100%;
}

.offcanvas-end{
  border: 0;
}

.tel-num{
  transition: all 0.2s ease-in-out;
  line-height: 1.15em;
}

.tel-num a {
  color: #444444;
  font-size: 1.25em;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: flex;
  flex-direction: column;
} 

.tel-num-duration {
  color: #444444;
  font-size: 0.6em;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}

.tel-num a:hover, .tel-num-duration:hover{
  color: #a31e36;
} 

@media (max-width: 1199px){
  .tel-num{
    transition: none;
    height: 25.5px;
  }
  .tel-num a, .tel-num-duration{
    transition: none;
  }
}

.search-mbl{
  /* background: transparent url("data:image/svg+xml; charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' width='18' shape-rendering='geometricPrecision' viewBox='0 0 512 512'><path fill='%23a94442' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z'/></svg>") no-repeat 96%; */
  padding-right: 40px;
  padding-left: 16px;
}

.activesearch .button.magnifier {
  z-index: 1;
  color: #a31e36;

  background-color: transparent;
  border: none;
  margin: 0 0 0 -33px;
  padding: 0;
  text-align: inherit;
  font: inherit;
  border-radius: 0;
  appearance: none; 
}

.activesearch-mbl{
  /* max-width: 100vw; */
  width: 30em;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

@media (min-width: 575px ) and (max-width: 1199px){
  .activesearch-mbl{
    width: 100%;
  }
}

#search-animation-trigger{
  float: right;
}

.horizontal-line {
  border-top: 1px solid #bfbcbc;
  width: 100%;
  margin-left: -4px;
  /* position: absolute; */
}


/* dropdown toggle icon */
.dropdown-toggle::after{
  font-family: "Font Awesome 6 Pro";
  content: "\f078";
  font-weight: 600;
  font-size: small;
  border: 0;
}

.show.dropdown-toggle::after{
  content: "\f077" !important;
}

.dropdown-toggle::after:active{
  color: green;
}

.nav-hr{
  margin: 0;
  margin-left: -50%;
  width: 300%;
  color: #686868;
}

/* nav link design */

.nav-link-items>a{
  font-weight: 600;
  font-size: 1.1em;
  color: #686868;
  font-size: 0.97em;
  text-decoration: none;
  font-weight: normal;
  padding-left: 1em;
}

@media (min-width: 1200px) {
  .nav-link-header>a:hover, .nav-link-header>a:active{
    transform: translateX(10px); 
    padding-left: 5px;
    /* margin-right: -10px; */    
    text-decoration: none;
  }

  .nav-link-icon>a::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f054";
    /* display: inline-block; */
    /* padding-right: 3px; */
    /* vertical-align: middle; */
    font-weight: 600;
    font-size: small;
    opacity: 0;
    position: absolute;
    left: -10px;
  }
  
  .nav-link-icon>a:hover::before{
    opacity: 1;
    transition: all 0.2s ease-in;
  }

  .nav-link-items>a{
    padding-left: 0;
  }
   
  /* .nav-link-items>a:hover, .nav-link-items>a:active{
    color: black;
  } */
  
 .nav-link-items>a:hover, .nav-link-items>a:active{
    transform: translateX(10px);
    padding-left: 5px;
    /* margin-right: -10px; */
    text-decoration: none;
    color: black;
  }

}

.nav-link-header, .teaser > ul > li> .teaser-header{
 color: #a31e36;
 font-size: 1.05em;
 font-weight: 600;
}

.nav-link-header>a, .nav-link-items>a{
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

.nav-link-header>a{
  color: #a31e36;
  text-decoration: none;
}

.superNavColumn{
  display: flex;
  flex-flow: column wrap;
  align-content: start;
  width: 100%;
  margin: 0 1.5em;
}

.superNavRow{
  display: flex;
  flex-flow: row wrap;
  align-content: start;
  width: 100%;
  /* max-height: 45vh; */
  margin: 0 1.5em;
}

.superNavItem{
  display: flex;
  flex-direction: column;
  width: 25%;
  padding-right: 1vw;
  padding-left: 1.8vw;
  margin-bottom: 0.5em; /*added*/
}

.superNavBeschreibung{
  display: flex;
  flex-direction: column;
  width: 30%;
  padding-left: 1.8vw;
  margin-bottom: 0.5em;
  height: fit-content;
}

.superNavItem .l3:last-child{
  margin-bottom: 0.5em;
}

.beschreibungTitle{
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 20px !important;
}

.beschreibungMainText{
  line-height: 1.5em;
  font-weight: 300;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom:25px;
}

.beschreibungText{
  line-height: 1.5em;
  overflow-wrap: break-word;
  word-break: break-word;
  margin-bottom:5px;
  font-weight: 300;
}

.teaser{
  display: flex;
  flex-flow: row;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
  height: fit-content;
}

.teaser > ul{
  width: 25%;
  padding-right: 1vw;
  padding-left: 1.8vw;
  flex-basis: auto;
  margin-bottom:30px;
}

.teaser .teaser-header {
  font-weight: 600;
  /* color: #222222;*/
  font-size: 1em;
  margin-bottom:5px;
}

a.teaserLink {
 color:#252525;
 text-decoration: underline;
 font-weight:normal;
}

a.teaserLink:hover {
 color:#a31e36;
 text-decoration: underline;
}

.alt-link{
  /* padding-left: 15px; */
  margin-bottom: 0.5em;
}

.nav-button {
    font-size: 1em;
    border: 2px solid #a31e36;
    background-color: #a31e36;
    padding: 8px 22px;
    margin: 0px 2px 5px 0px;
    color: white;
    font-weight: 500;
    border-radius: 50rem!important;
    width: fit-content;
}


.nav-button:hover,
.nav-button:focus {
    background-color: white;
    color: #a31e36;
    text-decoration: none;
}


.nav-img{
  margin: 0 0 15px 0;
  padding: 0;
  }

/* mobile view */
@media (max-width: 1199px) {

  .offcanvas-body{
    height: inherit;
  }

  /* .main-header{
    height: 156px;
  } */

  .navbar-brand-mobile{
    transition: all 0.3s ease-in-out;
    height: 100px;
  }

  .dropdown-toggle{
    transition: all 0.3s ease-in-out;
  }

  .dropdown-toggle + div{
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0; /* optional */
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -webkit-transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  .dropdown-toggle.show + div{
    max-height: 700em;
    opacity: 1;
    transition: max-height 0 ease-in-out, opacity 0.3s ease-in-out;
    -webkit-transition: max-height 0 ease-in-out, opacity 0.3s ease-in-out;
  }

.nav-link-mobile-header>a, .nav-link-mobile-items>a{
  transition: all 0.3s ease-in-out;
  display: inline-block;
}

  .nav-link-mobile-header{
    font-size: 1.05em;
    font-weight: bold;
    border-bottom: 1px solid gray;
  }

  .nav-link{
    font-size: xx-large !important;
    margin-bottom: 0.5em;
    border-bottom: 1px solid lightgray !important;
  }

  .nav-link-mobile-top>a{
    font-size: 26px !important;
    padding: 10px 0;
  }

  .nav-link-mobile-header>a, .mobile-nav-lv1>li>a {
    color: black;
    font-weight: normal;
    font-size: 20px;
    padding: 8px 0;
    text-decoration: none;
    /* margin-bottom: 0.25em; */
    /* border-bottom: 1px solid lightgray; */
  }

  .nav-link-mobile-items{
    margin-bottom: 0.2em;
  }

  .nav-link-mobile-items>a{
    font-weight: 400;
    padding-left: 0;
    font-size: 18px;
    padding: 5px 0;
    color: #444444;
    text-decoration: none;
    width: 100%;
  }

  .show.nav-link{
    color: #a31e36 !important;
  }

  .dropdown-toggle.show{
    font-weight: 500;
    color: grey;
  }

  .nav-mobile{
    line-height: 2.5rem;
  }

  .dropdown-toggle{
    display: flex !important;
    justify-content: space-between;
  }

  .dropdown-menu{
    border: none;
  }

  .lv-1 ul li{
    border-bottom: 1px solid #bfbcbc;
  }

  .lv-1 ul li:last-child {
    border-bottom: none;
  }

/* Mobile Nav Toogler */

  .navbar-toggler{
  color: #222222 !important;   
  }

  .navbar-toggler:hover {
     transition: 0.25s;
     color: #777777 !important;
  }

  .navbar-toggler:focus{
    box-shadow: none;
  }