nav#main-nav {
    display: none;
}

.shiftnav-toggle .shiftnav-toggle-button {
    display: none;
}

#theme-logo {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-28%);
    transition: all .5s ease 0s;
}
.theme-logo a {
    display: flex;
}
header#header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
    background-color: var(--green);
    height: fit-content;
}

body:not(.home) header#header {
    background-color: var(--green);

}
#header .header-wrapper {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    padding-top: var(--header-poadding-y);
    padding-bottom: var(--header-poadding-y);
    transition: all .5s ease 0s;
}
#header.small .header-wrapper {
    padding-top: calc(var(--header-poadding-y) / 1.4);
    padding-bottom: calc(var(--header-poadding-y) / 1.4);
}
/*----------------- SLIDESHOW -------------*/
body:not(.home) div#slideshow {
    padding-top: var(--header-height);
}
div#slideshow h3 {
    letter-spacing: 0.2em !important;
    color: var(--light-blue) !important;
}
rs-slide h2>span {
    color: #fff;
    position: relative;
    Border-bottom: 2px solid #fff;
    Padding-bottom: 2px !important;
    line-height: 1 !important;
}
.isMac rs-slide h2>span, .mobile.slideshow rs-slide h2>span {
    Border-bottom: 0px solid #fff !important;
    Padding-bottom: 0px !important;
    text-decoration: underline;
}
rs-bullet.tp-bullet {
    background-color: transparent;
    border: 1px solid #fff;
}
/*----------------- HEADER ICONS -------------*/
#header-icons {
    z-index: 100;
    justify-content: space-evenly;
    width: auto;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 32px;
}
#header-icons img {
    height: 31px !important;
    display: block;
    width: auto;
}
.icon {
    height: auto;
    width: auto;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease 0s;
    display: flex;
}
#header-icons .vce-row {
    margin-bottom: 0 !important;
}
#header-icons a.vce-button--style-basic, #header-icons button.vce-button--style-basic {
    padding: 0;
    background-color: transparent;
}
#header-icons .vce-row * {
    display: flex;
    justify-content: center;
}
#header-icons .vce {
    margin-bottom: 0;
}
.icon:hover {
       
}
.icon a {
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div#lang-switch {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    z-index: 99;
}
.home div#slideshow {
    position: relative;
    background-color: var(--green);
}
div#slider-btn:hover {
    transform: rotate(15deg) scale(1.1);
}
div#slider-btn {
    position: absolute;
    bottom: 5.1vw;
    right: 5vw;
    z-index: 999;
    display: table;
    transition: all 0.3s ease-out 0s;
    height: auto;
}
div#slider-btn a {
    display: flex;
}
/*----------------- UBERMENU FULL SCREEN -------------*/
/*
#main-nav .ubermenu-item-level-0>a.ubermenu-target {
    background: '';
    color: #f5f5f5;
    font-size: 19px;
    font-family: '';
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    justify-content: center;
    padding: 30px;
    align-items: center;
    height: auto;
    width: auto;
    transition: all .5s ease 0s;
    line-height: 1.4;
    vertical-align: sub;
    position: relative;
    overflow: hidden;
    z-index: 9999;
}
#main-nav .ubermenu-item-level-0>a.ubermenu-target:before {
    content: '';
    background-image: url('');
    height: '';
    width: calc(1em * '');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 0 !important;
    display: block;
    transform: rotateY(0deg);
    transition: .5s ease 0s;
    margin-right: 15px !important;
}
#main-nav .ubermenu-item-level-0.ubermenu-active>a.ubermenu-target:before {
    background-image: url('');
    transform: rotateY(180deg);
}
#main-nav .ubermenu-item-level-0>a.ubermenu-target:hover:before{
    animation: bounce-X;
    animation-duration: .5s;
    transition: transform .5s ease-in-out 0s;
    animation-timing-function: ease-in-out;

}
*/
/*----------------- UBERMENU SUBMENU -------------*/

