/*
  Stylesheet: [Kundenname]
  Author - [U M B E R T O] / visual4 GmbH
  Site - www.visual4.de
*/

:root {
  --respiro--content-width: 1530px;
  --respiro--landingpage-content-width: 1280px;
  --respiro--color--primary: #ee3124;
  --respiro--scroll-margin-top: 150px;
}

/*
  Color reference chart

  hellgrau              #f5f5f5
  mittelgrau            #eaeaea
  ...

*/

/* Z W I S C H E N L Ö S U N G */

.post-edit-link {
  display: none;
}

/* Z W I S C H E N L Ö S U N G */

.flexslider {
  overflow: hidden;
  max-height: 850px;
}

#content {
  position: relative;
  width: 100%;
}

.entry-content ul {
  margin: 0px;
  padding-left: 19px;
  /* font-weight: 200; */
  font-size: 17px;
  line-height: 30px;
}

.content-wrap {
  width: 100%;
  height: 100%;
  max-height: 1000px;
  min-height: 1000px;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  font-family: 'Source Sans', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#page {
  width: 100%;
  height: 100%;
  position: relative;
}

.site-branding {
  max-width: 194px;
  width: 50%;
  float: left;
}

.site-branding a,
.site-branding img {
  display: block;
}

.site-branding-sub {
  float: left;
  width: 50%;
  min-width: 270px;
  margin: 5px 0 0 29px;
}

.site-branding-sub a {
  display: block;
  text-decoration: none;
}

.site-branding-sub a {
  display: block;
}

.inner-header-left h2 {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 500;
  /* font-family: Verdana, sans-serif !important; */
  margin: 0;
  opacity: .7;
}

/* h2.logo-subline01 {
  letter-spacing: 0.7px;
} */

.inner-header-left a {
  color: #000;
}

.slogan {
  position: absolute;
  z-index: 20;
  width: 100%;
  max-width: var(--respiro--content-width, 1280px);
  margin: 0 auto;
  top: 25%;
  left: 0;
  right: 0;
  /* text-shadow: 0 0 30px rgba(0, 0, 0, .65); */
}

.slogan__inner-wrap {
  width: 40%;
  max-width: fit-content;
  padding: 35px;
  background-color: rgba(238, 49, 36, 0.8);
  backdrop-filter: blur(7px);
}

.slogan h1 {
  font-size: 24px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 0.6px;
  font-weight: 400;
}

.slogan h2 {
  font-size: 40px;
  font-style: italic;
  color: #fff;
  margin: 0px;
  font-weight: 350;
}

.main-button.slogan__button,
.main-button.slogan__button:visited {
  background: #fff;
  color: #d13520;
  border: 1px solid #fff;
  margin-top: 15px;
}

.main-button.slogan__button:hover,
.main-button.slogan__button:focus {
  background: #F5F5F5;
  color: #d13520;
}

.slogan.sub {
  top: 85px;
  text-align: right;
  color: #404040;
}

.slogan.sub p {
  font-size: 23px;
  font-style: italic;
}

.page-template-content-page-flexible-landingpage .slogan.sub p {
  color: inherit;
}

/* T Y P O G R A P H I E */

h1 {
  font-weight: 450;
  line-height: 1.3;
  margin: 13px 0px 2px 0px;
}

h1 {
  font-size: 29px;
}

h2 {
  font-weight: 450;
}

.page-template-content-page-flexible-landingpage h1 {
  font-size: clamp(29px, 7vw, 36px);
}

.page-template-content-page-flexible-landingpage .site-main h1,
.page-template-content-page-flexible-landingpage .site-main h2,
.page-template-content-page-flexible-landingpage .site-main h3,
.page-template-content-page-flexible-landingpage .site-main h4,
.page-template-content-page-flexible-landingpage .site-main h5,
.page-template-content-page-flexible-landingpage .site-main h6 {
  color: #E72315;
}

.aktuell h1 {
  margin-bottom: 30px;
}

.entry-header h2 {
  font-size: 19px;
  margin: 0;
  margin: 0px 0px 21px 0px;
  font-weight: 400;
}

.accordeon-wrap h2 {
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}

.highlight-text {
  font-size: 24px;
}

.accordeon-icon {
  position: absolute;
}

.nav-headline h2 {
  font-size: 18px;
  line-height: 22px;
  margin: 0px;
  font-weight: 600;
}

.entry-content {
  margin-top: 0px;
}

.entry-content p {
  margin-top: 4px;
}

.entry-content a {
  font-weight: 600;
  color: #000;
  word-break:break-all;
  word-wrap:break-word
}

.advantage-single p {
  font-size: 21px;
}



/* H E A D E R */

:target {
  scroll-margin-top: var(--respiro--scroll-margin-top);
}

.site-header {
  width: 100%;
  position: fixed;
  /* background: rgba(255, 255, 255, .05); */
  /* backdrop-filter: blur(25px); */
  z-index: 50;
  transition: all 1s ease;
}

.inner-header {
  width: 100%;
  max-width: var(--respiro--content-width, 1280px);
  margin: 0 auto;
  position: relative;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  transition: all 1s ease;
  -webkit-box-shadow: 0px 10px 10px -11px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 10px -11px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 10px -11px rgba(0,0,0,0.3);
}

div.wpcf7 {
  display: inline-block;
  width: 100%;
}

div.wpcf7-mail-sent-ok {
  margin: 0px;
  padding: 0px;
  border: none;
}

div.wpcf7-validation-errors {
  border: none;
  color: red;
}

div.wpcf7-response-output {
  margin: 0px 0px 20px 0px;
  padding: 0px;
}

.inner-header-left {
  float: left;
  padding: 20px 0px 20px 0px;
}

.inner-header-right {
  float: left;
  padding: 28px 0px 20px 0px;
}

.home-image {
  border: solid red 1px;
}

/* M M E N U  C U S T O M  S T Y L E S */

/* Hide mobile menu until the document is done loading */
#menu:not( .mm-menu ) {
    display: none;
}

#menu-hauptmenue li a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#menu-hauptmenue li a:hover {
  background: #fff;
}

#mm-0 li a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#mm-0 li a:hover {
  background: #fff;
}

.menu-button-wrap1 {
  float: right;
  position: absolute;
  right: 0px;
}

.menu-button-wrap2 {
  float: right;
  position: absolute;
  right: 50px;
}

.menu-button-wrap4 {
  float: right;
  position: absolute;
  right: 50px;
}

.menu-button-wrap3 {
  float: right;
  position: absolute;
  right: 100px;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0; /* for centering purposes */
  float: right;
  border: 1px solid #fff;
  border-radius: 50px;
  /* padding-top: 14px; */
  z-index: 20;
  color: #fff;
  background-color: #E72315;
  transition: all 0.4s ease-in-out;
}

.menu-button:visited {
  color: #fff;
}

.menu-button-image {
  width: 27px;
  height: 27px;
  background-color: #fff;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: auto;
  transition: all 0.4s ease-in-out;
}

.menu-button:hover,
.menu-button:focus {
  width: 50px;
  height: 50px;
  color: #ee3124;
  background-color: rgba(255, 255, 255, 1) !important;
  margin: -5px; /* Differenz zwischen Höhe und Breite zu gehoverter */
  box-shadow: 0px 0px 56px -12px rgba(0,0,0,0.4);
  border: 1px solid #ee3124;
  z-index: 25;
}

.menu-button:hover .menu-button-image,
.menu-button:focus .menu-button-image {
  background-color: #E72315;
}

.home .menu-button-wrap4 {
  display: none;
}

