/* Style pour la fenêtre modale */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Définir l'opacité initiale à 0 */
    transition: background-color 0.5s ease; /* Ajouter une transition sur l'opacité */
    z-index: 1000;
}

/* Style pour le contenu de la fenêtre modale */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0); /* Fond totalement transparent */
    padding: 20px;
    text-align: center;
    z-index: 1001;
    opacity: 1; /* Définir l'opacité initiale à 1 */
    transition: opacity 0.5s ease; /* Ajouter une transition sur l'opacité */
	border: none; /* Ajoutez cette ligne pour supprimer la bordure */
}

/* Ajouter une classe pour cacher la fenêtre modale avec un effet fade */
.modal.fade-out {
    background-color: rgba(0, 0, 0, 0); /* Définir l'opacité à 0 lors de la fermeture */
    opacity: 0; /* Définir l'opacité à 0 lors de la fermeture */
}
/* Style pour le bouton de fermeture */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
}

container .fotorama{
	/*margin-bottom: 50px;*/
}

.container .r1{
	margin-bottom: 40px;
}

.container .r1 h4{
	color: #dc261e;
	font-size: 1.4em;
	margin-bottom: 24px;
	line-height: 24px;
}

.container .r1 p,
.container .r2 p{
	margin-bottom: 16px;
	line-height: 18px;
}

.container .r2 .left{
	margin-bottom: 20px;
}

.container .r1 img,
.container .r2 img{
	width: 100%;
	height: auto;
	border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/*
*booking form
*/
#booking-form{
	position: relative;
	/*top: -320px;
	height: 0;
	margin: 0 auto;*/
	margin: 30px auto;
	padding: 0 14px;
	color: #fff;
}

#booking-form:after{
	clear: both;
	content: '';
	display: table;
}

#booking-form section{
	/*position: absolute;
	width: calc(100% - 28px);*/
	display: block;
	padding: 24px;
	background: rgba(193, 26, 33, 0.9);

	-webkit-box-shadow: 0 2px 5px 2px #333;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	-moz-box-shadow:    0 2px 5px 2px #333;  /* Firefox 3.5 - 3.6 */
	box-shadow:         0 2px 5px 2px #333; 
}

#booking-form section:after{
	clear: both;
	content: '';
	display: table;
}

.booking-form-label{
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 8px;
}

.booking-form-date{
	margin-bottom: 14px;
}

.booking-form-date:after{
	display: table;
	content: '';
	clear: both;
}



.booking-form-date div:nth-child(1){
	float: left;
	width: 50%;
	background: #eda09e;
	-moz-box-shadow:    inset 0 0 1px #0e567a;
	-webkit-box-shadow: inset 0 0 1px #0e567a;
	box-shadow:         inset 0 0 1px #0e567a;
}

.booking-form-date div:nth-child(2){
	display: none;
}

.booking-form-date div:nth-child(3){
	float: left;
	width: 50%;
	background: #eda09e;
	-moz-box-shadow:    inset 0 0 1px #0e567a;
	-webkit-box-shadow: inset 0 0 1px #0e567a;
	box-shadow:         inset 0 0 1px #0e567a;
}

.booking-form-date div strong{
	float: left;
	width: 45%;
	height: 54px;
	font-family: Georgia, serif;
	font-weight: 100;
	text-align: right;
	padding-top: 18px;
	font-size: 2.9em;
	color: #ffeaea;
}

.booking-form-date div i.y{
	font-family: Georgia, serif;
	text-transform: uppercase;
	font-size: 0.8em;
	font-weight: bold;
	float: left;
	height: 58px;
	padding-top: 20px;
	color: #333;
	opacity: 0.8;
}

.booking-form-date div i.m{
	font-family: Verdana, Geneva, sans-serif;
	text-transform: uppercase;
	text-align: center;
	font-size: 0.8em;
	font-weight: bold;
	float: left;
	height: 58px;
	padding-top: 20px;
	color: #333;
	opacity: 0.8;
	margin-left: 6px;
	margin-right: 4px;
	letter-spacing: 0.02em;
}

.booking-form-date div input{
	position: absolute;
	text-transform: uppercase;
	width: 1px;
	height: 1px;
	border: 0;
	resize:none;
	background: none;
  	color: #171d25;
  	opacity: 0;
  	-webkit-box-shadow: inset 0 0 0 rgba(0,0,0,0), 0 0 0;
	box-shadow: inset 0 0 0 rgba(0,0,0,.0), 0 0 0;
}


.booking-form-promotion-code{
	text-align: center;
	font-size: 0.8em;
	color: #000;
	margin-bottom: 12px;
}

.booking-form-promotion-code a{
	color: #fff;
}

