/*
 Theme Name:   Divi Child Theme
 Theme URI:    http://ecrantotal.eu/
 Description:  Theme enfant de test avec Divi
 Author:       EcranTotal
 Author URI:   http://ecrantotal.eu/
 Template:     Divi
 Version:      1.0.0
*/

/* ---------------------- TYPOGRAPHIE ---------------------- */


/*    GENERAL    */


@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700');

* {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}
/* 
#main-header {
    border: white 3px solid;
    box-shadow: none;
}
 */

/* Correction logo Divi - desktop & tablette */
#logo {
  height: auto !important;
  max-height: 90px !important;
  width: auto !important;
}

/* Sécurité responsive */
@media (max-width: 1360px) {
  #logo {
    max-height: 60px !important;
  }
}

/* Masquer le logo en mobile */
@media (max-width: 980px) {
  .logo_container {
    display: none !important;
  }
}


/* Réserve l’espace de la scrollbar pour empêcher le layout shift */

i {
	font-family: 'Libre Baskerville', serif;
}

a {
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
	font-weight: 400;
	color: #c6c1d1;
}

/* #main-header {
	z-index: inherit;
} */

h1, h2, h3, h4 {
	text-align: center;
	font-family: 'Libre Baskerville', serif;
	font-style: italic;
}

h1 {
	margin: 15px;
}

h2 {
	margin: 0 0 30px;
}

.styleh3 {
	display: block;
	font-style: normal;
	font-size: 0.7em;
	color: #5a5561;
	letter-spacing: 0;
}

h3::before {
	content: '';
	background-color: #c6c1d1;
	height: 2px;
	width: 100px;
	display: block;
	position: absolute;
	top: -20%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h3::after {
	content: '';
	background-color: #c6c1d1;
	height: 2px;
	width: 100px;
	display: block;
	position: absolute;
	bottom: -15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* a {
	opacity: 1;
	transition: 0.5s;
}

a:hover {
	opacity: 0.5;
}
 */
/* On cache le logo immédiatement sur toutes les pages */
#logo {
	visibility: hidden;
}


.nav_rapide a {
	font-family: 'Roboto';
	font-weight: 600;
	font-size: 0.85em;
	font-style: normal;
	text-transform: uppercase;
}

/* SLIDER */

.et_pb_slide {
	padding: 0;
}

.et_pb_slider_container_inner:nth-child(1) {
	margin: 0 !important;
}

.et_pb_column_1_2 .et_pb_slide_image, .et_pb_column_1_2 .et_pb_slide_video, .et_pb_column_1_3 .et_pb_slide_image, .et_pb_column_1_3 .et_pb_slide_video, .et_pb_column_1_4 .et_pb_slide_image, .et_pb_column_1_4 .et_pb_slide_video, .et_pb_column_3_8 .et_pb_slide_image, .et_pb_column_3_8 .et_pb_slide_video {
	margin: 0 !important;
}

div .et_pb_slide .et_pb_slide_0 .et_pb_bg_layout_dark .et_pb_slide_with_image .et_pb_media_alignment_center .t-pb-active-slide:nth-child(1) {
	margin: 0 !important;
}

body #page-container .et_pb_button_0, body #page-container .et_pb_button_1, body #page-container .et_pb_button_2, body #page-container .et_pb_button_3 {
	transition: 0.5s;
}


/* Module avec 2 colonnes : texte à gauche, CTA à droite classe pour que le texte soit centrer verticalement*/
/* On cible la row qui contient les 2 colonnes */
.module-center {
	display: flex;
	align-items: center;
	/* Centre verticalement les 2 colonnes */
}

/* La colonne de droite (CTA) : contenu en colonne */
.module-center .col-cta  {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.module-center .col-cta .et_pb_promo_description {
	margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 980px) {
	.module-center {
		flex-direction: column;
		align-items: stretch;
	}

	.module-center .col-cta {
		width: 100% !important;
		margin-bottom: 30px;
	}
}

.btn-one-line {
	white-space: nowrap !important;
	display: inline-block !important;
	width: auto !important;
	max-width: none !important;
	overflow: visible !important;
	/* Laisse dépasser le texte */
}

@media (max-width: 480px) {
	.btn-one-line {
		white-space: normal !important;
		/* Autorise la coupure si nécessaire */
		text-align: center;
	}
}

#page-container {
	padding-top: 114px !important;
}

