/* 
 Theme Name:     Divi Child theme by Lake Design
 Author:         Lake Design
 Author URI:     https://lakedesign.co 
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


@font-face { 
	font-family: 'Gotham'; 
	src: url('/wp-content/themes/Lake-Divi-Child/fonts/GothamBook.otf');
	font-weight: normal; 
	font-style: normal; 
}

@font-face { 
	font-family: 'GothamBold'; 
	src: url('/wp-content/themes/Lake-Divi-Child/fonts/Gotham-Bold.otf');
	font-weight: normal; 
	font-style: normal; 
}

@font-face { 
	font-family: 'Alka'; 
	src: url('/wp-content/themes/Lake-Divi-Child/fonts/Akzidenz-grotesk-roman.ttf'); 
	font-weight: normal; 
	font-style: normal; 
}

@font-face { 
	font-family: 'AlkaBold'; 
	src: url('/wp-content/themes/Lake-Divi-Child/fonts/Akzidenz-grotesk-bold.ttf'); 
	font-weight: normal; 
	font-style: normal; 
}

h1 { font-family: TinyLove; }
p { font-family: Gotham; }
h4, h3, h2 { font-family: AlkaBold; }

/* HEADER */

#et-secondary-menu {
    float: right;
}  

#et-secondary-nav, #et-secondary-nav li {
    display: inline-block;
}

#main-header {
    box-shadow: none !important;
	border-bottom: 3px solid #299971;
    z-index:9998;
}

#top-header, #et-secondary-nav {
    -webkit-transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;
    -webkit-transition: background-color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;
    transition: background-color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;
    transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;
    transition: background-color 0.4s, transform 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;
}

#et-secondary-nav li {
    position: relative;
    text-align: right;
    margin-right: 15px;
    display: inline-block;
    word-wrap: break-word;
}

#et-secondary-nav li:last-of-type {
    margin-right:0;
}

.nav li.menu-item:not(.nav_button) {
    border-bottom:4px solid transparent;
    transition:0.4s all;
}

.nav li.menu-item:not(.nav_button):hover, .active-main {
    opacity:1;
}

#top-header-custom {
    float: right;
    width: 590px;
    text-align: right;
    padding: 10px 0 0 0;
}

#top-header-custom a {
    color:black;
    padding-bottom:0;
    text-transform:uppercase;
    opacity:1 !important;
    font-size:12px;
    font-weight:400;
    text-decoration:none;
}

#top-header-custom li.top-custom-menu-item a:after, .wpml-ls-menu-item a:after {
    display: block;
    content: '';
    border-bottom: solid 1px black;
    transform: scaleX(0);
    transition: transform .25s ease-in-out;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
}

#top-header-custom li.top-custom-menu-item a:hover:after, .wpml-ls-menu-item a:hover:after {
    transform: scaleX(1) !important;
}

.nav li {
    position:initial;
}

#top-menu {
    position:relative;
}

#top-menu li {
    font-family: 'GothamBold';
    font-size: 16px;
    text-transform: uppercase;
    display: block;
    float: left;
    position: initial;
    padding-right: 15px;
    padding-left: 15px;
}

#top-menu li:first-of-type {
    margin-left:0;
}

#top-menu li:hover > a {
    color:#2E9770;
}

.et_header_style_left #et-top-navigation {
    padding-top: 30px !important;
}

@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav>ul#top-menu>li>a {
        padding-bottom: 20px;
    }
}

#top-menu .join_btn a {
	border: 2px solid white;
    padding: 10px 25px !important;
    border-radius: 400px;
    font-size: 14px;
}

#top-menu .join_btn a:hover, .join_btn.current-menu-item a {
    background:#f1b112;
    border-color:#f1b112;
    color:white !important;
}

#top-menu .join_btn a:after, .menu-item-gtranslate a:after {
    display:none !important;
}

#top-menu li a:hover {
    opacity: 1 !important;
}

#top-menu a {
    font-size:15px;
}

.login_button a {
    border: 1px solid;
    padding: 12px !important;
    margin-top: -16px;
    border-radius: 3px;
    font-weight: 300 !important;
}

/* JUMPING HEADER FIX */

@media (min-width: 981px) {
    body.page:not(.home) div.et_pb_section.et_pb_section_0 {
        padding-top:172px !important;
    }
}

/* ACOUNT MENU */

#account-menu {
    position: relative;
    display: block;
    width: 65px;
    height: 40px;
    margin-bottom: -3px;
    margin-left:-10px;
    padding-left: 10px;
}

#account-menu > a {
    border: 1px solid #303030;
    border-radius: 100%;
    padding: 0;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 29px;
    margin-top: -7px;
    font-size: 13px;
    background: #303030;
    color: white !important;
}