.line {
  height: 1px;
  background-color: currentColor;
  margin: auto auto 3px;
  width: 28px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.menu-button:hover .line {
  margin: auto auto 5px;
}

.menu-button .line:last-child {
  margin-bottom: 0;
}

.menu-button.contact {
  cursor: pointer;
}

/* MMENU IE BUG? */
/*html.mm-right.mm-opening .mm-slideout .image-wrap,
html.mm-right.mm-opening .mm-slideout #masthead {
    -webkit-transform: translate(-80%, 0);
    -moz-transform: translate(-80%, 0);
    -ms-transform: translate(-80%, 0);
    -o-transform: translate(-80%, 0);
    transform: translate(-80%, 0);

    webkit-transition: -webkit-transform 0.4s ease;
    -ms-transition: -ms-transform 0.4s ease;
    transition: transform 0.4s ease; }

@media all and (max-width: 175px) {
    html.mm-right.mm-opening .mm-slideout .image-wrap,
    html.mm-right.mm-opening .mm-slideout #masthead {
        -webkit-transform: translate(-140px, 0);
        -moz-transform: translate(-140px, 0);
        -ms-transform: translate(-140px, 0);
        -o-transform: translate(-140px, 0);
        transform: translate(-140px, 0);

        webkit-transition: -webkit-transform 0.4s ease;
        -ms-transition: -ms-transform 0.4s ease;
        transition: transform 0.4s ease; } }
@media all and (min-width: 550px) {
    html.mm-right.mm-opening .mm-slideout .image-wrap,
    html.mm-right.mm-opening .mm-slideout #masthead {
        -webkit-transform: translate(-440px, 0);
        -moz-transform: translate(-440px, 0);
        -ms-transform: translate(-440px, 0);
        -o-transform: translate(-440px, 0);
        transform: translate(-440px, 0);

        webkit-transition: -webkit-transform 0.4s ease;
        -ms-transition: -ms-transform 0.4s ease;
        transition: transform 0.4s ease; } }*/


/* C O N T E N T  S U B S I D E */

.content-area-sub {
  max-width: var(--respiro--content-width, 1280px);
  margin: 0 auto;
  width: 100%;
  margin-top: 200px;
  display: flex;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  box-shadow: 0 0 40px rgba(0, 0, 0, .05);
}

.page-template-content-page-flexible-landingpage .content-area-sub-wrap > *:nth-child(even) {
  background-color: #F8F1F0;
  /* background-color: #F7F7F7; */
}

.page-template-content-page-flexible .site-main > [class*="module-"]:nth-child(even) {
  background-color: #F8F1F0;
  /* background-color: #F7F7F7; */
}

.sidebar-spacer {
  width: 301px;
  height: 280px;
}

.content-area-sub-sidebar {
  width: 300px;
  height: 100%;
  position: fixed;
}

.page-template-content-page-flexible-landingpage .content-area-sub-sidebar {
  background: #fff;
}

.content-area-sub-main {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
}

.content-area-sub-wrap {
  width: 100px;
  flex-grow: 1;
  -webkit-flex-grow: 1;
}

/* B A C K G R O U N D  I M A G E */

.image-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.page-template-content-page-flexible-sub .image-wrap::before,
.page-template-content-page-flexible-landingpage .image-wrap::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  /* background: linear-gradient(40deg,rgba(255,255,255,0.5), rgba(255,255,255,0.9)); */
  background: rgba(255, 255, 255, .85);
}

.site-footer {
  position: relative;
  padding: 30px 0px 30px 0px;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
  font-size: 1rem;
  text-align: center;
}

.page-template-content-page-flexible-sub .site-footer,
.page-template-content-page-flexible-landingpage .site-footer {
  display: none;
}

.page-template-content-page-flexible-sub .formular-left,
.page-template-content-page-flexible-landingpage .formular-left {
  padding-left: 0px;
}

.sub-footer {
  position: relative;
  float: right;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 20px 6px 20px;
  margin-bottom: 30px;
  display: flex;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  margin-top: 1px;
}

.sub-footer p {
  font-size: 14px;
  margin-left: auto;
  margin-right: auto;
}

a.company-footer-link {
  position: absolute;
  font-size: 14px;
  right: 20px;
  top: 25px;
  text-decoration: underline;
  font-weight: bold;
  color: #404040;
  cursor: pointer;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.sub-footer a:hover {
  color: #ee3124;
}

.animated-div {
  background: red;
  width: 200px;
  height: 60px;
}

.content-area-sub-main .entry-content p {
  line-height: 26px;
  font-size: 17px;
}

/* S I D E B A R  M E N U */

.menu-sidebar-container {
  width: 100%;
}

/* S I D E B A R  M E N U  H E A D L I N E S */

.menu-sidebar .nav-headline-sub > a {
  padding: 20px;
  color: #111111;
}

.menu-sidebar a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}


/* Grün */

.menu-sidebar .nav-headline-sub.green > a {
  background: rgba(149, 219, 33, 0.6);
}

.menu-sidebar .nav-headline-sub.green > a:hover {
  background: rgba(149, 219, 33, 1);
}

.menu-sidebar .nav-headline-sub.green.current-menu-parent > a {
  background: rgba(149, 219, 33, 1);
}

.menu-sidebar .nav-headline-sub.green.current-menu-item > a {
  background: rgba(149, 219, 33, 1);
}

.nav-headline-sub.green.current-menu-item.current_page_item.menu-item-has-children > a  {
  background: rgba(149, 219, 33, 1);
  color: rgba(0,0,0,0.9);
}

.green.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a {
  background: rgba(149, 219, 33, 1);
  color: rgba(0,0,0,0.9);
}

/* Blau */

.menu-sidebar .nav-headline-sub.blue > a {
  background: rgba(143, 212, 233, 0.6);
}

.menu-sidebar .nav-headline-sub.blue > a:hover {
  background: rgba(143, 212, 233, 1);
}

/* .menu-sidebar .nav-headline-sub.blue.current-menu-parent > a {
  background: #fff;
} */

.menu-sidebar .nav-headline-sub.blue.current-menu-item > a {
  background: rgba(143, 212, 233, 1);
}

.nav-headline-sub.blue.current-menu-item.current_page_item.menu-item-has-children > a  {
  background: rgba(143, 212, 233, 1);
  color: rgba(0,0,0,0.9);
}

.blue.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a {
  background: rgba(143, 212, 233, 1);
  color: rgba(0,0,0,0.9);
}

/* Orange */

.menu-sidebar .nav-headline-sub.orange > a {
  background: rgba(255, 139, 131, .6);
}

.menu-sidebar .nav-headline-sub.orange > a:hover {
  background: rgba(255, 139, 131, 1);
}

.menu-sidebar .nav-headline-blue.orange.current-menu-parent > a {
  background: rgba(237, 184, 130, 1);
}

.nav-headline-sub.orange.current-menu-item.current_page_item.menu-item-has-children > a  {
  background: rgba(255, 139, 131, 1);
  color: rgba(0,0,0,0.9);
}

.orange.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a {
  background: rgba(255, 139, 131, 1);
  color: rgba(0,0,0,0.9);
}

/* purple */

.menu-sidebar .nav-headline-sub.purple > a {
  background: rgba(255, 236, 9, 0.6);
}

.menu-sidebar .nav-headline-sub.purple > a:hover {
  background: rgba(255, 236, 9, 1);
}

.menu-sidebar .nav-headline-blue.purple.current-menu-parent > a {
  background: rgba(255, 236, 9, 1);
}

.nav-headline-sub.purple.current-menu-item.current_page_item.menu-item-has-children > a  {
  background: rgba(255, 236, 9, 1);
  color: rgba(0,0,0,0.9);
}

.purple.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a {
  background: rgba(255, 236, 9, 1);
  color: rgba(0,0,0,0.9);
}

/* company */


.menu-sidebar .nav-headline-sub.company > a {
  background: rgba(234, 234, 234, 0.7);
}

.menu-sidebar .nav-headline-sub.company > a:hover {
  background: rgba(234, 234, 234, 1);
}

.menu-sidebar .nav-headline-blue.company.current-menu-parent > a {
  background: rgba(255, 236, 9, 1);
}

.nav-headline-sub.company.current-menu-item.current_page_item.menu-item-has-children > a  {
  background: rgba(234, 234, 234, 1);
  color: rgba(0,0,0,0.9);
}

.company.current-menu-ancestor.current-menu-parent.current_page_parent.current_page_ancestor.menu-item-has-children > a {
  background: rgba(234, 234, 234, 1);
  color: rgba(0,0,0,0.9);
  /* color: #ee3124; */
}

/* .menu-sidebar .nav-headline-sub.company > a {
  color: #fff;
} */

/* end colors */

.menu-sidebar .sub-menu .current-menu-item > a {
  color: #000;
  font-weight: 600;
  width: 100%;
}

.menu-sidebar .nav-headline-sub.current-menu-item > a {
  color: blue;
}

.menu-sidebar .sub-menu {
  margin-bottom: 20px;
}

.menu-sidebar ul li:last-child .sub-menu {
  margin-bottom: 0;
}

.menu-sidebar .current-menu-parent > a {
  color: blue;
}

.menu-sidebar ul .current-menu-parent ul {
  max-height: 280px;
  padding-right: 20px;
}

.menu-sidebar ul .nav-headline-sub.current-menu-item ul {
  max-height: 280px;
}

.menu-sidebar a {
  color: #000;
  font-size: 19px;
  line-height: 29px;
  border: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.menu-sidebar .sub-menu a {
  font-size: 16px;
  line-height: 1.5;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.menu-sidebar .sub-menu a:hover {
  margin-left: 10px;
}

.menu-sidebar {
  clear: both;
  display: block;
  float: left;
  width: 100%;
  background: #fff;
}

.menu-sidebar ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  width: 100%;
}

.menu-sidebar li {
  position: relative;
  width: 100%;
}

.menu-sidebar a {
  display: block;
  text-decoration: none;
}

.menu-sidebar ul ul {
  float: left;
  position: relative;
  overflow: hidden;
  z-index: 10;
  height: auto;
  max-height: 0px;
  line-height: 22px;
  background: rgba(255, 255, 255, 1) none repeat scroll 0 0;
  -moz-transition: max-height 1s ease;
  -webkit-transition: max-height 1s ease;
  -o-transition: max-height 1s ease;
  transition: max-height 1s ease;
}

.menu-sidebar ul ul ul {
  left: -999em;
  top: 0;
}

.menu-sidebar .sub-menu li {
  padding-left: 20px;
  margin-bottom: 10px;
}

.menu-sidebar .sub-menu li:first-child {
  padding-top: 15px;
}

.menu-sidebar .sub-menu li:last-child {
  padding-bottom: 15px;
  margin-bottom: 0px;
}

.menu-sidebar ul li:hover > ul,
.menu-sidebar ul li.focus > ul {
  left: auto;
  height: auto;
  max-height: 300px;
}

.menu-sidebar ul ul li:hover > ul,
.menu-sidebar ul ul li.focus > ul {
  left: 100%;
}

/* M O D U L  V O R T E I L E */

.advantages-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding-top: 100px;
  padding-left: 40px;
  padding-right: 40px;
}

