@import url("classes.css");
@import url("elements.css");

/* Table of Contents
   - - - - - - - - -
   Globals
   Typography
   Header
   Header when scrolled
   Navigation
   Full Width Layout
   One Page / Smooth Scroll
   Full Width BG
   Body / Content
   Overlay Image/Text Stack
   Teaser with icons
   Blog / News
   Downloads
   Kontakt
   Bottom
   Footer / Copyright
   Usercentrics Button & Modal + Back2Top
   Website specific
   Media Queries
   Animations
   - - - - - - - - -
*/
 
/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Globals ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

 :root {
  --body-color: #555555;
  --font-fallback: Arial, Helvetica, sans-serif;
  --body-font-size: 1.05rem; 
  --cassiopeia-color-hover: var(--primary-color-dark) !important;
  --cassiopeia-color-link: var(--primary-color-dark) !important;
  --siteGridMargin: 125px;
  
  --sm: 576px;
  --md: 768px;
  --lg: 992px;
  --xl: 1200px;
  --xxl: 1400px;
}


/* -------- fix for x-overflowing full-width elements and sticky nav  -------- */
/* 
html, body{
  overflow-x: clip;
} 
*/
  
/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Typography ---------------------------------------  */
/* --------------------------------------------------------------------------------------------  */
  
