/*
 Theme Name:   Divi-child
 Theme URI:    https://dpcfa.com/site/
 Description:  Dp Consultant
 Author:       Tim Messaoudene
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fifteen-child
*/

h1, h2, h3, h4, h5, h6{
    font-family: 'Quicksand', sans-serif;
}


#top-menu .atp-lien-personnalise a {
    padding: 10px !important;
    background: rgb(200, 200, 200);
    color: rgba(0, 0, 0, 0.6) !important;
    border-radius: 5px;
}  
#top-menu .atp-lien-personnalise a:hover {
	background: rgb(230, 230, 230);
	color: #27a8e0 !important;
	opacity: 1 !important;
} 

.noDisplay{
    display: none;
}

.backgroundBlue{
    background-color: #27a8e0;
}

.cf7md-item button{
	background-color: #27A8E0 !important;
}

.mdc-floating-label .mdc-floating-label--float-above{
	color: green !important;
}

.wpcf7-form-control .wcpf7-text .wcpf7-validates-as-required .mdc-text-field__input{
    color: green !important;
}

.event-title a{
    background: #27A8E0 !important;
    color: white !important;
}

.current-day{
    background: lightgray !important;
    color: white !important;
}



@media all and (max-width: 1280px)
{
    .et_pb_fullwidth_header_subhead{
        font-size: 2.5rem !important;
    }
    .et_pb_text_inner h4{
        font-size: 0.8rem !important;
    }
    .et_pb_text_inner h2{
        font-size: 1.5rem !important;
    }
    .post-content h4{
        font-size: 1.1rem !important;
    }
    .post-content p{
        font-size: 0.9rem !important;
    }
    .entry-title a{
        font-size: 1.5rem !important;
    }
    .et_pb_promo_description p{
        font-size: 1.5rem !important;
    }
    .et_pb_button_wrapper a{
        font-size: 1.2rem !important;
    }
}

@media all and (max-width: 1024px)
{
    .et_pb_fullwidth_header_subhead{
        font-size: 2rem !important;
    }
    .et_pb_text_inner h4{
        font-size: 0.8rem !important;
    }
    .et_pb_text_inner h2{
        font-size: 1.5rem !important;
    }
    .post-content h4{
        font-size: 1.1rem !important;
    }
    .post-content p{
        font-size: 0.9rem !important;
    }
    .entry-title a{
        font-size: 1.5rem !important;
    }
}

/* Divi community 

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