/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/****************
Typographie
****************/

@media screen and (min-width: 821px) and (max-width: 1199px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

@media screen and (max-width: 820px) {
    h1:not(.h1-form h1) {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.375rem !important;
    }

    .h1-form h1 {
        font-size: 1.5rem !important;
    }
}

/****************
HEADER
****************/
.fusion-tb-header .header-home.fusion-sticky-transition,
.fusion-tb-header .fusion-fullwidth:not(.header-home) {
    box-shadow: 0px 4px 10px 0px #00000014;
}

.fusion-tb-header .header-home:not(.fusion-sticky-transition) nav.awb-menu_desktop ul#menu-menu-principal li a.awb-menu__main-a {
    color: var(--awb-color1) !important;
}

body.home .fusion-tb-header .header-home:not(.fusion-sticky-transition) .awb-menu__m-toggle {
    color: var(--awb-color1) !important;
}

.socials-menu .fusion-social-networks-wrapper {
    align-items: center !important;
    display: flex;
}

.socials-menu img {
    max-width: 30px;
}

.fusion-tb-header .header-home:not(.fusion-sticky-transition) .burger-menu {
    color: var(--awb-color1) !important;
}

.fusion-tb-header .header-home:not(.fusion-sticky-transition) .burger-menu:hover {
    color: var(--awb-custom_color_1) !important;
}


/****************
FOOTER
****************/
@media screen and (max-width: 820px) {
    #menu-menu-mentions {
        justify-content: center;
    }
}

.fusion-footer .fusion-text a {
    color: var(--awb-color1) !important;
    transition: color 0.3s ease;
}

.fusion-footer .fusion-text a:hover {
    color: var(--awb-color4) !important;
}

/* @media screen and (max-width: 1023px) {
    .footer-list li {
        justify-content: center;
        display: flex;
    }

    .footer-list li .fusion-li-item-content {
        margin-left: 0 !important;
    }

    .footer-certifs .fusion-column-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }
} */

.socials-footer img {
    height: auto;
    width: 35px;
}

@media screen and (max-width: 800px) {
    .socials-footer .fusion-social-networks-wrapper {
        display: flex;
        align-items: center;
    }

    .certifs-footer .fusion-column-wrapper,
    .partners-footer .fusion-column-wrapper {
        justify-content: center !important;
    }

    .agreements-footer .fusion-column-wrapper {
        justify-content: center !important;
        gap: 8px 15px !important;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px) {
    .socials-footer .fusion-social-networks-wrapper {
        display: flex;
        align-items: center;
    }

    .agreements-footer .fusion-column-wrapper {
        justify-content: center !important;
        gap: 8px 30px !important;
    }
}

/****************
COMPONENTS
****************/

.custom-hero-btn {
    font-size: 17px !important;
    line-height: 22px !important;
    font-weight: 600 !important;
    padding: 19px 40px 16px !important;
}

@media screen and (max-width: 767px) {
    .custom-hero-btn {
        padding: 19px 20px 16px !important;
    }
}

.key-figures .fusion-counter-box {
    margin-bottom: 0 !important;
}

.key-figures .counter-box-container {
    padding: 0 !important;
}

.key-figures .counter-box-container .display-counter,
.key-figures .unit {
    font-size: 5rem !important;
    font-weight: 700;
}

.key-figures .counter-box-content {
    line-height: 1.3;
}

.partners-slider .swiper-slide {
    max-width: fit-content;
}

.partners-slider .fusion-image-wrapper img {
    max-width: 160px;
    max-height: 40px;
    width: auto;
    height: auto;
}


@media screen and (max-width: 1200px) {
    .bloc-service-title h2 {
        font-size: 1.5rem !important;
    }
}