/*Ausencontainer auf volle Breite*/
li.ubermenu-item.ubermenu-column-id-8972 {
    width: 95% !important;
    max-width: '';
}
/*Vericale Ausrichtung*/
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item.ubermenu-column-auto>.ubermenu-submenu {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.menu-column ul.ubermenu-row:last-of-type {
    margin-top: 6.6vh;
}

/*Damit Container die Breite vom Content Beziehen*/
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item.ubermenu-column-auto {
    width: auto;
    border-bottom: ''!important;
    transition: all .5s ease 0s;
}
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal:hover{
    border-color:'' !important;
}


/*Für menu Columen (Breite / Abstand)*/
 ul.ubermenu-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.menu-column ul.ubermenu-row .ubermenu-item-level-3 {
    flex-basis: calc('');
}

li.ubermenu-item.ubermenu-column-id-8972>ul.ubermenu-submenu.ubermenu-submenu-id-8972, li.ubermenu-item.ubermenu-column-id-8991>ul.ubermenu-submenu.ubermenu-submenu-id-8991 {
    display: flex !important;
    flex-direction: row !important;
}
/*Für Fullscreen Menü*/
.ubermenu.ubermenu-disable-submenu-scroll .ubermenu-active>.ubermenu-submenu.ubermenu-submenu-type-mega {
    transition: all 0.5s ease 0s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    top: 0;
    background-color: '';
}

/*Menüitems Formatieren / Typografie*/
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal>.ubermenu-target {
    color: '';
    background: transparent;
    font-size: '';
    padding: 0.7vh 0;
    transition: all 0.5s ease 0s;
    margin-bottom: 1px;
    padding-bottom: calc(0.7vh + 1px);
    overflow: visible;

}
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal>a.ubermenu-target:hover {
    padding-left: 10px;
    color: '';
}
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal.navi-ueberschrift {
    border-bottom: none !important;
}
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item-normal.navi-ueberschrift>.ubermenu-target {
    font-size: 18px;
    border-bottom: none !important;
    color: '';
    margin-bottom: 1vh;
}
.ubermenu-current_page_item>.ubermenu-target>span {
    color: '';
}
.ubermenu .ubermenu-submenu-type-stack>.ubermenu-item.ubermenu-column-auto.ubermenu-current_page_item {
    border-color: '';
}
/*Animation öffnen / schließen*/
.ubermenu .ubermenu-item.ubermenu-item-level-0>ul.ubermenu-submenu {
    transform: translateY(-100%);
    transition: all 0.5s ease;
}
.ubermenu .ubermenu-item.ubermenu-item-level-0.ubermenu-active>ul.ubermenu-submenu {
    transform: translateY(0);
}
.ubermenu .ubermenu-item.ubermenu-item-level-0.ubermenu-active>ul.ubermenu-submenu>li.menu-column {
    transform: scale(1);
    transition-delay: 0.5s;
    transition: all .5s ease 0s;
}

/*---------------- SHIFTNAV -------------*/
.shiftnav-toggle-button {
    z-index: 99999999;
    background: #af1f23 !important;
    padding: 24px 22px;
    font-weight: 500;
    letter-spacing: 0.17em;
    display: none;
}

/*---------------- SHIFTNAV ANIMATION -------------*/
#nav-icon3 {
    width: 44px;
    height: 37px;
    position: relative;
    margin-bottom: 10px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
#nav-icon3 span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ffff;
    border-radius: 13px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#nav-icon3 span:nth-child(1) {
    top: 4px;
    width: 70%;
} 
#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
    top: 15px;
}
#nav-icon3 span:nth-child(4) {
    top: 26px;
}
.shiftnav-open #nav-icon3 span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}
.shiftnav-open #nav-icon3 span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.shiftnav-open #nav-icon3 span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.shiftnav.shiftnav-shiftnav-main {

    background: #333333;
}
.shiftnav-open #nav-icon3 span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}
div#shiftnav-main {
    max-width: 100% !important;
    width: 100vw !important;
    top: 0;
    transform: translateX(100%);
    padding-top: '';
}
.shiftnav:after{
    display: none;
}
div#shiftnav-main.shiftnav.shiftnav-open-target {
    transform: translateY(0);
}
.shiftnav-open .shiftnav-inner>nav.shiftnav-nav {
    transform: translateY(0);
    filter: opacity(1);
    transition-delay: 0.5s;
}
.shiftnav-inner>nav.shiftnav-nav {
    transform: translateY(-100%);
    transition: 0.5s ease 0s;
    transition-delay: unset;
    filter: opacity(0);
    top: 0;
}

