/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Pour animations custom - exemple des 2 classes a mettre sur l'element :
toAnimateFadeIn-1 FadeIn
toAnimateFadeIn-2 FadeIn
toAnimateFadeIn-3 FadeIn
toAnimateFadeIn-4 FadeIn
toAnimateFadeIn-5 FadeIn
toAnimateFadeIn-6 FadeIn
toAnimateFadeIn-7 FadeIn
toAnimateFadeIn-8 FadeIn
toAnimateFadeIn-9 FadeIn
toAnimateFadeIn-10 FadeIn
toAnimateFadeIn-11 FadeIn
toAnimateFadeIn-12 FadeIn
toAnimateFadeIn-13 FadeIn
toAnimateFadeIn-14 FadeIn
toAnimateFadeIn-15 FadeIn

toAnimateLeftToRight-1 LeftToRight
toAnimateLeftToRight-2 LeftToRight
toAnimateLeftToRight-3 LeftToRight
toAnimateLeftToRight-4 LeftToRight
toAnimateLeftToRight-5 LeftToRight

toAnimateRightToLeft-1 RightToLeft
toAnimateRightToLeft-2 RightToLeft
toAnimateRightToLeft-3 RightToLeft
toAnimateRightToLeft-4 RightToLeft
toAnimateRightToLeft-5 RightToLeft

Pour le BG animated
sur le parent du BG .bg-wrapper
sur l'élément contenant le BG .background
et ajouter le js avec classes loaded

Pour l'image animated
sur l'élément de l'image .ImageScale


*/
body:not(.et-fb-root-ancestor) .LeftToRight {
    opacity: 0;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
    -webkit-transition: all 1.5s;
    transition: all 1.5s;
}

body:not(.et-fb-root-ancestor) .LeftToRight-end {
    opacity: 1 !important;
    -webkit-transform: translateX(0px) !important;
    -ms-transform: translateX(0px) !important;
    transform: translateX(0px) !important;
}

body:not(.et-fb-root-ancestor) .RightToLeft {
    opacity: 0;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    -webkit-transition: all 1.5s;
    transition: all 1.5s;
}

body:not(.et-fb-root-ancestor) .RightToLeft-end {
    opacity: 1 !important;
    -webkit-transform: translateX(0px) !important;
    -ms-transform: translateX(0px) !important;
    transform: translateX(0px) !important;
}

body:not(.et-fb-root-ancestor) .FadeIn {
    opacity: 0;
    -webkit-transition: all 1s;
    transition: all 1s;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
}

body:not(.et-fb-root-ancestor) .FadeIn-end {
    opacity: 1 !important;
    -webkit-transform: translateY(0px) !important;
    -ms-transform: translateY(0px) !important;
    transform: translateY(0px) !important;
}
  
body:not(.et-fb-root-ancestor) .ImageScaleBg {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: absolute !important;
    top: 0  !important;
    z-index: 0  !important;
}
  
body:not(.et-fb-root-ancestor) .ImageScaleBg img {
    width: 100%;
    animation: move 40s ease;
    animation-fill-mode: forwards;
    /* Add infinite to loop. */
    -webkit-animation: move 40s ease;
    -moz-animation: move 40s ease;
    /* position: absolute; */
}

body:not(.et-fb-root-ancestor) .ImageScale {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}
  
body:not(.et-fb-root-ancestor) .ImageScale img {
    width: 100%;
    animation: move 40s ease;
    animation-fill-mode: forwards;
    -webkit-animation: move 40s ease;
    -moz-animation: move 40s ease;
}

@-webkit-keyframes move {
    0% {
        -webkit-transform-origin: center center;
        -moz-transform-origin: center center;
        -ms-transform-origin: center center;
        transform-origin: center center;
        
        transform: scale(1.0);
        -webkit-transform: scale(1.0); 
        -moz-transform: scale(1.0);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        
    }
}