/* Corrige le décalage du header Divi avec ou sans barre d’admin */
#main-header {
	top: 0 !important;
}

body.admin-bar #main-header {
	top: 32px !important;
	/* espace quand la barre WP est affichée */
}

/* Ajustement pour écrans mobiles où la barre WP fait 46px */
@media screen and (max-width: 782px) {
	body.admin-bar #main-header {
		top: 46px !important;
	}
}

/*    Menu    */
.sub-menu {
	width: 24em !important;
}

#top-menu li li a {
		width: 100% !important;
	}

/* Forcer une hauteur stable sur toutes les sections avec image de fond */
.et_pb_section.et_pb_with_background {
	min-height: 270px;
	/* adapte la valeur selon ton design */
	background-size: cover;
	background-position: center;
}


/*    PAGE ACCUEIL    */

/* .accueil a {
    display: block;
    width: 100%;
} */

.accueil h1 {
	color: #5a5561;
	background-color:  rgba(255,255,255,0.95);
	display: inline-block;
	padding: 15px;
	margin: 0;
	line-height: 120%;
}

.title_accueil {
	padding: 15px;
	color: #5a5561;
}

.title_accueil h1 {
	padding: 0 !important;
	margin: 0 10px 0 10px;
}

@media (max-width: 980px) {
	.title_accueil h1 {
		font-size: 1em;
	}
}

@media (max-width: 980px) {
.et_pb_row .et_pb_column .et_pb_module.et-last-child, .et_pb_row .et_pb_column .et_pb_module:last-child, .et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child, .et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child {
    position: relative;
    left: 0;
	bottom: 0;
	transform: translateX(0);
	margin-top: 50px;
	padding: 0;
}
}


.et_pb_section .et_pb_column .et_pb_module {
	margin-bottom: 0;
}

@media (min-width: 981px) {
.et_pb_gutters2 .et_pb_column_1_2 .et_pb_module, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_module, .et_section_specialty .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_module, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_module {
	margin-bottom: 10px;
}
}

.reserverStyle {
	border: white 1px solid;
	transition: .5s;
	padding: 10px 0;
}

.reserverStyle:hover {
	border: #c6c1d1 1px solid;
}


.reserverStylemob {
	border: #c6c1d1 1px solid;
	padding: 10px 0;
	color: white !important;
}


/*    PAGE HOTEL    */

.reserverStyle2 {
	border: white 1px solid;
	transition: .5s;
	padding: 10px 0 7px 0;
}

.reserverStyleh2 {
	padding-bottom: 10px !important;
}

#greenall{
	color: #233c1f !important;
	border-color: #233c1f !important;
}

.hotel .greenall{
	color: #233c1f !important;
	border-color: #233c1f !important;
}

.hotel h1 {
	font-size: 4em;
	color: #ffffff;
}

.hotel h2 {
	color: #233c1f;;
}

.hotel h3 {
	color: #233c1f;;
}

.hotel h3::before {
	background-color: #233c1f;;
}

.hotel h3::after {
	background-color: #233c1f;;
}

.hotel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 170%;
  font-size: 1em;
}

.hotel li {
  padding-left: 1em; 
  text-indent: 0em;
}

.hotel li::before {
  content: "• ";
  color: #233c1f;;
}


.hotel_blanc {
	color: white !important;
}

.hotel_blanc h3 {
	color: white;
}


.hotel_blanc h3:after {
	background-color: transparent;
}

.hotel_blanc h3:before {
	background-color: transparent;
}

.hotel_blanc h4 {
	color: white;
	text-align: left;
}

.hotel_blanc h4:before {
	background-color: transparent;
}

.hotel_blanc h3 .styleh3 {
	color: white;
}

.hotel_blanc_2 h4 {
	color: white;
}

.hotel_blanc_2 h4:before {
	content: none;
}

.forfait h5 {
	color: #233c1f;;
}


/*    CHAMBRES    */

.twin h2 {
	color: #ffffff;
}



/*    PAGE RESTAURANT    */

.restaurant h1 {
	font-size: 4em;
	color: #ffffff;
}

.restaurant h2 {
	color: #3c5063;
}

.restaurant h3 {
	color: #3c5063;
}

