/*
Theme Name: Divi child theme by MPC
Template: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Description: Thème enfant personnalisé
Author: Ma Petite Com'
Author URI: https://mapetitecom.fr/
*/
@import url("../Divi/style.css");

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

/* Colors */

:root {
	--dark-color:#000;
	--light-dark-color:rgba(0,0,0,.5);
	--grey-color:#A0A0A0;
	--red-color:#DE352C;
	--light-grey-color:rgba(255,255,255,.6);
	--bg-grey-color:#E6E6E6;
}

.light-grey-color {
	color: var(--light-grey-color) !important;
}

/* Fonts */

body, input, textarea, select, h1, h2, h3, h4 {
    font-family: 'Poppins';
}

body #page-container .et_pb_section .et_pb_button {
	font-family: 'Poppins';
}

.roboto {
	 font-family: 'Roboto' !important;
}

/*
* Rows & columns
*/

@media screen and (max-width: 980px) {
    .et_pb_row.column-reverse-mobile {
        display: -webkit-box;
  		display: -webkit-flex;
  		display: -ms-flexbox;
  		display: flex;
        flex-direction: column-reverse;
    }
}

.vcenter {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: center;
	justify-content: center;
}

.vstart {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: start;
	justify-content: start;
}

@media screen and (max-width:980px) {
	.vcenter, .vstart, .vbottom {display: block;}
	
	.et_pb_row.column_mobile_reverse {
        display: flex;
        flex-direction: column-reverse;
    }
	
	.et_pb_row.column_mobile_reverse .et_pb_column.et-last-child {
		margin-bottom: 30px;
	}
	
	.et_pb_row.column_mobile_reverse .et_pb_column:not(.et-last-child) {
		margin-bottom: 0;
	}
}

.et_pb_row.large_row {
	width: 90%;
}

.et_pb_row.very_large_row, .et_section_specialty.very_large_row > .et_pb_row {
	width: 96%;
}

@media screen and (min-width: 981px) {
	
    .et_pb_row.large_row {
		max-width: 1700px;
	}
	
	.et_pb_row.very_large_row, .et_section_specialty.very_large_row > .et_pb_row {
		max-width: 1920px;
	}
}

@media screen and (max-width: 980px) {
	
	.et_pb_row.very_large_row, .et_section_specialty.very_large_row > .et_pb_row {
		width: 90%;
	}
}

@media screen and (max-width: 767px) {
	
    .et_pb_row.large_row {
		width: 80%;
	}
	
	.et_pb_row.very_large_row, .et_section_specialty.very_large_row > .et_pb_row {
		width: 80%;
	}
}

/*
* Images
*/

.et_pb_image.img_grey_shadow .et_pb_image_wrap {
	overflow: visible;
}

.et_pb_image.img_grey_shadow .et_pb_image_wrap::after {
	content: '';
    position: absolute;
    z-index: -1;
    display: block;
    width: 50%;
    height: 50%;
    bottom: -30px;
	right: -30px;
	background-color: var(--bg-grey-color);
}

.et_pb_image.img_grey_shadow .et_pb_image_wrap::before {
	content: '';
    position: absolute;
    z-index: 0;
    display: block;
    width: 0;
    height: 0;
    border-top: 30px solid #fff;
    border-right: 30px solid transparent;
    bottom: -30px;
    right: calc(50% - 60px);
}

/* Gallery */

.mfp-gallery .mfp-title {
	display: none;
}

/*
* Blurbs
*/

.et_pb_blurb.blurb_img_bottom .et_pb_blurb_content {
	display: flex;
    flex-direction: column-reverse;
}

.et_pb_blurb.blurb_img_bottom .et_pb_blurb_content .et_pb_main_blurb_image {
	margin-top: 20px;
}

/*
* Lists
*/

ul.arrow-list {
	list-style-type: none;
}

ul.arrow-list li::before {
	content:'\24';
	font-family: 'ElegantIcons';
	margin-right:5px;
}

/*
* Buttons
*/


body .et_pb_button {
	font-weight: 600;
}

body .et_pb_button.white {
	font-weight: 600;
	color:#fff !important;
	background-color: transparent;
	border-color:rgba(255,255,255, .4);
}

