/*
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
*/


.et_pb_section_video{overflow: visible !important;}
body, body #page-container {
	overflow-x: hidden;
}

.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%;
}



/* CSS GENERAL */
a {
	color: #000;
}

a:hover {
	color: rgba(0,0,0,.6);
}

/* Header */
.et_pb_fullwidth_menu--style-left_aligned .et_pb_menu__logo-wrap, .et_pb_menu--style-left_aligned .et_pb_menu__logo-wrap {
	align-items: flex-end!important;
}

#menu-main ul li a {
    font-weight: 400;
    text-transform: none;
    font-size: 15px !important;
    color: #4E0C20 !important;
	font-family: "DM Sans";

}

#reservation span:first-of-type {
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;	 
}

#reservation a {
	width: 100%;
	padding-top: 18px;
	padding-bottom: 18px; 
}

.icon_house:before {
	/*content: "\e074";*/
	font-family: 'ETModules';
	content: "\e009";
	color: #d3004d;
}

.icon_pin:before {
	font-family: 'ETModules';
	content: "\e081";
	color: #d3004d;
}

.icon_tel:before {
	font-family: 'ETModules';
	content: "\e090";
	color: #d3004d;
}

ul#menu-main, ul#menu-main-anglais {
	margin-top: 155px;
}

.et_pb_column--with-menu {
    z-index: 1;
}

.et_pb_column_1_tb_header, .et_pb_row_0_tb_header {
	z-index: 1000!important;
}

/*.et_pb_section_0_tb_header, .et-l--header {
	max-height: 230px;
}*/

#reservation-ligne .et_pb_toggle_0_tb_header {
	background-color: #d3004d;
	border-color: #d3004d;
	margin-bottom: 4px;
}

#reservation-ligne h5, #reservation-ligne p {
	color: #fff;
	padding-bottom: 0;
}

#reservation-ligne .et_pb_toggle_title:before {
	background-color: #d3004d;
	color: #fff;
	font-size: 26px;
}

#reservation-ligne label, #reservation-ligne a {
	color: #fff;
}

#reservation-ligne a {
	text-decoration: underline;
}

#menu-main .et-menu li a {
    width: max-content!important;
}

#menu-main .et-menu li {
	display: block!important;
}

#menu-main .nav li ul {
	width: fit-content!important;
}

#reservation-ligne input[type=text] {
	border-radius: 4px;
	margin-bottom: 4px;
	width: 100%;
}

#reservation-ligne input[type=number] {
	border-radius: 4px;
	width: 100%;
	border: none;
	text-align: right;	
}

#reservation-ligne button {
	background-color: #000; 
	color: #fff;
	font-size: 12px;
	border: none;
	width: 100%;
	margin-top: 32px;
}

#reservation-ligne button:after {
	font-size: 12px;
	padding-top: 4px;
    padding-left: 4px;
}

#reservation-ligne #valid-form-reservation {
	padding-top: 32px;
}

/* Footer */
a#powered {
	color: #fff;
}

#button-promenade {
	content: '';
	background-image: url(/wp-content/uploads/2021/05/oeil.png);
	background-size: auto;
	background-position-x: 8px;
	padding-left: 54px;
}


#cont_d313dfad17cfb6d68c676fbce053341e {
	margin: 0!important;
}

/* Accueil */

#articlesAccueil .et_pb_ajax_pagination_container {
	display: flex;
}

#articlesAccueil article a.entry-featured-image-url {
	/*height: 300px;*/
	margin-bottom: 12px;
	display: table-cell;
    vertical-align: bottom;
}

#articlesAccueil article img {
	aspect-ratio: 400 / 250;
	object-fit: cover;
	object-position: center;
}

#articlesAccueil h2 {
	margin-top: 12px;
}

/* Detail d une suite ou d une chambre */
.galeriePhotos li {
	justify-content: right!important;
    direction: rtl;
}

.galeriePhotos span.dsm_icon_list_text {
	padding-right: 12px;
}

.galeriePhotos .dsm_icon_list_items {
	margin-right: -1px!important;
}


.tirets h2 {
    position: relative;
}

.tirets h2:after {
	position: absolute;
    top: 51%;
    overflow: hidden;
    width: 9999px;
    height: 1px;
    content: '\a0';
    background-color: #9b8760;
	left: 100%;
}

.tiretsInverse h2 {
	position: relative;
}

.tiretsInverse h2:before {
	position: absolute;
    top: 51%;
    overflow: hidden;
    width: 100%;
    height: 1px;
    content: '\a0';
    background-color: #9b8760;
    margin-left: -100%;
    text-align: right;
}
 
.tiretsNormal h2, h3.gsection_title {
	position: relative;
}

.tiretsNormal h2:after, h3.gsection_title:after {
	position: absolute;
    top: 51%;
    overflow: hidden;
    width: 9999px;
    height: 1px;
    content: '\a0';
    background-color: #9b8760;
}

h3.gsection_title {
	font-family: 'Gilda Display',Georgia,"Times New Roman",serif;
    font-size: 42px;
    color: #9b8760!important;
	margin-top: 64px;
}

.gfield_consent_label {
	font-weight: bold;
}

#listePrestations img {
	height: 40px;
}


.et_pb_column_5 {
    padding-top: 0px!important;
}

#mobile_menu2, .et_mobile_menu {
	height: 36vh!important;
	overflow: scroll!important;
}