.advantages-list {
  display: flex;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  text-align: center;
}

.advantages-wrap h2 {
  width: 100%;
  margin-top: 0;
}

.advantage-single {
  width: 25%;
  padding: 100px 20px;
}

.module-advantages {
  min-height: 500px;
  background-color: rgba(255, 255, 255, .9);
}

.advantages-wrap .advantage-single:nth-child(2),
.advantages-wrap .advantage-single:nth-child(4)  {
  padding-top: 150px;
}

.advantages-wrap .advantage-single img {
  background-color: #fff;
  border: solid #e84b4b 5px;
  border-radius: 100%;
  max-width: 140px;
}

/* Landingpage variation */
.page-template-content-page-flexible-landingpage .advantages-wrap {
  padding-top: 50px;
}

.page-template-content-page-flexible-landingpage .advantages-wrap .advantage-single {
  padding: 70px 20px;
}

.page-template-content-page-flexible-landingpage .advantages-wrap .advantage-single:nth-child(2),
.page-template-content-page-flexible-landingpage .advantages-wrap .advantage-single:nth-child(4)  {
  padding-top: 120px;
}

/* .advantages-wrap .advantage-single:nth-child(1) img {
   border: solid #ffec09 5px;
  }

.advantages-wrap .advantage-single:nth-child(2) img {
  border: solid #8fd4e9 5px;
  }

.advantages-wrap .advantage-single:nth-child(3) img {
   border: solid #95db21 5px;
  }

.advantages-wrap .advantage-single:nth-child(4) img {
   border: solid #e84b4b 5px;
} */

/* M O D U L  T E A M */

.module-team {
  position: relative;
  z-index: 20;
  background-color: #fff;
}

.team-wrap {
  margin: 0 auto;
  max-width: 1280px;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  text-align: center;
  width: 100%;
}

.team-wrap h2 {
  margin-bottom: 80px;
}

#ma_list img {
  cursor: pointer;
}
#ma_list .row{
  position:relative;
  min-height: 165px;
}
#ma_list .row:after{
  content: '';
  display: block;
  clear: both;
}
#ma_list .row .ma,
#ma_list .row .logo{
  display: block;
  width:25%;
  float: left;
}
#ma_list .row .ma:nth-child(4){
  float:right;
}
#ma_list .row .logo{
  position: absolute;
  right: 25%;
  background-color: #fff;
  height: 100%;
  z-index: 10;
  /*-webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;*/
}
#ma_list .row .logo.small{
  border: 1px solid #CECECE;
}
#ma_list .row .logo.small:hover {
  cursor: pointer;
  background-color: #ebebeb;
}
#ma_list .row .logo img{
  position: absolute;
  width: 40%;
  left: 50%;
  top: 63%;
  margin: -28% 0 0 -20%;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#ma_list .row .logo.small img{
  width: 64%;
  margin: -28% 0 0 -32%;
}
#ma_list .row .block {
  width: 100%;
}
#ma_list .row .block .quote {
  text-align: center;
  font-style: italic;
  margin: 40px 0 10px 0;
  font-size: 1.5em;
}
#ma_list .row .block .name {
  margin-top: -8px;
  font-size: 1.2em;
}

#ma_list .row .block {
  padding: 0px 100px 0px 100px;
}

p#ma_teasertext {
  font-size: 35px;
  font-weight: 700;
  margin-top: 412px;
  margin-left: 0;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.logo.small p#ma_teasertext{
  font-size: 14px;
  margin-top: 190px;
  margin-left: 0;
}

.company-tile-link {
  text-align: center;
  position: absolute;
  bottom: 60px;
  left: 0px;
  right: 0px;
  cursor: pointer;
  color: #404040;
  font-weight: 400;
  font-size: 15px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a.company-tile-link {
  color: #000;
}


.block p {
  font-size: 20px;
}

/* M O D U L  K O N T A K T */

.module-contact {
  position: relative;
  width: 100%;
}

.contact-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  z-index: 40;
}

.contact-wrap h2 {
  margin-bottom: 30px;
  text-align: center;
}

.contact-inner-wrap {
  width: 100%;
  border: solid 1px #cecece;
  overflow: hidden;
  position: relative;
}

.contact-inner-wrap-top {
  height: 450px;
}

.contact-inner-wrap-bottom {
  display: flex;
}

.contact-container-left {
  width: 25%;
  border-right: solid 1px #cecece;
}

.contact-container-right-contactformular {
  width: 75%;
}

.contact-button01 {
  height: 75px;
  width: 100%;
  text-align: left;
  border-bottom: solid 1px #cecece;
  cursor: pointer;
  padding: 25px 30px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.contact-button01:hover {
  background: #cecece;
}

.contact-button01 p {
  margin: 0px;
  padding: 0px;
  font-weight: 700;
}

.contact-button02 {
  height: 75px;
  width: 100%;
  text-align: left;
  border-bottom: solid 1px #cecece;
  cursor: pointer;
  padding: 25px 30px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.contact-button02:hover {
  background: #cecece;
}

.contact-button02 p {
  margin: 0px;
  padding: 0px;
  font-weight: 700;
}

.contact-details {
  padding: 25px 30px 30px 30px;
}

.contact-details p {
  /* font-size: 15px; */
  margin: 0px;
}

.contact-details a {
  /* font-size: 15px; */
  color: #404040;
}

.contact-details a:hover {
  color: #ee3124;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.site-info a {
  color: #404040;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.site-info a:hover {
  color: #ee3124;
}

.sub-footer a {
  color: #404040;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.sub-footer a:hover {
  color: #ee3124;
}

.footer-link {
  float: right;
}

.contact-container-right {
  float: left;
  height: 450px;
  width: 75%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* .contact-container-right-contactformular {
  width: 75%;
} */

.google-map {
  width: 100%;
  z-index: 999;
}

.google-map-button {
  position: absolute;
  z-index: 20;
  background-color: #fff;
  border-radius: 2px;
  text-align: center;
  padding: 10px 20px 10px 20px;
  cursor: pointer;
  font-size: 14px;
  bottom: 472px;
  right: 75px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.google-map-button a {
  text-decoration: none;
  color: #404040;
}

.google-map-button:hover a {
  color: #ee3124;
}

/* unused: markup removed from module-contact.php, Borlabs Cookie now renders its own placeholder */
.map-placeholder {
  height: 450px;
  width: 50%;
  position: absolute;
  z-index: 0;
}

.map-placeholder img  {
  width: 100%;
}

.map-placeholder-content {
  position: absolute;
  height: 155px;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: hsla(0, 0%, 0%, 0.8);
  text-align: center;
}

.map-placeholder-content a {
  background: #286FE3;
  border-radius: 100px;
  color: white;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

#footer-map {
  height: 450px;
  width: 50%;
  float: left;

}

#location-canvas {
  width: 100%;
  height: 100%;
}

._brlbs-google-maps {
  width: 100%;
  height: 450px;
}

._brlbs-thumbnail {
  width: 100%;
  height: 450px;
}

.single-slide {
  width: 102%;
  height: 100%;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#slideshow {
  position: relative;
  width: 50%;
  height: 450px;
  float: left;
  background-color: #fff;
}

#slideshow > div {
  position: absolute;
  top: 0px;
  left: 0px;
}

#slideshow img {
  width: 120%;
}

.module-contact .active {
  background: #cecece;
}

.contact-container-left ul li {
  list-style: none;
}

.contact-container-left ul {
  margin: 0px;
  padding: 0px;
}

.formular-right, .formular-left {
  width: 50%;
  height: 100%;
  float: left;
  padding: 30px;
}

.formular-left {
  padding-right: 0px;
}

.formular-left p:nth-child(1) {
  margin-top: 0px;
}

.formular-right p:nth-child(1) {
  margin-top: 0px;
}

/* M O D U L  R E F E R E N Z E N */

.references-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: flex;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  padding-bottom: 100px;
}

.references-wrap h2 {
  margin-bottom: 75px;
  text-align: center;
  width: 100%;
}

.references-logo-wrap {
  width: 50%;
}