body .et_pb_button.white::after {
	color:#fff !important;
}

body .et_pb_button.white:hover {
	color:var(--dark-color) !important;
	background-color: #fff;
	border-color: #fff;
}

body .et_pb_button.white:hover::after {
	color:var(--dark-color) !important;
}

body .et_pb_button.white.button_lp::after {
	line-height: 2.3em !important;
}

/*
* Back to top
*/

.et_pb_scroll_top.et-pb-icon {
	background:var(--red-color);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*
* Menu
*/

/* Logo */

#page-header .et_pb_menu .et_pb_menu__logo {
	margin-right:0;
}

/*
* Mobile menu
*/

/* Burger menu */

@media screen and (max-width: 980px) {
	
	header .et_pb_menu_0_tb_header .et_pb_menu_inner_container {
		align-items: flex-start;
	}

	header .et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
		background:var(--red-color);
		color:#fff;
		font-size:64px;
		padding:5px;
		border-radius:500px;
	}
	
	header .et_pb_menu_0_tb_header.et_pb_menu  .et_pb_menu__logo {
		margin-right: 0;
	}
	
	header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
		top: calc(100% + 10px);
	}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

/*
* Footer menu
*/


.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu {
	display: block;
	list-style-type:none;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li {
	display: block;
	padding-right:0 !important;
	margin-top:0;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu.menu-rgpd nav.et-menu-nav ul.et-menu li {
	display: inline-block;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li a {
	color: var(--dark-color);
	padding-left: 0;
	padding-top: 8px;
}

.et-db #et-boc footer.et-l .et_pb_menu.footer-menu nav.et-menu-nav ul.et-menu li a:hover {
	background:transparent !important;
}

@media screen and (min-width:981px) {
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu {
		white-space: nowrap;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu.menu-rgpd .et_pb_menu__wrap {
		justify-content: flex-end;
	}
}

@media screen and (max-width:980px) {
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_pb_menu__wrap {
  		-webkit-box-pack: start;
  		-ms-flex-pack: start;
  		justify-content: flex-start;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu-cgu .et_pb_menu__wrap {
  		-webkit-box-pack: center !important;
  		-ms-flex-pack: center !important;
  		justify-content: center !important;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_pb_menu__menu  {
		display:block;
	}
	
	.et-db #et-boc footer.et-l .et_pb_menu.footer-menu .et_mobile_nav_menu {
		display:none;
	}
}

/*
* CTA
*/

footer .cta_footer.et_pb_promo {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: center;
    justify-content: flex-end;
}

footer .cta_footer.et_pb_promo .et_pb_button_wrapper {
	margin-left: 50px;
}

footer .cta_footer.et_pb_promo .et_pb_button_wrapper .et_pb_button {
	padding-top: .3em;
    padding-bottom: 1.9em;
	padding-left: 0.4em !important;
}

footer .cta_footer.et_pb_promo .et_pb_button_wrapper .et_pb_button {
	font-size: 32px !important;
}

/*--------------------------------------------------------------
# Contact form 7
--------------------------------------------------------------*/

/* Layout */

.one-half, .one-third, .two-thirds {
    position: relative;
    margin-right: 4%;
    float: left;
    margin-bottom: 20px;
	z-index: 1;
}
 
.one-half { width: 48%; }
.one-third { width: 30.66%; }
.two-thirds { width: 65.33%; }
.two-halves { width: 100%; }
 
.last {
    margin-right: 0 !important;
    clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third, .two-thirds {
        width: 100%;
        margin-right: 0;
    }
}

/* Input */

.wpcf7-form .wpcf7-form-control-wrap {
	line-height: auto;
}

.wpcf7-form .wpcf7-form-control-wrap + br {
	content: "";
    margin: 2em;
    display: block;
    font-size: 50%;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="number"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="date"], .wpcf7-form textarea, select.wpcf7-form-control.wpcf7-select {
    -webkit-appearance: none;
    background-color: #fff;
    font-family: inherit;
    color: var(--light-dark-color);
    display: block;
	border: 0;
	border-bottom:1px solid var(--light-dark-color);
    padding: 16px 16px 16px 0;
	margin-bottom: 30px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: box-shadow .45s,border-color .45s ease-in-out;
	font-size:20px;
}

.wpcf7-form input[type="text"]::placeholder, .wpcf7-form input[type="number"]::placeholder, .wpcf7-form input[type="email"]::placeholder, .wpcf7-form input[type="tel"]::placeholder, .wpcf7-form input[type="date"]::placeholder, .wpcf7-form textarea::placeholder {
	color: var(--light-dark-color);
}

.wpcf7-form textarea {
    height: 150px;
	border:1px solid var(--light-dark-color);
	padding: 16px;
}


/* Select */

select.wpcf7-form-control.wpcf7-select {
	margin-bottom: 60px;
	position: relative;
	padding-right: 0;
	background-color: transparent;
}

.wpcf7-form-control-wrap.dsm-contact-form-7-select::after {
	font-family: 'ElegantIcons';
    content: '\33';
    color: var(--light-dark-color);
	font-size: 32px;
    position: absolute;
    z-index: -1;
    bottom: 10px;
    right: 0;
}


div.wpcf7-mail-sent-ok {
	border: 2px solid #21386d;
    color:#21386d;
}


/* Button */

.wpcf7-form .wpcf7-submit {
    background-color: #fff;
   	border: 1px solid var(--light-dark-color);
    color: var(--dark-color);
    text-transform: uppercase;
	float: left;
	font-weight: 600;
	cursor:pointer;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: #fff;
   	border: 1px solid var(--dark-color);
    color: #fff;
}

/* Checkbox */

/* Hide the Ordinary Checkbox */

.wpcf7-form input[type="checkbox"] {
    opacity:0 !important;
    margin-left: -5px !important;
	-webkit-appearance: checkbox;
}

/* Checkbox Icons */

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    position: relative;
    /*padding-left: 15px;*/
    cursor: default;
    font-weight: normal;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label {
	color:var(--light-dark-color);
}
 
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item::before {
	color:var(--light-dark-color);
	content: '\56'; /*checkbox unchecked */
    font-family: ElegantIcons;
    font-size: 18px;
    /*absolutely positioned*/
    position: absolute;
    top: 0;
    left: -8px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
     transition: all 0.5s;
     /*cursor: pointer;*/
}

/* Animating the Checkbox Icon */
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item.checked::before {
    content:'\5a';
	color:var(--red-color);
}

/*--------------------------------------------------------------
# Pages
--------------------------------------------------------------*/

/*
* Homepage
*/

/* Layout */

.home #page-header #row_menu {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.home #page-header #row_cta > .et_pb_column {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: center;
	justify-content: center;
}

@media screen and (min-width:981px) {
	
	/*.home #page-header #row_menu .et_pb_menu__wrap {
		display:none;
	}*/
	
	.home #page-header #row_icon {
      position: absolute;
      z-index: 4;
      left: 50%;
      transform: translateX(-50%);
      bottom: 30px;
	}
 
	.home #page-header #row_cta > .et_pb_column {
		height:100vh;
	}
	
	.home #page-header #row_cta > .et_pb_column.et-last-child .et_pb_promo .et_pb_promo_description > div {
	    max-width: 450px;
	}
	
}

