/*
Theme Name: Residence Eisenhower
Description: Theme enfant
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%;
}

.et_pb_text_inner a {text-decoration: underline;}

/* flèche bas */

#pagedownarrow {position: absolute;z-index: 2; /*top: calc(100vh - 50px);*/bottom: 25px; left: calc(50% - 25px);right: calc(50% - 25px);}
#pagedownarrow button {overflow: hidden; text-indent: -200px;background: transparent url('downarrow_b.png') center center no-repeat;margin: 0 auto;display: block;border: none;height: 50px;width: 50px;animation: attention 5s linear infinite;color: transparent;}
.home #pagedownarrow button {background-image: url('downarrow.png')}

@keyframes attention {
	0% { transform: translatey(0px);}
	90% { transform: translatey(0px);}
	95%{ transform: translatey(5px);}
	100% { transform: translatey(0px);}
}
#dd-hamburger {
	background-image: url('line.png');
	background-size: 23px 1px;
	background-position: center left;
    padding-bottom: 3px;
	padding-left: 16px;
}
#dd-close {
	background-image: url('cross.png');
	background-size: 21px 21px;
	background-position: center center;
	overflow: hidden;
	text-indent: -100px;
	width: 35px;
	height: 35px;
}
@media (max-width: 980px) {
	#dd-hamburger {
		background-image: url('burger.png');
		background-size: 22px 18px;
		background-position: right center;
		color: transparent;
		width: 30px;
		overflow: hidden;
		text-indent: -100px;
	}

	.et_pb_button_module_wrapper {text-align: center;}
	.et_pb_row {width: 90%;}
	body:not(.home) #pagedownarrow button {display: none;}
}

.flex-row {
	display: flex;
}
.flex-col-vertical {
	display: flex;
	flex-direction: column; 
	justify-content: space-between;
}