body:not(.et-fb-root-ancestor) .ImageScale .elementbg {
    width: 100%;
    animation: movebg 40s ease;
    animation-fill-mode: forwards;
    -webkit-animation: movebg 40s ease;
    -moz-animation: movebg 40s ease;


    transition: background-size 2s ease-in;
    -moz-transition: background-size 2s ease-in;
    -ms-transition: background-size 2s ease-in;
    -o-transition: background-size 2s ease-in;
    -webkit-transition: background-size 2s ease-in;
}


@-webkit-keyframes movebg {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
       
    }
}


/** Page loader **/
.smooth-loader {
    position: fixed;
    z-index: 999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #008a30;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
}
  
.smooth-loader > img {
  width: 100px;
  height: auto;
}
  
.smooth-loader.smooth-hidden {
    -webkit-animation: fadeOut 1s;
            animation: fadeOut 1s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}
  
@-webkit-keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
  
@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Default bg-wrapper */
body:not(.et-fb-root-ancestor) .bg-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    backface-visibility: hidden;
}
  
/* Default image container */
body:not(.et-fb-root-ancestor) .bg-wrapper .background {
    transform: scale(1);
}
    
/* Loaded BG container */
body:not(.et-fb-root-ancestor).loaded .bg-wrapper .background {
    transform: scale(1.15);
    transition: 25s transform linear;
}

/* ===== MAIN GRAVITY STYLE 1 ========================= ***/
/* FORMULAIRE CARRIERE MODELE AVEC FOND BLANC ET FILET BORDER BOTTOM NOIR */

.form-style-1 .gform_wrapper {
    background-color: transparent !important;
    padding: 0 !important;
    color: black;
}

.form-style-1 .gform_wrapper .gform_drop_instructions {
    color: black;
}

.form-style-1 .gform_required_legend {
    display: none;
}

body .form-style-1 .gform_fileupload_rules {
    font-size: 12px !important;
    display: none;
}

.form-style-1 .gform_wrapper .top_label .gfield_label,
.form-style-1 .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
    display: none;
}

.form-style-1 .gform_wrapper ul.gform_fields li.gfield,
.form-style-1 .gform_wrapper .top_label li.gfield.gf_right_half {
    padding-right: 0;
}

.form-style-1 .gform_wrapper input[type=submit] {
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 12px 50px !important;
    background-color: white;
    border: 0px solid white!important;
    font-size: 14px !important;
}

.form-style-1 button.button.gform_button_select_files {
    border: none !important;
    background-color: transparent !important;
    font-size: 14px !important;
    color: black !important;
}

.form-style-1 .gform_wrapper input[type=submit]:hover {
    /* background-color: #E88E00; */
}

body .form-style-1 .gform_wrapper select,
body .form-style-1 .gform_wrapper textarea,
body .form-style-1 .gform_wrapper input[type=text],
body .form-style-1 .gform_wrapper input[type=email],
body .form-style-1 .gform_wrapper input[type=tel] {
    font-size: 15px !important;
    line-height: 26px !important;
    font-weight: 400 !important;
    color: black !important;
    padding: 10px 0px !important;
    border: 0;
    letter-spacing: 0px !important;
    border-bottom: 1px solid black;
    background-color: transparent;
}

body .form-style-1 .gform_wrapper textarea {
    max-height: 150px;
}

.form-style-1 input[type=text]:focus, 
.form-style-1 input.text:focus,
.form-style-1 input.title:focus,
.form-style-1 textarea:focus,
.form-style-1 input[type=submit]:hover {
    box-shadow: none !important;
}
.form-style-1 .gform_wrapper input[type=submit] {
    border: 1px solid black !important;
    width: auto !important;
    background-color: transparent;
}

.form-style-1 .gform_wrapper.gravity-theme .gform_footer {
    justify-content: flex-end;
}

.form-style-1 .ginput_container.ginput_container_fileupload {
    border: 1px solid black !important;
} 

body .form-style-1 .gform_wrapper select {
  -webkit-appearance: none;
  appearance: none;
}

body .form-style-1 .gform_drop_area {
    background-color: white;
    border: 0;
}