body {
  font-family: var(--secondary-font), var(--font-fallback);
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

h1,h2,h3,h4,h5{
  font-family: var(--primary-font), var(--font-fallback);
  font-weight: 400;
}

.font-special{
  font-family: var(--tertiary-font), var(--font-fallback);
}

h1{
  font-size: clamp(26px, 2vw, 30px);
  color: var(--primary-color,#0f6a9e);
}
h2{
  font-size: clamp(24px, 2vw, 28px);
  color: var(--primary-color,#0f6a9e);
  font-weight: 400;
}
h3{
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}

.page-header h1 {
    font-size: clamp(28px, 2.5vw, 34px);
    color: var(--primary-color-dark,#12148e);
    margin-bottom: 35px;
}
.item-page h2{
  text-transform: uppercase;
  margin-bottom: 0px;
}

.page-smaller-headlines h2{
  font-size: clamp(25px, 2vw, 35px);
  font-weight: 400;
  color: var(--primary-color-dark,#0f6a9e);
}
.page-smaller-headlines h3{
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}
.page-smaller-headlines h4{
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--primary-color,#1781b9);
}

a{
  color: var(--primary-color,#12148e);
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Header ------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

header {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
  /* height: var(--headerHeight);  /* set explicit height for preventing flickering issue with position:sticky - generated & set dynamically with JS - scrolled height must be set manually */
  height: auto;
  --transitionDuration: 0.75s;
}

header.position-sticky {
  position: absolute !important;
  width: 100%;
}

.site-grid{
  margin-top: var(--siteGridMargin);
}

.container-topbar{
  padding: 5px 0px;
  background-color: var(--primary-color);
  /*will-change: height;
   transition: height ease var(--transitionDuration); */
  height: 35px;
}

.container-topbar .container{
  display: flex;
  height: 100%;
  justify-content: flex-end; /* right or end not working on iOS */
  align-items: center;
  gap: 20px;
  opacity: 1;
  /* transition: all ease var(--transitionDuration); */
}

.container-topbar .contact_item,
.container-topbar a.contact_item{
  font-size: 12px;
  color:var(--primary-color);
}
.container-topbar a.contact_item:hover{
  text-decoration: underline;
}

.container-topbar .contact_item svg path,
.container-topbar a.contact_item svg path,
.container-topbar div.contact_item svg path{
  fill:#fff;
}

.brand-logo img,
.brand-logo svg{
  padding: 5px 0px;
  transition: all ease var(--transitionDuration);
}

.brand-logo svg g{
  transition: all ease var(--transitionDuration);
  opacity: 1;
  fill: var(--primary-color);
}


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Header when scrolled ----------------------------------  */
/* --------------------------------------------------------------------------------------------  */

@media screen and (min-width: 576px) {
  header.position-sticky.scrolled{
    position: fixed !important;
    animation: slideDown 0.35s ease-out;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.container-header.scrolled .container-nav{
  box-shadow: 0 0 20px 0 rgba(51,51,51,0.1);
  background: rgb(255 255 255 / 100%);
  /* backdrop-filter: blur(5px);     // inner elements are not displayed anymore? / Button for mobile nav */
}

/*
.container-header.scrolled .container-nav:before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
background: rgb(255 255 255 / 85%);
}

*/

.container-header.scrolled .container-topbar{
  height: 0px;
  padding: 0px;
  display: none;
}

.container-header.scrolled .container-topbar .container{
  opacity: 0;
}

.container-header.scrolled .brand-logo img,
.container-header.scrolled .brand-logo svg{
  width: 225px;
} 

/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Navigation ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-header .container-nav{
  padding: 0px;
  background: #fff;
  max-width: 100%;
  transition: all ease .25s;
}
.container-header .container-nav .container{
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  justify-content: space-between;
  display: grid;
  grid-template-columns: 1fr 2fr;
  position: relative;
}

.container-header nav{
  padding-top: 0px;
  margin-top: 0px;
  justify-content: flex-end;
  align-items: center;
}

.metismenu.mod-menu .metismenu-item>a:focus, 
.metismenu.mod-menu .metismenu-item>button:focus {
    outline: none;
    outline-offset: 2px;
}
.metismenu.mod-menu .metismenu-item>a:focus-visible,
.metismenu.mod-menu .metismenu-item>button:focus-visible {
  outline: 2px solid currentColor; /* That'll show 'em */
}

.container-header .mod-menu li a{
  text-transform: uppercase;
}

.navbar-collapse{
  flex-grow: initial;
}

.container-header .navbar-toggler{
  color: var(--primary-color);
}
.metismenu.mod-menu .metismenu-item{
  font-size: 1.05rem;
  font-weight: 400;
  padding: 0.5em 1em 0.75em;
}

.metismenu.mod-menu .mm-collapse .metismenu-item a{
  text-decoration: none;
} 

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------- Full Width Layout (body class)--------------------------  */
/* --------------------------------------------------------------------------------------------  */

/*  set page "full-width" (via page class in menusettings)  */
body.full-width .site-grid {
    grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(4,minmax(0,25%)) [main-end] minmax(0,1fr) [full-end];
    grid-gap: 0;
}

body.full-width main {
    max-width: 1320px;
    width: 100%;
    padding-right: var(--gutter-x,.5em);
    padding-left: var(--gutter-x,.5em);
    margin-right: auto;
    margin-left: auto;
    margin-top: 75px;
}
@media (min-width: 576px){body.full-width main{max-width: 540px;}}
@media (min-width: 720px){body.full-width main{max-width: 768px;}}
@media (min-width: 992px){body.full-width main{max-width: 960px;}}
@media (min-width: 1200px){body.full-width main{max-width: 1140px;}}
@media (min-width: 1400px){body.full-width main{max-width: 1320px;}}

/* --------------------------------------------------------------------------------------------  */
/* -------------------------------------- Body / Content --------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

/* positioning for edit icons */
main{
  position: relative;
}
.icons{
  position: absolute;
  top:-35px;
  display: none;
}

a, 
a:not([class]), 
.mod-list li a:hover,
.mod-list li.active>a{
  text-decoration: none;
}

/*.btn{border-radius: 0 !important;} */

.container-component{
  margin-bottom: 50px;
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- One Page / Smooth Scroll -------------------------  */
/* --------------------------------------------------------------------------------------------  */

.smooth-scroll {
  scroll-behavior: smooth;
  scroll-margin-top: 80px;
}

@media screen and (max-width: 576px) {
  .smooth-scroll {
    scroll-margin-top: 0px;
  }
}

.sm-scroll-mt-0 {scroll-margin-top: 0px;}
.sm-scroll-mt-10 {scroll-margin-top: 10px;}
.sm-scroll-mt-20 {scroll-margin-top: 20px;}
.sm-scroll-mt-30 {scroll-margin-top: 30px;}
.sm-scroll-mt-40 {scroll-margin-top: 40px;}
.sm-scroll-mt-50 {scroll-margin-top: 50px;}
.sm-scroll-mt-60 {scroll-margin-top: 60px;}
.sm-scroll-mt-70 {scroll-margin-top: 70px;}
.sm-scroll-mt-80 {scroll-margin-top: 80px;}
.sm-scroll-mt-90 {scroll-margin-top: 90px;}
.sm-scroll-mt-100 {scroll-margin-top: 100px;}
.sm-scroll-mt-110 {scroll-margin-top: 110px;}
.sm-scroll-mt-120 {scroll-margin-top: 120px;}
.sm-scroll-mt-130 {scroll-margin-top: 130px;}
.sm-scroll-mt-140 {scroll-margin-top: 140px;}
.sm-scroll-mt-150 {scroll-margin-top: 150px;}
.sm-scroll-mt-160 {scroll-margin-top: 160px;}
.sm-scroll-mt-170 {scroll-margin-top: 170px;}
.sm-scroll-mt-180 {scroll-margin-top: 180px;}
.sm-scroll-mt-190 {scroll-margin-top: 190px;}
.sm-scroll-mt-200 {scroll-margin-top: 200px;}

section.active h3{
  text-decoration: underline;
  text-underline-offset: 8px;
}

section.active.bg-full::after {
    background: #ffdfb6;
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Full Width BG ------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.bg-full {
  position: relative;
  display: grid;
}
.bg-full > * {
  position: relative;
  z-index: 2;
}
.bg-full::after {
  content: '';
  background: #c6e6d4;
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100vw;  
  margin-left: -50vw;
  left: 50%;
}
.bg-full-primary::after {
  background: var(--primary-color);
}
.bg-full-primary-light::after {
  background: var(--primary-color-light);
}
.bg-full-primary-dark::after {
  background: var(--primary-color-dark);
}
.bg-full-secondary::after {
  background: var(--secondary-color);
}
.bg-full-secondary-light::after {
  background: var(--secondary-color-light);
}
.bg-full-secondary-dark::after {
  background: var(--secondary-color-dark);
}
.bg-full-white::after {
  background: #fff;
}
.bg-full-eee::after {
  background: #eee;
}

.bg-full-overlay{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  left: 50%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events:none;
}



/* --------------------------------------------------------------------------------------------  */
/* --------------------------------- Overlay Image/Text Stack ---------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.teaser-stack {
  /*padding: 100px 30px; */
  width: 100%;
  height: 100%;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px; 
  --stackTransition: all ease .25s;
}
.stack {
  display: grid;
  height: 100%;
  /* min-height: 500px; */
  position: relative; 
  grid-template-columns: repeat(12, 1fr);
}
.stack__title {
  display: flex;
  align-items:center;
  gap: 20px;
  font-size: clamp(16px, 2vw, 26px);
  text-transform: uppercase;
  color: var(--primary-color-dark);
  transition: var(--stackTransition);
}
.stack__title img {
  transition: var(--stackTransition);
}
.stack__arrow {
  margin-left: auto;
  width: 15px;
  transition: var(--stackTransition);
}
.stack__list{
  list-style-type: none;
  line-height: 35px;
  text-transform:;
  padding-top: 30px;
  padding-left: 0px;
  font-size: clamp(16px, 2vw, 18px);
  transition: var(--stackTransition);
}
.stack__list_link{
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
  transition: var(--stackTransition);
}
.stack__list_link_arrow{
  margin: 0;
  width: 8px;
  transition: var(--stackTransition);
  opacity: 0;
}
.stack__item--top ul{
  line-height: 1.8;
  font-size: clamp(13px, 1.5vw, 18px);
}

.stack__item--bottom {
  grid-column: 1 / -1;
  grid-row: 1;
  transition: var(--stackTransition);
  background: transparent;
}
.stack.blend .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack__item--bottom img {
  transition: var(--stackTransition);
  height: 100%;
  width: 100%;
  object-fit: cover;
  mix-blend-mode: initial;
}
.stack.blend .stack__item--bottom img {
  mix-blend-mode: luminosity;
}
.stack__item--top {
  grid-row: 1;
  grid-column: 2 / span 11;
  z-index: 1;
  width: 45%;
  height: fit-content;
  align-self: center;
  justify-self: flex-start;
  background: rgba(255, 255, 255, 0.9);
  padding: 50px 35px 50px 50px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
  backdrop-filter: blur(3.5px);
}

.stack:hover .stack__item--bottom {
  background: var(--primary-color-dark);
}
.stack.blend:hover .stack__item--bottom {
  background: transparent;
}
.stack.blend:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: initial;
}
.stack:hover .stack__item--top {
  background: rgba(255, 255, 255, 0.95);
}
.stack:hover .stack__item--bottom img {
  filter: brightness(1.1) saturate(1.3);
  mix-blend-mode: luminosity;
}
.stack__item--top:hover {
  width: 50%;
}
.stack__item--top:hover .stack__arrow {
    transform: scale(1.2);
}
.stack__item--top:hover .stack__list {
    padding-left: 25px;
}
.stack__list_link:hover {
    padding-left: 8px;
}
.stack__list_link:hover .stack__list_link_arrow {
    opacity: 1;
}

.teaser-stack.stack-text {
  box-shadow: none;
}
.teaser-stack.stack-text h2,
.teaser-stack.stack-text h3 {
    margin-bottom: 2rem;
}
.teaser-stack.stack-text .stack__item--top {
  grid-row: 1;
  position: relative;
  top: 0px;
  margin-top: 0px;
  z-index: 1;
  width: 100%;
  height: fit-content;
  align-self: center;
  justify-self: center; 
  background: rgba(255, 255, 255, 1);
  padding: 75px;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
  transition: var(--stackTransition);
}
/*
.teaser-stack.stack-text .stack:hover .stack__item--top{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; 
}
*/
.teaser-stack.stack-text .stack__item--bottom {
  transition: all linear .75s;
}

.teaser-stack.stack-text.stack-text--left .stack__item--top {
  grid-column: 1 / 8;  
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom {
  grid-column: 6 / 13;
}

.teaser-stack.stack-text.stack-text--left .stack__item--top.end2 {
  grid-column: 1 / 2;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end3 {
  grid-column: 1 / 3;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end4 {
  grid-column: 1 / 4;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end5 {
  grid-column: 1 / 5;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end6 {
  grid-column: 1 / 6;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end7 {
  grid-column: 1 / 7;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end8 {
  grid-column: 1 / 8;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end9 {
  grid-column: 1 / 9;
}
.teaser-stack.stack-text.stack-text--left .stack__item--top.end10 {
  grid-column: 1 / 10;
}


.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start1 {
  grid-column: 1 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start2 {
  grid-column: 2 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start3 {
  grid-column: 3 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start4 {
  grid-column: 4 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start5 {
  grid-column: 5 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start6 {
  grid-column: 6 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start7 {
  grid-column: 7 / 13;
}
.teaser-stack.stack-text.stack-text--left .stack__item--bottom.start8 {
  grid-column: 8 / 13;
}

.teaser-stack.stack-text.stack-text--right .stack__item--top {
  grid-column: 6 / 13;
}
.teaser-stack.stack-text.stack-text--right .stack__item--bottom {
  grid-column: 1 / 9;
}


.buero h2,
.buero h3,
.teaser-stack.stack-text.buero h2,
.teaser-stack.stack-text.buero h3{
  font-weight: 600;
  font-size: clamp(40px, 3.5vw, 80px);
  line-height: 0.85;
}
.teaser-stack.stack-text.buero .stack__item--top {
  align-self: baseline;
  justify-self: start; 
  background: rgba(255, 255, 255, 1);
  padding: 0px;
  box-shadow: none;
  transition: var(--stackTransition);
}

.teaser-stack.stack-text.buero .stack__item--bottom,
.teaser-stack.stack-text.buero .stack__item--bottom img {
    height: fit-content;
}


@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .stack__title {
    gap: 15px;
    font-size: 1.1rem;
  }
  .stack__title img:first-child {
    width: 55px;
  }
}
@media screen and (max-width: 1200px) {
  .row-teaser-stack .col-xl-6:first-child {
    margin-bottom: 50px;
  }
  .stack__item--top {
    width: 65%;
  }
  .stack__item--top:hover {
    width: 75%;
  }
}
@media screen and (max-width: 992px) {
  .stack__item--top {
    padding: 30px 35px 30px 30px;
  }
  .stack {
    height: 60vw;
  }
}
@media screen and (max-width: 768px) {
  .stack__title {
    gap: 10px;
    font-size: 1.1rem;
  }
  .stack__title img:first-child {
    width: 50px;
  }
  .stack__list{
    line-height: 28px;
  }
  .teaser-stack.stack-text .stack{
    grid-template-rows: auto auto;
    gap: 0px;
    row-gap: 50px;
  }
  .teaser-stack.stack-text.mb-8{
    margin-bottom: 5rem!important;
  }
  .teaser-stack.stack-text .stack__item--top{
    grid-column: span 12 !important;
    grid-row: 1;
  }
  .teaser-stack.stack-text .stack__item--bottom{
    grid-column: span 12 !important;
    grid-row: 2;
  }
  
  .stack__item--top {
    grid-column: 2 / 12;
    width: 100% !important;
    padding: 20px 25px 20px 20px;
    margin: 50px auto;
  }
  .stack__item--top:hover {
     width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .stack__item--top {
    width: 65%;
  }
  .stack:hover .stack__item--top {
    width: 70%;
  }
  .stack {
    height: auto;
  }
  .stack__item--top ul {
      font-size: clamp(14px, 2vw, 18px);
  }
}


/* --------------------------------------------------------------------------------------------  */
/* --------------------------------------- Blog / News ----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.blog-items {
  grid-gap: 35px;
}

.blog-items h2,
.blog-items h3{
  font-size: clamp(22px, 2vw, 26px);
  min-height: 65px;
  font-weight: 400;
}
.blog-featured .item-image img, 
.blog .item-image img, 
.latestnews .item-image img{
     object-fit: cover;
     filter: brightness(1) blur(0);
     transition: .2s ease-in-out;
}
.blog-featured .item-image img:hover, 
.blog .item-image img:hover, 
.latestnews .item-image img:hover{
     -webkit-filter: brightness(1.1) blur(0px) saturate(1.8);
     filter: brightness(1.1) blur(0px) saturate(1.8);
}

figure.float-start {
    margin-right: 2em;
}
figure.float-end {
    margin-left: 2em;
}


/* --------------------------------------------------------------------------------------------  */
/* ---------------------------------------- Downloads -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.downloads{
  margin: 2rem 0 2rem 0;
}
.downloads-item{
  background: #eee;
  padding: 10px;
  --dItemTransition: all ease .25s;
  transition: var(--dItemTransition);
}
.downloads-item:hover{
  transform: scale(1.05);
  background: #ddd;
}
.downloads-item_wfit{
  padding: 5px 35px 5px 5px;
  width: fit-content;
}
.downloads-item a{
 display: grid;
 grid-template-columns: 65px 1fr;
 align-items: center;
 gap: 15px;
 font-size: clamp(16px, 2vw, 18px);
 color: #555;
}
.downloads-item a:hover{
  color: var(--cassiopeia-color-link);
}
.downloads-item svg{
  transition: var(--dItemTransition);
  padding: 5px;
  width: 65px;
}
/*
.downloads-item a:hover svg .icon-corner{
  fill: #f34447;
}
.downloads-item a:hover svg .icon-body{
  fill: var(--primary-color-dark);
  fill: #aa0d00;
}
*/
.downloads-item a:hover svg .icon-body{
  fill: var(--primary-color-dark);
}
.downloads-item a svg .icon-text{
  transition: var(--dItemTransition);
}
.downloads-item a:hover svg .icon-text{
  scale: 1.05;
  transform-origin: 50% 60%;
}


/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------------ Kontakt -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.com-contact__container h3{
  display:none;
}
#contact-form button[type=submit]{
  float: right;
}

.contact .container-component .container{
  display: grid;
}

.contact .main-top{
  order: 1
}
.contact main{
  order: 2
}
.contact #system-message-container{
  order: 3;
  margin-top: 25px;
}

/*
.com-contact dl.dl-horizontal dd {
  grid-column-end: 3;
  grid-column-start: 2;
  margin-bottom: 0;
  padding: 0 0 0 1em;
}


#system-message-container{
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: 5%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 99999;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
}
  
#system-message-container joomla-alert{
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  height: fit-content;  
}
*/

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Bottom -------------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-bottom{
  padding: 50px 0px;
  background: #fff;
}
.bottom .grid{
  display: grid;
  gap:60px;
}
.bottom .grid-1{
  grid-template-columns: 1fr;
}
.bottom .grid-2{
  grid-template-columns: 1fr 1fr;
}
.bottom .grid-3{
  grid-template-columns: 1fr 1fr 1fr;
}
.bottom .grid-4{
  grid-template-columns: auto auto auto auto;
}

.bottom h3 {
 font-size: clamp(20px, 2vw, 24px);
 font-weight: 600;
 color: var(--primary-color-dark, #555);
 margin-bottom: 25px;
 padding-bottom: 10px;
 border-bottom: 2px solid var(--secondary-color);
}

.bottom .mod-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.bottom .mod-list li{
  padding: 0 !important;
}
.bottom .mod-list li a{
  color: #333;
}
.bottom .mod-list li a:hover{
  color: var(--primary-color);
}
.bottom .mod-list li.divider {
  display: none;
}

/* --------------------------------------------------------------------------------------------  */
/* ------------------------------------ Footer / Copyright ------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

.container-footer-top h3{
  letter-spacing: 0px !important;
}
.container-footer{
  margin-top: 0px;
  background-color: var(--primary-color-dark);
  background-image:none;
}
.container-footer-top a{transition: all ease .25s;}
.container-footer-top a:hover{
  color: var(--secondary-color-dark) !important;
  text-decoration: underline;
}
footer .footer {
  background-color: transparent;
  background-image: none;
}
footer .logo img, 
footer .logo svg {
  width: 225px;
}
footer .logo{
  margin-top: 0;
  margin-bottom: 0.5em;	
}
.footer .grid-child {
  justify-content: center;
  flex-direction: column;
  padding: 1.5rem 0.5em;
}
.footer .mod-footer{
  position: relative;
  font-weight: 200;
  line-height: 2;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.footer .mod-menu{
  display: grid;
  grid-template-columns: repeat(5, auto); /* check how many items */
  gap: 10px;
  margin-bottom: 1em;	
}
.footer .mod-menu a{
  font-weight: 200;
  position: relative;
}
.footer .mod-menu>li>a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s ease;
}
.footer .mod-menu li.active a::before,
.footer .mod-menu>li>a:hover::before {
  transform: scaleX(1);
}


/* ----------------------------------------------------------------------------------------------  */
/* ------------------------- Usercentrics Button & Modal v2 + Back2Top --------------------------  */
/* ----------------------------------------------------------------------------------------------  */

:root {
  --btns-width: 50px;
  --btns-height: 50px;
  --btns-position: absolute;
  --btns-bg-color: #fff;
  --btns-bg-color-active:  #fff;
  --btns-color: var(--primary-color);
  --btns-border: 1px solid var(--primary-color);
  --btns-border-radius: 5px;
  --btn-backtop-size: 23px; /* font-size for arrow icon */
  --btn-uc-size: 1.2; /* scaling of the fingerprint icon */
  --btns-box-shadow: none;
  --btns-xl-mr: 15px;
  --btn-backtop-xl-mb: 150px;
  --btn-uc-xl-mb: calc(var(--btn-backtop-xl-mb) + 65px);
  --btn-uc-opacity: 0;
  --btns-sm-mb: 15px;
}

#back-top{
  display: grid;
  place-content: center;
  position: var(--btns-position);
  bottom: var(--btn-backtop-xl-mb);
  right: var(--btns-xl-mr);
  width: var(--btns-width);
  height: var(--btns-height);
  padding: 0px;
  background: var(--btns-bg-color);
  border: var(--btns-border);
  border-radius: var(--btns-border-radius);
  box-shadow: var(--btns-box-shadow);
}
#back-top:hover{
  background: var(--btns-bg-color-active);
}
#back-top span.icon-arrow-up{
  font-size: 25px;
  color: var(--btns-color);
}

@media screen and (max-width: 992px) {
  
  #back-top {
    bottom: var(--btns-sm-mb);
    right: initial;
    place-self: center; /* parent element must be 'display:grid' or 'display:flex'  (cassiopeia's body is 'flex') */
    translate: 40px 0px;
  }
  
  .footer .grid-child {
    padding: 1.5rem 0.5em 3.5rem;
  }
  
}

/* --------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Website specific -----------------------------------------  */
/* --------------------------------------------------------------------------------------------  */

iframe{
  width: 100%;
}
.iframe{
  background: #f1f3f4;
}


/*
#jf-slideshow-117 .carousel-item figcaption {
  background: transparent;
  padding: 0px;
}
*/
#jf-slideshow-117 .carousel-item figcaption {
    background: rgb(255 255 255 / 85%);
    backdrop-filter: blur(5px);
    padding: 50px;
}
/*
#jf-slideshow-117 .carousel-indicators [data-bs-target] {
  background: var(--primary-color);
  border-bottom: 5px solid transparent;
  border-top: 5px solid transparent;
}
*/
#jf-slideshow-117 .slides__caption-headline {
  color: var(--primary-color-dark,#1781b9);
  font-size: clamp(15px,2.5vw,45px);
  line-height: 1.2;
  margin-bottom: 0px;
  font-weight: 500;
}
#jf-slideshow-117 .slides__caption-subheadline {
  font-size: clamp(18px,1.5vw,22px);
  line-height: 1.2;
}
#jf-slideshow-117 .slides__caption-text{
  color: #333;
  font-size: clamp(12px,1.5vw,16px);
  text-transform: initial;
}
#jf-slideshow-117 .button-group {
  margin-top: 20px;
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
/*
#jf-slideshow-117 .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23144e9e' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}
#jf-slideshow-117 .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23144e9e' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
*/

#jf-slideshow-117 .teaser__headline {
  font-weight: 700;
  text-align: center;
  color: var(--primary-color,#333);
}

#jf-slideshow-117 .overlay__teaser .container {
  display: flex;
  justify-content: center;
}
#jf-slideshow-117 .overlay__teaser .container {  
  top: -20%;
}

#jf-slideshow-117 .carousel-indicators{
  margin-bottom: 10px;
  z-index: 10;
}


#jf-slideshow-117 .carousel-indicators [data-bs-target] {
  /* background-color: #8f110b; */
  height: 6px;
}

.img-fit,
.img-fit .moduletable,
.img-fit .carousel,
.img-fit .carousel-inner,
.img-fit .carousel-item,
.img-fit .carousel-img{
  height: 100%;
}

.gap-5{
  gap:5px !important;
}

.convertforms{
  background-color: #eee !important;
  max-width: 100% !important;
}

.hr {width: 100%; height: 1px; background: #ccc; margin-top: -18px;}

ul {margin: 0px; padding: 0px;}

ul.hgd-reihe {margin-bottom: 25px;}
ul.hgd-reihe li {display: inline;}
ul.hgd-reihe li::after {content: '|'; padding: 0 5px 0 10px;}

.container-banner {
   box-shadow: 0 10px 5px -5px #ccc;
}
.moduletable.kontaktlinks {
    max-width: 1320px;
    margin: 0 auto;
    padding: 25px 15px;
    transition: all ease .3s;
}
#jf_contact-178 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
#jf_contact-178 .contact_item {
    color: #333 !important;
}
#jf_contact-178 .contact_item__label {
  text-transform: uppercase;
  color: var(--primary-color,#7f0201);
  font-weight: 600;
}
#jf_contact-178 .contact_item.contact_custom_text {
    color: #323232;
    font-weight: 600;
}
@media screen and (max-width: 1200px) { 
  #jf_contact-178 {
    grid-template-columns: 1fr 1fr;
  }
  .moduletable.kontaktlinks{
    max-width: 960px;
  }
}
@media screen and (max-width: 992px) { 
  #jf_contact-178 {
    grid-template-columns: 1fr 1fr;
  }
  .moduletable.kontaktlinks{
    max-width: 720px;
  }
} 
@media screen and (max-width: 768px) { 
  #jf_contact-178 {
    grid-template-columns: 1fr;
    gap: 5px !important;
  }
  .moduletable.kontaktlinks{
    max-width: 540px;
  }
}


/* ------------------------------- Section Home ------------------------------------  */

#home{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
  top: 0px;
  left: 0px;
  pointer-events: none;
}

.overlayer{
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5; 
}

.overlayer_teasers{
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  align-content: flex-end;
  pointer-events: none;
  z-index: 6;
  translate: 0px -50px;
}

.custom-shape-divider-bottom-1687814802 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1687814802 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 225px;
}

.custom-shape-divider-bottom-1687814802 .shape-fill {
    fill: #FFFFFF;
}


.overlayer_teasers .box{
  pointer-events: initial;
  width: 100%;
  max-width: 900px;
}
.overlayer_teasers .grid-element {
  display: grid;
  justify-content: center;
}
.overlayer_teasers .grid-element.middle {
  translate: 0px -35px;
}
.overlayer_teasers .grid-element.first,
.overlayer_teasers .grid-element.second,
.overlayer_teasers .grid-element.third{
  opacity: 0;
  animation: fadeIn .5s ease-in;
  animation-iteration-count: 1;
  animation-delay: 0.75s;
  animation-fill-mode:forwards;

}
.overlayer_teasers .grid-element.second {
  animation-delay: 1s;
}
.overlayer_teasers .grid-element.third {
  animation-delay: 1.35s;
}


.box{
  --box-transition: all ease .35s;
}
.box a{
  display: grid;
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 235px;
  border-radius: 50%;
  border: 5px solid #fff;
  overflow: hidden;
  transition: var(--box-transition);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.box a:hover{
  scale: 1.025;
}
.box img{
  transition: var(--box-transition);
  object-fit: cover;
  width: 100%;
  height: 100%;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
}
.box a:hover img{
  scale: 1.05;
  filter: brightness(1.2);
}
.box .title{
  width: 100%;
  height: 100%;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px;
  transition: var(--box-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0px 1px 2px rgb(15 15 15 / 85%);
  background: var(--primary-color-a75, #990b2a);
  position: relative;
  z-index: 2;
}
.box a:hover .title{
  background: rgba(0,0,0,0.45);
}

/* ------------------------------- Link  ------------------------------------  */

.link{
  width: auto;
}

.link-bg{
  display: block;
  padding: 12px 15px 12px 15px;
  width: 100%;
  background-color: var(--primary-color);
  color: #fff !important;
  border: 1px solid var(--primary-color);
  transition: all ease .25s;
}
.link-bg:hover{
  background-color: #fff;
  color: var(--primary-color-dark) !important;
}

.link-bg.light{
  background-color: var(--primary-color-light);
  border: 1px solid var(--primary-color-light);
}
.link-bg.light:hover{
  background-color: #fff;
  color: var(--primary-color-dark) !important;
}



/* ------------------------------- list  ------------------------------------  */
ul.checkmark  {
  list-style-type: none;
  line-height: 1.75;
}
ul.checkmark li {
  background-image: url("data:image/svg+xml,%3Csvg version='1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' enable-background='new 0 0 48 48'%3E%3Cpolygon fill='%23009640' points='40.6,12.1 17,35.7 7.4,26.1 4.6,29 17,41.3 43.4,14.9'/%3E%3C/svg%3E");
  background-repeat: no-repeat no-repeat;
  background-position: 0 0;
  background-size: 22px 22px;
  padding-left: 35px;
  transition: all ease 0.3s;
}

ul.checkmark p {
  margin-bottom: 0px;
}
ul.checkmark a {
  color: #555555;
}
ul.checkmark a:hover {
  color: var(--primary-color-light);
}
ul.checkmark li:hover{
  background-position: 5px 0px;
}

/* ------------------------------- box-container / kunden  ------------------------------------  */

.box-container{
  --box-el-trans: all ease .25s;
}

.box-container.active.grid-2 {
  grid-template-columns: 1fr;
}

.box-el,
.box-el .img{
  display: grid;
}
.box-el:not(.active):hover{
  cursor: pointer;
}

.box-el.active{
  gap: 25px;
  background: #ededed;
  padding: 35px;
}

.box-el img {
  width: auto;
  height: auto;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
}
.box-el.active img {
  width: 100%;
  max-height: 20dvh;
  object-fit: cover;
  object-position: center;
}

.box-el .overlay_title {
  width: auto;
  height: auto;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  align-items: center;
  display: flex;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  color: #fff;
  padding: 10px 25px;
  background:#555;
  line-height: 1.35;
  transition: var(--box-el-trans);
  opacity: 0;
  position: relative;
  z-index: 3;
}
.box-el:not(.active):hover .overlay_title {
  opacity: 1;
}

.box-el .overlay{
  width: 100%;
  height: 100%;
  grid-row: 1 / -1;
  grid-column: 1 / -1;
  margin: 0;
  transition: var(--box-el-trans);
  opacity: 0;
  position: relative;
  z-index: 2;
}
.box-el:not(.active):hover .overlay {
  background: var(--secondary-color-a50, rgba(46,80,157,0.75));
  opacity: 1;
}

.box-el .title{
  font-size: clamp(18px, 2vw, 22px);
  padding: 8px 15px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  font-weight: 300;
  transition: var(--box-el-trans);
  position: relative;
}
.box-el:not(.active):hover .title {
  background: var(--primary-color-light);
}
.box-el.active .title{
  background:transparent;
  padding:initial;
  font-size: clamp(22px, 2vw, 26px);
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--primary-color);
  text-align: left;
  font-weight: 400;
}


.box-el .info{
  display: none;
  position: relative;
}
.box-el.active .info{
  display: block;
}

.box-el .info a{
  width: fit-content;
  /* margin: 0 auto; */
  margin-top: 25px;
}

.close-btn {
  position: absolute;
  z-index: 99999;
  right: 0px;
  bottom: 0px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  /* border-radius: 5px; */
  transition: 250ms ease;
  transition: var(--box-el-trans);
  opacity: 0;
}
.box-el.active .close-btn{
  opacity: 1;
}
.close-btn:before, 
.close-btn:after {
  content: "";
  height: 2px;
  background: var(--primary-color);
  top: 50%;
  width: 50%;
  left: 25%;
  position: absolute;
  transition: 250ms ease;
}
.close-btn:before {
  transform: rotate(-45deg);
}
.close-btn:after {
  transform: rotate(45deg);
}
/*
.close-btn:hover, 
.close-btn:focus {
  border: 2px solid;
  border-radius: 100%;
}
*/
.close-btn:hover:before, 
.close-btn:hover:after, 
.close-btn:focus:before, 
.close-btn:focus:after {
  width: 75%;
  left: 13%;
}


/* ------------------------------- Section #unternehmen ------------------------------------  */

#unternehmen.bg-full::after {
  background: var(--primary-color,#1717ba) url(../../../../../images/kundenordner/fotos/Malerarbeiten-AdobeStock_89845331) no-repeat;
  background-size: cover;
  background-blend-mode: screen;
  background-position: 50% 30%;
}
#unternehmen.bg-full::before {
  content: '';
  background: rgb(0 0 0 / 35%);
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
}

/* ------------------------------- Section unverbindliches_angebot ------------------------------------  */

#unverbindliches_angebot.bg-full::after {
  background: var(--primary-color,#1717ba) url(../../../../../images/kundenordner/slideshow/slide_05.webp) no-repeat;
  background-size: cover;
  background-blend-mode: initial;
  background-position: 50% 30%;
}
#unverbindliches_angebot.bg-full::before {
  content: '';
  background: rgb(0 0 0 / 70%);
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
}

/* ------------------------------- Section Leistungen ------------------------------------  */

#leistungen_intro,
#leistungen_intro .section-hl,
#leistungen_list {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
#leistungen_intro.bg-full::after {
  background: var(--primary-color,#1717ba) url(../../../../../images/kundenordner/fotos/fassade-cleaner.webp) no-repeat;
  background-size: cover;
  background-blend-mode: initia;
  background-position: 50% 30%;
}
#leistungen_intro.bg-full::before {
  content: '';
  background: rgb(0 0 0 / 30%);
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100vw;
  margin-left: -50vw;
  left: 50%;
}

#leistungen_kisten.bg-full::after {
  height: 120%;
}

@media screen and (min-width: 992px) {
  #leistungen_list,
  #leistungen .section-hl {
    translate: 0px -200px;
  }
  .vm-trl {
    translate: 0px -175px;
  }
}

