:root {
  --st-red-base: rgba(190,21,34,1)!important;
  --st-red-over: rgba(125,10,19,1)!important;
  --st-grey-dark: rgba(30,33,39,1)!important;
  --st-grey-middle:rgba(54,57,61,1)!important;
  --st-grey-middlesoft:rgba(54,57,61,0.6)!important;
  --st-grey-light:rgba(225,225,225,1)!important;
  --st-grey-lightsofter:rgba(225,225,225,0.3)!important;
  --st-grey-lighter:rgba(237,237,237,1)!important;
  --st-grey-lighter-50:rgba(237,237,237,0.5)!important;
  --st-grey-footer:rgba(205,211,216,1)!important;
  --bs-blue: rgba(23,162,176,1)!important;
}

@keyframes circleScale {
	0% {transform: scale(1)  }
	50% { transform: scale(0.75) }
  100% { transform: scale(1) }
}

@keyframes circleScale2 {
	0% {transform: scale(0.75)  }
	50% { transform: scale(1.25) }
  100% { transform: scale(0.75) }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.addition {
  position: fixed;
  padding-right: 50px;
  bottom: 75px!important;
  opacity: 0;
  font-size: 80%;
  line-height: 1.2em;
  transition: all 0.2s ease;
}

.activeNav .addition {
  transition:0.2s;
  opacity: 1;
}

.teaminfo p, .teaminfo ul li, .gal-info p, .timeline-2 .history-info p, .teaser-info p {
  font-size: 0.85em;
  line-height: 1.6em;
}

.gal-info p, .timeline-2 .history-info p, .teaser-info p {
  color: #6c757d !important;
}

.teaminfo ul {
  padding: 0;
  margin: 0;
}

.teaminfo ul li {
  position: relative;
  list-style: none;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-left: 30px;
  padding-right: 30px;
}

.teaminfo ul li::before {

  content:'';
  position: absolute;
  color: var(--st-red-base);
  line-height: 12px;
  width: 12px;
  height: 12px;
  left: 0;
  top: 50%;
  margin-top: -6px;
  background: url(../img/next.svg);
  background-size:20px;
  background-position: center;
}

.teaminfo ul li:last-child {
  border: none;
}
.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.team-container .card {
  height: 100%;
}

.team-container .card IMG {
  width: 100%!important;
  height: auto!important;
}

/* TIMELINE */

/* The actual timeline (the vertical ruler) */
.main-timeline-2 {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline-2::after {
  content: "";
  position: absolute;
  width: 1px;
  background-color: rgba(0, 0, 0, .125);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline-2 {
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-2 .history-info p {
  margin-bottom:unset!important;
  padding-bottom: 0!important;
}

/* The circles on the timeline */
.timeline-2::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -11px;
  background-color: var(--st-red-base);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left-2 {
  padding: 0px 40px 20px 0px;
  left: 0;
}

/* Place the container to the right */
.right-2 {
  padding: 0px 0px 20px 40px;
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left-2::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right-2::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right-2::after {
  left: -14px;
}

/* TIMELINE END */

.gallery-item {
  padding: 0.5rem;
  max-height: calc(258px + 0.5rem);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
  margin-right: 15px;
}

.gallery-item figure {
  margin-bottom: 0;
  padding-bottom: 0;
}

.gallery-item IMG {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}


#mobileNav .collapse.navbar-collapse {
  position: fixed;
  width: 25vw;
  min-width: 400px;
  max-width: 600px;
  z-index: 100;
  height: 100vh;
  right: -100%;
  visibility: hidden;
  display: flex;
  justify-content: start;
  padding-left: 50px;
  padding-right: 50px;
  opacity: 0;
  top: 0;
  background: linear-gradient(to right, var(--st-red-base) 0%, var(--st-red-over) 100%);
  transition: all 0.4s ease;
  transition-delay:0.1s;
}

#mobileNav .inner ul.navbar-nav {

}

#mobileNav .collapse .close-area {
  position: fixed!important;
  padding-left: 0px;
  padding-right: 0px;
  top:50px;
  font-size: 0.85em;
  cursor:pointer;
}

#mobileNav .nav-bg {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  right: -100%;
  top:0;
  z-index:1;
  transition: all 0.2s ease;
  background: rgba(0,0,0,0.7);
}

#mobileNav .collapse.navbar-collapse.show {
  visibility: visible;
  opacity: 1;
  right: 0;
}