.restaurant h3::before {
	background-color: #3c5063;
}

.restaurant h3::after {
	background-color: #3c5063;
}

.menus h4 {
	font-size: 2em;
	margin-bottom: 15px;
}

.menus p {
	line-height: 100%;
}

.menus h4:before {
	content: none;
}

.restaurant h5 {
	color: #3c5063;
}

.formules {
	color: #ffffff !important;
	text-align: center;
}

.formules h4 {
	color: white !important;
}

.formules h4:before {
	background-color: white !important;
}

.formules h5 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	color: white;
}

/*    PAGE PISCINE    */

.piscine h1 {
	font-size: 4em;
	color: #ffffff;
}

.piscine h2 {
	color: #009aaf;
}

.piscine h3 {
	color: #009aaf;
}

.piscine h3::before {
	background-color: #009aaf;
}

.piscine h3::after {
	background-color: #009aaf;
}

.piscine h4 {
	color: #009aaf;
	text-align: left;
}

.piscine h4:before {
	content: none;
}

.piscine h5 {
	color: #5a5561;
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-style: normal;
}

/* div.et_pb_gallery_item .et_pb_grid_item .et_pb_bg_layout_light {
	align-items: center;
	left: 50%;
	transform: translateX(-50%);
} */

/*    PAGE EVENEMENTS    */

.event ul {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 170%;
	font-size: 1em;
}

.event li {
	padding-left: 1em;
	text-indent: 0em;
}

.event li::before {
	content: "• ";
	color: #c9b169;
}


.evenements h1 {
	font-size: 4em;
	color: #ffffff;
}

.evenements h2 {
	color: #c9b169;
}

.evenements h3 {
	color: #c9b169;
}

.evenements h3::before {
	background-color: #c9b169;
}

.evenements h3::after {
	background-color: #c9b169;
}

.evenements a {
	color: #c9b169;
}

.evenements .quote {
	font-family: 'Libre Baskerville';
	font-size: 20px;
	font-weight: 400;
	font-style: italic;
	text-align: center;
	color: #c6c1d1;
}

.et_pb_button_0, .et_pb_button_1, .et_pb_button_2, .et_pb_button_3, .et_pb_button_4 {
	width: 200px;
	text-align: center;
}

.evenements h3:before,.evenements h3:after {
	content: none;
}

.evenements h4:before {
	content: none;
}

.evenements h4 {
	color: #c9b169;
}

/*          PAGE PISCINE          */

.piscine_fermee {
	padding: 15px;
	background-color: #f4f2f6;
	font-family: 'Libre Baskerville';
	font-style: italic;
	text-align: center;
	margin-top: 50px;
}

/* .piscine .et_pb_button_0 {
    background-color: #0095be;
    color: white;
    border: none;
    display: block;
    width: 250px;
    border-radius: 0;
	opacity: 1;
	margin-top: 15px;
}

.piscine .et_pb_button_0:hover {
    background-color: #0095be;
    color: white;
    border: none;
    display: block;
    width: 250px;
    border-radius: 0;
	opacity: 0.5;
} */

/*          PAGE ACTUALITES          */

.et_pb_blog_grid .et_pb_post {
	border: none;
	border-bottom: #f4f2f6 solid 3px;
}

.actu h1 {
	font-size: 4em;
	color: #ffffff;
}

/*    PAGE CONTACT    */

.contact h1 {
	font-size: 4em;
	color: #ffffff;
}

.contact {
	color: #ffffff;
	text-align: center !important;
}

/* QUOTES */

.quote {
	font-family: 'Libre Baskerville';
	font-size: 20px;
	font-weight: 400;
	font-style: italic;
	text-align: center;
	color: #c6c1d1;
}

.hotel .quote {
	font-family: 'Libre Baskerville';
	font-size: 20px;
	font-weight: 400;
	font-style: italic;
	text-align: center;
	color: #ca174e;
}

/* ACCORDEON */

.section_1 .accordion h2 {
	color: #ffffff !important;
}

.border-acc {
	border: #ffffff solid 2px;
}

/* ----------- ACCORDEONS ---------- */
/* BASE */
.accordion {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  overflow: hidden;
  margin: 0 auto;
}

.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 16.666%;
  height: 500px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all 500ms ease;
  border-left: #ffffff solid 3px;
}

