/*
Theme Name: Divi Child
Template: Divi
Description: Child theme for divi brut. 
Author: Vio E
Author URI: https://babouches-studio.com/
Version: 1.0
*/

/****Fonts****/
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/wp-content/uploads/fonts/BricolageGrotesque-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Bricolage Grotesque Bold';
    src: url('/wp-content/uploads/fonts/BricolageGrotesque-Bold.woff2') format('woff2');	
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque Condensed';
    src: url('/wp-content/uploads/fonts/BricolageGrotesqueCondensed-Regular.woff2') format('woff2');	
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque Condensed Bold';
    src: url('/wp-content/uploads/fonts/BricolageGrotesqueCondensed-Bold.woff2') format('woff2');	
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html > body p , html > body a, body #menu-footer li a, body #menu-footer li a, html > body ul li {
	font-family: 'Bricolage Grotesque';
}

html > body p strong {
	font-family: 'Bricolage Grotesque Bold';
    font-weight: bold;	
}

html > body h1, html > body h2, html > body h3,
html > body #menu-main-menu > li > a,
html > body .et_pb_button, 
html > body #reassurance .et_pb_text p {
    font-family: 'Bricolage Grotesque Condensed Bold', arial, normal;
    font-weight: bold;	
}
    

/************************
 * HEADER
 * ***********************/
#topbar .et_pb_column {
    display: flex;
    justify-content: right;
}

#topbar .et_pb_text a {
    color: #fff;
}

#topbar .et_pb_text a:hover {
    color: #ffd30d;
}

/*DEBUT SOCIAL*/
#topbar ul.et_pb_social_media_follow, 
#topbar .et_pb_module  {
    margin-bottom: 0;
    margin-left: 0;
}

#topbar ul.et_pb_social_media_follow li a.icon {
    border-radius: 50%;
    border: 2px solid #ffd30d;
    background-color: transparent !important; 
    height: 25px;
    width: 25px;       
}

.et_pb_social_media_follow li a.icon::before {
    height: 25px;
    width: 25px;
    line-height: 25px;           
}

#topbar ul.et_pb_social_media_follow li a.icon:hover {
    border: 2px solid #fff;   
}
/*FIN SOCIAL*/

#top-menu-nav .et_pb_menu__logo img,
.et_pb_menu__logo img  {
    width: 110px;
}

/*MENU*/

#menu-main-menu .et_pb_menu__wrap {
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    opacity: 1;
}

html > body #menu-main-menu > li a {
    font-family: 'Bricolage Grotesque Condensed Bold';
    font-weight: bold;    
    font-size: 1.1rem;
    letter-spacing: 0.5px;  
}

/*item sous-menu*/
html > body #menu-main-menu > li .sub-menu li a {
    font-family: 'Bricolage Grotesque Condensed';
    font-weight: normal;
    font-size: 1.1rem;
    letter-spacing: 0;  
}

html > body #menu-main-menu > li {
    padding: 0 10px 0 0;
    margin-right: 20px;    
}

html > body #menu-main-menu > li a:hover {
    color: #ffd30d;
}

html > body #menu-main-menu li li {
    padding: 0;
    border-bottom: 1px solid #ffd30d;  
}

html > body #menu-main-menu li li:last-child {
    border-bottom: none;  
}

html > body #menu-main-menu li ul.sub-menu {
    width: 200px;
    border-top: 2px solid #ffd30d;       
}

.logo_container #logo {
	margin-top: 10px;
	max-height:100%;
}

html > body #menu-main-menu > li:after, body h1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    height: 3px;
    width: 10%;
    margin: 0;
    background: #ffd30d;
}

html > body #menu-main-menu > li:after {
    left: 50%;
    transform: translateX(-50%);
    bottom: 25px;
    height: 7px;
    width: 7px;
    border-radius: 50%;
    transition: .5s all;
}

html > body #menu-main-menu > li{
    padding: 0 10px;
}

html > body .et_pb_menu .et-menu-nav > ul ul {
  padding: 5px 0;
  text-align: left;
}

html > body #main-content {
  background-color: transparent;
}

html > body #main-content article {
    border-radius: 20px;
}

html > body #main-content .et_pb_post .entry-title a,
html > body #main-content .et_pb_post h2 a,
html > body #main-content .et_pb_post .more-link {
    font-family: 'Bricolage Grotesque Condensed Bold';
    font-weight: bold;  
}

