/*
Theme Name: Divi  Child Theme
Description: Theme enfant de Divi par lib-rdv pour camilledietpedia.fr
Author: Marie jouet - lib-rdv
Author URI: 
Template: Divi
Version: 1.1
*/
@media all and (min-width: 1100px) {
 h2 {
    font-size: 34px !important;
    margin-bottom: 10px;
        margin-top: 10px;
        display:inline-block;
        border-bottom: 2px solid #ffdc40 !important;
	}
	h4, h5 {
	color: #101010!important;
	}
}


/* 
** CALER LES TAILLES SUR MOBILE
** Voir tuto : https://astucesdivi.com/responsive-design-divi/
*/

/* 
** Limiter les marges gauche et droite sur calendrier TB
*/
.et-learn-more .learn-more-content {
    padding: 30px 3px 20px;
    visibility: hidden;
    border-top: 1px solid #e7e7e7;
}

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
	 h2, h2.et_pb_toggle_title { 
 	font-size: 26px !important;
    line-height: 1em;
}
    h3.et_pb_toggle_title { 

 	font-size: 20px !important;
    line-height: 1em;}
    h4, .et_pb_circle_counter h3, .et_pb_number_counter h3, .et_pb_column_1_3 .et_pb_post h2, .et_pb_column_1_4 .et_pb_post h2, .et_pb_blog_grid h2, .et_pb_column_1_3 .et_quote_content blockquote p, .et_pb_column_3_8 .et_quote_content blockquote p, .et_pb_column_1_4 .et_quote_content blockquote p, .et_pb_blog_grid .et_quote_content blockquote p, .et_pb_column_1_3 .et_link_content h2, .et_pb_column_3_8 .et_link_content h2, .et_pb_column_1_4 .et_link_content h2, .et_pb_blog_grid .et_link_content h2, .et_pb_column_1_3 .et_audio_content h2, .et_pb_column_3_8 .et_audio_content h2, .et_pb_column_1_4 .et_audio_content h2, .et_pb_blog_grid .et_audio_content h2, .et_pb_column_3_8 .et_pb_audio_module_content h2, .et_pb_column_1_3 .et_pb_audio_module_content h2, .et_pb_gallery_grid .et_pb_gallery_item h3, .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2
{  
 	color: #101010!important;
 	font-size: 20px !important;
    line-height: 1em;}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}
/*blog
*/


  .dct_blog_v1 .et_pb_post {
    padding:0;
    position: relative;
	overflow: hidden;
  }
.dct_blog_v1 .et_pb_post .entry-featured-image-url {
	overflow: hidden;
	border-radius: 3px
}
.dct_blog_v1 .et_pb_post .entry-featured-image-url .entry-featured-image-url {
	margin-bottom: 0
}
.dct_blog_v1 .et_pb_post .post-meta .published {
	color: #000
}
  .dct_blog_v1 .et_pb_post .post-meta a{color:#04989e}
.dct_blog_v1 .et_pb_post .post-content .more-link:before {
	content: "\\\\45";
	font-family: ETmodules!important;
	color: #fff;
	right: -23px;
	position: absolute;
	top: 6px;
	background: #04989e;
	border-radius: 50%;
	font-size: 13px;
	width: 15px;
	height: 15px;
	text-align: center;
	padding: 2px;
	line-height: 15px
}

.dct_blog_v1 .et_pb_post .post-content .more-link:after {
	position: absolute;
	content: "";
	display: block;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: #04989e;
	transition: all .3s ease 0s
}

.dct_blog_v1 .et_pb_post .post-content .more-link:hover:after {
	width: 100%
}
.dct_blog_v1 .et_pb_post .et_pb_image_container {
	margin-bottom: 10px!important;
	margin: 0
}

.dct_blog_v1 .et_pb_post .post-meta .published {
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 9;
	background-color: #04989e;
	color: #fff;
	line-height: 1;
	text-align: center;
	width: 44px;
	line-height: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.dct_blog_v1 .et_pb_post .post-meta .published:before {
	position: absolute;
	content: "";
	background-color: rgba(250, 250, 250, .5);
	width: 20px;
	height: 2px;
	right: calc(50% - 10px);
	top: 7px;
}

.dct_blog_v1 .et_pb_post .post-meta .published:after {
	position: absolute;
	content: "";
	right: 0;
	bottom: -9px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 9px 10px 0 0;
	border-color: #00888e transparent transparent transparent;
	border-top-color: #00888e;
	box-sizing: border-box;
}
.dct_blog_v1 .et_pb_post .entry-featured-image-url .et_overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	border: none;
	-webkit-transform: scale(2) translateX(-75%) translateY(-75%) translateZ(0) rotate(-28deg);
	transform: scale(2) translateX(-75%) translateY(-75%) translateZ(0) rotate(-28deg);
	transition: -webkit-transform 3s cubic-bezier(.23, 1, .32, 1);
	transition: transform 3s cubic-bezier(.23, 1, .32, 1);
	transition: transform 3s cubic-bezier(.23, 1, .32, 1), -webkit-transform 3s cubic-bezier(.23, 1, .32, 1);
    opacity: 0.8;
}

.dct_blog_v1 .et_pb_post:hover .entry-featured-image-url .et_overlay {
	-webkit-transform: scale(2) translateX(0) translateY(0) translateZ(0) rotate(-28deg);
	transform: scale(2) translateX(0) translateY(0) translateZ(0) rotate(-28deg)
}

.dct_blog_v1 .et_pb_post .entry-featured-image-url .et_overlay:before {
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 10px;
	padding: 9px;
	border-radius: 50%;
	background: #04989e;
	margin: 0
}
  .dct_blog_v1 .pagination .alignleft,
.dct_blog_v1 .pagination .alignright {
	overflow: hidden;
	width: auto;
	margin: 0 auto;
	float: none;
	text-align: center;
	display: inline-block;
	line-height: 50px
}

.dct_blog_v1 .pagination .alignleft a,
.dct_blog_v1 .pagination .alignright a {
	background-color: #04989e;
	padding: 10px 22px!important;
	border: none!important;
	border-radius: 0;
	overflow: hidden;
	position: relative;
	z-index: 1;
	transition: all .5s !important;
}

.dct_blog_v1 .pagination .alignleft a:hover,
.dct_blog_v1 .pagination .alignright a:hover {
	color: #fff;
	text-shadow: 0 0 3px #ffffff;
	background-color: #00888e;
	box-shadow: 10px 10px 10px rgba(0, 0, 0, .2)

}

}