/*
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 {
	--theme-color:#da0a1e;
	--dark-color:#121C28;
	--light-blue-color:#BCD4F0;
	--green-color:#9BACAA;
}

.white {
	color:#fff !important;
}

/* Fonts */

body.wp-child-theme-Divi-child {
	font-family: 'Red Hat Display';
}

body.wp-child-theme-Divi-child h1, body.wp-child-theme-Divi-child h2, body.wp-child-theme-Divi-child h3, body.wp-child-theme-Divi-child h4, body.wp-child-theme-Divi-child h5, body.wp-child-theme-Divi-child h6 {
	 font-family: 'Alexandria';
}

.alexandria {
	font-family: 'Alexandria' !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 {
	width: 96%;
}

.et_pb_row.fullwidth_row {
	width: 100%;
}

@media screen and (min-width: 981px) {
    .et_pb_row.large_row {
		max-width: 1700px !important;
	}
	.et_pb_row.very_large_row {
		max-width: 2400px !important;
	}
	.et_pb_row.fullwidth_row {
		max-width :2560px !important;
	}
}

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

/* Tablet */

@media screen and (max-width: 980px) and (min-width:768px) {
	.et_pb_row.tablet_columns {
		flex-direction: column;
	}
	
	.et_pb_row.tablet_columns.reverse {
		flex-direction: column-reverse;
	}
	
	.et_pb_row.tablet_columns > div.et_pb_column {
		width: 100%;
	}
}

/*
* Buttons
*/

body.et_pb_button_helper_class .et_pb_button, body .et_pb_promo .et_pb_promo_button.et_pb_button {
	font-family: 'Alexandria';
}

body.et_pb_button_helper_class .et_pb_button.et_pb_bg_layout_light:hover:after {
	color:#fff;
}

/*
* Lists
*/


ul.small_dots li {
	line-height: 1.7em;
}

ul.small_dots li:not(:last-of-type) {
	margin-bottom: 10px;
}

ul.small_dots li::marker {
	font-size:small;
}

/*
* Accordions
*/

.custom_accordion.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title::before {
	display:block;
	position: absolute;
	top: 50%;
    margin-top: -.5em;
    right: -10px;
	left: auto;
	font-family: 'ElegantIcons' !important;
	content: '\32' !important;
	color: var(--dark-color);
	font-size: 36px;
    line-height: 36px;
}

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

/*
* Main menu
*/

header .et_pb_menu ul li a:hover {
	color: var(--green-color) !important;
}

#page-header .et_pb_menu ul li a:hover {
	color: var(--light-blue-color) !important;
}

/* Sub-menus */

header .et_pb_menu ul li ul.sub-menu li a, #page-header .et_pb_menu ul li ul.sub-menu li a {
	font-size:18px;
}

header .et_pb_menu ul li ul.sub-menu li a:hover, #page-header .et_pb_menu ul li ul.sub-menu li a:hover {
	background-color: transparent;
}

/*
* Mobile menu
*/

/* Burger menu */

@media screen and (max-width: 980px) {
	
	/*header .et_pb_menu .mobile_nav .mobile_menu_bar, #page-header .et_pb_menu .mobile_nav .mobile_menu_bar {
		top: 20px;
		transform:none;
	}*/

    header .et_pb_menu .mobile_nav .mobile_menu_bar::before, #page-header .et_pb_menu .mobile_nav .mobile_menu_bar::before {
        background:var(--light-blue-color);
        padding:10px;
        border-radius:500px;
    }
	
	header .et_pb_menu .et_mobile_menu, #page-header .et_pb_menu .et_mobile_menu {
		top: calc(100% + 15px) !important;
		bottom: auto;
	}
}


/*--------------------------------------------------------------
# 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 {
	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;
	}
}

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

/*
* A propos
*/

.et_pb_section.section_mission > .et_pb_row::before {
	content:'';
	position:absolute;
	top:-50px;
	left:0;
	display:block;
	background: url(img/quote-before.png) top left no-repeat;
    width: 153px;
    height: 113px;
    background-size: contain;
}

.et_pb_section.section_mission > .et_pb_row::after {
	content:'';
	position:absolute;
	bottom:-50px;
	right:0;
	display:block;
	background: url(img/quote-after.png) top left no-repeat;
    width: 153px;
    height: 113px;
    background-size: contain;
}

@media only screen and (max-width: 980px) {
	.et_pb_section.section_mission > .et_pb_row::before, .et_pb_section.section_mission > .et_pb_row::after {
		width: 130px;
    	height: 96px;
	}
	.et_pb_section.section_mission > .et_pb_row::before {
		top:-100px;
	}
	.et_pb_section.section_mission > .et_pb_row::after {
		bottom:-100px;
	}
}