html > body #main-content .et_pb_post .more-link {
    padding: 5px 20px;
    border-radius: 40px;
    border: 1px solid #fff;
    margin-top: 10px;
    display: inline-block;
    text-transform: uppercase;  
}

html > body #main-content .et_pb_post .more-link:hover {
    border: 1px solid #ffd30d;
    color:#ffd30d ;
    background: rgba(0, 0, 0, 0.3);
}

html > body #main-content .et_pb_blog_grid article img {
    border-radius: 20px 20px 0 0;
}

/****FOOTER****/
body .bottom-nav {
	text-align:center;
}

body .bottom-nav li {
	font-weight:normal;
}

body .bottom-nav li a:hover {
	color:#FDDC29;
}

/****PARTENAIRES****/
html body .partners {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
}   

body .partners > .et_pb_column {
	display: flex;
	flex-wrap: wrap;
}	

body .partners .et_pb_column .et_pb_image .et_pb_image_wrap {
    display: inline-block;
    position: relative;
    max-width: 100%;
    height: 140px;
	align-content: center;
    background: #fff;
    border-radius: 20px;
	padding:10px;
	transition:.5s all;
}	

body .partners .et_pb_column .et_pb_image .et_pb_image_wrap img {
	max-height: 90px;
	margin: auto;
	width: auto;
}

body .partners .et_pb_column .et_pb_image {
	background: #fff;
	border-radius: 20px;
	text-align: center;
	width: 160px;
	margin: 0 15px 15px 0;
    margin-bottom: 15px;
}	

body .partners .et_pb_column .et_pb_image:last-child {
    margin-bottom: 15px !important;
}   

body .partners .et_pb_column .et_pb_image .et_pb_image_wrap img:hover {
	opacity:.8;
	transition:.5s all;	
}	

body footer#main-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    margin-top: 20px;
    height: 50px;
}


/***********************
 * RESPONSIVE
 * *********************/

@media screen and (max-width: 1090px) {

    html > body #menu-main-menu > li {
        padding: 0 10px 0 0;
        margin-right: 5px;
    }

}

@media screen and (max-width: 968px) {

     /**MENU**/
    html body #mobile_menu1 {
        background-color: #000 !important;
        border-color: transparent;
        margin-top: 20px;
        width: 120%;
        left: -10%;
    }

    html body #mobile_menu1 .sub-menu, 
    html body #mobile_menu1 .sub-menu li {
        padding: 0;
        padding-left: 0;
    }    

    html body #mobile_menu1 > li > a {
        padding: 10px 0;
        font-size: 1.5rem;
        font-family: 'Bricolage Grotesque Condensed Bold';
        font-weight: bold;
        color: #ffcc00 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
        margin-top: 15px;
    }

    html body #mobile_menu1 .sub-menu li > a {
        padding: 10px 0;
        font-size: 1.2rem;
        font-family: 'Bricolage Grotesque Condensed';
    }  

}    

 @media screen and (max-width: 600px) {
    #topbar .et_pb_column {
        display: block;
    }

    #topbar .et_pb_text {
        margin: 0 0 10px 0;
        padding-bottom: 10px !important;
    }

    #topbar .et_pb_text .et_pb_text_inner p {
        text-align: center !important;
    } 

    body #topbar .et_pb_social_media_follow, html body #topbar > .et_pb_module {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    } 

    html body #reassurance .et_pb_column .et_pb_text h3 {
        font-size: 1.2rem;
    } 

    html body #reassurance .et_pb_column .et_pb_image .et_pb_image_wrap {
        text-align: center;
    } 

    html body #reassurance .et_pb_column .et_pb_image .et_pb_image_wrap img {
        width: 80%;
    }  

    body .partners .et_pb_column .et_pb_image {
        margin:0 auto 15px;
    }

    body #faq-pictos .et_pb_column {
        width: 45%;
        margin-right: 4.5%;
    }

}

 @media screen and (max-width: 480px) {

    body .partners .et_pb_column .et_pb_image {
        width: 45%;
    }    

    html body #faq-pictos > .et_pb_column,
    html body #reassurance > .et_pb_column {
        width: 45% !important;
        margin-right: 4.5% !important;
    }

 }