.booking-form-promotion-code a:hover{
	text-decoration: underline;
}

.booking-form-check-button a{
	text-align: center;
	color: #d7211c;
	font-size: 1em;
	display: block;
	padding-top: 15px;
	padding-bottom: 10px;
	background: #171f29;
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;	
}

.booking-form-check-button a:hover {
	color: #d7211c;
	background: #000000;
	-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;	
}

.booking-form-check-button a:active {
	box-shadow: 0px 0px 2px 2px #98c4dd;
}

.booking-form-check-button span{
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.booking-form-check-button span:nth-child(1){
	display: block;
	color: #f7f7f7;
	font-weight: bold;
	font-size: 0.9em;
}

.booking-form-check-button span:nth-child(2){
	font-size: 0.6em;
}


/*
*Style the tab
*/
.tab {
    overflow: hidden;
    border: 1px solid #a00707;
    background-color: #d7211c;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 0;
    text-align: center;
    width: 16.6%;
    transition: 0.3s;
    font-size: 17px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 0.7em;
    background: #d7211c;
    color: #f9eded;
}

.tab button:nth-child(6) {
	width: 17%;
}

.tab button:hover {
    background: #aa0603;
}

.tab button.active {
    background: #aa0603;
}

.tabcontent {
	background: #fff;
	font-family: 'Comfortaa', sans-serif;
    display: none;
    padding: 24px 36px;
    padding-top: 36px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
    border: 1px solid #a00707;
    min-height: 515px;
}

.tabcontent p{
	margin-bottom: 28px;
	letter-spacing: 0.07em;
}

@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@media only screen and (min-width:480px){
	/*
	*booking form
	*/
	/*#booking-form{
		width: 480px;
		top: -280px;
	}*/

	
	/*
	*booking form
	*/
	.booking-form-check-availability:after{
		clear: both;
		content: '';
		display: table;
	}

	.booking-form-promotion-code{
		float: left;
		width: 50%;
		padding-top: 10px;
	}

	.booking-form-check-button{
		float: right;
		width: 50%;
	}

	/*
	*Style the tab
	*/
	.tab button {
	    font-size: 0.9em;
	}
}

@media only screen and (min-width:768px){
	.container .r1 h4{
		font-size: 1.5em;
	}

	.container .r1 .left,
	.container .r2 .left{
		float: left;
		width: 65%;
	}

	.container .r1 .right,
	.container .r2 .right{
		float: left;
		width: 35%;
		padding-top: 30px;
		padding-left: 30px;

	}

	.container .r2 .right{
		padding-top: 0px;
	}

	/*
	*booking form
	*/
	#booking-form{
		width: 768px;
		
	}

	.booking-form-date div:nth-child(1){
		float: left;
		width: calc(50% - 15px);
	}

	.booking-form-date div:nth-child(2){
		display: block;
		float: left;
		width: 30px;
		text-align: center;
		padding-top: 20px;
		font-style: italic;
	}

	.booking-form-date div:nth-child(3){
		float: left;
		width: calc(50% - 15px);
	}

	/*
	*Style the tab
	*/
	.tab button {
		font-size: 1em;
	}
}
@media (max-width: 1000px) {
    .modal-content {
        width: 90%; /* Ajustez la largeur maximale pour les téléphones selon vos besoins */
    }

		
@media only screen and (min-width:996px){
	/*
	*booking form
	*/
	#booking-form{
		height: 90px;
		width: 100%;
		position: relative;
		background: #b9181f;
		margin: 0;
		margin-bottom: 40px;
	}

	#booking-form section{
		padding: 16px;
		width: calc(100% - 28px);
		width: 920px;
		margin: 0 auto;

		background: #b9181f;

		-webkit-box-shadow: 0 0 0 0;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
		-moz-box-shadow:    0 0 0 0;  /* Firefox 3.5 - 3.6 */
		box-shadow:         0 0 0 0; 	
	}

	.booking-form-label{
		float: left;
		width: 140px;
		font-size: 1.2em;
		text-align: left;
		line-height: 18px;
		padding-top: 22px;
	}

	.booking-form-date{
		float: left;
		width: 340px;
		margin-bottom: 0;
	}

	.booking-form-check-availability{
		float: right;
		width: calc(100% - 480px);
		
	}

	.booking-form-check-availability:after{
		clear: both;
		content: '';
		display: table;
	}

	.booking-form-promotion-code{
		float: left;
		width: 45%;
		padding-top: 10px;
	}

	.booking-form-check-button{
		float: right;
		width: 55%;
	}
}

@media only screen and (min-width:1200px) {
	.container .r1 .left,
	.container .r2 .left{
		
	}

	.container .r1 .right,
	.container .r2 .right{
		padding-left: 99px;
	}
}	