.logo-container {
  width: 50%;
  flex: 1 auto;
  height: 160px;
  padding: 30px;
  overflow: hidden;
}

.logo-container:nth-child(1) {
  border-right: solid 1px #cecece;
  border-bottom: solid 1px #cecece;
}

.logo-container:nth-child(2) {
  border-bottom: solid 1px #cecece;
}

.logo-container:nth-child(3) {
  border-right: solid 1px #cecece;
}


.logo-wrap {
  display: flex;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;

  border: 1px solid #cecece;
}

.news-wrap {
  width: 50%;
  padding-left: 20px;
}

.headline-news p {
  font-size: 22px;
  margin-top: 0px;
}

.module-references {
  position: relative;
}

.date-container {
  background: #ee3124 none repeat scroll 0 0;
  border-radius: 50px;
  height: 60px;
  line-height: 21px;
  padding-top: 9px;
  text-align: center;
  min-width: 60px;
  margin-right: 20px;
  flex-shrink: 0;
  -webkit-box-shadow: 0px 0px 23px -8px rgba(0,0,0,0.56);
  -moz-box-shadow: 0px 0px 23px -8px rgba(0,0,0,0.56);
  box-shadow: 0px 0px 23px -8px rgba(0,0,0,0.56);
}

.date-container p {
  margin: 0px;
  font-weight: 400;
  color: #fff;
  font-size: 14px;
}

.date-container p:first-child {
  border-bottom: 1px #fff solid;
  margin: 0 auto;
  width: 27px;
  font-size: 18px;
  font-weight: 600;
}

.news-wrap-archive {
  margin-top: 130px;
}

.news-wrap-archive h2 {
  margin-bottom: 50px;
}

.archive-more-link a {
  color: #ee3124;
}

.archive-more-link {
  transition: all 0.7s;
}

.archive-more-link:hover {
  margin-left: 10px;
}

.single-news h3 {
  width: 100%;
}

.single-news {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-bottom: 40px;
}

.single-news-right a {
  text-decoration: none;
  color: #000;
}

.single-news-right h3 {
  margin: -5px 0px 5px 0px;
  font-size: 22px;
  font-weight: 600;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.single-news-right p {
  margin: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.single-news-right:hover p {
  color: #ee3124;
}

.single-news-right:hover h3 {
  color: #ee3124;
}


/* S E C T I O N  N A V I G A T I O N */

/* #team {
  height: 35px;
} */

/* #contact {
  height: 35px;
} */

/* #advantages {
  height: 35px;
} */

/* #references {
  height: 35px;
} */

#section-navi {
  position: fixed;
  top: 40%;
  z-index: 25;
  opacity: 0.5;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#section-navi:hover {
  opacity: 1;
}

#section-navi ul {
  padding: 0;
  margin: 0 0 0 3em;
}

#section-navi ul li {
  list-style: none;
  line-height: 40px;
}

#section-navi ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: 20px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#section-navi ul li a:hover {
  color: #ee3124;
}

#section-navi ul li.clicked a {
  color: #ee3124;
}

#section-navi ul li.clicked .navi-bubble {
  background: #ee3124;
  opacity: 1;

}

#section-navi ul li a:hover .navi-bubble {
  background: #ee3124;
  opacity: 1;
}




/* old */

#section-navi ul li a p {
  margin: 0px;
  opacity: 0;
  width: 1px;
  color: #EE3124;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  pointer-events: none;
  float: left;
}
#section-navi ul li:after {
  content: '';
  display: block;
  clear: both;
}
#section-navi ul li a .navi-bubble:hover + p {
  width: 220px;
}

#section-navi .navi-bubble:hover + p {
  opacity: 1;
}

.navi-bubble {
  border: solid 2px #e4e3e3;
  width: 23px;
  height: 23px;
  background-color: #e4e3e3;
  float: left;
  border-radius: 100%;
  margin: 9px 20px 0px 0px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  position: relative;
  z-index: 2;
}

.navi-bubble:hover {
  background-color: #ee3124;
  opacity: 1;
}

/*.section-nav-bar {
  background-color: #e4e3e3;
    height: 172px;
    left: 56px;
    position: absolute;
    top: 10px;
    width: 7px;
    z-index: 1;
}*/

/*  W I N D O W  L O A D  A N I M A T I O N */

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
  position: fixed;
  z-index: 20;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(Preloader_10.gif) center no-repeat #fff;
}

/* D E F A U L T  B U T T O N */

.main-button,
.main-button:visited {
  display: inline-block;
  /* background: #ee3124; */
  background: #E72315;
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  padding: 15px 28px;
  transform: translateY(0);
  transition: all 0.2s ease-in-out;
}

.main-button:hover,
.main-button:focus {
  background: #D50E00;
  color: #fff;
  transform: translateY(-1px);
}

/* M O D U L  M E D I A  &  T E X T */

.module-media-text {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
}

.module-media-text__heading {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 1.5em auto;
}

.page-template-content-page-flexible .module-media-text__heading {
  text-align: center;
}

.module-media-text__wrap {
  display: grid;
  grid-template-columns: 50% 1fr;
  grid-template-rows: auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.module-media-text__media {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: center;
}

.module-media-text__content {
  grid-column: 2;
  grid-row: 1;
  padding: 0 0 0 8%;
  align-self: center;
}

.module-media-text__heading > *:first-child,
.module-media-text__content > *:first-child {
  margin-top: 0;
}

.module-media-text__heading > *:last-child,
.module-media-text__content > *:last-child {
  margin-bottom: 0;
}

/* Variation: Media on the right */
.module-media-text.has-media-on-the-right .module-media-text__wrap {
  grid-template-columns: 1fr 50%;
}

.module-media-text.has-media-on-the-right .module-media-text__media {
  grid-column: 2;
  grid-row: 1;
}

.module-media-text.has-media-on-the-right .module-media-text__content {
  grid-column: 1;
  grid-row: 1;
  padding: 0 8% 0 0;
}

/* M O D U L  P R O G R E S S */

.module-progress {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
}

.module-progress__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.module-progress__heading {
  margin-top: 0;
  margin-bottom: 75px;
  text-align: center;
}

.module-progress__list {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr));
  gap: 30px;
  align-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.module-progress__list::before {
  content: "";
  position: absolute;
  top: 100px;
  left: -40px;
  width: calc(100% + 80px);
  border-bottom: 5px solid #E72315;
  display: block;
  z-index: 0;
}

.module-progress__item {
  display: flex;
  flex-flow: column;
  justify-content: start;
  position: relative;
  z-index: 1;
}

.module-progress__item:nth-child(2n) {
  margin-top: 50px;
}

/* .module-progress__item-image-wrap {
  width: 50%;
  aspect-ratio: 1 / 1;
  padding: 1.25em;
  background: #fff;
  border: 5px solid #e84b4b;
  border-radius: 100%;
}

.module-progress__item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
} */

.module-progress__item-image {
  background: #fff;
  border: 5px solid #E72315;
  border-radius: 100%;
  max-width: 140px;
}

.module-progress__item-heading {
  font-size: 22px;
  font-weight: 600;
  margin: 20px 0 10px 0;
}

.module-progress__item-text > *:first-child {
  margin-top: 0;
}

.module-progress__item-text > *:last-child {
  margin-bottom: 0;
}

/* M O D U L  I M A G E  G A L L E R Y */

.module-image-gallery {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
}

.module-image-gallery__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.module-image-gallery__heading {
  margin-top: 0;
  margin-bottom: 75px;
  text-align: center;
}

.module-image-gallery__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  /* grid-template-rows: auto; */
  /* grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); */
  gap: 30px;
  align-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.module-image-gallery__item {
  display: flex;
  flex: 1 1 auto;
  max-width: 18rem;
  
  align-items: center;
  justify-content: center;
}

.module-image-gallery__image-link {
  display: inline-block;
}

.module-image-gallery__image {
  object-fit: cover;
}

/* M O D U L  I M A G E  S L I D E R */

.module-image-slider {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
}

.module-image-slider__wrap {
  width: 80%; /* Adjusted for arrows spacing */
  max-width: 1280px;
  margin: 0 auto;
}

.module-image-slider__heading {
  margin-top: 0;
  margin-bottom: 75px;
  text-align: center;
}

.module-image-slider__item {
  display: flex;
  justify-content: center;
}

.module-image-slider__item > * {
  transform: scale(1);
  transition: all 0.2s ease-in-out;
}

.module-image-slider__item:not(.is-active) > * {
  transform: scale(.5);
  /* filter: blur(7px); */
}

.module-image-slider__image-link {
  display: inline-block;
}

.module-image-slider .splide__arrow {
  background: #E72315;
  opacity: 1;
  font-size: 1em;
  padding: 0.5em;
  color: #fff;
  box-shadow: none;
  text-shadow: none;
  transition: all 0.2s ease-in-out;
}

.module-image-slider .splide__arrow--prev {
  left: -3em;
}