body .form-style-1 .gform_wrapper .ginput_container.ginput_container_select {
      position: relative;
}

body .form-style-1 .gform_wrapper .ginput_container.ginput_container_select:after {
    content: "\f078";
    color: black !important;
    font-size: 14px;
    top: 14px;
    right: 15px;
    position: absolute;
}

body .form-style-1 .gform_confirmation_wrapper .gform_confirmation_message {
    text-align:center;
}
body .form-style-1 .gform_confirmation_wrapper .gform_confirmation_message h3 {
    font-size: 20px;
    line-height:24px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom:0;
}

.form-style-1 ::-webkit-input-placeholder { /* Edge */
    color: black;
}
  
.form-style-1 :-ms-input-placeholder { /* Internet Explorer */
    color: black;
}
  
.form-style-1 ::placeholder {
    color: black;
}

.form-style-1 .gform_wrapper.gravity-theme .gform_drop_area {
    border: none;
    margin-bottom: 0 !important;
}

.form-style-1 .gform_wrapper.gravity-theme .gform_drop_area button {
    border-bottom: 1px solid black !important;
    padding: 0;
    cursor: pointer;
}

.form-style-1 .gfield_description.gform_fileupload_rules {
    background: rgba(0,0,0,.02);
}

.form-style-1 .gform_wrapper.gravity-theme .gform_fileupload_rules {
    margin-top: 0;
    text-align: center;
}

body .form-style-1 .gform_wrapper .ginput_container.ginput_container_select:after {
	pointer-events: none;
}



/* ===== MAIN GRAVITY STYLE 2 ========================= ***/
/* FORMULAIRE CARRIERE MODELE AVEC FOND GRIS ET BOITE BLANCHES ET SANS FILET ET SANS LABEL*/

.form-style-2 .gform_wrapper,
.form-style-2 {
    /*background-color: white !important;*/
}

.form-style-2 .gform_required_legend {
    display: none;
}

.form-style-2 body .gform_fileupload_rules {
    font-size: 12px !important;
}


.form-style-2 .gform_wrapper .top_label .gfield_label,
.form-style-2 .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
    display: none;
}

.form-style-2 .gform_wrapper ul.gform_fields li.gfield,
.form-style-2 .gform_wrapper .top_label li.gfield.gf_right_half {
    padding-right: 0;
}

.form-style-2 .gform_wrapper input[type=submit] {
    cursor: pointer;
	background-color: #16c16f;
    border-width: 0px !important;
    border-radius: 50px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    transition: all .3s 0s;
    line-height: 1.7em !important;
	color: white;
	padding-top: 10px !important;
    padding-right: 20px !important;
    padding-bottom: 10px !important;
    padding-left: 20px !important;
	font-size: 15px;
}

.form-style-2 .gform_wrapper input[type=submit]:hover {
    background-color: #006633;
}

body .form-style-2 .gform_wrapper select,
body .form-style-2 .gform_wrapper textarea,
body .form-style-2 .gform_wrapper input[type=text],
body .form-style-2 .gform_wrapper input[type=email],
body .form-style-2 .gform_wrapper input[type=tel] {
    font-size: 15px !important;
    line-height: 26px !important;
    font-weight: 400 !important;
    color: black !important;
    padding: 10px 20px !important;
    border: 0;
    letter-spacing: 0px !important;
    background-color: white;
}

body .form-style-2 .gform_wrapper select {
  -webkit-appearance: none;
  appearance: none;
}

body .form-style-2 .gform_drop_area {
    background-color: white;
    border: 0;
}

body .form-style-2 .gform_wrapper .ginput_container.ginput_container_select {
      position: relative;
}

body .form-style-2 .gform_wrapper .ginput_container.ginput_container_select:after {
    content: "\f078";
    color: #6D6559 !important;
    font-size: 14px;
    top: 14px;
    right: 15px;
    position: absolute;
}