.activeNav #mobileNav .nav-bg {
  opacity: 1;
  visibility: visible;
  position: fixed;
  right: 0;
  top:0;
}

#mobileNav .collapse.navbar-collapse ul li {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#mobileNav .collapse.navbar-collapse ul li a {
  color: white;
  text-decoration: none;
  font-size: 2em;
  position: relative;
  display: inline;
}

#mobileNav .collapse.navbar-collapse ul li a::before {
  content:'';
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  position: absolute;
  bottom: -5px;
  left: 0;
  z-index: 2;
}

#mobileNav .collapse.navbar-collapse ul li a::after {
  content:'';
  width: 0;
  height: 3px;
  z-index: 3;
  background: rgba(255,255,255,1);
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease;
  bottom: -5px;
  right: 0;
}

#mobileNav .collapse.navbar-collapse ul li:hover a:after {
  width: 100%;
  opacity: 1;
}

#mobileNav .collapse.navbar-collapse ul li.active a {
  font-weight: 700;
}

.gallery-item, .gallery-item .image {
  display: inline-block;
  width: 250px;
  height: 250px;
  border-radius: .3rem!important;
  overflow: hidden;
}

.gallery-item {
  height: 100%;
  width: auto;
}

.gallery-item .image IMG {
  display: flex;
  object-fit:cover!important;
  height: 100%!important;
  width: 100%!important;
}

img.effectImage {
  max-width: 800px;
  width: 100%;
  height: auto;
}

.badge {

  padding: 0.75rem!important;
}

.cta-btn a, .cta-btn a:focus, .cta-btn a:visited  {
  font-weight: 700;
  color:var(--st-red-base);
  border: 1px solid var(--st-red-base)!important;
  transition: all 0.4s ease-in-out;
  background: #fff;
  position: relative;
  z-index:2;
  overflow: hidden;
}

.link-btn {
  position: relative;
  color:var(--st-red-base)!important;
  border: 1px solid var(--st-red-base)!important;
  overflow: hidden;
  z-index: 20;
}

.cta-btn a::after, .link-btn::after {
  width: 100%;
  height: 100%;
  content:'';
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(100%);
  z-index: -1;
  background: linear-gradient(to right, var(--st-red-base) 0%, var(--st-red-over) 100%);
  transition: all 0.2s ease-in-out;
}

.additional-teaser .inner-teaser {
  display: flex;
  height: 100%;
}

.inner-teaser:hover .link-btn {
  color: #fff!important;
}

.inner-teaser:hover .link-btn::after {
  z-index: -1;
  transform: translateY(0%);
}

.cta-btn a:hover {
  color: #fff!important;
  border: 1px solid var(--st-red-base);
}

.cta-btn a:hover::after {
  transform: translateY(0%);
}

.swiper-slide {
  max-height: calc(100vh - 175px)!important;
  width: 100%;
  overflow: hidden!important;
}

.swiper-slide .overlay {
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.0) 100%);
  padding-right: 5%;
  padding-bottom: 4%;
}


.swiper-slide .overlay .img-title {
  top: 25px;
  z-index: 20;
  opacity: 0;
  transform: translateY(-20px);
  display: block;
}

.swiper-slide-active .overlay .img-title {
  top: 0px;
  opacity: 1;
  transform: translateY(0px)!important;
  transition: all 1.75s ease-in-out;
  animation-delay: 1s;
}

.sub-page img.headerbannerImg {
  transform: translateX(0);
  transition: all 0.3s ease;
}

.swiper-slide .overlay .img-title::after {
  content:'';
  width: 100px;
  height: 100px;
  border-radius: 100px;
  background: var(--st-red-base);
  opacity: 0.25;
  right:-50px;
  top: 50%;
  margin-top: -50px;
  position: absolute;
  z-index: -1;
  animation: circleScale 1.75s infinite;
}