/*---------------- WPML SPRACHENSWITCH -------------*/
.wpml-ls-legacy-list-horizontal a {
    line-height: 1;
    color: var(--blue);
    font-family: 'apercu-medium';
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.15em;
    padding: 0;
}
.wpml-ls-legacy-list-horizontal>ul {
    display: flex;
}
.schatten { text-shadow: 0 0 20px rgba(0,0,0,0.5);}
.wpml-ls-legacy-list-horizontal a span {
    display: flex;
    align-items: center;
}
span.wpml-ls-display:before {
    content: '';
    display: block;
    background-image: url('/wp-content/themes/visual-composer-starter-theme-child/img/icon-lang.svg');
    height: 1.25em;
    width: 1.25em;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/*----------------- HEADERBILD -------------*/
#slider-wrapper.postthumb.desktop {
    max-height: 580px;
    overflow: hidden;
}
#slider-wrapper.postthumb.mobile {
    max-height: 580px;
    overflow: hidden;
    line-height: 0;
}
#slider-wrapper.postthumb.desktop img {
    width: 100%;
    height: auto;
}
#slider-wrapper.postthumb.mobile img {
    width: 100%;
    height: auto;
}
/*#slider-wrapper.postthumb::before {
    display: block;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(7,1,1,0.3) 0%, rgba(7,1,1,0.3) 1%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(7,1,1,0.3) 0%,rgba(7,1,1,0.3) 1%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(7,1,1,0.3) 0%,rgba(7,1,1,0.3) 1%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d070101', endColorstr='#00000000',GradientType=0 );
    height: 100%;
    width: 100%;
    content: '';
}*/
#slider-wrapper.postthumb.desktop img.fallback {
    margin-top: -10vw;
}

@media (min-width: 1920px) { 
/*----------------- ELEMENT -------------*/

/*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) { 
/*----------------- ELEMENT -------------*/

/*----------------- END ELEMENT ---------*/
}

@media (max-width: 1200px) { 
    div#slider-btn {
        bottom: 20px;
        right: 20px;
        z-index: 999;
        max-width: 20%;
    }
}

@media (max-width: 990px) {
    div#header-icons, div#lang-switch {
        display: none !important;
    }
    #header .header-wrapper {
        justify-content: center;
    }
    #theme-logo{
        transform: unset;
    }

    .text-slider * {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    #theme-logo {
        width: 50%;
    }
    #theme-logo.small {
        width: 44%;
    }
    div#slider-btn {
        left: 30px;
        top: calc(var(--header-height) + 20px);
        z-index: 9;
    }
    rs-slide h2>span {
        border-bottom: none !important;
        text-decoration: underline;
    }
}

@media (max-width: 576px) {
    .wpml-ls-legacy-list-horizontal a {
        font-size: 16px;
    }
    rs-slide h2>span{
        Padding-bottom: 0px;
    }
}

@media (max-width: 420px) {
    div#slider-btn {
        left: unset;
        top: calc(var(--header-poadding-y) * 2 + 9vw);
        max-width: 29%;
        right: 5vw;
    }
    div#theme-logo{
        width: 160px;
    }
    div#theme-logo *{
        width: 100% !important;
        height: auto !important;
    }
} 

@media (max-width: 320px) {
/*----------------- ELEMENT -------------*/

/*----------------- END ELEMENT ---------*/	
}