@media screen and (max-width: 992px) {
  #leistungen_list,
  #leistungen .section-hl {
    translate: 0px -200px;
  }
  .vm-trl {
    translate: 0px -100px;
  }
}

.leistungen_items{
  color: #777;
  font-size: clamp(14px, 2vw, 18px);
}
.leistungen_items:hover{
  color: #333 !important;
  text-decoration: underline;
  text-underline-offset:2px;
}

#leistungen .carousel-control-next-icon, 
#leistungen .carousel-control-prev-icon{
  height: 2.5rem;
  width: 2rem;
  background-color: var(--primary-color);
  padding: 15px;
}

/* ------------------------------- Section referenzen ------------------------------------  */
/*
#referenzen {
  background:  url(../../../../../images/kundenordner/fotos/Caddy-top.webp) no-repeat;
  background-size: 650px;
  background-position: 50% 100%;
  padding-bottom: 200px;
}
*/

/* ------------------------------- headline ------------------------------------  */

.headline-ul{
  font-size: clamp(30px, 2vw, 60px);
  font-weight: 300;
  color: #555;
  text-transform: uppercase;
  position: relative;
}
.headline-ul::before {
  position: absolute;
  height: 2px;
  width: 50%;
  left: 0;
  bottom: -10px;
  background: var(--primary-color-light);
  display: block;
  content: "";
}
.headline-ul.fff{
  color: #fff;
}
.headline-ul.fff::before { 
  background: #fff;
}
  

