/* 
 Theme Name:     Divi child theme by Lake Design
 Author:         Lake Design
 Author URI:     https://lakedesign.ca
 Template:       Divi
 Version:        2.0 
*/ 

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

@font-face {
    font-family: 'Axiforma';
    src: url('/wp-content/themes/Lake-Divi-Child/assets/fonts/Axiforma-SemiBold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Axiforma';
    src: url('/wp-content/themes/Lake-Divi-Child/assets/fonts/Axiforma-ExtraBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/Lake-Divi-Child/assets/fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/Lake-Divi-Child/assets/fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Axiforma';
    font-weight: 700;
}

body, p {
    font-family: 'Manrope';
    font-weight: 400;
    color: #010101;
}

.et_pb_text_inner ul {
    padding: 20px 0 0 40px;
}

.et_pb_text_inner ul li {
    margin-bottom:10px;
    color: #010101;
}

.container, .et_pb_row {
    width: 90%;
    max-width: 1500px;
}

@media (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        width: 90%;
        max-width: 1500px;
        padding: 0;
        padding-left: 0;
    }
    .et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container {
        padding-left: 0;
    }
}

body:not(.et-fb) .et_builder_inner_content {
	overflow:hidden; 
}

body.parent-pageid-198 header, body.page-id-53 header {
    box-shadow: none !important;
}

/* HOMEPAGE MENU OVERRIDES */
.home #main-header {
    background: transparent;
    padding: 20px;
    position: absolute;
    box-shadow: none;
}
.home.admin-bar #main-header {
    top: 32px;
}
@media (max-width:980px) {
    .home.admin-bar #main-header {
        top: 48px;
    }
}
.home #et-top-navigation nav>ul>li>a {
    color: white;
}
.home #et-top-navigation nav>ul>li>a:hover {
    color: var(--mainColor);
}

/* ZOOM EFFECT */  
body.parent-pageid-198 .et_pb_section_0.et_pb_with_background {
    animation: zoomout 4s forwards;
    transform-origin: center;
}
@keyframes zoomout {
    0% {
        transform: scale3d(1.2, 1.2, 1.2) translate3d(0px, 0px, 0px);
    }
    100% {
        transform: scale3d(1.0, 1.0, 1.0) translate3d(0px, 0px, 0px);
    }
}

/* TEXT HIGHLIGHT */
.et_pb_text_inner p strong {
    color: var(--mainColor);
}
  
/* ACCORDIONS */
#services .et_pb_blurb_content {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin: 0;
    max-width: 100%;
}
#services .et_pb_main_blurb_image {
    margin: 0;
    width: 125px;
}
#services .et_pb_main_blurb_image img {
    max-width: 125px;
    width: 125px;
    opacity: 1 !important;
}
#services h4 {
    padding:0;
}

@media (max-width:980px) {
    #services .accordion-main .et_pb_column_1_2 {
        width: 70%;
        padding-left: 50px;
        margin-bottom: 0;
    }
    #services .accordion-main .et_pb_column_1_4 {
        display:none;
    }
    #services .accordion-main .et_pb_column_1_4.et-last-child {
        display: block;
        width: 30%;
    }
}

@media (max-width: 479px) {
    #services .accordion-main .et_pb_column_1_2 {
        padding-left: 0px;
        padding-top: 45px;
        margin-bottom: 0;
    }
    #services .accordion-main .et_pb_column {
        margin: 0;
    }
    #services .et_pb_blurb_content {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    #services .et_pb_main_blurb_image {
        margin: 0;
        width: 100%;
    }
    #services .et_pb_main_blurb_image img {
        max-width: 100%;
        width: 100%;
        opacity: 1 !important;
    }
    .et_pb_blurb_position_left .et_pb_blurb_container {
        padding-left: 0;
    }
    #services .hover-button {
        display: none !important;
    }
    .et_pb_column {
        margin-bottom: 15px;
    }
}

/* EFFECTS BUTTON */
.hover-button {
    background-color: #001e5e;
    padding: 12px 15px 11px;
    position:relative;
    overflow: hidden;
    border-radius: 3px;
    display: block;
}

.hover-button h4 {
    color: #FFFFFF;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 0 6px !important;
    margin: 0;
    text-align:center;
    position: relative;
    z-index:2;
}

.hover-button span {
    transform: translateY(-140%);
    transform-style: preserve-3d;
    z-index: 1;
    width: 150%;
    height: 200%;
    background-color: var(--mainColor);
    border-radius: 50%;
    position: absolute;
    left: -23%;
    right: 0;
    transition: transform 0.5s;
}

.hover-button:hover span {
    transform: translateY(-60%);
}

/* TEAM SECTION */
.team-boxes .dsm_card_img {
    height: 400px;
    object-fit: cover;
    width: 100%;
    object-position: top;
}
.team-boxes .dsm_card_badge_text {
    opacity: 0;
    transition: 0.2s all;
}
.team-boxes .et_pb_module_inner:hover .dsm_card_badge_text {
    opacity: 1;
}
.team-boxes h3.dsm_card_title {
    transition: 0.2s all;
}
.team-boxes .dsm_card_subtitle {
    transition: 0.2s all;
    display: inline-block;
}
.team-boxes .dsm_card_wrapper {
    text-align: center;
}
.team-boxes .et_pb_module_inner:hover h3.dsm_card_title {
    color: var(--mainColor);
}
.team-boxes .et_pb_module_inner:hover .dsm_card_subtitle {
    border-bottom: 1px solid var(--mainColor);
}

/* CONTACT */
.contact-intro {
    display: none;
}