/*
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 {
	--red-color:#da0a1e;
	--dark-color:#000;
	--light-grey-color:#f8f8f8;
}

.red {
	color: var(--red-color) !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;
	}
	.et_pb_row.very_large_row {
		max-width: 2400px;
	}
	.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
*/

.et_pb_button.body_button, .et_pb_button.body_button:hover {
	color:var(--dark-color) !important;
	background-color: transparent !important;
	border-color:transparent !important;
	font-weight:700;
	text-transform: uppercase;
	text-decoration: underline;
	padding: 0 !important;
}

.et_pb_button.body_button:hover {
	color:var(--red-color) !important;
}

/*
* Vertical carousel
*/

.dsm_card_carousel.vertical_carousel .dsm_card_carousel_arrow, .dsm_card_carousel.vertical_carousel .dsm_card_carousel_pagination {
	display:none !important;
}

.dsm_card_carousel.vertical_carousel .swiper-slide {
	background-color: #fff;
	border-radius:16px;
}

.dsm_card_carousel.vertical_carousel .swiper-slide::after {
	position: absolute;
	content:'';
	bottom:20px;
	left:50%;
	transform: translateX(-50%);
	display: block;
	width:calc(100% - 40px);
	height:2px;
	background-color: var(--red-color);
}

/*
* Lists
*/

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

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

ul.caret-list li:before {
	display:inline-block;
	font-family: 'ElegantIcons';
	content: '\35';
	color: var(--red-color);
	margin-right:5px;
	font-weight: 700;
}

/*
* Accordions
*/

.custom_accordion.et_pb_accordion .et_pb_toggle_close .et_pb_toggle_title::before {
	font-family: 'ElegantIcons';
	content: '\4c';
}

.custom_accordion.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title::before {
	display:block;
	position: absolute;
	top: 50%;
    margin-top: -.5em;
    right: -4px;
	left: auto;
	font-family: 'ElegantIcons';
	content: '\4b';
	color: var(--red-color);
	font-size: 24px;
    line-height: 24px;
}

/*
* Images
*/

/* Parallax */

.et_pb_section_parallax.parallax_bg_greyscale .et-pb-parallax-background, .et_pb_image.img_grey img {
	filter: gray;
	-webkit-filter: grayscale(100%);
}

/*
* Blurbs
*/

@media screen and (min-width: 981px) {
    .et_pb_blurb.blurb_financeur .et_pb_blurb_description img {
        max-width:450px;
    }
	
	.et_pb_blurb.blurb_financeur.small .et_pb_blurb_description img {
        max-width:375px;
    }
	
	.et_pb_blurb.blurb_financeur.very_small .et_pb_blurb_description img {
        max-width:225px;
    }
}

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

/*
* Desktop
*/


/* Sticky */

@media screen and (min-width: 981px) {
	header #header-section.et_pb_sticky {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
	
	header #header-section.et_pb_sticky .et_pb_menu .et_pb_menu__logo img {
		height: 50px;
		width: auto;
	}
}

/* Menu */

@media screen and (min-width: 981px) {
	header #header-section .et_pb_menu__menu #menu-menu-principal {
		box-shadow: inset 0px 0px 0px 2px #000;
		/*padding: 0 10px !important;*/
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li {
		border: 2px solid transparent;
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li:hover, header #header-section .et_pb_menu__menu #menu-menu-principal li.current-menu-item, header #header-section .et_pb_menu__menu #menu-menu-principal li:hover ul.sub-menu li {
		border-color: var(--red-color);
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li:hover > a, header #header-section .et_pb_menu__menu #menu-menu-principal li.current-menu-item > a {
		color: var(--red-color);
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li.current-menu-item + li:hover {
		border-left-color: transparent;
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li:hover:has(+ li.current-menu-item) {
		border-right-color: transparent;
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li a {
		padding-top: 15px;
        padding-bottom: 15px;
	}
	
	/* Sub menus */
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li > ul.sub-menu {
		padding:0;
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li > ul.sub-menu > li {
		border-top: 0;
		position: relative;
    	left: -2px;
	}
	
	header #header-section .et_pb_menu__menu #menu-menu-principal li > ul.sub-menu > li a, header #header-section .et_pb_menu__menu #menu-menu-principal li > ul.sub-menu > li:hover a {
		padding: 10px 0;
		background-color: #fff;
		opacity:1;
	}
}

@media screen and (min-width: 1261px) and (max-width: 1430px) {
	header #header-section .et_pb_menu .et_pb_menu__logo-wrap {
		max-width: 250px;
	}
}

@media screen and (min-width: 981px) and (max-width: 1260px) {
	
	header #header-section .et_pb_menu .et_pb_menu__logo-wrap {
		max-width: 200px;
	}
	header #header-section .et_pb_menu ul li {
		padding-left: 5px;
    	padding-right: 5px;
	}
	header #header-section .et_pb_menu ul li a {
		max-width: 200px;
		font-size: 15px;
	}
}

