/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


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


/*
** 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%;
}
/* On réduit la hauteur du module blog */

#dc_blog .et_pb_post {
    padding-bottom: 0;
}

#dc_blog .et_pb_post .entry-featured-image-url,
#dc_blog .et_pb_image_container {
    margin-bottom: 0!important;
}

/* Position du titre, des meta et de l'extrait */

#dc_blog .title_plus_meta {
    position: absolute;
    bottom: auto;
    z-index: 10;
}

#dc_blog article.et_pb_post {
    position: relative;
}

#dc_blog .post-content {
    position: absolute;
    top: auto;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

/* Bonus : Catégorie dans un bloc */

#dc_blog .post-meta a[rel="tag"] {
    border: 1px solid #fff;
    border-left-width: 10px; 
    background-color: rgba(0,0,0,0.5);
    padding: 2px 10px;
    margin-right: 10px;
    border-radius:20px 0 0 20px;
}

/* Bonus : Petit dégradé en fond pour la lisibilté */

#dc_blog .et_pb_image_container:after {
    content:"";
    position: absolute;
    bottom:0;
    width:100%;
    height:35%;
    background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)),to(rgba(0,0,0,0.8)));
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 100%);  
}

/* Bonus : Bouton lire la suite */

#dc_blog .post-content-inner {
    margin-bottom: 5px;
}

#dc_blog .more-link {
    padding: 2px 10px;
    border: 1px solid #fff;
    -webkit-transition: all .3s;
         -o-transition: all .3s;
            transition: all .3s;
}

#dc_blog .more-link:hover {
    letter-spacing: 2px;
    padding: 2px 20px;
}

#entry-featured-image-url {
	border-radius: 10px 10px 10px 10px;
	}


.grecaptcha-badge {
    display: none;
}

.grecaptcha-badge { 
	visibility: hidden; 
}