@media only screen and (max-width: 767px) {
	.et_pb_section.section_mission > .et_pb_row::before, .et_pb_section.section_mission > .et_pb_row::after {
		width: 100px;
    	height: 74px;
	}
}

/*--------------------------------------------------------------
# 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: #f8f8f8;
    font-family: inherit;
    color: var(--dark-color);
	font-size:16px;
    display: block;
	border: 1px solid #f8f8f8;
	border-radius:6px;
    padding: 16px;
    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;
}

.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(--dark-color);
}

.wpcf7-form textarea {
    height: 150px;
}

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


/* Button */

.wpcf7-form .wpcf7-submit {
    background-color: #fff;
   	border: 2px solid var(--dark-color);
    color: var(--dark-color);
	cursor: pointer;
	font-size: 18px;
    padding: 8px 16px;
    text-transform: uppercase;
	font-family: inherit !important;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: var(--dark-color);
   	border: 2px 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(--dark-color);
	font-size:16px;
}
 
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item::before {
	color:var(--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';
}

/*
* Simple File input
*/

.sfi-js .sfi-wrapper {
	color: var(--dark-color) !important;
	font-size: 16px!important ;
}

.sfi-js .sfi-wrapper .sfi-filename {
	color: var(--dark-color) !important;
	border: 1px dashed var(--dark-color) !important;
}


/*--------------------------------------------------------------
# Témoignages
--------------------------------------------------------------*/

/*
* Owl carousel
*/

.owl-carousel.cimo-theme {
	padding: 0 25px;
}

.owl-carousel.cimo-theme div.item {
	text-align: center;
}

.owl-carousel.cimo-theme div.item img {
	border-radius: 26px;
}

/* Bug chrome */

.owl-carousel .owl-stage-outer {
    width: 100%;
    -webkit-transform-style:preserve-3d;
    -moz-transform-style:preserve-3d;
    transform-style:preserve-3d;
}

/* Navigation */

.owl-carousel.cimo-theme .owl-prev, .owl-carousel.cimo-theme .owl-next  {
	display: block !important;
    width: 15px;
    height: 100px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}

.owl-carousel.jcms-theme.title-below .owl-prev, .owl-carousel.jcms-theme .owl-next  {
    -webkit-transform: translateY(calc(-25px - 50%));
    -moz-transform: translateY(-calc(-25px - 50%));
    transform: translateY(calc(-25px - 50%));
}

.owl-carousel.cimo-theme .owl-prev {
    left: -25px;
}

.owl-carousel.cimo-theme .owl-next {
    right: 20px;
}

.owl-carousel.cimo-theme .owl-prev span, .owl-carousel.cimo-theme .owl-next span {
	transform : scale(1,6);
	font-size: 60px;
	color: var(--dark-color);
}

.owl-carousel.cimo-theme .owl-prev span:hover, .owl-carousel.cimo-theme .owl-next span:hover {
	color: var(--light-blue-color);
}

/* Dots */

.owl-carousel.cimo-theme .owl-dots {
	display: flex;
    justify-content: center;
    margin-top: 30px;
    column-gap: 5px;
}

.owl-carousel.cimo-theme .owl-dots .owl-dot span {
	display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--dark-color);
	border: 1px solid var(--dark-color);
	border-radius:100px;
}

.owl-carousel.cimo-theme .owl-dots .owl-dot.active span, .owl-carousel.cimo-theme .owl-dots .owl-dot:hover span  {
	background-color: var(--light-blue-color);
	border-color: var(--light-blue-color);
}

.owl-carousel.cimo-theme .owl-dots .owl-dot.active span {
	position:relative;
	top:3px;
	width: 24px;
    height: 24px;
}

/* Style */

.owl-carousel.cimo-theme .temoignage-contenu > p {
	padding-bottom:0;
	font-size:16px;
}

/*--------------------------------------------------------------
# Réalisations
--------------------------------------------------------------*/

/*
* Réalisations isotope
*/

/* Filters */

ul.portfolio-filters {
	list-style-type: none;
	text-align: center;
}

ul.portfolio-filters li {
	display:inline-block;
}

ul.portfolio-filters li:not(:last-of-type) {
	margin: 0 10px 20px 0;
}

ul.portfolio-filters li a {
	padding: 6px 12px;
	border: 1px solid var(--green-color);
	color: var(--green-color);
}