.swiper-slide .overlay .img-title::before {
  content:'';
  width: 140px;
  height: 140px;
  border-radius: 100px;
  background: var(--st-red-base);
  opacity: 0.35;
  right:-70px;
  top: 50%;
  margin-top: -70px;
  position: absolute;
  z-index: -2;
  animation: circleScale2 1.75s infinite;
}

.swiper-slide IMG {
  object-fit:scale-down!important;
  width: 100%;
  height: auto;
}

.accordion {
  margin-top: 2em;
  margin-bottom: 2em;
}

.accordion-header, .accordion-button {
  border: none!important;
}

.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: none!important;
    background-color: var(--st-red-base)!important;
    mask-image: url('../img/plus-circle.svg')!important;
    -webkit-mask-image:url('../img/plus-circle.svg')!important;
    mask-size: 1.25em!important;
    -webkit-mask-size: 1.25em!important;
    transition: transform .2s ease-in-out;
}

.accordion-item {

}

.accordion-button:focus {
  z-index: 3;
  border-color: none!important;
  outline: 0;
  box-shadow: none!important;
}

.accordion-button:not(.collapsed) {
  color: #fff!important;
  background-color: var(--st-red-over);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:not(.collapsed)::after {
  background-color: var(--st-red-base)!important;
}

.accordion-body p:not(.text-muted) {
  margin-bottom: 0px!important;
  padding-bottom: 0px!important;
}

header#mainHeader {
  z-index: 300!important;
}

button.nav-toggler:focus, button.nav-toggler:focus, [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
  outline: 0!important;
  box-shadow:none!important;
  border: 0!important;
}

.nav-toggler:focus, button:not(:disabled) {
  box-shadow:none!important;
}


a, a::before, button, .nav-link, header#mainHeader, header#mainHeader IMG, .footer-link, nav ul li a, .footer-link::after, .footer-nav li a,
.footer-nav li a::after, .main-content .container h2::after, .main-content .container h2 {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.nav-link {
  padding: 0!important;
  line-height: 1em;
}

body, html {
  padding: 0;
  margin: 0;
  background: linear-gradient(to top, rgba(237,237,237,1) 0%, rgba(255,255,255,1) 100%);
  color:#fff;
}

body.activeNav {
  overflow: hidden;
}

header#mainHeader {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
  background:url(../img/mainBg-min.jpg) no-repeat;
  background-size: 110%;
  background-position: center;
  width: 100%;
  z-index:2;
  transition: all 0.3s ease;
}

header#mainHeader::after {
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content:'';
  background: rgba(0,0,0,0.6);
  z-index:-1;
}


footer {
  background: #191919;
  color: var(--st-grey-middlesoft);
  line-height: 1.75em;
  position: relative;
}

footer .inner-wrapper {
  background: linear-gradient(to right, var(--st-grey-footer) 0%,  rgba(189,196,204,0.8) 100%);
}

footer:after {
  width: 100%;
  height: 25px;
  content:'';
  background: linear-gradient(to right, var(--st-red-base) 0%, var(--st-red-over) 100%);
  position: absolute;
  bottom: -25px;
  left: 0;
}


.footer-nav li {
  padding-right: 0.75rem;
}

.footer-nav li a {
  text-decoration: none;
  color:var(--st-grey-dark);
  position: relative;
}

footer .footer-link {
  color: var(--st-grey-dark);
  text-decoration: none!important;
}

footer .footer-link::before, footer .footer-nav li a::before {
  position:absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  width: 100%;
  background: #d2d2d2;
  content:'';
}

footer .footer-link::after, footer .footer-nav li a::after {
  position:absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--st-grey-dark);
  content:'';
  z-index: 2;
  opacity: 0.7;
}

footer .footer-link:hover::after, footer .footer-nav li a:hover::after {
  width: 100%;
}

.spacer {
  color: var(--st-grey-light);
}

.sh-partner {
  border-bottom: 1px solid rgba(0,0,0,0.125);
  z-index: 20!important;
  display: flex!important;
}

.sh-partner .inner-border {

}

.sh-partner::before {
  content:'';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: rgba(0,0,0,0.05);
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.sh-partner:hover::before {
  opacity: 1;
  width: 100%;
}

footer .spacer {
  color: var(--st-grey-middlesoft);
}

.fixed_header header#mainHeader {
  position: fixed;
  z-index: 10;
  width: 100%;
  top: 0;
  background-size: 100%;
  /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);*/
  padding: 50px 0!important;
  animation: slideDown 0.35s ease;
}

