/*
Theme Name:   Divi Child
Description:  Thème enfant de Divi
Author:       Cristelle
Template:     Divi
Version:      1.0.0
*/

/* HEADER */

/* Set the Divi Mobile Nav to Fixed on scroll */
@media (max-width: 980px) {
	.et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
	}
}
.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
}
/* Change the hamburger icon to an X when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

/* FOOTER */

#footer ul {
	padding-left: 0;
}

#footer ul li {
	list-style-type: none;
	line-height: 200%;
}

#footer .et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0;
}

#footer span.et-waypoint.et_pb_animation_top.et_pb_animation_top_tablet.et_pb_animation_top_phone.et-pb-icon.et-animated {
    width: 24px;
    text-align: center;
}

@media (max-width: 980px) {
    #footer .et_pb_column .et_pb_module {
        margin-bottom: 8px;
    }
}

/* MISC */

body.et_pb_recaptcha_enabled .grecaptcha-badge {
    visibility: hidden!important;
}

/* HOME */

@media screen and (max-width: 768px) {
	#hero .et_pb_row.et_pb_row_0 {
		flex-wrap: wrap;
	}
}

#temoignages .et_pb_testimonial:before {
	left: calc(100% - 48px);
	top: 24px;
	color: rgba(128,206,215,0.5);	
}

#temoignages .et_pb_column_1_3 .et_pb_testimonial_portrait {
	margin: 0 0 20px 0;
}

#temoignages .et_pb_testimonial_portrait:before {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#domaines .et_pb_blurb_content .et_pb_main_blurb_image, 
#valeurs .et_pb_blurb_content .et_pb_main_blurb_image,
#honoraires .et_pb_blurb_content .et_pb_main_blurb_image {
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
	#domaines .et_pb_blurb_content .et_pb_main_blurb_image, 
	#valeurs .et_pb_blurb_content .et_pb_main_blurb_image,
	#honoraires .et_pb_blurb_content .et_pb_main_blurb_image {
		margin-bottom: 12px;	
	}
}

#domaines .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon,
#valeurs .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon,
#honoraires .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
	text-align: center;
}

@media screen and (max-width: 768px) {
	#domaines .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon,
	#valeurs .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon,
	#honoraires .et_pb_blurb_content .et_pb_main_blurb_image span.et-pb-icon {
		width: 32px;
		height: 32px;
		line-height: 32px;	
		text-align: center;
	}
}

#garanties .et_pb_column {
	margin-bottom: 0;
}

#garanties ul {
	padding: 0;
}

#garanties ul li {
	list-style-type: none;
	margin-bottom: 8px;
}

#garanties ul li::before {
	content: "";
	font-family: FontAwesome !important;
    font-weight: 900 !important;
    color: #007ea7;
    font-size: 24px;
}

#garanties ul li span {
	line-height: 24px;
	padding-left: 12px;
	vertical-align: text-bottom;
}

@media screen and (max-width: 768px) {
	#garanties ul li span {
		line-height: 16px;
		padding-left: 6px;
		vertical-align: text-bottom;
	}
	#garanties ul li::before {
    font-size: 16px;
	}
}

/* BLOG */

.et_pb_menu_0.et_pb_menu ul#menu-menu-blog li a {
    background-color: #fff;
    border: 1px solid rgba(0, 126, 167, .2);
    border-radius: 3px;
    line-height: 36px;
    padding: 0 16px;
}

.et_pb_menu--without-logo .et_pb_menu__menu nav ul#menu-menu-blog li {
	margin: 0;
}

/* Show open menu on mobiles */
@media (max-width: 980px) {
	#blog-nav .pa-open-mobile-menu .et_pb_menu__menu {
		display: flex!important;
	}
	#blog-nav .pa-open-mobile-menu .et_mobile_nav_menu {
		display: none!important;
	}
	#blog-nav .pa-open-mobile-menu .et_pb_menu__wrap {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
	#blog-nav .et_pb_column {
        margin-bottom: 12px;
    }
}

#post-header #post-meta-cnt .et_pb_column {
	display: flex;
}

#post-header #post-meta-cnt .et_pb_column .et_pb_icon {
	margin-right: 6px;
}

#post-header #post-meta-cnt .et_pb_column .et_pb_text {
	margin-right: 12px;
}

#post-header #post-meta-cnt .et_pb_column .et_pb_text_1_tb_body {
	background-color: rgba(0, 126, 167, .1);
    padding: 4px 12px;
    border-radius: 14px;	
}

@media only screen and (max-width: 767px) {
    #post-header #post-meta-cnt .et_pb_column .et_pb_icon_0_tb_body {
        margin-left: 0;
        margin-right: 6px;
    }		
	#post-content .et_pb_section {
		padding: 20px 0;
	}
	#post-content .et_pb_row .et_pb_row_0 {
		padding: 0;
		margin: 0;
		width: 100%;
	}
}