/*
* Mobile
*/

/* Burger menu */

@media screen and (max-width: 980px) {
	
	header #header-section .mobile_nav .mobile_menu_bar:before {
		box-shadow: inset 0px 0px 0px 2px #000;
	}
	
	header #header-section .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
--------------------------------------------------------------*/

/*
* Home
*/

/* Valeurs */

.row_valeurs .et_pb_column::before, .row_valeurs .et_pb_column::after {
	position: absolute;
	display: inline-block;
	height: 0;width: 0;
	content: '';top: 30px;
	border-top: 20px solid transparent;
	border-bottom: 20px solid transparent;
	right: auto;
	border-left: 25px solid #fff;
	left: calc(100% - 3.2px);
}

.row_valeurs .et_pb_column::before {
	left: 100%;
	border-left-color: var(--red-color);
}


@media screen and (min-width:981px) {
	.row_valeurs > div.et_pb_column:last-of-type::before, .row_valeurs > div.et_pb_column:last-of-type::after {
		left: auto;
		border-right: 25px solid #fff;
		top:auto;
		bottom:30px;
		border-left:0 !important;
		border-left-color:transparent !important;
		right: calc(100% - 3.2px);
	}
	.row_valeurs > div.et_pb_column:last-of-type::before {
		right: 100%;
		border-right-color: var(--red-color);
	}
}

@media screen and (min-width:768px) and (max-width:980px) {
	.row_valeurs > div.et_pb_column:first-of-type{
		margin-bottom:50px;
	}
}

/*
* Formation
*/


/* Header */

.page-id-11 #page-header.et_pb_section {
	background-position: center center !important;
}

/* Title */

.page-id-11 #page-header #blurb_h1_title .et_pb_blurb_content {
    max-width: 1500px;
}


/*
* Qui sommes-nous
*/

/* Partenaires */

.partenaires-grid {
	display: grid;
    gap: 50px;
    text-align: center;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 100px;
	-webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.partenaires-grid a {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
	transition: .1s linear;
}

.partenaires-grid.autres a {
	 opacity: 0.6;
	filter: grayscale(100%) brightness(2);
}

.partenaires-grid a:hover {
    opacity: 1;
}

@media screen and (max-width:980px) {
	.partenaires-grid.autres {
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 50px;
	}
}

@media screen and (max-width:767px) {
	.partenaires-grid.autres {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Créateurs */

.partenaires-grid.createurs {
	grid-template-columns: repeat(2, 1fr);
	gap: 50px 100px;
}

.partenaires-grid.createurs a {
	 opacity: 0.4;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}

@media screen and (max-width:980px) {
	.partenaires-grid.createurs {
		gap: 50px;
	}
}

/*
* Entreprise
*/

/* Partenaires */

.page-id-13 .partenaires-grid.autres a {
	-webkit-filter: grayscale(100%) brightness(2) invert(100%);
    filter: grayscale(100%) brightness(2) invert(100%);
}

/* Responsive table */

table.responsive {
  border: 1px solid #707070;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.responsive tr {
  /*background-color: #f8f8f8;*/
  border: 1px solid #707070;
  padding: .35em;
}

table.responsive th, table.responsive td {
 padding: 9px 24px !important;
}

table.responsive th {
  font-size: .85em;
  text-transform: uppercase;
}
	
@media screen and (max-width: 980px) {
	
	table.responsive tr:first-of-type {
		border-top:0;
	}
	
	table.responsive tr:last-of-type {
		border-bottom:0;
	}
	
	table.responsive th, table.responsive td {
 		padding: 9px 0 !important;
	}
	
}

@media screen and (max-width: 980px) {
  table.responsive {
    border: 0;
  }
  
  table.responsive thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.responsive tr {
    border-bottom: 0;
    display: block;
    margin-bottom: .625em;
	border-left: 0;
    border-right: 0;
  }
  
  table.responsive td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    /*text-align: right;*/
	min-height: 60px;
  }
  
  table.responsive td:not(.no-label)::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label) ' : ';
    float: left;
    font-weight: bold;
    text-transform: uppercase;
	clear: both;
	  margin-right:5px;
  }
  
  table.responsive tr td:last-of-type {
    border-bottom: 0;
  }
}

