/* Flexnav Base Styles */
 .flexnav {
    margin: 0;
    padding: 0;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform-style: preserve-3d;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}
 .flexnav.opacity {
/*     opacity: 0;*/
}
 .flexnav.flexnav-show {
     max-height: 2000px;
     opacity: 1;
     -webkit-transition: all .5s ease-in-out;
     -o-transition: all .5s ease-in-out;
     transition: all .5s ease-in-out;
}
 .flexnav.one-page {
     position: fixed;
     top: 50px;
     right: 5%;
     max-width: 200px;
}
 .flexnav li {
     font-size: 100%;
     position: relative;
     overflow: hidden;
     list-style-type: none;
}
 .flexnav li a {
    position: relative;
    display: block;
    padding: 1em;
    z-index: 2;
    border-bottom: 1px solid white;
    -webkit-transition: color 0.4s ease-in-out;
    -o-transition: color 0.4s ease-in-out;
    transition: color 0.4s ease-in-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.flexnav li a:hover {
    color: #006ab3;
}
.flexnav li ul li a:hover {
    color: #b3b3b3;
}
 .flexnav li ul {
     width: 100%;
}
 .flexnav li ul li {
     font-size: 100%;
     position: relative;
     overflow: hidden;
     border-bottom: 1px solid #a6a6a2;
}
 .flexnav li ul.flexnav-show li {
     overflow: visible;
}
 .flexnav .touch-button {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 10px;
    width: 50px;
    height: 63px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
}
 .flexnav .touch-button:hover {
     cursor: pointer;
}
 .flexnav .touch-button .navicon {
     visibility: hidden;
}
 .menu-button {
     position: relative;
     background: #a6a6a2;
     cursor: pointer;
}
 .menu-button.one-page {
     position: fixed;
     top: 0;
     right: 5%;
     padding-right: 45px;
}

 .menu-button .touch-button .navicon {
     font-size: 16px;
     position: relative;
     top: 1em;
     color: #333333;
}

/* wbox variables.less Wert @breakpoint-desktop verwenden */
 @media all and (min-width: 991px) {
     body.one-page {
         padding-top: 70px;
    }
     .flexnav {
         overflow: visible;
    }
     .flexnav.opacity {
         opacity: 1;
    }
     .flexnav.one-page {
         top: 0;
         right: auto;
         max-width: 1080px;
    }
     .flexnav li {
         position: relative;
         width: auto;
         list-style: none;
         float: left;
         display: block;
         overflow: visible;
    }
     .flexnav > li {
         padding: 0 0.3em;
     }
     .flexnav li a {
         border-bottom: none;
         padding: 0;
         font-weight: 700;
    }
     /* .flexnav > li > a {
         border-bottom: 1px solid transparent;
     } */
     .flexnav > li.nav-selected > a, 
     .flexnav > li.nav-path-selected > a {
        color: #006ab3;
     }

    .flexnav>li:last-child { 
        padding-right: 0;
     }
     .flexnav > li a:after {
        content: '\007C'; /* Trennungszeichen zwischen Menus */
        display: inline-block;
        padding-left: 10px;
        font-weight: normal;
        color: #006ab3;
      }
      .flexnav >li:last-child a:after, 
      .flexnav > li > ul > li a:after {
        content: none; /* Ausblenden letztes Trennungszeichen */
        padding-left: 0;
      }
     .flexnav li > ul {
         position: absolute;
         top: auto;
         left: 0;
         display: none;
    }

     .flexnav li:last-child > ul li {
         padding-right: 0;
     }
     .flexnav li ul  {
        margin-left: 0px;
        margin-top: 10px;
        min-width: 250px;
        padding: 0;
    }
     .flexnav li > ul li {
         width: 100%;
         overflow: visible;
    }
     .flexnav > li > ul > li {
          background: rgba(0,0,0,0.6);
          border-bottom: 1px solid grey;
    }
    
     .flexnav li:last-child > ul li > ul {
         right:100%;
         left: initial;
     }
     .flexnav li ul li > ul {
         margin-left: -webkit-calc(100% - 27px);
         margin-left: calc(100% - 27px);
         top: 5px;
    }
     .flexnav li ul li a {
         border-bottom: none;
         font-weight: 300;
         font-size: 0.9em;
         color: #ffffff;
         padding:0.2em 0.4em;
    }
     .flexnav li ul.open {
         display: block;
         opacity: 1;
         visibility: visible;
         z-index: 1;
    }
     .flexnav li ul.open li {
         overflow: visible;
         max-height: 100px;
    }
     .flexnav li ul.open ul.open {
         margin-left: 100%;
         top: 0;
    }
    ul.flexnav-show { 
        z-index: 50; 
    }
    .menu-button, .flexnav .touch-button {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1140px) {
    .flexnav li:last-child > ul {
        right:0;
        left:initial;
    }
}
@media (max-width:1200px){
         .flexnav li a {
         /*font-size:1.1em;*/
    }
}
@media (min-width:1200px){
             .flexnav li ul li a {
         
    }
}

/* no break mainnav > tablet
 tablet landscape styling*/
/*
@media (min-width: 768px) and (max-width: 991px) {
    .flexnav li a {
        padding: 0.4em 0.4em 0.4em 0.4em;
        font-size: 0.8em;   
    }
    .flexnav li ul li a {
         padding: 0.4em 0.4em;
    }

}
*/

/* wbox variables.less Wert @breakpoint-mobile verwenden */
 @media all and (max-width:992px){
     .flexnav {
/*        position: absolute;*/
        background: #ffffff;
/*        top: 60px;*/
     }
     .flexnav li ul {
         margin-left: 0;
         padding-left: 0;
     }
     
     .flexnav li a {
         padding: 1em;
         /*font-size:1em;*/
    }
    /*Zweite Stufe*/
     .flexnav > li > ul > li > a {
         padding-left:-webkit-calc(1.03em + 15px);
         padding-left:calc(1.03em + 15px);
    }
     .flexnav > li > ul > li > ul > li > a {
         padding-left:-webkit-calc(1.03em + 25px);
         padding-left:calc(1.03em + 25px);
    }
    .flexnav li ul li {
        border-bottom: none;
    }
    .flexnav li ul li a {
        font-size: 0.9em;
        color: rgba(255, 255, 255, 0.5);
    }
     
    .flexnav .touch-button:after,
    .flexnav .touch-button:before{
        width: 15px;
        height: 2px;
        background-color: #333333;
        position: absolute;
        top: 50%;
        left: 13px;  
        content: '';
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        -o-transition: transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;    
    }
    .flexnav .touch-button:before{
        -webkit-transform: translate(11px) rotate(-45deg);
        -ms-transform: translate(10px) rotate(-45deg);
        transform: translate(10px) rotate(-45deg);    
    }
    .flexnav  .touch-button.active:after{
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);  
    }
    .flexnav  .touch-button.active:before{
        -webkit-transform: translate(11px) rotate(45deg);
        -ms-transform: translate(10px) rotate(45deg);
        transform: translate(10px) rotate(45deg);
    } 
}

/* Flexnav Fix for MS Edge and Windows Phone */
 @media screen (-ms-high-contrast: active) and (-ms-high-contrast: none) {
     .flexnav li a {
         overflow: hidden;
    }
}
 

div.ccm-block-switch-language-flags{display:inline-block}div.ccm-block-switch-language-flags-label{float:left;margin-right:8px}div.ccm-block-switch-language-flags a{float:left;margin:2px;opacity:.4}div.ccm-block-switch-language-flags a.ccm-block-switch-language-active-flag{opacity:1}


.ccm-page .wbox-sprachumschalter {padding:0; margin-left: 15px;}
.ccm-page .wbox-sprachumschalter a {
    padding: 0 8px;
    position: relative;
    font-size: 0.9em;
}

.ccm-page .wbox-sprachumschalter a:hover {
   color: #006ab3
}

.ccm-page .wbox-sprachumschalter .ccm-block-switch-language-active-flag {
    color: #006ab3;

}

@media (max-width: 767px) {
    .ccm-page .wbox-sprachumschalter .ccm-block-switch-language-active-flag {
        color: #222222;
        font-weight: 700;
    }
}


/* .wbox-sprachumschalter a:first-child {display: none;} */
.ccm-page .wbox-sprachumschalter a:last-child:before {
    content: '';
    display: inline-block;
    border-left: 1px solid #006ab3; 
    height: 25px;
    position: absolute;
    left: -2px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}
/* .ccm-page .wbox-sprachumschalter a.lang-active {color: #333333; } */

.ccm-page .mobile-servicenav .wbox-sprachumschalter {
    float: none;
    padding: inherit;
    margin-left: 0;
    margin-bottom: 15px;
}
.ccm-page .mobile-servicenav .wbox-sprachumschalter a {
    padding: 2px;
}

@media (max-width: 768px) {
    .ccm-page .wbox-sprachumschalter {
        height: 52px;
        position: relative;
        top: 15px;
        background: #666666;
        margin: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    .ccm-page .wbox-sprachumschalter a {
        font-size: 1em;
        color: white;
    }
    .ccm-page .wbox-sprachumschalter a:last-child:before {
        left: 0;
        border-left: 1px solid white; 
    }
}

@media (max-width:320px){
    .wbox-button-wrapper {
        text-align: center;
        display: block;
    }
}
.wbox-button svg {
    position: relative;
    height: 32px;
    width: 32px;
    margin-right: 15px;
    top: 2px;
}
a .wbox-button {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-right: 5px;
    margin-bottom: 10px;
    font-weight: 700;
}

.wbox-button {
    padding: 7px 20px 8px 20px;
    white-space: nowrap;
    display: block;  
    -webkit-transition: all 0.3s ease;  
    -o-transition: all 0.3s ease;  
    transition: all 0.3s ease;
}

.wbox-button.btn-standard { 
}

.wbox-button.btn-color1 {  
}

.wbox-button.btn-color2 {
}

/* Spezielle Einstellung für Landingpage 'Welcome' */
.landingpage .wbox-button.btn-standard {
    padding: 15px 30px 12px 30px;
    font-size: 1.2em;
}

.ccm-block-share-this-page ul.list-inline{display:inline-block;margin:0;padding:0}.ccm-block-share-this-page ul.list-inline li{display:inline-block;list-style-type:none;margin-right:10px;padding:0}.ccm-block-share-this-page svg{max-height:13px}.ccm-block-social-links ul.list-inline{display:inline-block;margin:0;padding:0}.ccm-block-social-links ul.list-inline li{display:inline-block;list-style-type:none;margin-right:10px;padding:0}.ccm-block-social-links svg{max-height:13px}


.wbox-videopopup {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 0;
    padding-top: 56%;
    position: relative;
}

.wbox-videopopup a {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.wbox-videopopup img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.wbox-videopopup-overlay {
  position: absolute;
  background-color: transparent;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;   
}

.wbox-videopopup-overlay:hover {
  background-color:rgba(0, 0, 0, 0.5);
}

.wbox-videopopup .playbutton {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color:rgb(80,80,80);
  -webkit-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.75;
  -webkit-transition: 0.4s all ease-in-out;
  -o-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out ;
}

.wbox-videopopup:hover .playbutton {
  -webkit-transform: translate(-50%, -50%) scale(1.1);
  -ms-transform: translate(-50%, -50%) scale(1.1);
  transform: translate(-50%, -50%) scale(1.1);
}

.wbox-videopopup .dreieck {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid #ffffff;
  -webkit-transform: translate(-37%,-50%) rotate(90deg);
  -ms-transform: translate(-37%,-50%) rotate(90deg);
  transform: translate(-37%,-50%) rotate(90deg);
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
}

.wbox-videopopup-overlay:hover .playbutton, .wbox-videopopup-overlay:hover .dreieck {
    opacity: 1;
}

.wbox-videopopup-contentwrap {
    padding:12px;
    z-index: 9;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #009353;
}

/* ------------------------------------------------------------------------------------
MP4 Overlay Styling
------------------------------------------------------------------------------------
*/

/* This adds padding from top and bottom */
.mp4popup .mfp-container {
  padding-top: 40px;
  padding-bottom: 40px;
}
/* This adds max-width to popup content */
.mp4popup .mfp-content {
  width: 100%;
  max-width: 1400px;
  height: auto;    
}

/* This makes "#popup-mp4-container" scale down proportionally */
.popup-mp4-container {
  width: auto;
  height: auto;
  overflow: hidden;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
/* This shifts close button outside of the container */
.popup-mp4-container .mfp-close {
  top: -44px;
  color: #FFF;
  text-align: right;
  right: 1px;
}
/* This is an element itself */
.mp4-videocontent {
    top: 0px;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
}
.mp4-videocontent video {
  background: #EBE8E8;
  max-width: 100%;
  width: 100%;
  height: auto;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .6);
  box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}

/*-----------------------------------------------------------------------------------*/
/*  Video Play via Header-Button (Blau)
/*-----------------------------------------------------------------------------------*/

.video-play-samd {
  height: 0;
  overflow: hidden;
}


/* ------------------------------------------------------------------------------------
Mediaqueries
------------------------------------------------------------------------------------ */

@media (max-width: 1200px ) {
    
    .wbox-videopopup {
        height: 225px;
    }
}

@media (min-width: 450px) and (max-width: 769px) {
    
    .wbox-videopopup {
        height: 175px;
    }
    .wbox-videopopup-linktext {
       font-size: 1em;
    }    
    .wbox-videopopup-linktext:after {
       display: none;
    }
}


/* ------------------------------------------------------------------------------------
Lity Styling
------------------------------------------------------------------------------------ */

/*! Lity - v2.4.0 - 2019-08-10
* http://sorgalla.com/lity/
* Copyright (c) 2015-2019 Jan Sorgalla; Licensed MIT */
.lity {
  z-index: 9990;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(0, 0, 0, 0.9);
  outline: none !important;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  }
  .lity.lity-opened {
    opacity: 1;
  }
  .lity.lity-closed {
    opacity: 0;
  }
  .lity * {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .lity-wrap {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    outline: none !important;
  }
  .lity-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
  }
  .lity-loader {
    z-index: 9991;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -0.8em;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }
  .lity-loading .lity-loader {
    opacity: 1;
  }
  .lity-container {
    z-index: 9992;
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    white-space: normal;
    max-width: 100%;
    max-height: 100%;
    outline: none !important;
  }
  .lity-content {
    z-index: 9993;
    width: 100%;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
         -o-transform: scale(1);
            transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
  }
  .lity-loading .lity-content,
  .lity-closed .lity-content {
    -webkit-transform: scale(0.8);
        -ms-transform: scale(0.8);
         -o-transform: scale(0.8);
            transform: scale(0.8);
  }
  .lity-content:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  }
  .lity-close {
    z-index: 9994;
    width: 35px;
    height: 35px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .lity-close::-moz-focus-inner {
    border: 0;
    padding: 0;
  }
  .lity-close:hover,
  .lity-close:focus,
  .lity-close:active,
  .lity-close:visited {
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .lity-close:active {
    top: 1px;
  }
  /* Image */
  .lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
  }
  /* iFrame */
  .lity-iframe .lity-container,
  .lity-youtube .lity-container,
  .lity-vimeo .lity-container,
  .lity-facebookvideo .lity-container,
  .lity-googlemaps .lity-container {
    width: 100%;
    max-width: 964px;
  }
  .lity-iframe-container {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: auto;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
  }
  .lity-iframe-container iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
  }
  .lity-hide {
    display: none;
  }
  