.accordion ul li span {
  display: block;
  overflow: hidden;
  width: 100%;
}

.accordion ul li span a {
  display: block;
  height: 500px;
  width: 100%;
  position: relative;
  z-index: 3;
  vertical-align: bottom;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 200ms ease;
}

.accordion ul li span a * {
  opacity: 1;
  margin: 0;
  width: 100%;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}

.accordion ul li span a h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 20px;
  text-align: center;
  color: #ffffff;
  letter-spacing: 4px;
  font-style: italic;
  text-overflow: clip;
  padding: 5px;
  top: 450px;
  display: inline;
  left: 5%;
  border: #ffffff solid 2px;
}

.accordion ul li span a h2:after {
  content: ">";
  margin-left: 7px;
}

/* IMAGES */

.accordion ul li:nth-child(1) {
	background-image: url(http://localhost/lecanardsurletoit/content/uploads/2018/09/Le-Canard-sur-le-Toit024.jpg);
}

.accordion ul li:nth-child(2) {
	background-image: url(http://localhost/lecanardsurletoit/content/uploads/2018/09/DSC01097-1.jpg);
}

.accordion ul li:nth-child(3) {
	background-image: url(http://localhost/lecanardsurletoit/content/uploads/2018/09/Photo-18.png);
}

/* EFFETS CS3 */

.accordion ul:hover li { width: 20%; }

.accordion ul:hover li:hover { width: 60%; }

.accordion ul:hover li:hover a { background: rgba(0, 0, 0, 0.4); }

.accordion ul:hover li:hover a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

/* RESPONSIVE */

@media screen and (max-width: 600px) {

.accordion { height: auto; }

.accordion ul li,
.accordion ul li:hover,
.accordion ul:hover li,
.accordion ul:hover li:hover {
  position: relative;
  display: table;
  table-layout: fixed;
  width: 100%;
  -webkit-transition: none;
  transition: none;
}

}

/* ----------- ONGLETS ----------- */

.et_pb_tabs {
	border: none !important;
}

.et_pb_tabs_controls li.et_pb_tab_active {
	background: #233c1f;
}

.et_pb_tabs_controls li.et_pb_tab_active a {
	color: #ffffff !important;
}

.et_pb_tabs_controls li {
	border-right: none !important;
	border-bottom: #233c1f solid 3px;
	margin-right: 10px;
	width: 24%;
}

.et_pb_tabs_controls li a {
	width: 18%;
	text-align: center;
	color: #233c1f !important;
}

ul.et_pb_tabs_controls {
	background: none !important;
}

ul.et_pb_tabs_controls:after {
	border-top: none;
}

.et_pb_tab {
	padding: 10px !important;
}

.containerOnglets{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.itemOngletsText {
  width: 50%;
	padding: 2%;
}

.itemOngletsText .quote {
	color: #233c1f;
}

.itemOngletsImage {
  width: 48%;
}

@media only screen and (max-width: 1170px) {
	.et_pb_tabs_controls li.et_pb_tab_active {
		margin: 0;
	}

	.et_pb_tabs_controls li {
		margin-right: 0;
		width: 100%;
	}
	.containerOnglets{
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: center;
	  width: 100%;
	}

	.itemOngletsText {
	  width: 100%;
	}

	.itemOngletsImage {
	  width: 100%;
	}
}

/* ----------- PRES DE CHEZ NOUS ----------- */

.cheznous img {
	width: 170px;
	height: auto;
}

.cheznous h2 {
	color: #5a5561;
}

@media screen and (max-width: 640px) {
	
.cheznous img {
	width: 80%;
	height: auto;
}
	

	
.containerChezNous {
	display: flex;
	flex-wrap: wrap;
	padding: 15% 0;
	text-align: center;
}
	
.wrapperChezNous {
	text-align: center;
	width: 48%;
}

.wrapperChezNousGauche {
	text-align: center;
}
	
.wrapperChezNousGauche img {
	width: 50%;
	margin-bottom: 15%;
}
	
.wrapperChezNousDroit {
	text-align: center;
}
}

@media screen and (min-width: 640px) {
	
.containerChezNous {
	display: flex;
	flex: wrap;
}

.wrapperChezNous {
	width: 30%;
	margin: 5% 0;
}

.wrapperChezNousGauche {
	width: 20%;
	padding-right: 5%;
	align-items: center;
}

.wrapperChezNousGauche img {
	width: 100%;
}

.wrapperChezNousDroit {
	width: 75%;
}
}






/* FORM */

.gform_wrapper h3.gform_title {
	display: none;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	padding: 10px !important;
    border: none;
}

.gform_wrapper .top_label div.ginput_container {
    margin-top: 0 !important;
}

.gform_wrapper ul.gform_fields li.gfield {
   	 padding: 0 !important;		
}

body .gform_wrapper ul li.gfield {
	margin: 5px !important;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
   	 width: 100% !important;
}

.gform_wrapper ul.gfield_checkbox li, .gform_wrapper ul.gfield_radio li {
	display: inline;
}

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
	background: transparent;
    border: white 2px solid;
    color: white;
	font-family: 'Libre Baskerville';
	font-style: italic;
	font-size: 1.5em !important;
	opacity: 1;
	cursor: pointer;
	margin: 0 50% !important;
    transform: translateX(-50%);
	padding: 5px 10px;
}

.gform_wrapper .gfield_required {
	color: #c6c1d1 !important;
}

/* ----------- FOOTER ----------- */

#footer-info {
	float: none !important;
	text-align: center;
}

.containerFooter{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
/*   padding-top: 3%; */
}

.itemFooter {
  width: 49%;
/*   padding: 0; */
}

.itemFooter a {
  font-family: 'Roboto' !important;
}

.et_pb_column_1_3 h4, .et_pb_column_1_4 h4 {
	margin-bottom: 10px;
	color: #5a5561;
	letter-spacing: 0;
}

h4::before {
	content: '';
	background-color: #c6c1d1;
	height: 2px;
	width: 50px;
	display: block;
	position: absolute;
	top: 25px;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 980px) {
.et_pb_module .et_pb_text .et_pb_text_7 .et_pb_bg_layout_light  .et_pb_text_align_left {
	margin-top: 0 !important;
	}
}

@media only screen and (max-width: 1170px) {
	.containerFooter{
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: center;
	  width: 100%;
	}

	.itemFooter {
	  width: 100%;
	}
}

@media (min-width: 1170px) {
	.footer .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
		margin: 0;
	}
}

@media (min-width: 1170px){
	.footer .et_pb_gutters2 .et_pb_column_1_3, .et_pb_gutters2.et_pb_row .et_pb_column_1_3 {
		width: 33%;
	}
}


/* DIAPO */

@media (min-width: 981px) {
.et_pb_gutters2 .et_pb_column_1_2, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 {
    width: 50%;
}
}

@media (min-width: 981px) {
.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {
    margin-right: 0;
}
}

@media (min-width: 981px) {
.et_pb_gutters3 .et_pb_column, .et_pb_gutters3.et_pb_row .et_pb_column {
    margin-right: 0;
}
}

/* ARTICLE BUG */

#recent-post-2 h4::before {
	content: none !important;
}

h4::before {
	content: none !important;
}


/* MODULE RESERVER */

.product_motor_bw {
    max-width: none !important;
}

.hotel .Moteur-Recherche {
    border: none !important;
    padding: 20px;
}
.bg-blue, .bg-gris-clair {
    background: #ddd8e5 !important;

}

.uk-button-primary {
    color: #233c1f!important;
    background: #ddd8e5 !important;
    border: 2px solid #233c1f !important;
    border-radius: 0 !important;
    font-family: 'Libre Baskerville' !important;
    font-style: italic !important;
    font-weight: 300 !important;
}

.product_motor_bw .Moteur-Recherche .encartBlanc.bt-encart {
    margin-bottom: 0 !important;
}
.Moteur-Recherche .encartBlanc.bt-encart {
    margin-bottom: 0 !important;
}


#reservez #main {
    width: 300px !important;
    height: 400px !important;
    min-width: 300px !important;
    min-height: 400px !important;
    max-width: 300px !important;
    max-height: 400px !important;
    position: absolute;
    left: 50%;
    margin-left: -160px;
	overflow: hidden !important; 
}

#fancybox-content {
	border-width: 5px !important;
    width: 340px !important;
    height: 520px !important;
    background: white !important;
}