.module-image-slider .splide__arrow--next {
  right: -3em;
}

.module-image-slider .splide__arrow:hover:not(:disabled) {
  background: #D50E00;
  opacity: 1;
}

.module-image-slider .splide__arrow svg {
  fill: #fff;
}

.module-image-slider__list {
  display: flex;
  align-items: center;
}

/* .module-image-slider__item {
  width: 30%;
} */

/* M O D U L  R E F E R E N C E S  L I S T */

.module-references-list {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
}

.references-list__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.references-list__heading {
  margin-top: 0;
  margin-bottom: 75px;
  text-align: center;
}

.references-list__inner-wrap {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); */
  /* gap: 30px 20px; */
  align-content: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cecece;
  border-left: 1px solid #cecece;
}

.references-list__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  /* height: 160px; */
  padding: 30px;
  border-right: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
}

.references-list__image {
  display: block;
}

/* M O D U L  P O S T  L I S T */

.module-post-list {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 100px 40px;
  margin: 1px 0;
}

.post-list__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.post-list__heading {
  margin-top: 0;
  margin-bottom: 75px;
  text-align: center;
}

.post-list__inner-wrap {
  display: grid;
  grid-template-rows: auto;
  /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 30px 20px;
  align-content: flex-start;
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
}

.post-list__item {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 0;
}

/* M O D U L  T E A S E R  C A R D S */

.module-teaser-cards {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 70px 40px;
  margin: 1px 0;
}

.teaser-cards__wrap {
  display: grid;
  grid-template-rows: auto auto;
  /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: 30px 20px;
  align-content: flex-start;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.teaser-cards__item {
  display: grid;
  gap: 0;
  grid-auto-flow: row;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: start;
  justify-items: start;
}

.teaser-cards__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.teaser-cards__image--orig {
  width: auto;
  aspect-ratio: auto;
}

.teaser-cards__text {
  margin-bottom: 1.5em;
}

.teaser-cards__text > *:first-child {
  margin-top: 0;
}

.teaser-cards__text > *:last-child {
  margin-bottom: 0;
}

/* M O D U L  T E X T */

.module-text {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 70px 40px;
  margin: 1px 0;
}

.page-template-content-page-flexible .module-text {
  padding: 100px 40px;
}

.text__inner-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.text__wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.heading__wrap {
  margin-bottom: 1.5em;
}

.page-template-content-page-flexible .heading__wrap {
  text-align: center;
}

.page-template-content-page-flexible-landingpage .text__inner-container,
.page-template-content-page-flexible-landingpage .text__wrap {
  max-width: var(--respiro--content-width, 1280px);
}

.text__button {
  margin-top: 1.5em;
}

.heading__wrap > *:first-child,
.text__wrap > *:first-child,
.text__column > *:first-child {
  margin-top: 0;
}

.heading__wrap > *:last-child,
.text__wrap > *:last-child,
.text__column > *:last-child {
  margin-bottom: 0;
}

.module-text ul,
.module-text ol {
  padding: 0;
}

/* Grid columns */

.text__wrap--grid-2 {
  display: flex;
  flex-flow: row wrap;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.text__wrap--grid-2 .text__column {
  flex: 1 1 calc((100% - 40px) / 2);
}

/* M O D U L  Q U O T E */

.module-quote {
  position: relative;
  background-color: rgba(255, 255, 255, .9);
  padding: 70px 40px;
  margin: 1px 0;
}

.module-quote__wrap {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Layout: Pullquote */
.module-quote--pullquote .module-quote__wrap {
  flex-flow: column-reverse;
  align-items: center;
  text-align: center;
}

.page-template-content-page-flexible-landingpage .module-quote__wrap {
  max-width: var(--respiro--content-width, 1280px);
}

.module-quote__aside {
  width: calc(30% - 40px / 2);
}

.module-quote__image {
  display: block;
}

.module-quote__button {
  margin-top: 1.5em;
}

.module-quote__blockquote {
  position: relative;
  width: calc(70% - 40px / 2);
  flex: 1 1 auto;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1.5;
  margin: 1.6em 0 0 0;
}

.module-quote__blockquote::before {
  content: "„";
  position: absolute;
  bottom: 100%;
  font-size: 3em;
  color: #ee3124;
}

.module-quote__cite {
  margin-top: 1em;
  font-size: 1.125rem;
  line-height: 1.5;
}

.module-quote__blockquote p {
  margin: .5em 0;
}

.module-quote__blockquote > *:first-child {
  margin-top: 0;
}

.module-quote__cite p {
  margin: 0;
}

/* M O D U L  B A N N E R */

.module-banner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /* height: 80vh; */
  background: rgba(255, 255, 255, 0.95);
}

/* .module-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
} */

.module-banner__text {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1em;
  position: absolute;
  bottom: 30px;
  left: 0;
  /* transform: translateY(-50%); */
  z-index: 1;
  padding: 25px 30px 30px 30px;
  margin-left: 30px;
  width: calc(45% - 30px);
  background: rgba(255, 255, 255, .85);
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,.85));
  /* backdrop-filter: blur(7px); */
}

.module-banner__text > * {
  margin-top: 0;
  margin-bottom: 0;
}

.module-banner__text--right {
  bottom: 30px;
  left: auto;
  right: 0;
  margin-left: auto;
  margin-right: 30px;
}

.page-template-content-page-flexible .module-banner__text {
  left: calc((100vw - var(--respiro--landingpage-content-width, 1280px)) / 2);
  margin-left: 0;
}

.page-template-content-page-flexible .module-banner__text--right {
  right: calc((100vw - var(--respiro--landingpage-content-width, 1280px)) / 2);
  margin-right: 0;
}

.module-banner__text > *:first-child {
  margin-top: 0;
}

.module-banner ul,
.module-banner ol {
  padding: 0;
}

.module-banner__image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

/* M O D U L  A K K O R D E O N */

.accordeon-wrap .accordion h2 {
  color: #404040;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 40px;
  cursor: pointer;
}

.accordeon-content {
  background: rgba(255, 255, 255, 0.95);
  padding: 0px 20px 20px 40px;
  display: none;
  margin: 0px;
}

.accordeon-wrap {
  width: 100%;
  /* float: right; */
  margin: 1px 0 0 0;
}

.accordeon-content p {
  margin: 0px;
}

.accordion a {
  text-decoration: none;
  color: #404040;
}

.accordeon-wrap dl {
  /* margin: 0px; */
  margin: 1px 0px 0px 0px;
}