.hl-sm {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
}
.hl-sm span {
  font-size: clamp(14px, 2vw, 20px);
  display: inline-block;
  translate: 0px -5px;
}

.extra_info{
  background-image: url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V11" stroke="%23b20067" stroke-width="1.5" stroke-linecap="round"/><circle cx="1" cy="1" r="1" transform="matrix(1 0 0 -1 11 9)" fill="%23b20067"/><path d="M22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C21.5093 4.43821 21.8356 5.80655 21.9449 8" stroke="%23b20067" stroke-width="1.5" stroke-linecap="round"/></svg>');
  background-repeat: no-repeat no-repeat;
  background-position: 0 0;
  background-size: 25px;
  padding-left: 35px;
  transition: all ease 0.3s;
}

/* ------------------------------- contact block ------------------------------------  */

.contact_block__grid_item{
  gap: 15px !important;
}
.contact_block__grid_item:hover{
  box-shadow: rgb(0 0 0 / 9%) 0px 2px 1px, rgb(0 0 0 / 9%) 0px 4px 2px, rgb(0 0 0 / 9%) 0px 8px 4px, rgb(0 0 0 / 9%) 0px 16px 8px, rgb(0 0 0 / 9%) 0px 32px 16px;
}
.contact_block__text_text {
  font-size: 16px !important;
}

