/*
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
*/

@font-face {
    font-family: 'goodtimesrg';
    src: url('goodtimesrg.eot');
    src: url('goodtimesrg.eot?#iefix') format('embedded-opentype'),
         url('goodtimesrg.woff2') format('woff2'),
         url('goodtimesrg.woff') format('woff'),
         url('goodtimesrg.ttf') format('truetype'),
         url('goodtimesrg.svg#goodtimesrg') format('svg');
    font-weight: normal;
    font-style: normal;
}
/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ 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 : 
*/

#col-menu1{
    margin-bottom: 0 !important;
}


/* 
** 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%;
}

/*CENTRER VERTICALEMENT LES CONTENUS */
.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  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;
}


/*TEMPLATE 1 SLIDER IMAGE A DROITE*/
.et_pb_slide_description { float:left !important; padding-left:100px !important }
.et_pb_slide_image { right:50px; }


/*LABELS DES MENUS*/
.nav li a span {
	display: block;
	width: 100%;
	font-size: 80%;
	font-style: italic;
	letter-spacing: 1px;
	line-height: 1.7em;
	text-align: center;
}
.nav #menuspan span {
    display: block;
    width: 100%;
    font-size: 80%;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.7em;
    text-align: center;
}


.et-menu li li.menu-item-has-children > a:first-child::after{
    top: 6px;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-page-ancestor  {
  color: #04214f !important;
  }

/*TIMELINE BAFA*/
@media (min-width: 768px){
.timeline-badge .et-pb-icon-circle{
	padding: 22px;
    font-size: 37px;
	}
}

.bafa-info{
	background: #39A9DC;
	padding: 10px 20px;
}
#bafa .timeline .timeline-panel {
	padding: 20px 20px 30px;
}

/* Divi Vertical Tabs 2 */

.vertical-tabs2 {
    border: none;
}

.vertical-tabs2 ul.et_pb_tabs_controls {
    float: left;
    width: 30%;
    margin-right: 3%;
    background: transparent;
}

.vertical-tabs2 ul.et_pb_tabs_controls:after {
    content: none;
}

.vertical-tabs2 .et_pb_tabs_controls li {
    width: 100%;
    border-right: none;
    border: 2px solid transparent;
    background: #f4f4f4;
}

.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active {
    border: 2px solid #133362;
    background: #133362;
}

.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active:after {
    top: 50%;
    right: -40px;
    border: solid transparent;
    content: " ";
    position: absolute;
    border-color: transparent;
    border-left-color: #133362 ;
    border-width: 20px;
    margin-top: -20px;
}

.vertical-tabs2 .et_pb_tabs_controls li a {
    padding: 24px;
}

.vertical-tabs2 .et_pb_tabs_controls li.et_pb_tab_active a {
    color: #ffffff !important;
}

.vertical-tabs2 .et_pb_tab {
    padding: 0;
}

.vertical-tabs2 .et_pb_tab_content {
    display: flex;
    flex-wrap: wrap;
}

@media(max-width:767px) {    
    .vertical-tabs2 ul.et_pb_tabs_controls {
        width: 100%;
        margin-bottom: 30px;
        margin-right: 0;
    }
    
    .vertical-tabs2 .et_pb_tabs_controls li {
        border-bottom: none;
    }
    
    .vertical-tabs2 .et_pb_tab {
        padding: 0;
    }
  
    .vertical-tabs2 .et_pb_tab_content {
        display: block;
    }    
}

/*image aspect ratio square 1:1*/

.pa-image-1-1 .et_pb_image_wrap {
padding-top: 100%;
display: block;
}

.pa-image-1-1 .et_pb_image_wrap img {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
object-fit: cover;
}

/*FORMULAIRE CONTACT BOUTON ALIGNE DROITE*/

#form-submit{
margin-left: auto !important;
margin-right: 0 !important;
}

/*breadcrumb home*/
.breadcrumb-home .home span{display: none;
}

/*padding articles
body:not(.et-tb) #main-content .container{
padding-top: 10em;
}*/