.accordeon-icon {
  position: absolute;
  right: 35px;
  top: 13px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.accordeon-icon p {
  font-size: 27px;
  font-weight: 500;
  color: #E72315;
  margin: 0px;
}

.accordion {
  position: relative;
}

.accordion.open .accordeon-icon {
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.accordeon-content .wp-caption {
  margin: 0px;
}

.accordeon-content h4:first-child {
  margin-top: 0px;
}


/* Custom slider*/

.slider-wrap {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.slider-image {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: all 2s ease-in-out, height 0s;
  -moz-transition: all 2s ease-in-out, height 0s;
  -o-transition: all 2s ease-in-out, height 0s;
  transition: all 2s ease-in-out, height 0s;
}

.slider-image.active {
  opacity: 1;
  pointer-events:all;
}

.slider-control {
  height: 75px;
  background: #f00;
  backdrop-filter: blur(5px);
  width: 100%;
  -webkit-transition: height 2s cubic-bezier(.55,0,.1,1);
  transition: height 2s cubic-bezier(.55,0,.1,1);
  cursor: pointer;
  position: relative;
}

.loaded .slider-control.active {
  height: 300px;
}

.slider-controls {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 1px;
  position: absolute;
  bottom: 0;
  height: 75px;
  width: 100%;
  max-width: var(--respiro--content-width, 1280px);
  margin:0 auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 30;
}

.one {
  background: rgba(143, 212, 233, .8);
}
.two {
  background: rgba(255, 236, 9, .8);
}
.three {
  background: rgba(149, 219, 33, .8);
}
.four {
  background: rgba(255, 139, 131, .8);
}

.one:hover {
  background: rgba(143, 212, 233, 1);
}
.two:hover {
  background: rgba(255, 236, 9, 1);
}
.three:hover {
  background: rgba(149, 219, 33, 1);
}
.four:hover {
  background: rgba(255, 139, 131, 1);
}

.slider-more-link {
  position: absolute;
  font-size: 16px;
  left: 20px;
  top: 50px;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.slider-more-link a {
  color: #404040;
  text-decoration: none;
}

.slider-more-link:hover {
  left: 30px;
}

.slider-control.active .slider-more-link {
  opacity: 1;
}

.slider-images video {
  width: 101.4vw;
  height: 100vh;
  object-fit: cover;
}

.slider-control h2 {
  margin: 13px 0px 0px 20px;
  font-size: 18px;
  line-height: 1.2;
  color: #404040;
  font-weight: 600;
  padding-right: 20px;
  pointer-events: none;
}

.slider-nav-content {
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 100%;
  padding: 20px;
}

.slider-nav-content ul {
  margin: 0px;
  padding: 0px;
}

.slider-nav-content ul li {
  list-style: none;
  line-height: 23px;
  margin-bottom: 5px;
}

.slider-nav-content ul li a {
  text-decoration: none;
  color: #404040;
  width: 100%;
  font-size: 15px;
}

.slider-nav-content ul li:hover {
  margin-left: 10px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

body {
  overflow-x: hidden;
}

.slider-images {
  width: 100vw;
  height: 100vh;
}

.widget-area {
  display: none;
}

.single-aktuell .site-main {
  width: 100%;
  margin: 0 auto;
  max-width: 1280px;
  padding: 160px 0px 0px 0px;
}

.slider-fallback-image {
  display: none;
  width: 100%;
  height: 100%;
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.accordeon-content ul {
  margin: 0px;
  padding: 0px 0px 0px 15px;
}

.accordeon-content ul li {
  margin-top: 10px;
}

.accordeon-content ul li {
  font-weight: 400;
}

.entry-content img {
  padding: 15px;
  margin: 0px;
}

.gallery-item img {
  padding: 0px;

}

.gallery-item {
  margin: 10px 0px 10px 0px;
}

.gallery-item:first-child {
  margin: 10px 0px 10px 0px;
}

.gallery-item:last-child {
  margin: 10px 0px 10px 0px;
}

.wp-caption-text {
  font-size: 12px;
}

.page-template-content-page-flexible-sub .menu-button-wrap2,
.page-template-content-page-flexible-landingpage .menu-button-wrap2,
.page-template-portal .menu-button-wrap2,
.tribe-events-style-theme .menu-button-wrap2 {
  display: none;
}

.fallback-team-img img {
  width: 100%;
  display: none;
}

tr {
  width: 100%;
}

tr td {
  width: 50%;
}

tr td:first-child {
  width: 50%;
}

tr td img {
  width: 70%;
  padding: 0px !important;
}

/* PORTAL */
.page-template-portal a,
.page-template-portal a:hover,
.page-template-portal a:focus,
.page-template-portal a:visited{
  color: #404040;
}

.dload-list-row {
  display: flex;
}
.dload-list-row a{
  color: #404040;
}
.dload-list-row:nth-child(2n){
  background-color: rgba(240,240,240,0.95);
}

.dload-list-row > * {
  padding: 2px 10px;
}

.dload-list-nr,
.dload-list-type {
  width: 7.5%;
}

.dload-list-size,
.dload-list-edit {
  width: 12%;
}

.dload-list-changed {
  width: 20%;
}

.dload-list-name {
  width: 41%;
}
.menu-sidebar-portal{
  color: #404040;
  font-size: 18px;
  line-height: 29px;
  border: none;
  background: white;
}
.menu-sidebar-portal ul a{
  font-weight: 400;
  padding-left: 20px;
  margin-bottom: 5px;
}
.menu-sidebar-portal ul li > a:before{
  content: '+ ';
}
.menu-sidebar-portal ul li.active > a:before{
  content: '- ';
}
.menu-sidebar-portal ul ul li{
  display: none;
}
.menu-sidebar-portal li.active > ul > li{
  display: block;
}
.menu-sidebar-portal li.active:not(.parent-active) > a,
.dload-list-row.dload-list-header{
  font-weight: bold;
}
.menu-sidebar-portal a{
  color: #404040;
  text-decoration: none;
  display: block;
}
.menu-sidebar-portal > a{
  padding: 20px;
}
.menu-sidebar-portal > a::before {
  background: rgba(255, 255, 255, 0.8) url("../img/home.svg") no-repeat scroll center center / 20px 21px;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin: 0 11px -8px 0;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  padding: 14px;
  content: '';
}
.menu-sidebar-portal ul{
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 19px;
}
.menu-sidebar-portal > ul{
  padding-bottom: 20px;
}
.menu-sidebar-portal ul li{
  list-style-type: none;
}
.menu-sidebar-portal ul ul{
  padding-left: 10px;
}
.page-template-portal .site-footer{
  display: none;
}
.dload-span {
  display: none;
}

/*Home*/
.logout {
  float: right;
  font-size: 0.9em;
  color: #404040;
  text-decoration: none;
  position: relative;
  padding-right: 25px;
  margin-bottom: -22px;
}
.logout:after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: transparent url('../img/logout.png') center center no-repeat;
  background-size: cover;
  position: absolute;
  right: 0;
  top: 3px;
}
.portal-home {
  background: rgba(255, 255, 255, 0.8) url("../img/home.svg") no-repeat scroll center center / 20px 21px;
  width: 20px;
  height: 20px;
  display: inline-block;
  float: right;
  margin: -5px 90px -22px 0;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  padding: 14px;
}
.mail-info::after {
  content: '';
  display: inline-block;
  height: 32px;
  width: 32px;
  background: transparent url('../img/briefumschlag.gif');
  margin-bottom: -7px;
  margin-left: 10px;
}
.portal-quicklinks ul{
  padding: 0;
  margin: 0;
}
.portal-quicklinks.patienten ul{
  margin-bottom: 20px;
}
.portal-quicklinks ul:after{
  content: '';
  display: block;
  clear: both;
}
.portal-quicklinks li{
  list-style-type: none;
  width: 25%;
  float: left;
  padding: 4px;
}
.portal-quicklinks.patienten li{
  width: 20%;
}
.portal-quicklinks a{
  list-style-type: none;
  width: 100%;
  height: 230px;
  display: inline-block;
  background-color: #f1f1f1;
  text-align: center;
  position: relative;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
  text-decoration: none;
  color: #404040;
  font-weight: bold;
  padding: 20px 25px;
}
.portal-quicklinks.patienten a{
  height: 180px;
}
.portal-quicklinks a span{
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 25%;
}
.portal-quicklinks img{
  margin-top: 45px;
  width: 64px;
}
.portal-quicklinks.patienten img{
  margin-top: 25px;
}
.portal-quicklinks a.attention:before{
  content: '\0021';
  display: block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  font-size: 30px;
  color: #404040;
  font-weight: bold;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  top: -10px;
  left: -10px;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
}

/*Nachtrag 11.04.16*/

.page-template-portal h1{
  margin-top: 0;
  line-height: 1;
}

.portal-quicklinks a .attention-info{
  display: inherit;
  position: absolute;
  top: 10px;
  left: 10px;
  font-weight: bold;
  font-size: small;
  text-align: left;
  margin: 0;
}
.portal-quicklinks a.attention .attention-info{
  left: 40px;
}
/*Ende Nachtrag*/

/*News*/
.portal-news{
  margin-top: 30px;
  /*    display: flex;*/
  /*    justify-content: space-between;*/
}
.portal-news-title{
  font-weight: normal;
  margin-top: 2em;
}
.portal-news-col{
  width: 100%;
}
.portal-news-col h4{
  margin-bottom: 1em;
}
.portal-news-col p{
  font-size: 0.9em;
  line-height: 1.35em;
}
.portal-news-col p:not(:last-of-type){
  margin-bottom: 2em;
}
.portal-news-col h4:first-child{
  margin-top: -6px;
}

/*Nachtrag 08-04.16*/
.portal-news-last{
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.portal-news-last .portal-news-content-col {
  max-width: 48%;
}

.portal-news-content-image{
  max-height: 250px;
  overflow: hidden;
}

.portal-news-last .portal-news-content-col p{
  margin-top: 10px;
  margin-bottom: 5px;
}

.portal-news-last .portal-news-content-col img{
  width: 100%;
}

.portal-news-older{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.portal-news-content-old-col{
  width: 48%;
  position: relative;
}
.portal-news-content-old-col .more-news{
  position: absolute;
  bottom: 15px;
  left: 0;
}
.portal-news-content-old-col .portal-news-title{
  margin-bottom: 5px;
}

.portal-news-content-old-col .portal-news-title b{
  position: absolute;
  top: 0;
  left: 0;
}

.more-news {
  text-decoration: none;
  font-weight: 400;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  padding: 7px 30px;
  border-radius: 5px;
  margin-top: 1em;
  display: inline-block;
  font-size: 14px;
}

.portal-news-list h2{
  font-weight: 400;
}
.portal-news-list h2:not(:first-of-type){
  margin-top: 2em;
}

/* Calendar */
.tribe-theme-respirotheme .site-footer {
  display: none;
}
#tribe-events-content .tribe-events-tooltip h4,
#tribe_events_filters_wrapper .tribe_events_slider_val,
.single-tribe_events a.tribe-events-gcal,
.single-tribe_events a.tribe-events-ical,
.tribe-theme-respirotheme .tribe-events-month-event-title a,
#tribe-events a,
#tribe-events a:hover,
#tribe-events a:focus,
#tribe-events a:visited,
.tribe-events-notices{
  color: #EE3124;
}

.tribe-events-notices{
  background: rgba(238,49,36,0.2);
  border: 1px solid rgba(238,49,36,0.3);
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

#tribe-events .tribe-events-button,
#tribe-events .tribe-events-button:hover,
#tribe_events_filters_wrapper input[type="submit"],
.tribe-events-button,
.tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover,
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"],
.tribe-events-calendar td.tribe-events-present div[id*="tribe-events-daynum-"] > a{
  background-color: #EE3124 !important;
  color: #fff !important;
}
.tribe-bar-filters {
  display: none;
}
.tribe-bar-disabled #tribe-bar-form #tribe-bar-views{
  left: 0;
}
#tribe-events-pg-template{
  margin-top: 30px;
}
#tribe-bar-views .tribe-bar-views-list{
  width: 100px;
}

/* PORTAL END */

@media only screen and (max-width: 1760px) {

  #section-navi ul {
    margin-left: 1.5em;
  }

}

@media only screen and (max-width: 1680px) {

  .slogan {
    left: 80px;
  }

  .slogan.sub {
    padding-right: 30px;
    left: 0;
  }

  .inner-header-left {
    padding-left: 30px;
  }

  .menu-button-wrap1 {
    padding-right: 30px;
  }

  .menu-button-wrap2 {
    padding-right: 30px;
  }

  .menu-button-wrap3 {
    padding-right: 30px;
  }

  .menu-button-wrap4 {
    right: 80px;
  }

}

@media only screen and (max-width: 1420px) {

  #section-navi {
    display: none;
  }
}

@media only screen and (max-width: 1280px) {

  .module-banner {
    aspect-ratio: none;
  }

  .module-banner__image {
    aspect-ratio: 16 / 9;
  }

  .module-banner__image,
  .module-banner__text {
    position: relative;
  }

  .module-banner__text {
    bottom: auto;
    left: auto;
    padding: 40px;
    margin-left: 0;
    width: 100%;
  }

  .page-template-content-page-flexible .module-banner__text {
    background: transparent;
    padding: 30px 30px;
    left: auto;
    right: auto;
  }

  .module-quote__wrap {
    flex-flow: column-reverse;
  }

  .module-quote__aside {
    width: 100%;
  }

  .module-quote__image {
    max-width: min(100%, 280px);
  }

  .module-quote__blockquote {
    width: 100%;
  }

  .content-area-sub-sidebar.fixed {
    position: static;
  }

  .news-wrap {
    padding-right: 30px;
  }

  .references-logo-wrap {
    padding-left: 30px;
  }

  .slogan h2 {
    font-size: 26px;
  }

  .slogan h1 {
    font-size: 18px;
  }

  .slogan {
    top: 28%;
    left: 30px;
  }

  /*portal*/
  .portal-quicklinks li{
    font-size: 0.8em;
  }
  .portal-quicklinks a{
    height: 205px;
  }
  /*end portal*/

}

@media only screen and (max-width: 1024px) {

  .content-area-sub-sidebar.fixed {
    position: fixed;
  }

  .slider-wrap {
    height: 90vh;
    position: relative;
  }

  .slogan {
    display: none;
  }

  .slider-fallback-image {
    display: block;
  }

  .slider-images video {
    display: none;
  }

  .single-aktuell .site-main {
    padding: 140px 20px 0px 20px;
  }

  #section-navi {
    display: none;
  }

  .slogan {
    padding-left: 30px;
    top: 250px;
  }

  a.company-footer-link {
    position: relative;
    padding-bottom: 20px;
    left: 0px;
    top: 0px;
  }

  .team-wrap {
    padding: 0px 30px 0px 30px;
  }

  .site-footer {
    padding: 30px 30px;
  }
  /*	Nachtrag 08.04.16*/

  .portal-news-last {
    display: block;
  }

  .portal-news-last .portal-news-content-col {
    max-width: 100%;
  }

  .portal-news-last .portal-news-content-col {
    max-width: 100%;
  }

  .portal-news-content-image{
    margin-bottom: 25px;
  }

  .portal-news-content-old-col{
    width: 100%;
  }
  .portal-news-older{
    flex-wrap: wrap;
  }
  .portal-news-content-old-col .portal-news-title{
    display: none;
  }

  .portal-news-content-old-col .more-news{
    position: static;
  }

  /*Nachtrag 11.04-16*/
  .tribe-bar-disabled,
  #tribe-events-bar{
    display: none;
  }
  /*Ende Nachtrag*/

  .contact-inner-wrap-bottom {
    flex-flow: column;
  }

  .contact-container-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #cecece;
  }

  .contact-container-right,
  .contact-container-right-contactformular {
    width: 100%;
  }

}