header#mainHeader IMG.logo {
  width: 300px;
  transition: all 0.7s ease;
}

.fixed_header header#mainHeader IMG.logo {
  width: 225px;
  height: auto;
}

body {
  width: 100vw;
  overflow-x: hidden;
  font-family: "open-sans", sans-serif;
  font-size: 1em;
  line-height: 1.4em;
}

.main-content .container p, .main-content .container ul li, .main-content .container blockquote p,
.add-content .container p, .add-content .container ul li, .add-content .container blockquote p {
  color: var(--st-grey-middle);
}

.main-content .container h1, .main-content .container h2, .main-content .container h3, .add-content .container h3, .main-content .container h4, .add-content .container h4, .main-content .container h5, .add-content .container h5 {
    color: var(--st-red-base);
    font-family: interpol-sans, sans-serif;
}

.text-danger, .text-primary {
  color: var(--st-red-base)!important;
}

.main-content h3:not(.accordion-header):not(.toplevel), .add-content h3:not(.accordion-header):not(.toplevel) {
  padding-left: 0px;
  position: relative;
}

.main-content h3:not(.accordion-header):not(.toplevel)::before, .add-content h3:not(.accordion-header):not(.toplevel)::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 7px;
  background: var(--st-grey-lighter);
  left: 0px;
  bottom: -20px;
  margin-top: -3px;

}

.main-content, .add-content {
  line-height: 1.75em;
}

.main-content .container h2, .add-content .container h2 {
  font-size: 3.75em;
  font-weight: 900;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  z-index: 2;
  padding-right: 0px;
}

.main-content .container h2::after, .add-content .container h2::after {
  position: absolute;
  width: calc(100% + 20px);
  height: 15px;
  background: var(--st-grey-lighter);
  content:'';
  bottom: 2px;
  left: -10px;
  right: -10px;
  z-index: -1;
}

.main-content a {
  position: relative;
  text-decoration: none;
  color: var(--st-red-base);
  transition: all 0.2s ease;
}

.main-content .table {
  border: none!important;
}

.add-content table {
  border-radius: 0.7rem;
  border: 1px solid #ddd!important;
  overflow: hidden;
}

.inner-add-teaser  {
  border: 1px solid rgba(0,0,0,0.125);
}

.add-content table td, .main-content table td {
  padding: 0.7rem;
  border: 1px solid #ddd!important;
  border-left: none!important;
  font-size: 1em;
}

.main-content a:not(.lightbox):not(.gal-link)::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background: var(--st-red-over);
  transition: all 0.2s ease;
  transition-delay: 0.1s;
}

.main-content a:hover {
  color: var(--st-red-over);
}

.main-content a:hover::before {
  width: 100%;
}

.fixed_header .main-content {
  position: relative;
}

/* Desktop-Nav */

#desktopNav ul {
  width: 100%;
  display: block;
}

#desktopNav ul li {
  float: left;
  font-weight: 400;
  font-size: 1.25em;
  padding-bottom: 0;
  font-family: interpol-sans, sans-serif;

}

#desktopNav ul li a {
  color: white;
  padding-left: 35px!important;
  padding-right: 35px!important;
  padding-top: 12px!important;
  padding-bottom: 15px!important;
  border-radius: 50px;
  border: 1px solid var(--st-grey-lightsofter);
  transition: all 0.2s ease-in-out;
  position: relative;
  background: transparent;
  overflow: hidden;
}

#desktopNav ul li a::before {

}

#desktopNav ul li a:hover, #desktopNav ul li.active a:hover {
  background: var(--st-grey-lightsofter);
  border: 1px solid var(--st-grey-lighter-50);
}

#desktopNav ul li.active a {
  background: linear-gradient(to right, var(--st-red-base) 0%, var(--st-red-over) 100%);
  border: 1px solid transparent;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
}
/*
#desktopNav ul li.active:hover a {
  background: linear-gradient(to left, rgba(190,21,34,0.7) 0%, var(--st-red-over) 40%);
  border: 1px solid transparent;
  transition: all 0.4s ease-in-out;
}*/