/*--------------------------------------------------------------
# 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;
	font-size:19px;
    color: var(--dark-color);
    display: block;
	border: 1px solid #555;
    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: var(--red-color);
   	border: 1px solid var(--red-color);
    color: #fff;
    text-transform: uppercase;
	float:left;
	cursor: pointer;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: var(--dark-color);
   	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(--dark-color);
}
 
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item::before {
	color:var(--red-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: 19px!important ;
}

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

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

/*
* Page
*/

.divi-100-article-card .et_grid_module {
  /* Article Card */
}

.divi-100-article-card .et_grid_module .article-card {
  position: relative;
  border: 0;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  overflow: hidden;
  padding: 0;
  /* Reset */
}

.divi-100-article-card .et_grid_module .article-card:hover {
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
}

.divi-100-article-card .et_grid_module .article-card.et_pb_no_thumb.format-standard {
  background: #F3F3F3;
  padding-top: 150px;
}

.divi-100-article-card .et_grid_module .article-card__content {
  z-index: 100;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFF;
  padding: 20px 30px 30px;
  box-sizing: border-box;
}

.divi-100-article-card .et_grid_module .article-card__category {
  position: absolute;
  top: -34px;
  left: 0;
  display: none;
  background: var(--red-color);
  padding: 10px 15px;
  color: #FFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.divi-100-article-card .et_grid_module .article-card__category:first-of-type {
  display: block;
}

.divi-100-article-card .et_grid_module .article-card__date {
  z-index: 100;
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--red-color);
  width: 56px;
  height: 56px;
  border-radius: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  color: #FFF;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.divi-100-article-card .et_grid_module .article-card__day {
  display: block;
  margin: 0 0 4px;
  font-size: 1.125rem;
}

.divi-100-article-card .et_grid_module .article-card__month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.divi-100-article-card .et_grid_module .article-card__title {
  margin: 0;
  padding: 10px 0;
  font-size: 26px;
  font-weight: 700;
}

.divi-100-article-card .et_grid_module .article-card__excerpt, .divi-100-article-card .et_grid_module .article-card__excerpt p {
  color: var(--dark-color);
}

.divi-100-article-card .et_grid_module .article-card__meta {
  padding: 10px 0 0;
  color: #999;
  font-size: 0.75rem;
}

.divi-100-article-card .et_grid_module .article-card__author {
  margin: 0 20px 0 0;
}

.divi-100-article-card .et_grid_module .article-card__author:before {
  content: "";
  display: inline-block;
  margin: 0 5px 0 0;
  box-sizing: border-box;
  font-family: "ETmodules";
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  speak: none;
}

.divi-100-article-card .et_grid_module .article-card__author a {
  color: inherit;
}

.divi-100-article-card .et_grid_module .article-card__comments:before {
  content: "w";
  display: inline-block;
  margin: 0 5px 0 0;
  box-sizing: border-box;
  font-family: "ETmodules";
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  speak: none;
}

.divi-100-article-card .et_grid_module .article-card .et_pb_image_container,
.divi-100-article-card .et_grid_module .article-card .et_pb_slider,
.divi-100-article-card .et_grid_module .article-card .et_audio_content,
.divi-100-article-card .et_grid_module .article-card .et_link_content,
.divi-100-article-card .et_grid_module .article-card .et_quote_content {
  margin: 0;
}

.divi-100-article-card .et_grid_module .article-card .et_link_content,
.divi-100-article-card .et_grid_module .article-card .et_quote_content {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .divi-100-article-card .et_grid_module .article-card .et_link_content,
  .divi-100-article-card .et_grid_module .article-card .et_quote_content {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}

.divi-100-article-card .et_grid_module .article-card .et_audio_content {
  padding-top: 40px;
  padding-bottom: 60px;
}

@media (max-width: 768px) {
  .divi-100-article-card .et_grid_module .article-card .et_audio_content {
    padding-top: 80px !important;
    padding-bottom: 120px !important;
  }
}

/*
* Single article
*/

/* Breadcumbs */

.single-post .breadcumbs .breadcrumb li a {
	color:var(--dark-color);
}

.single-post .breadcumbs .breadcrumb li::after {
	color:var(--red-color);
}

/* Posts carousel */

.single-post .posts_carousel .et-pb-slider-arrows > a {
	color:var(--dark-color);
}

.single-post .posts_carousel .et-pb-slider-arrows > a:hover {
	color:var(--red-color);
	background-color:var(--light-grey-color);
}

.single-post .posts_carousel .et_pb_portfolio_item .post-meta {
	text-transform: capitalize;	
}