@media only screen and (max-width: 1023px) {

  /* references list */
  .references-list__inner-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /*portal*/
  .portal-quicklinks li{
    width: 50%;
  }
  .portal-quicklinks.patienten li{
    width: 33.333%;
  }

  .dload-list-edit,
  .dload-list-nr,
  .dload-list-type {
    display: none;
  }
  .dload-list-name{
    width: 60%;
  }
  .dload-list-size{
    width: 20%;
  }
  #tribe-events-bar{
    display: none;
  }
  /*end portal*/

  .contact-container-right-contactformular p:last-child {
    font-size: 13px;
  }
}

@media only screen and (max-width: 768px) {

  .module-media-text .module-media-text__wrap,
  .module-media-text.has-media-on-the-right .module-media-text__wrap {
    grid-template-columns: 100% !important;
    gap: 30px;
  }

  .module-media-text .module-media-text__media,
  .module-media-text.has-media-on-the-right .module-media-text__media {
    grid-column: 1;
    grid-row: 1;
  }

  .module-media-text .module-media-text__content,
  .module-media-text.has-media-on-the-right .module-media-text__content {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
  }

  /* references list */
  .references-list__inner-wrap {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .module-banner__text {
    padding: 30px 20px;
  }

  .teaser-cards__wrap {
    flex-flow: column;
  }

  .module-media-text,
  .module-progress,
  .module-image-gallery,
  .module-image-slider,
  .module-text,
  .module-teaser-cards,
  .module-references-list,
  .module-post-list {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .module-media-text,
  .module-progress,
  .module-image-slider,
  .advantages-wrap,
  .module-quote,
  .module-text,
  .module-teaser-cards {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-template-content-page-flexible .module-media-text,
  .page-template-content-page-flexible .module-progress,
  .page-template-content-page-flexible .module-image-gallery,
  .page-template-content-page-flexible .module-image-slider,
  .page-template-content-page-flexible .module-text,
  .page-template-content-page-flexible .module-teaser-cards,
  .page-template-content-page-flexible .module-references-list,
  .page-template-content-page-flexible .module-post-list {
    padding: 50px 30px;
  }

  .accordeon-wrap .accordion h2 {
    padding-left: 20px;
  }

  .module-quote__blockquote br {
    display: none;
  }

  .logo.small p#ma_teasertext, .logo p#ma_teasertext {
    display: none;
  }

  .page-template-content-page-flexible-sub .formular-left,
  .page-template-content-page-flexible-landingpage .formular-left {
    width: 100%;
    padding-bottom: 0px;
    padding-right: 0px;
  }

  .page-template-content-page-flexible-sub .formular-right,
  .page-template-content-page-flexible-landingpage .formular-right {
    width: 100%;
    padding: 0px;
  }

  .slider-wrap {
    height: 700px
  }

  .sidebar-spacer {
    display: none;
  }

  .content-area-sub-main {
    width: 100%;
  }

  .sub-footer {
    width: 100%;
  }

  .accordeon-wrap {
    width: 100%;
  }

  .content-area-sub-sidebar {
    display: none;
    position: static;
  }
  /*  Nachtrag 08.04.16*/

  .page-template-portal h1{
    font-size: 1.75em;
  }

  .page-template-portal .content-area-sub {
    display: flex;
  }

  .page-template-portal .content-area-sub .content-area-sub-wrap,
  .page-template-portal .content-area-sub-sidebar {
    width: 100%;
  }

  .page-template-portal .content-area-sub-sidebar {
    display: block;
    margin-bottom: 2px;
  }

  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #F1F1F1;
  }

  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal .anker-portal-menu{
    width: 90%;
    display: inline;
  }

  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal .drop-down-arrow {
    display: inline;
    background-image: url("../img/drop-down-arrow.svg");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    width: 0;
    height: 20px;
    padding-right: 20px;
    cursor: pointer;
    float: right;
    margin-right: 20px;
    margin-top: 4px;
  }
  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal .drop-down-arrow.active {
    background-image: url("../img/pull-up-arrow.svg");
  }

  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal > ul {
    max-height: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s linear .2s;
    -webkit-transition: all 0.5s linear .2s;
  }
  .page-template-portal .content-area-sub-sidebar .menu-sidebar-portal ul.active {
    max-height: 500px;
    padding-bottom: 0;
    opacity: 1;
    transition: all 0.5s linear .2s;
    -webkit-transition: all 0.5s linear .2s;
    margin-top: 10px;
  }
  /* Ende Nachtrag 08.04.16*/

  #slideshow {
    display: none;
  }

  .company-tile-link {
    bottom: 23px;
  }

  #footer-map {
    width: 100%;
  }

  .map-placeholder {
    width: 100%;
  }

  .site-footer {
    padding: 10px;
  }

  .contact-button01 {
    height: 60px;
    padding: 18px 12px;
  }

  .contact-button02 {
    height: 60px;
    padding: 18px 12px;
  }

  .advantage-single {
    padding: 80px 20px 30px 20px;
  }

  .advantages-wrap .advantage-single:nth-child(3) {
    padding: 100px 20px 30px 20px;
  }

  .advantages-wrap .advantage-single:nth-child(4) {
    padding: 0px 20px 50px 20px;
  }

  .advantages-wrap .advantage-single:nth-child(5) {
    padding: 0px 20px 50px 20px;
  }

  #ma_list .row{
    min-height: 100px;
  }

  #ma_list .row .block .quote {
    font-size: 1.2em;
    margin: 30px 0 1px;
  }

  #ma_list .row .block .name {
    font-size: 0.9em;
    margin-top: 5px;
  }

  .advantage-single {
    width: 50%;
    padding-top: 100px;
  }

  .slider-controls {
    display: block;
    height: auto;
    margin-top: 800px;
  }

  .slider-images img {
    height: 100%;
  }

  .loaded .slider-control.active {
    height: 250px;
  }

  .slider-control.one {
    position: relative;
    z-index: 5;
  }

  .slider-control.two {
    position: relative;
    z-index: 10;
  }

  .slider-control.three {
    position: relative;
    z-index: 15;
  }

  .slider-control.four {
    position: relative;
    z-index: 20;
  }

  .slider-control h2 {
    padding-top: 15px;
    margin-top: 0px;
  }

  .loaded .slider-control.active {
    height: 270px;
  }

  .references-logo-wrap {
    width: 100%;
    padding: 0px 20px 0px 20px;
  }

  .logo-wrap {
    padding-right: 0px;
  }

  .news-wrap {
    width: 100%;
    padding-top: 30px;
  }

  /*portal*/
  .portal-quicklinks a {
    height: 205px;
  }
  .portal-quicklinks a.attention .attention-info{
    font-size: smaller;
  }
  /*end portal*/

  .slider-fallback-image {
    height: 80%;
  }

}

