/*
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
*/



/**********
Force activate megamenu 
***********/

/*.fusion-menu-element-wrapper:not(.collapse-enabled):not(.submenu-mode-flyout) .fusion-menu-element-list .fusion-megamenu-wrapper {
    opacity: 1!important;
    pointer-events: all!important;
}*/



/******************************* HEADER *****************************/

/**********
Search bar
***********/
@media screen and (min-width:993px) {
    
    /*Before focus*/
    .search-header .search-field input[type=search] {
        background-image: url(../Avada-Child-Theme/assets/svg/magnifying-glass-solid.svg);
        background-position: 10px center;
        background-repeat: no-repeat;
        background-size: 17px 17px;
        background-color: transparent !important;
        border: 1px solid #c6ced3 !important;
        -webkit-transition: width 400ms ease, background 400ms ease !important;
        transition:         width 400ms ease, background 400ms ease !important;
        width: 240px !important;
        cursor: pointer;
    }

    .search-header .search-field input[type=search]::placeholder {
        color: #c6ced3 !important;
    }

    .search-header .search-button { 
        display:none;
    }

    /*Hover + focus*/
    .search-header .search-field input[type=search]:hover, .search-header .search-field input[type=search]:focus {
        background-color: #fff!important;
        border: 1px solid var(--awb-color5) !important;
        /*width: 250px !important;*/
    }

    .search-header .search-field input[type=search]:hover {
        cursor: pointer;
    }

    .search-header .search-field input[type=search]:focus {
        cursor:auto;
    }

}

/**********
Mega Menu
***********/
#menu-menu-business-unit li {
    margin-bottom: 5px;
}

/**********
Mega Menu
***********/

.fusion-flex-container .fusion-row .fusion-layout-column:first-child .fusion-column-wrapper {
    background-size: contain;
}



/******************************* CONTENT *****************************/


/**********
Typographie
***********/

@media screen and (max-width: 767px) {
    .fusion-title h1 {
        font-size: 2.25rem!important;
    }
    .fusion-title h2 {
        font-size: 2rem!important;
    }
}

/***********
Témoignages
************/

/* Swiper JS */
.swiper {
    width: 100%;
    height: 100%;
}

.testimonials-slider h3 {
    margin: 0 0 1em;
    font-size: 1.5rem!important;
}

.testimonials-slider .swiper-slide {
    background-color: #fff;
}

.testimonials-slider .swiper-slide p {
    quotes: "«" "»";
    font-style: italic;
}

@media screen and (max-width:767px) {
    .testimonials-pagination {
        text-align: center;
    }
}

.testimonials-pagination .swiper-pagination-bullet {
    margin-left: 5px!important;
    margin-right: 5px!important;
    margin-bottom: 15px!important;
    width: 36px;
    height: 4px;
    border-radius: 3px;
    background: var(--awb-color4);
    opacity: 1;
}

#main .testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--awb-color6);
}

/* Temoignages h2 */
body.post-type-archive-temoignages .fusion-posts-container h2 {
    margin-bottom: 5px;
}


/***********
Bold Timeline
************/

@media (max-width: 768px) {
    .bold_timeline_container.bold_timeline_container_line_position_vertical .bold_timeline_item {
        margin: 0 0 2em 0 !important;
    }
}


/***********
Flip box projets BU
************/

.project-flip-box .flip-box-inner-wrapper {
    min-height: 280px !important;
}

.project-flip-box .flip-box-back-inner {
    line-height: 1.25em;
}

.project-flip-box .fusion-portfolio-content-wrapper {
    padding: 3px;
}



/**********
 Blog listing
 **********/

#wrapper #main .fusion-blog-shortcode article.fusion-post-medium {
    margin-bottom: 25px;
}
#wrapper #main .fusion-blog-shortcode .fusion-post-content > .blog-shortcode-post-title {
    margin-bottom: 5px;
}
#wrapper #main .fusion-blog-shortcode .fusion-post-content-container p {
    font-size: 1.125rem;
    line-height: 1.375rem;
}
#wrapper #main .fusion-blog-shortcode .fusion-post-medium .fusion-meta-info {
    margin-top: 0!important;
}
#wrapper #main .fusion-blog-pagination .pagination {
    justify-content: center!important;
}