@media screen and (max-width:980px) {
	.home #page-header #row_menu {
    	top: 15px;
	}
}


/* Counters */

.home_counter.et_pb_number_counter {
	margin-bottom: 12px !important;
}

.home_counter.et_pb_number_counter::after {
	content:'';
	display : inline-block;
	height : 0;
	width : 0;
	border-bottom: 20px solid var(--red-color);
    border-left: 15px solid transparent;
    position: absolute;
    right: 0;
    bottom: 15px;
}

.home_counter.et_pb_number_counter .title {
	padding-bottom: 0 !important;
}


.home_counter.et_pb_number_counter .percent {
	margin-bottom: 0;
}

.home_counter.et_pb_number_counter .percent-value, .home_counter.et_pb_number_counter .percent-sign {
	font-family: 'Roboto';
}

.home_counter.et_pb_number_counter.counter_m2 .percent-value::after {
	content:' m2';
	font-size:37px;
}

.home_counter.et_pb_number_counter.counter_hours .percent-value::after {
	content:' H';
	font-size:37px;
}

/* Valeurs */

.home .blurb_appel ul.arrow-list {
	padding-left:0;
}

.home .blurb_appel ul.arrow-list li {
	line-height:40px;
}

.home .blurb_appel ul.arrow-list li:not(:last-of-type) {
	margin-bottom:20px;
}