ul.portfolio-filters li a:hover, ul.portfolio-filters li a.active {
	color:#fff;
	background-color: var(--green-color);
}

/* Masonry */

/*.portfolio-content.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: masonry;
}

.portfolio-content.masonry::after {
  content: '';
  display: block;
  clear: both;
}*/

.grid-sizer, .portfolio-item {
	width: calc(33.333% - 30px);
}

.gutter-sizer { 
	width: 15px;
}

.portfolio-content.masonry .portfolio-item {
  	margin-bottom: 15px;
	text-align: center;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.portfolio-item .itembox {
	/*border: 5px solid #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.2);*/
	position: relative;
	line-height: 0;
}

.portfolio-content.masonry .portfolio-item .itembox {
	width: 100%;
	margin: 0 auto;
}


.portfolio-content.masonry .portfolio-item .item-text {
	text-align:left;
	margin:15px 0 0 10px;
}

.portfolio-content.masonry .portfolio-item .item-text h3 {
	margin-top:0;
	font-size:20px;
}

.portfolio-content.masonry .portfolio-item .svc_port_cat {
	text-align:left;
	margin:0 0 15px 10px;
	color:var(--green-color);
	font-size:16px;
	font-weight:600;
}

@media screen and (max-width:980px) {
	.grid-sizer, .portfolio-item {
		width: calc(50% - 30px);
	}
}

@media screen and (max-width:768px) {
	.grid-sizer, .portfolio-item {
		width: 100%;
	}
	.gutter-sizer { 
		width: 0;
	}
}

/* List */

.portfolio-content.list .portfolio-item {
	 margin-bottom: 30px;
}

@media screen and (min-width:981px) {
    .portfolio-content.list .portfolio-item {
        display: -webkit-box;
        display: -moz-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
	
	.portfolio-content.list .portfolio-item .itembox {
		margin-right:30px;
	}
}

.portfolio-content.list .portfolio-item .itembox img {
  width: 240px;
  height: 180px;
  object-fit: cover;
}

@media screen and (max-width:980px) {
	.portfolio-content.list .portfolio-item .item-text {
		margin-top:15px;
	}
	.portfolio-content.list .portfolio-item .itembox {
		width: auto;
		display: inline-block;
	}
}

/* Images */


.portfolio-item .portfolio-gallery-img {
	display:none;
}

.svc_rollover .rollover_thumbs {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 9;
	  width: 170px;
  height: 70px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -moz-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -ms-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  -o-transition: visibility 0.3s 0.3s, opacity 0.3s linear;
  transition: visibility 0.3s 0.3s, opacity 0.3s linear;
	display:flex;
	align-items:center;
	justify-content: center;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs {
	opacity: 1;
	visibility: visible;
}

.portfolio-item .svc_rollover .rollover_thumbs a, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a {
  	width: 69px;
  	height: 69px !important;
	position: absolute;
	top: 0;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs a, .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a {
	display:inline-block;
}

.portfolio-item:hover .svc_rollover .rollover_thumbs a:not(:first-child):not(:nth-of-type(2)):not(:nth-of-type(3)), .owl-carousel div.item .item-image:hover .owl-overlay .svc_rollover .rollover_thumbs a:not(:first-child):not(:nth-of-type(2)):not(:nth-of-type(3)) {
	display:none;
}

.svc_rollover .rollover_thumbs a img {
	border: 3px solid #fff;
  	-webkit-border-radius: 50%;
  	border-radius: 50%;
  	height: 100%;
  	max-width: 100%;
}


.svc_rollover .rollover_thumbs a:first-of-type {
	z-index: 102;
	left: 0;
	
}

.svc_rollover .rollover_thumbs a:nth-of-type(2) {
	z-index: 101;
	left: 49px;
}

.svc_rollover .rollover_thumbs a:nth-of-type(3) {
	z-index: 100;
	left: 98px;
}

/* Overlay */

.portfolio-item .portfolio-overlay {
  	color: #fff;
	position: absolute;
  	left: 0;
	top: 0;
	transition:all ease .2s;
  	opacity: 0;
  	background: rgba(0,0,0,.25);
  	overflow: hidden;
	font-size: 32px;
	z-index: 1;
	display:flex;
	align-items:center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

.portfolio-item .portfolio-overlay span.arrow_triangle-right {
	font-size: 64px;
}

/* Loader */

.loader{
	background:url(img/loader.gif) no-repeat top center #fff;
	width:100%;
	height:100%;
	position:absolute;
	/*opacity:0.7;*/
	z-index: 9999;
}