/**********
Flip box ID Contact
***********/

.contact-flip-box {
    cursor: pointer;
}

.contact-flip-box {
    margin-bottom: 0!important;
}

.contact-flip-box .fusion-flip-box .flip-box-inner-wrapper {
    min-height: 155px !important;   
}

.contact-flip-box .fusion-flip-box .flip-box-grafix {
    margin: 0 20px 0 0 !important;
    width: 80px!important;
}

.contact-flip-box .flip-box-image img {
    border-radius: 50%;
}

.contact-flip-box.flip-effect-3d .flip-box-front-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center; 
}

.contact-flip-box .fusion-flip-box .flip-box-back-inner p {
    font-size: 1rem;
    line-height: normal;
    margin-bottom: 0;
}

.contact-flip-box .fusion-flip-box .flip-box-image {
    width: 80px;
}

.contact-flip-box .fusion-flip-box .flip-box-back {
    padding: 10px 10px !important;
}



/**********
Gravity form
***********/

.gform_wrapper {
    margin-bottom: 0 !important;
}

.gform_wrapper .gform_heading {
    display: none;
}

.gform_wrapper .gfield input::placeholder, .gform_wrapper .gfield textarea::placeholder, select option.gf_placeholder {
    color: #aaa;
}

.gform_wrapper.gravity-theme .gfield textarea {
    font-family: Manrope, Arial, Helvetica, sans-serif;
    font-weight: 400;
    list-style: normal;
    font-size: 1rem;
    line-height: normal;
    color: var(--awb-color8) !important;
}

.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description, .gform_wrapper.gravity-theme .gfield_consent_description {
    font-size: 0.75rem !important;
    line-height: 1rem;
}

.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description a, .gform_wrapper.gravity-theme .gfield_consent_description a {
    color: var(--awb-color8) !important;
    text-decoration: underline;
    transition: all .3s;
}

.gform_wrapper.gravity-theme .field_description_below .gfield_consent_description a:hover, .gform_wrapper.gravity-theme .gfield_consent_description a:hover {
    color: var(--awb-color6) !important;
}

.gform_wrapper.gravity-theme .ginput_container_consent .gfield_consent_label {
    font-size: 1rem !important;
    line-height: 1.175rem;
    font-weight: 600;
}

.gform_wrapper .gform_footer .gform_button[type=submit] {
    margin-bottom: 0;
    margin: 0 auto; 
}
@media screen and (max-width:767px) {
    .gform_wrapper .gform_footer .gform_button[type=submit] {
        line-height: 1!important;
    }     
}

.gform_wrapper .gform_validation_errors {
    background: transparent !important;
    border: none !important;
    padding: 5px !important;
    box-shadow: none !important;
}

.gform_wrapper .gform_validation_errors h2 {
    font-size: 1rem !important;
    text-align: left;
    line-height: 1.125rem !important;
}

.gform_wrapper .gfield_error .gfield_validation_message, .gform_wrapper .gfield_error .gfield_validation_message {
    font-size: .8138rem !important;
    text-align: left !important;
    line-height: 1rem !important;
    padding: 5px !important;
    margin: 0 !important;
}

.fusion-alert.alert-danger.error, .gform_wrapper .gfield_error .gfield_validation_message, .gform_wrapper .gform_validation_errors {
  color: #c02b0a!important;
}


/**********
Totop
***********/

#toTop {
    background: var(--awb-color6) !important;
}

#toTop:hover {
    background: var(--awb-color5) !important;
}

/**********
Politique de confidentialité
***********/

.privacy-policy h2 {
    font-size: 2rem !important;
    margin-top: 0.875em !important;
    margin-bottom: 0.5em !important;
}

.privacy-policy h3 {
    font-size: 1.75rem !important;
    margin-top: 0.875em !important;
    margin-bottom: 0.5em !important;
}

/**********
Footer
***********/

.kiwik-logo {
    width: 50px;
    height: auto;
}