@media screen and (max-width:980px) {
	.home #valeurs .et_pb_row.column_mobile_reverse .et_pb_column.et-last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width:767px) {
	.home .blurb_appel ul.arrow-list li {
		line-height:35px;
	}

	.home .blurb_appel ul.arrow-list li:not(:last-of-type) {
		margin-bottom:10px;
	}
}

/* Blog */

@media screen and (max-width:980px) {
	
	.home #actu > div.et_pb_row:first-of-type > div.et_pb_column:first-of-type {
		margin-bottom: 0;
	}
}

.home .et_pb_image.blog_icon .et_pb_image_wrap {
	padding: 50px;
}

.home .et_pb_image.blog_icon .et_pb_image_wrap img {
	width:70px;
}

/*
* Agencement
*/

@media screen and (min-width:981px) {
	
	.et_pb_gutters2.et_pb_row.custom_gutter > div.et_pb_column_1_5 {
		width: 18.4%;
		margin-right: 2%;
	}
	
	.et_pb_gutters2.et_pb_row.custom_gutter > div.et_pb_column_1_5:last-of-type {
		margin-right: 0;
	}
}

/*
* Contact
*/

/* Layout */

.page-id-297 header {
	position: relative;
    z-index: 1;
}

.page-id-297 #main-content {
	position: relative;
    z-index: 2;
}


.page-id-297 .section_contact {
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 15%, #070707 15%, #070707 100%) !important;
}

@media screen and (max-width:980px) {
	.page-id-297 .section_contact {
		background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 10%, #070707 10%, #070707 100%) !important;
	}
}

@media screen and (max-width:767px) {
	.page-id-297 .section_contact {
		background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 4%, #070707 4%, #070707 100%) !important;
	}
}

/*
* LP
*/

/* Reviews Carousel */

.dsm_card_carousel.google_reviews_carousel .swiper-slide {
	background-color: #fff;
	border-radius: 20px;
	padding:30px;
}

.dsm_card_carousel.google_reviews_carousel .dsm_card_wrapper {
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	flex-direction: column-reverse;
}

.dsm_card_carousel.google_reviews_carousel .dsm_card_wrapper .dsm_card_carousel_child_subtitle {
	margin-top: 30px;
}

.dsm_card_carousel.google_reviews_carousel .dsm_card_carousel_child_img {
	max-width: none;
	width:auto;
}

@media screen and (min-width:981px) {
	.dsm_card_carousel.google_reviews_carousel .dsm_card_carousel_pagination {
		display: none;
	}
}


@media screen and (max-width:980px) {
	.dsm_card_carousel.google_reviews_carousel .dsm_card_carousel_arrow {
		display: none !important;
	}
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/

/*
* Archive
*/

/* Blog module */

.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post {
	border:0;
	border-top:1px solid rgba(0,0,0,.4);
	padding: 30px 0 0;
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post .et_pb_image_container {
	margin: 0;
}

.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post .custom-post-content {
	padding: 0 50px;
}

@media screen and (max-width: 980px) {
	.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post {
		display: block;
	}
	
	.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post .custom-post-content {
		padding: 0;
	}
}

/*@media screen and (max-width: 767px) {
	
	.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post .et_pb_image_container {
		max-width:150px;
	}
	
	.custom_blog .et_pb_blog_grid .et_pb_salvattore_content[data-columns] .et_pb_post .custom-post-content {
		padding: 0 25px;
	}
	
}*/

@media screen and (min-width: 981px) {
  .custom_blog .et_pb_salvattore_content[data-columns]::before {
    content: '2 .column.size-1of2' !important;
  }

  .custom_blog .column.size-1of2 {
    width: 49.5% !important;
    margin-right: 1%;
  }
	
	.custom_blog div.column.size-1of2:last-of-type {
		 margin-right: 0;
	}

  .custom_blog .et_pb_post {
    margin-bottom: 11px;
  }
}

/*
* Single post
*/

.single-post .et_pb_post_content h2 {
	font-size: 22px;
}