body .form-style-2 .gform_confirmation_wrapper .gform_confirmation_message {
    text-align:center;
}
body .form-style-2 .gform_confirmation_wrapper .gform_confirmation_message h3 {
    font-size: 20px;
    line-height:24px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom:0;
}

body .form-style-2 .gform_wrapper.gravity-theme .gform_footer {
    justify-content: flex-end;
}

.form-style-2 ::-webkit-input-placeholder { /* Edge */
    color: black;
}
  
.form-style-2 :-ms-input-placeholder { /* Internet Explorer */
    color: black;
}
  
.form-style-2 ::placeholder {
    color: black;
}

/*	CSS pour shortcode [sfr_social_sharing] */
.clicked-mobile {
    opacity: 1 !important;
    transition: 1.2s all ease;
    transform: translateX(10px);
}

.conteneur-partage-mobile {
      position: relative;
      margin-left: 10px;
} 

.btn-partage-mobile {
    position: relative;
    margin-top: 10px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
    z-index: 1;
    font-size: 18px;
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.btn-partage-mobile i {
    font-size: 22px;
    padding-left: 5px;
}

.btn-partage-mobile:hover {
    /* color: #d3bd89; */
}

.wrapper-social-mobile {
    opacity: 0;
    position: absolute;
    display: inline-block;
    top: -11px;
    right: -115px;
    z-index: 4;
}
  
.social {
    display: inline-block;
    margin: 3px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    color: black;
    font-size: 20px;
    text-align: center;    
}

.social i {
    margin-top: 10px;
    color: black;
    font-size: 20px;
    padding-left: 0px !important;
}

.social a {
    float: none !important;  
    color: black;
}

.social a:hover i {
    color: #d3bd89;
}

#et_top_search {
    margin: 12px 0 0 22px;
}

.et_mobile_menu li a {
	color: black!important;
}
.et_mobile_menu li.cta-button a {
	color: white!important;
}

/* ajouter la classe .wrapper-hamberger sur l'élément ul li a du menu de wordpress, celui qui contiendra le titre de navigation <i class="far fa-bars"></i>, ceci retire le chevron down de divi et align le menu avec le reste de la nav*/
.wrapper-hamburger a {
    cursor: pointer;
    padding-right: 0 !important;
}

.wrapper-hamburger a::after {
    content:"" !important;
}

.wrapper-hamburger i {
    color: black;
    position: absolute;
    top: 0px;
    left: 16px;
    font-size: 26px;
}

.et-fixed-header .wrapper-hamburger i {
    top: 0px;
}

#et_top_search {
    margin: 22px 0 0 22px;
}

.et-fixed-header #et_top_search {
    margin: 8px 0 0 22px;
}    

.wrapper-hamburger a svg {
    width: 23px;
    height: 26px;
    color: #2a7de1;
    top: 6px;
    position: relative;
}

footer .wrapper-hamburger {
    width: auto;
    text-align: left;
}

footer .wrapper-hamburger > a {
    display: none !important;
}  

footer #menu-menu-principal li {
    padding-left: 0 !important;
}

footer #menu-menu-principal li:before {
    border-width: 0 !important;
}

footer .wrapper-hamburger > .sub-menu li {
    margin-left: 0;
    padding-left: 0 !important;
}

@media screen and (min-width: 980px) {
	.wrapper-hamburger {
		width: 57px;
		height: auto;
		border-radius: 21.22px;
        text-align: center;
	}  

    #et_top_search {
        float: right;
    }    
}

@media screen and (max-width: 980px) {
  	.wrapper-hamburger > a {
   		display: none !important;
  	}  

    .wrapper-hamburger > .sub-menu {
        padding-left: 0 !important;
    }

    .wrapper-hamburger > .sub-menu > li {
        padding-left: 0;
    }

    #et_top_search {
        float: left;
        margin-top: 0;
        margin-right: 20px;
    }
}  

@media (max-width: 980px) {
	.nomarginbottom-on-mobile .et_pb_column {
		margin-bottom: 0px;
	}
}

@media only screen and (min-width: 981px) {
    #logo {
        max-height: 74px!important;
    }
}


