/*
 Theme Name: Prehab Theme
 Theme URI: http://formtugend.de
 Description:  Prehab Theme
 Author: webcoon
 Author URI: http://webcoon.de
 Template:     Divi
 Version: 3.0.90
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 License: GNU General Public License v2
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  Divi-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


@font-face {
    font-family: 'Comfortaa';
    src: url('/wp-content/themes/prehab/assets/fonts/Comfortaa.ttf') format("truetype-variations");
    font-weight: 1 999;
}

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/prehab/assets/fonts/Roboto-Bold.ttf') format("truetype");
    font-weight: 700;
}
  
body {
    font-family: 'Comfortaa';
    font-weight: 400;
}
  
sup {
    bottom: .65em !important;
    font-size: 0.65em !important;
}

.slider-bg {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    width: calc(100vw);
    background: #000000ab;
    z-index: 99999;
    cursor: pointer;
    animation: fadein 0.8s;
}

@keyframes fadein {
    0% {opacity: 0;}
    30% {opacity: 0;}
    100% {opacity: 1;} 
}


#main-header {
    height: 77px;
}

#main-header .container {
    height: 100%;
}

.et_pb_svg_logo #logo {
    height: 38px !important;
    max-height: unset !important;
}

.logo_container {
    text-align: center;
}

.lang-switch {
    position: absolute;
    z-index: 999;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
}

.lang-switch li {
    display: flex;
    text-transform: uppercase;
    font-size: 13px;
    height: 38px;
    width: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin-right: 4px;
    transition: all 0.3s ease;
}

.lang-switch li a {
    line-height: 1em;
    transition: all 0.3s ease;
}

.lang-switch li:hover {
    background: #e96b4f;
}

.lang-switch li:not(.current-lang):hover a {
    color: #fff;
}

.lang-switch li.current-lang {
    background: #e2f1ee;
    font-weight: 999;
}

.et_header_style_slide #main-header #et-top-navigation {
    padding-top: 20px !important;
}
    
.mobile_menu_bar {
    padding-bottom: 24px !important;
    width: 38px !important;
    margin-top: 5px;
    right: 0px !important;
    cursor: pointer;
    transition: all 0.1s ease;
}
    
.mobile_menu_bar::before {
    content: "";
    position: absolute;
    right: 0;
    top: 10px !important;
    cursor: pointer;
    height: 1.5px;
    width: 38px;
    background: #36414d;
    display: block;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}
    
.mobile_menu_bar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 17px;
    cursor: pointer;
    height: 1.5px;
    width: 28px;
    background: #36414d;
    display: block;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    left: auto !important;
    transform: rotate(0) !important;
}

#et-top-navigation:hover .mobile_menu_bar::after {
    width: 38px;
}
    
.et_pb_slide_menu_active .mobile_menu_bar::before {
    top: 15px !important;
    width: 30px !important;
    transform: rotate(45deg) !important;
}
    
.et_pb_slide_menu_active .mobile_menu_bar::after {
    top: 15px;
    width: 30px !important;
    transform: rotate(-45deg) !important;
    left: 0px !important;
}


.logo-m {
    bottom: 1em;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    font-size: 0.45em;
}


.home #page-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-y: unset !important;
}

.home #main-header {
    background: unset;
    box-shadow: none;
}

.home #main-header.et-fixed-header {
    background: #fff;
}

.home .et_pb_video_box, .home .et_pb_video_overlay {
    border-radius: 30px !important;
    overflow: hidden !important;
}


.open-popup {
	cursor: pointer;
    color: #FFFFFF !important;
    border-width: 2px !important;
    border-radius: 100px;
    letter-spacing: 0px;
    font-size: 16px;
    font-weight: 800 !important;
    padding-top: 18px !important;
    padding-right: 40px !important;
    padding-bottom: 18px !important;
    padding-left: 40px !important;
}

.open-popup::after {
    font-size: 1.6em;
}

#popup {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
    max-width: unset !important;
	background: #00000085 !important;
	z-index: 99 !important;
	justify-content: center !important;
	align-items: center !important;
	display: none !important;
}

.popup--open #popup {
	display: flex !important;
}

.popup--open {
	overflow: hidden;
}

.popup--open #main-header:before {
	content: "";
    position: absolute;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    background: #00000085 !important;
}

.popup--open .et-l--footer {
	z-index: -1;
    position: relative;
}

#popup > .popup-inner {
    padding: 50px !important;
	width: 640px !important;
    max-height: calc(100vh - 130px);
    overflow-y: scroll;
    max-width: 90%;
}

.popup-close-wrapper {
	position: absolute !important;
	top: 18px;
	right: 20px;
	bottom: unset !important;
    z-index: 9;
}

.popup-close {
	width: 32px;
	height: 32px;
	opacity: 1;
	cursor: pointer;
}

.popup-close:hover {
	opacity: 0.6;
}

.popup-close:before, .popup-close:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 33px;
	width: 1.5px;
	background-color: #104a54;
}

.popup-close:before {
	transform: rotate(45deg);
}

.popup-close:after {
	transform: rotate(-45deg);
}

.page-id-187 ol > li {
    margin-bottom: 30px !important;
    list-style-position: outside;
    margin-left: 15px;
}

.page-id-187 ol > li::marker {
    font-size: 18px !important;
}

@media (max-width: 1200px) and (min-width: 980px) {

    .headline-font {
        font-size: 5.3vw !important;
    }

}
	
@media all and (max-width: 980px) {
	
        
    body.opened, body.opened #page-container{
        overflow:hidden !important;
    }

    .et_fixed_nav #main-header {
        position: fixed !important;
    }

    #main-header.et-fixed-header {
        -webkit-box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
        box-shadow: 0 0 7px rgba(0,0,0,0.1) !important;
      }

    #et-boc #main-header {
        left: 0px !important;
        transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1), background-color 0.4s !important;
    }

    .et_pb_slide_menu_active #et-boc #main-header {
        left: -320px !important;
        transition: left 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.05s, background-color 0.4s !important;
    }
        
    .et_mobile_menu li a {
        border: 0;
        padding: 15px 0;
    }
        
    .mobile_nav ul#mobile_menu li ul li a {
        margin: auto;
        padding-top: 0.2em;
    }

    .menu-button {
        max-width: fit-content;
        margin: 20px auto;
    }

    #page-container #main-header .menu-button a {
        padding: 12px 55px !important;
    }

    .order {
        display: flex;
        flex-direction: column;
    }

    .order-1 {
        order: 1;
    }

    .order-2 {
        order: 2;
    }

    #popup > .popup-inner {
        padding: 70px 20px 60px !important;
    }
        
    
}       

@media all and (max-width: 768px) {
    .et_pb_svg_logo #logo {
        height: 32px !important;
        max-height: unset !important;
    }

    .lang-switch {
        margin-left: -5%;
    }

    .et_header_style_slide #main-header #et-top-navigation {
        margin-right: -5% !important;
    }

    .lang-switch li {
        font-size: 11px;
        height: 32px;
        width: 32px;
        margin-right: 2px;
    }

    #popup {
        align-items: flex-start !important;
    }
}

@media all and (max-width: 428px) {
    .et_pb_slide_menu_active #et-boc #main-header {
        left: -75vw !important;
    }
}