@media screen and (max-width: 450px) {
  .contact_block__grid_item{
    display: grid !important;
    gap: 10px !important;
    justify-items: center;
  }
  .contact_block__grid_item svg {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ------------------------------- Acc  ------------------------------------  */

.accordion .details__summary {
  color: var(--primary-color);
  /* background: #ddd; */
}
.accordion .details__summary:before, 
.accordion .details__summary:after{
  background: var(--primary-color) !important;
}
/*
.accordion .details {
  border-bottom: 1px solid var(--primary-color);
}
*/

.accordion .is-active .details__summary {
  color: #fff !important;
  background: var(--primary-color) !important;
}

.accordion .is-active .details__summary:before, 
.accordion .is-active .details__summary:after{
  background: #fff !important;
}

.jf_accordion .details .details__summary .slide_subtitle {
  color: #e37503;
  font-size: 12px;
}
.jf_accordion .details.is-active .details__summary .slide_subtitle {
  color: #fff;
}

.details__content{
  display: grid;
}
.details__content .checkmark{
  padding-left: 0px;
}


/* ------------------------------- gallery ------------------------------------  */

.fancyboxgallery img {
  filter: grayscale(0) !important;
}

/* -------------------------------------------------------------------------------------------------------------------------------------  */
/* ------------------------------------------------------- Media Queries ---------------------------------------------------------------  */
/* -------------------------------------------------------------------------------------------------------------------------------------  */

@media screen and (max-width: 1400px) {
  .footer .grid-child {
      max-width: 1140px;
  }
  
  .box a {
    max-width: 215px;
  }
  .overlayer_teasers {
    translate: 0px -15px;
  }
  .custom-shape-divider-bottom-1687814802 svg {
    height: 200px;
  }
  
}
@media screen and (max-width: 1200px) {
  .footer .grid-child {
      max-width: 960px;
  }
  .metismenu.mod-menu .metismenu-item {
      font-size: 0.9rem;
  }
  .bottom .grid{
    grid-template-columns: 1fr 1fr !important;
  }
  img.logo-bottom{
    float: initial !important;
  }
  
  .overlayer_teasers .box {
    max-width: 800px;
  }
  
}


@media screen and (max-width: 992px) {
  .teaser-icon{
    place-items: center;
  }
  .teaser-icon-cnt {
    margin-bottom: 75px;
    max-width: 550px;
    height: auto;
  }
  
  .order-mobile-sec{
    order: 2;
  }
  .blog-items {
    grid-template-columns: 1fr 1fr;
  }
  .container-component {
      margin-top: 0px;
  }
  .com_contact .col-lg-4{
    margin-top: 10px;
  }
  .com_contact .col-lg-4.empty{
    display: none;
  }
  .container-header{
    z-index: 999999;
  }
  .container-header .container-nav{
    padding: 0px;
    /*height: 65px; */
  }
  .container-header nav {
    background: transparent;
    justify-content: flex-end;
    position: fixed;
    right: 0px;
    top: calc((var(--headerHeight) / 2));
    transition: all ease .4s;
    margin-top: 0px !important;
   }
  .container-header .navbar-collapse{
    background: var(--primary-color);
    padding: 15px 0px;
  }
  .metismenu.mod-menu .metismenu-item>a,
  .metismenu.mod-menu .metismenu-item>a:active, 
  .metismenu.mod-menu .metismenu-item>button,
  .metismenu.mod-menu .metismenu-item>button:active,
  .metismenu.mod-menu .metismenu-item>span{
    color: #fff;
    width: 100%;
  }
  .container-header .mod-menu li.active a{
    color: #fff;
    text-decoration: underline;
  }
  .container-header .mod-menu li.active a::before{
    display: none;
  }
  
  .metismenu.mod-menu .mm-collapse{
    background: var(--primary-color);
  }

 .container-header.scrolled nav {top: 0px;}
 .container-header nav ul{flex-direction: column !important;}
 .container-header .navbar-toggler {
    border: 0px;
    border-radius: 0px;
    color: #fff;
    background: var(--primary-color);
    margin-bottom: 0;
  }
  .navbar-toggler:focus{
    box-shadow: none;
  }
 
  .container-topbar .container{
    justify-content: center;
  }
  .container-header .container-nav .container{
    display: flex;
    justify-content: center;
  }
  .container-header .container-nav .container{
    grid-template-columns: 1fr;
  }
   .mod-languages {
     position: initial;
   }
  div.mod-languages li {
   margin: 0 0.5rem !important;
  }
  div.mod-languages ul {
    margin: -10px 0 10px !important;
  }
  .footer .mod-footer {
      flex-direction: column;
      place-items: center;
  }
  
  .overlay__teaser_cnt{
    max-width: initial;
    padding: 50px !important;
  }
  
  .stack__title img:not(.stack__arrow){
    width: 50px;
  }
  .stack__item--top {
    width: 55%;
  }
  .stack__item--top:hover {
    width: 55%;
  }
  
  .footer1 {
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-align: center;
  }
  
  #home {
    position: relative;
  }
  .overlayer {
    top: -76px;
  }
  .custom-shape-divider-bottom-1687814802 {
    top: 0;
    bottom: initial;
  }
  .overlayer_teasers .grid-element.middle {
    translate: 0px 0px;
  }
  
  .close-btn{
    bottom: initial;
    top: -60px;
  }
  
}
  

@media screen and (max-width: 768px) {
  .blog-items {
    grid-template-columns: 1fr;
  }
  .blog-featured .item-image img, 
  .blog .item-image img, 
  .latestnews .item-image img {
      width: 100%;
  }
  .com-contact h3{
    margin-top: 50px;
  }
  .com-contact__container h3{
    margin-top: 0px;
  }
  
  .bottom .grid{
    grid-template-columns: 1fr !important;
  }
  
  .footer2{
    padding: 0 50px;
  }
  .footer a{
    color: #ccc;
  }

}

@media screen and (max-width: 576px) {
  h1{
    font-size: clamp(28px, 3vw, 50px);
  }
  h2{
    font-size: clamp(24px, 2.5vw, 40px);
  }
  h3{
    font-size: clamp(20px, 2vw, 32px);
  }
    
  .container-topbar .contact_item, 
  .container-topbar a.contact_item {
    font-size: 0px;
  }
  .container-topbar .contact_item svg {
    width: 25px;
    height: 25px;
  }
    
  .container-footer-top .container {
      padding: 75px 35px 30px;
  }
  
  .bottom .grid{
    padding: 0px 24px;
  }
  
  .footer .grid-child .mod-footer {
      text-align: center;
      padding: 0 15px;
  }
  
  .moduletable.fax{
    display: none;
  }
  
  .grid-child.container-component{
    padding-left: 0px;
    padding-right: 0px;
  }
  
}

@media screen and (min-width: 992px) {
  .container-header .mod-menu>li>a, 
  .container-header .mod-menu>li>span{
    color: var(--primary-color);
  }
  .container-header .mod-menu li.level-1.active > a,
  .container-header .mod-menu li.level-1 > a:hover,
  .container-header .mod-menu li.active a,
  .container-header .mod-menu li a:hover{
    color: var(--primary-color);
  }
  
  .metismenu.mod-menu .metismenu-item:last-child{
    padding-right: 0;
  }
  
  .container-header .mod-menu li.level-1 > a{
    transition: all ease .25s;
    line-height: 30px;
    height: 30px;
    color: #444;
    letter-spacing: 0.5px;
    /*text-transform: uppercase; */
    /* font-stretch: 70%  // when variableFont with wdth support is used */ 
  }
  
  /* hides arrows for subemnu on desktop view */
  .metismenu.mod-menu .mm-collapsed.mm-toggler{
    display: none;
  }
  /* enables submenu on hover  */
  .metismenu.mod-menu .metismenu-item.parent:hover > .mm-collapse{
    display: block;
  }
  
  .metismenu.mod-menu .mm-collapse .metismenu-item:hover a,
  .metismenu.mod-menu .mm-collapse .metismenu-item.active a
  {
    background: var(--cassiopeia-color-link);
    color: #fff !important;
    width: 100%;
  }
  
  .metismenu.mod-menu .mm-collapse .metismenu-item{
    line-height: 3;
    padding: 1px 5px;
  }
  .metismenu.mod-menu .mm-collapse .metismenu-item:first-child{
    padding: 5px 5px;
  }
  .metismenu.mod-menu .mm-collapse .metismenu-item a{
    padding-left: 15px;
  }
  
  .container-header .mod-menu>li>a::before {
    content: "";
    position: absolute;
    display: block;
    width: 105%;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.3s ease;
  }
  
  .container-header .mod-menu li.active a::before,
  .container-header .mod-menu>li>a:hover::before {
    transform: scaleX(1);
  }
  
  .container-header .mod-menu>li>a::after{
    display: none;
  } 
  
  .footer1 a {
    position: absolute;
    right: 0px;
    top: 0px;
  }
  
}

@media screen and (min-width: 768px) {
  .container-sidebar-right {
     margin-top: 2rem;
    }
    body.has-sidebar-right .site-grid .container-component {
     padding-right: 50px;
    }
    /* same height for images in Blog (Desktop view)  */
  .blog-featured .item-image img, 
    .blog .item-image img, 
    .latestnews .item-image img {
     width: 100%;
     height: 175px;
    }
  /*
  .com-contact__form.contact-form,
  .com-contact__container {
    width: 50%;
    float: left;
  }
  .com-contact h3{display: none;}
    */
}

@media screen and (max-width: 576px) {
  .custom-shape-divider-bottom-1687814802 svg {
      height: 0px;
  }
  
  ul.checkmark {
    padding: 0px;
    line-height: 1.35
  }
  ul.checkmark li {
    margin-bottom: 3px;
  }
  
}



@media screen and (max-width: 400px) {
 
  .footer .grid-child {
      justify-content: center;
      flex-direction: column;
      padding: 1.5rem 0.5em 4rem;
  }
}

@media screen and (max-width: 375px) {
  h1,h2,h3,h4,h5,p,span,a{
    overflow-wrap: break-word;
    /* word-break: break-all; */
  }
}




@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
  }
}

/* ----------------------------------------------------------------------------------------------  */
/* ----------------------------------------- Animations -----------------------------------------  */
/* ----------------------------------------------------------------------------------------------  */

@keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(200px);
    }
    to {
      opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-200px);
    }
    to {
      opacity: 1;
    }
}