#account-menu > a:after {
    font-family: 'ETmodules';
    content: "3";
    font-size: 16px;
    position: absolute;
    right: -21px;
    top: 0;
    font-weight: 800;
    color: #303030;
}

#account-menu:hover div {
    display:block;
}

#account-menu div {
    display: none;
    position: absolute;
    width: 250px;
    right: -16px;
    top: 40px;
    background: white;
    padding: 10px 0;
    box-shadow: 0px 17px 12px 0px #38383814;
    transition: none !important;
    border-bottom: 3px solid #2E9770;
}

#account-menu h5 {
    padding: 20px 25px 9px;
    font-size: 14px;
}

#account-menu div a {
    padding: 12px 25px;
    width: 100%;
    display: block;
    font-weight: 400 !important;
    font-family: 'GOTHAM';
    font-size: 14px;
}

#account-menu div a:hover {
    color:#289971;
}

/* FOOTER */
#main-footer {
    background-color: #0c3c43 !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
}

#footer-info {
    text-align: center;
    color: white;
    float: none;
    font-size: 11px;
    padding-bottom:10px;
}

/* MOBILE */
.mobile_menu_bar:before { 
    color: #fff !important;
}

.mobile-menu-trigger {
    display:none;   
    float: right;
    position: absolute;
    right: 0px;
    top: 16px;
    z-index: 3;
}

.menu-icon {
    position: relative;
    width: 1.5em;
    height: 2.5em;
}

.menu-icon span {
    position: absolute;
    height: 0.15em;
    width: 100%;
    background-color: #222;
    transition: all 250ms ease-in-out;
    transform: rotate(0deg);
    border-radius: 3px;
}

.menu-icon span:nth-child(1) {
    top: 0.39375em
}
    
.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
    top: 0.9655em;
}

.menu-icon span:nth-child(4) {
    top: 1.475em;
}

.mobile-menu-trigger:hover span,
.mobile-menu-trigger:focus span,
.mobile-menu-trigger:active span {
    background: #222;
}

.menu-icon.is-active span:nth-child(1),
.menu-icon.is-active span:nth-child(4) {
    opacity: 0; 
}

.menu-icon.is-active span:nth-child(2) {
    transform: rotate(45deg);
}

.menu-icon.is-active span:nth-child(3) {
    top: 0.9655em;
    transform: rotate(-45deg);
}

.menu-icon.is-active {
    position: fixed;
    right:16px;
    top:16px;
}

.menu-icon.is-active span {
    background:#222;
}

.mobile-menu {
    display:none;
    margin-left: -100%;
    width: 0;
    padding: 0;
    float: right;
    margin-top: 0;
    position: fixed;
    background: #289971;
    color: white;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0px;
    height: 100vh;
    transition: 1.3s all;
    display: block !important;
    padding-top: 10px;
    padding-bottom:60px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch !important;
    z-index:2;
}

.mobile-menu li {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 20px;
}
.mobile-menu li a {
    color:white !important;
    opacity: 1;
    padding: 10px 0;
    font-size: 18px;
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width:1199px) {
    .container.et_menu_container {
        width:95%;
    }
}

@media (max-width:980px) {
    .et_header_style_left .logo_container {
        position: absolute;
    }
    .et_header_style_left #logo {
        max-width: 100%;
        max-height: 78%;
        margin-top: 3px;
    }
    .container.et_menu_container {
        width: 92%;
        height: 57px !important;
    }
    a.site_btn,.mobile_menu_bar {display:none;}
    .mobile-menu-trigger {display:block;}   
    .mobile-menu-show {
        width:100% !important;
        margin-left:0 !important;
    }
    .admin-bar .mobile-menu {
        top:46px;
    }
    .admin-bar .menu-icon.is-active {
        top:62px;
    }
    #footer-info a { 
        position:relative;
        text-align:center;
    }
	#footer-widgets {
        padding-bottom: 15%;
	}
	#footer-social a {
        margin-right: 10px;
        margin-left: 10px;
	}
	#nav_menu-6 {
        margin-left: 0;
    }
}


@media (max-width:767px) {
    #footer-bottom .container {
        width:90%;
    }
    #menu-footer-bottom {
        text-align: center;
        margin-bottom: 13px;
    }
    #footer-info li {
        margin: 0 7px;
    }
    #footer-info {
        text-align: center;
        color: white;
        padding-bottom: 10px;
        float: none;
        font-size: 11px;
        line-height: 17px;
    }
    #footer-social {
        float: none;
        text-align: center;
        padding-bottom: 14px;
    }
}

@media (max-width:680px) {
    #wpadminbar {
        position: fixed !important;
    }
}