/* Desktop-Nav Ende */

@media (min-width: 1920px) {
  .swiper-slide IMG {
    transform: translateY(calc(-15% - 175px)) translateX(-7px)!important;
  }
}

@media (min-width: 1650px) {
  #mainHeader .container-fluid {
    padding-left: 5em!important;
    padding-right: 5em!important;
  }

  .swiper-slide IMG {
    transform: translateY(calc(-5% - 175px)) translateX(0px);
  }

}


@media (min-width: 1200px) {

  #mainHeader .container-fluid {
    padding-left: 3em;
    padding-right: 3em;
  }

  .fs-3 {
        font-size: 1.4rem !important;
    }

}

@media (max-width: 1199px) and (orientation:landscape){
  #mobileNav .collapse {
    overflow-y: auto;
    padding-top: 0px;
    padding-bottom: 50px;
  }

  #mobileNav .close-area {
    left: 50px;
    top: 50px!important;
  }
}

@media (max-width: 1199px) {

  .additional-teaser {
    max-width: 620px;
    margin-left: auto!important;
    margin-right: auto!important;
  }

  .sub-page img.headerbannerImg {
    transform: translateX(-20%);
    max-width: 1750px!important;
    height: auto!important;
  }

  header#mainHeader {
    z-index: 100!important;
    padding: 45px 0!important;
  }

  .fixed_header header#mainHeader {
    padding: 30px 0!important;
    animation: slideDown 0.35s ease-out;
  }

  header img.logo {
    max-width: 220px!important;
    height: auto!important;
  }

  .fixed_header img.logo {
    max-width: 180px!important;
    height: auto!important;
  }

}

@media (max-width: 991px) {

  .additional-teaser h5 {
    font-size: 1.2rem!important;
  }

  .additional-teaser p {
    font-size: 0.8rem;
  }

  .additional-teaser .link-btn {
    transform:scale(0.8);
  }

  #mobileNav .collapse.navbar-collapse {
    min-width: 280px;
    max-width: 340px;
  }

  #mobileNav .collapse.navbar-collapse ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5em!important;
  }

  .main-content .container h2::after, .add-content .container h2::after {
    position: absolute;
    width: 100px;
    height: 15px;
    background: var(--st-grey-lighter);
    content: '';
    bottom: -40px;
    left:0px;
    right:0px;
    z-index: -1;
  }

  .main-content .container h2, .add-content .container h2 {
    margin-bottom: 75px;
  }


}

@media (min-width: 768px) and (max-width: 991px) {

}

@media (max-width: 767px) {

  .gallery-item, .gallery-item .image {
    width: 100%!important;
    height: 100%!important;
  }

  .gallery-item {
    overflow: hidden;
  }

  .gallery-item .image {
    overflow: hidden;
    max-height: 250px;
  }


  header img.logo {
    max-width: 190px!important;
    height: auto!important;
  }

  .fixed_header img.logo {
    max-width: 150px!important;
    height: auto!important;
  }


  h3.toplevel.small.wow {
    font-size: 1em!important;
  }

  /* Place the timelime to the left */
  .main-timeline-2::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline-2 {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline-2::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left-2::after,
  .right-2::after {
    left: 18px;
  }

  .left-2::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right-2 {
    left: 0%;
  }

  header#mainHeader {
    background-size: 210%;
  }

  .fixed_header header#mainHeader {
    background-size: 190%;
  }

}

@media (max-width: 520px) {



  .gallery-item .image IMG {
    width: 100%!important;
    height: auto!important;
  }

  .gallery-item, .gallery-item .image {
    width: 100%!important;
    height: 100%!important;
  }

  .gallery-item {
    overflow: hidden;
  }

  .gallery-item .image {
    display: block!important;
    overflow: hidden;
    max-height: 200px!important;
  }

  .sub-page img.headerbannerImg {
    transform: translateX(-35%);
  }

  h3.toplevel.small.wow {
    font-size: 0.95em!important;
  }
}

@media (max-width:480px) {
  h3.toplevel.small.wow {
    font-size: 0.75em!important;
  }

  h2.siteheader {
    font-size:2.5em!important;
    line-height: 2.75rem;
  }
}