#reservation-ligne {
	max-width: 100%;
}

.wptb-table-container table {
	border-right: 2px solid rgb(209, 209, 209)!important;
	border-bottom: 2px solid rgb(209, 209, 209)!important;
}

/* FORMULAIRES */
.noUi-handle, .noUi-connects { 
	background: #d3004d!important;
}

#input_1_18 {
	display: none;
}

#field_1_18 label {
	margin-top: 30px;
}

.gform_body input, .gform_body select, .gform_body textarea {
	border-radius: 4px;
	border: 1px solid #d3004d;
}

.gform_footer input[type=submit] {
	color: #FFFFFF;
	border-width: 0px;
	background-color: #d3004d;
	font-size: 20px;
	font-weight: 500;
	padding: .3em 1em;
	border-radius: 3px;
}

#menu-main-anglais {
	min-width: 916px;
}

#web-menu.et_pb_sticky img {
	height: 160px;
	width: auto;
}

.et_pb_column_47 .map, .et_pb_column_47 canvas {
	width: 100%!important;
}

@media (max-width: 400px) {
	

	#articlesAccueil .et_pb_ajax_pagination_container {
		flex-direction: column;
	}

	

	.gfield_label {
		font-size: 12px!important;
	}
	
	
}

@media (max-width: 768px) {
	#articlesAccueil .et_pb_ajax_pagination_container {
		flex-direction: column;
	}
}

@media (max-width: 479px) {
	#reservation-ligne {
		max-width: 50%;
	}

	#listePrestations .et_pb_row .et_pb_column.et_pb_column_1_6 {
		width: 50%!important;
	}

	#reservation-ligne p {
		display: none;
	}

	#reservation-ligne {
		margin-top : -72px!important;
	}

	#reservation-ligne h5 {
		font-size: 10px;
	}

	#language {
		margin-top: -16px!important; 
	}

	

}

@media (max-width: 980px) { 
	/* Ajout Olivier le 18-01 en test à mettre en prod */
	#menu-main .et_pb_menu__wrap {
		width: 20%!important;
		max-width: 20%!important;
	}

	#menu-main .et_pb_menu__logo-wrap {
		width: 80%!important;
		max-width: 80%!important;
	}

	#menu-main .et_pb_menu_inner_container {
		width: 100%!important;
	}

	#menu-main {
		min-width: 100%!important;
	}
	
	.et_pb_sticky .et_pb_menu__logo img {
		width: auto;
		height: 145px!important;
	}
	
	.et_pb_sticky .et_pb_code_1_tb_header {
		display: none!important;
	}
	
	/*.et_pb_menu .et_mobile_menu {
		top: 145%!important;
	}*/
	
	.et_pb_menu .et_mobile_menu {
		top: 96%!important;
	}
	
	.et_pb_row_2_tb_header {
		z-index: 3000!important;
	}
}

@media only screen and (max-width: 1816px) {
	
} 

@media only screen and (min-width: 769px) and (max-width: 1743px) {
	#language {
		margin-top: -32px!important;
		z-index: 100000;
	}

	#reservation {
		margin-top: -95px!important;
		z-index: 100000;
	}

	.et_pb_column_2_tb_header {
		z-index: 100000;
	}

	div#menu-main {
		width: 1700px;
		z-index: 1000;
	}

	ul#menu-main {
		z-index: 1000;
	}

	.et_pb_column_3_tb_header {
		z-index: 100000;
	}
}

@media only screen and (max-width: 1671px) {
	#menu-main ul li a {
		font-size: 9px!important;
	}
}

@media only screen and (max-width: 1598px) {
	#menu-main ul li a {
		font-size: 8px!important;
	}
}

@media screen and (min-width: 1598px) {
	.et_pb_menu .et_pb_menu__menu>nav>ul>li {
		padding: 0 10px !important;
	}
}

/*@media only screen and (max-width: 1526px) {
	.top-menu-nav, .top-menu {display: none!important;}
	.et_mobile_nav_menu {display: block!important;}
}*/
 

.details-bien {
    display: flex;
    gap: 20px;
    font-family: Arial, sans-serif;
    color: #593133;
	justify-content: space-between;
}

.details-bien .detail-item {
    text-align: left;
	display: flex;
	gap:10px;
	align-items: end;
}

.details-bien .detail-item .icon {
    display: block;
	width: 30px;
}

.details-bien .libelle{font-size:12px; font-family: "DM Sans"; font-weight: 300; color:#666666;}
.details-bien .superficie-icon {
    content: url('./img/icon_superficie.svg');
}

.details-bien .mesure-icon {
    content: url('./img/icon_mesures.svg');
}

.details-bien .lumiere-icon {
    content: url('./img/icon_sunlight.svg');
}
.details-bien p{line-height: 12px;}


.disposition-salle {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content:flex-start;
}

.disposition-item {
    width: calc(25% - 15px);
    text-align: left;
	display: flex;
	gap:10px;
}

.disposition-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.disposition-item p{line-height: 12px; color: #761131;}
.disposition-item .libelle{font-size:12px; font-family: "DM Sans"; font-weight: 300; color:#666666;}

@media screen and (max-width : 500px){
	.details-bien .detail-item {
		text-align: left;
		display: flex;
		gap:10px;
		align-items: center;
		flex-direction: column;
	}
	.details-bien .detail-item {
		text-align: center;
	}

	.disposition-item {
		width: calc(50% - 15px);
	}
}