@media only screen and (max-width: 736px) {

  .menu-button-wrap4 {
    display: none;
  }

  .row {
    display: none;
  }

  .row.top, .row.bottom {
    display: block;
  }

  .fallback-team-img {
    display: none;
    flex-wrap: wrap;
  }

  .fallback-team-img img {
    display: block;
  }

  .team-wrap {
    padding: 0px;
  }

  .references-logo-wrap {
    padding: 0px;
  }

  .logo-container:nth-child(3) {
    border-bottom: 1px solid #cecece;
  }

  .single-aktuell .site-main {
    padding: 80px 20px 0px 20px;
  }

  .advantage-single {
    padding: 0px 10px 0px 10px !important;
  }

  .advantages-wrap .advantage-single:nth-child(2) {

    padding-top: 30px !important;
  }

  /* .contact-inner-wrap {
    height: 450px;
  } */

  .advantage-single {
    padding: 30px 10px;
  }

  h2 {
    font-size: 24px;
  }

  #section-navi {
    display: none;
  }

  .menu-button-wrap2 {
    display: none;
  }

  .menu-button-wrap3 {
    display: none;
  }

  .inner-header-right {
    width: 20%;
  }

  .inner-header-left {
    width: 80%;
  }

  .advantage-single {
    padding: 0px;
    width: 100%;
  }

  .advantages-wrap .advantage-single:nth-child(3), .advantages-wrap .advantage-single:nth-child(5) {
    padding-top: 0px;
  }

  .advantages-wrap h2 {
    padding-bottom: 50px;
  }

  .news-wrap {
    padding-left: 0px;
    width: 100%;
  }

  .advantage-single p {
    font-size: 19px;
    margin-bottom: 50px;
  }

  .module-progress__heading,
  .module-image-gallery__heading,
  .module-image-slider__heading,
  .references-list__heading,
  .post-list__heading,
  .references-wrap h2 {
    margin-bottom: 30px;
  }

  .module-progress__item:nth-child(2n) {
    margin-top: 0;
  }

  .headline-news p {
    text-align: center;
    margin-top: 30px;
  }

  .contact-wrap {
    padding-top: 0px;
  }

  .content-area-sub-sidebar {
    display: none;
  }

  .content-area-sub-main {
    width: 100%;
  }

  .accordeon-wrap {
    width: 100%;
  }

  .sub-footer {
    background: rgba(255, 255, 255, 0.95) none repeat scroll 0 0;
    float: right;
    margin-bottom: 30px;
    padding: 10px 20px 6px;
    width: 100%;
  }

  .references-logo-wrap {
    padding-left: 0px;
  }

  .inner-header-left {
    padding-left: 20px;
  }

  .site-branding-sub {
    display: none;
  }

  .menu-button-wrap1 {
    padding-right: 12px;
    margin-top: -10px;
  }

  .news-wrap {
    padding: 0px 10px 0px 10px;
  }

  .advantage-single {
    padding: 0px 10px 0px 10px;
  }

  .contact-wrap h2 {
    padding: 0px 10px 0px 10px;
  }

  .advantages-wrap h2 {
    padding: 0px 10px 0px 10px;
  }

  #slideshow {
    display: none;
  }

  #footer-map {
    width: 100%;
    float: none;
  }

  .contact-container-right-contactformular {
    float: none;
    width: 100%;
  }

  .formular-left {
    padding: 10px 5px 10px 10px;
  }

  .formular-right {
    padding: 10px 10px 10px 5px;
  }

  .site-footer {
    padding: 20px;
  }

  .wpcf7-form p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .formular-right p {
    margin-bottom: 2px !important;
  }

  textarea {
    max-height: 180px;
  }

  .google-map-button {
    bottom: 134px;
  }

  .gallery-columns-3 .gallery-item {
    display: none;
  }

  .gallery-columns-3 .gallery-item:nth-child(1) {
    display: block;
    max-width: 100%;
  }

  .dload-list-row.dload-list-header{
    display: none;
  }
  .dload-list-row {
    display: block;
  }
  .dload-list-row > * {
    width: 100%;
  }
  .dload-span {
    display: inline-block;
    width: 150px;
    margin-right: 20px;
    font-weight: bold;
    float: left;
  }
  /*	Nachtrag 12.04.16*/

  .portal-news-col.portal-news-last{
    display: block;
  }

  .portal-news-col.portal-news-last .portal-news-content-col{
    padding-top: 20px;
  }

  .portal-news-col.portal-news-last .portal-news-content-col.portal-news-content-image,
  .portal-news-col.portal-news-last .portal-news-content-col{
    max-width: 100%;
  }

  /*	Ende Nachtrag 12.04.16*/
}

@media only screen and (max-width: 639px) {
  /*portal*/
  .portal-quicklinks li{
    width: 100%;
  }
  .portal-quicklinks.patienten li{
    width: 50%;
  }


  .dload-span {
    width: 100%;
  }
  /*end portal*/
}

@media only screen and (max-width: 480px) {

  tr td {
    width: 50%;
    display: none;
  }

  tr td:first-child {
    width: 100%;
    display: block;
  }

  tr td img {
    width: 100%;
    padding: 0px !important;
  }

  tr td p {
    font-size: 30px;
  }

  .slider-fallback-image.drop {
    background-position: -442px -64px;
  }

  .slider-fallback-image.leave {
    background-position: -510px -125px;
  }

  .slider-fallback-image.mohhn {
    background-position: -381px -84px;
  }

  /*.image-wrap {

    background-position: -700px;
  }*/

  .post-852.page.type-page tr td {
    width: 100%;
    display: block !important;
  }

  .post-852.page.type-page tr td:first-child {
    display: none !important;
  }

  .wp-caption.alignright {
    float: none;
    text-align: center !important;
    width: 350px !important;
  }
  /*	Nachtrag 12.04.16*/
  .user-anrede,
  .mail-info{
    display: block;
  }
  /* Ende Nachtrag 12.04.16*/

  #ma_list .row{
    min-height: 70px;
  }
}

@media only screen and (max-width: 370px) {

  .team-wrap h2 {
    margin-bottom: 40px;
  }

  .references-logo-wrap {
    width: 100%;
  }

  .references-wrap {
    display: block;
  }

  .logo-wrap {
    display: block;
    padding-right: 0;
  }

  .logo-container {
    width: 100%;
  }

  .advantages-wrap {
    padding-top: 30px;
  }


}

/* Nachtrag 21.02.2024 */

.contact-container-right-contactformular {
  padding: 30px;
}

/* Ende Nachtrag 21.02.2024 */
