/******************************

TABLE OF CONTENTS :

- DIVI COMMUNITY
- 

******************************/





/******************************

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%;
}





/******************************

ROOT

******************************/

:root {
	--black: #221F21;
	--blue: #AAF3FF;
}

::selection {
	background-color: var(--blue);
	/* color: var(--green); */
}





/******************************

WPML

******************************/

.wpml-ls {
    border: none;
    padding: 0;
}

.wpml-ls > ul {
    padding: 0;
}

.wpml-ls-item + .wpml-ls-item {
    margin-left: 10px !important;
}

.wpml-ls-link {
    border: 2px solid #000;
    border-radius: 50%;
    overflow: hidden;
    padding: 0 !important;
}

.wpml-ls-flag {
    height: 30px;
    object-fit: cover;
    width: 30px;
}





/******************************

FORMINATOR

******************************/

.forminator-label {
	color: #fff;
	font-size: 1rem !important;
	text-transform: uppercase;
	font-family: 'oswald' !important;
}

.forminator-description {
	color: #fff;
}

.forminator-input,
.forminator-textarea {
	border: 1px solid #fff !important;
}

/* .forminator-required {
	color: var(--pink) !important;
} */

.forminator-button-submit {
	background-color: #fff;
	border-radius: 10px !important;
	box-shadow: none !important;
	font-weight: 700 !important;
	/* padding: 16 22px !important; */
}





/******************************

POST CONTENT

******************************/

.et_pb_post_content * {
    padding-bottom: 0;
}

.et_pb_post_content > *:first-child {
    margin-top: 0;
}

.et_pb_post_content > *:last-child {
    margin-bottom: 0;
}

.et_pb_post_content h2,
.et_pb_post_content h3,
.et_pb_post_content h4 {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.et_pb_post_content p {
    margin-top: 1em;
}

.et_pb_post_content ul {
    margin-top: 1em;
    padding-bottom: 0;
}

.et_pb_post_content figure {
    margin: 1em 0;
}





/******************************

HOME FRESCO

******************************/

.home-fresco {
	padding-top: 200px;
}

.home-fresco__container {
	animation: 
	play-fresco 30s linear infinite,
	reset-fresco 30s linear infinite;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: auto;
}

.home-fresco__image {
	display: block;
	height: 100%;
	max-width: none;
	width: auto;
}

.home-fresco__words {
	display: flex;
	height: 100%;
	left: 0;
	list-style: none !important;
	padding: 0 !important;
	position: absolute;
	top: 0;
	width: 100%;
}

.home-fresco__words li {
	height: 100%;
	position: relative;
	transition: opacity .3s;
	width: 100%;
}

.home-fresco__words div {
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(34, 31, 33, .3);
	left: 50%;
	padding: 12px 16px;
	position: absolute;
	top: 0;
	transform: translate(-50%, -50%);
	white-space: nowrap;
}

.home-fresco__words div::before {
	background-color: #fff;
	border-radius: 2px;
	content: '';
	height: 10px;
	left: 50%;
	position: absolute;
	top: 100%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 10px;
}

.home-fresco__words span {
	font-weight: 700;
	position: relative;
}

.home-fresco__words li[class*=m--] span::before {
	background: #fff center/cover no-repeat;
	border: 2px solid var(--black);
	border-radius: 50%;
	content: '';
	height: 24px;
	left: 50%;
	position: absolute;
	top: -12px;
	transform: translate(-50%, calc(-50% - 3px));
	width: 24px;
}

.home-fresco__words li.m--fr span::before {
	background-image: url('/wp-content/plugins/sitepress-multilingual-cms/res/flags/fr.svg');
}

.home-fresco__words li.m--it span::before {
	background-image: url('/wp-content/plugins/sitepress-multilingual-cms/res/flags/it.svg');
}

.home-fresco__words li.m--es span::before {
	background-image: url('/wp-content/plugins/sitepress-multilingual-cms/res/flags/es.svg');
}

@keyframes play-fresco {
	from {transform: translateX(0)}
  	to {transform: translateX(calc(-100% + 100vw))}
}

@keyframes reset-fresco {
	0% {opacity: 0}
	3%, 97% {opacity: 1}
  	100% {opacity: 0}
}





/******************************

MEDIA QUERIES

******************************/

@media (min-width: 980px) {

    /******************************
    HOME FRESCO
    ******************************/

	.home-fresco__words li div {
		transition: transform .3s;
	}

	.home-fresco__words li:hover div {
		transform: translate(-50%, calc(-50% - 10px));
	}

}