/* @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
	--CouleurDeFond: #af833e;
	--MargeVert: 10px;
	--MargeHor: 10px;
}

body{
	background-color:#fcfcfc;
	font-family: "Inter",sans-serif;
}

#divCanvas, #divsplash{
	width: 100dvw;
	height: 100dvh;
	display:flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	position:relative;
}

#appartement{
	display: none;
	position:relative;
	width: 100dvw;
	height: 100dvh;
}

.full-height {
	height:100dvh;
	width:100dvw;
	position:absolute;
	display:flex;
	align-items: center;
	justify-content: center;
	margin: 0px;
}

.captionradius{
	background-color: white;
	border-radius: 0px 0px 10px 10px;
	padding:10px;
	overflow: auto;
}
.captionnoradius{
	background-color: white;
	border-radius: 0px 0px 0px 00px;
	padding:10px;
	overflow: auto;
}

.spanprix{
    color: #c1c1c1;
    font-size: 18px;
	font-weight: 700;
	display: block;
	margin: 7px;
}
.spanid{
	color: #ffffff;
	font-size: 26px;
	font-weight: 700;
	display: block;
	/* margin: 7px; */
	padding: 10px;
	border-radius: 10px 10px 0px 0px;
	background-color: var(--CouleurDeFond);
}
.spansurface{
	color: #7e7e7e;
	font-size: 26px;
	font-weight: 700;
	display: block;
	margin: 7px;
}

.spandecouvrir{
	border-radius: 0px 0px 10px 10px;
	color: #ffffff;
	font-size: 26px;
	font-weight: 700;
	display: block;
	padding: 10px;
	background-color: var(--CouleurDeFond);
}

.captiondetail{
	background-color: red;
	border-radius: 0px 0px 10px 10px;
    color: #fff;
    font-size: 18px;
    padding: .5rem 1rem;
    text-align: center;
}

.Maincaption{
	text-align: center;
}

.divlogo{
	
	position: absolute;
	display:none;
}
/* .divlogo img{ */
	/* padding:10px; */
/* } */

.divlogo a{
	margin:auto;
	display:flex;
	justify-content:center;
	/* background-color:#fdfdfd; */
	background-color:rgba(255,255,255,0.5);
}

#logoHouyoux, #contact{
	height:150px;
}

#contact{
	position: absolute;
	display:flex;
	font-family:arial;

	color:#fff;
}

#contact a{
	color:#fff;
}

#contact div{
	/* padding-left:5px; */
	display:flex;
	flex-direction: column;
	padding:5px;
	background-color:var(--CouleurDeFond);
	margin-top:auto;
	margin-left:3px;
}

#titre{
	position: absolute;
	left:50%;
	overflow:visible;
}
#titre h1{
	text-align:center;
	transform: translate(-50%, 0%);
	font-family: "gilroyextrabold", "Open Sans", sans-serif;
	color:rgb(29, 26, 37);
	background-color : rgba(255, 255, 255, 0.5);
	padding:5px;
}

#logo360{
	background-color:#6b6b6bb3;
}


#logo{
	/* width: 60px; */
}
#logoAppart{
	background-color:#000;
	padding:10px;
}

#bFullScreen{
	border-radius: 50%;
	background-color:var(--CouleurDeFond);
	height: 60px;
	width: 60px;
	border: 0px;
	cursor: pointer;
	position: absolute;
}

#etages{
    position: absolute;
    display: none;
	flex-direction:column;
	align-items: center;
	user-select: none;
	left:var(--MargeVert);
}

#etages span{
	font-weight:bold;
	margin-bottom:5px;
}

#etages a{
	font-size: 18px;
    background-color: var(--CouleurDeFond);
    height: 35px;
    width: 35px;
	border-radius : 35px;
    text-align: center;
    text-decoration: none;

	color: white;
	margin-bottom:10px;
		
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	/* border: solid 1px; */
	/* border-color:#998c7b; */

}

/* #etages a:first-child{ */
	/* border-radius: 20px 20px 0px 0px; */
/* } */
/* #etages a:last-child{ */
	/* border-radius: 0px 0px 20px 20px; */
/* } */
#etages .selected, #etages a:active{
	background-color: #fff;
	color: var(--CouleurDeFond);
}

#zoom{
	display:none;
	flex-direction:row;
	position:absolute;
	left:50%;
	justify-content: center;
	width:0px;
	bottom:var(--MargeHor);
}

#zoom input{
	/* font-size: 18px; */
	border-radius: 50%;
    background-color: var(--CouleurDeFond);
    height: 60px;
    width: 60px;
	padding:10px;
    text-align: center;
    text-decoration: none;
	color: white;
	display: flex;
	cursor: pointer;
	box-sizing: border-box;
}

#zoom .selected, #zoom a:active{
	background-color: rgb(255,255,255);
	color: var(--CouleurDeFond);
}



#legende{
	position: absolute;
	display: none;
	background-color: var(--CouleurDeFond);
	padding:10px;
	right:var(--MargeVert);
	top:var(--MargeHor);
}

#legende .color-box{
	width: 10px;
    height: 10px;
	display: inline-block;
	border: #fff 1px solid;
}

#legende span{
	color : white;
	text-transform: uppercase;
	white-space: nowrap;
	font-weight: 500;
}

#bretour, #b360, #bpdf, #bgalleryCanvas, #bfullscreen, #bBrochure, #contactTawk, #bBrochureappart{
	border-radius: 50%;
	background-color:var(--CouleurDeFond);
	height: 60px;
	width: 60px;
	border: 0px;
	cursor: pointer;
	text-align:center;
	border:none;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
	color: white;
	align-items: center;
	justify-content: center;
}

#bretour, #bBrochure{
	position: absolute;
	display: none;
}

#bretour, #bBrochure{
	position: absolute;
	display: none;
	left:var(--MargeVert);
	bottom:var(--MargeHor);
}

#Tourne360{
	position: absolute;
	height: 60px;
	width: 60px;
}

#basdroite{
	position:absolute;
	display: none;
	justify-content: space-between;
	right:var(--MargeVert);
	bottom:var(--MargeHor);
	gap: 10px;
}

#basdroite div, #visuelinterieur{
	display:flex;
	align-items:end;
	flex-direction: column;
	
}

#bgalleryCanvas{
	margin-right:10px;
}

#bfullscreen{
	padding:5px;
}

#bBrochure img, #contactTawk img, #bBrochureappart img{
	max-height: 60px;
	max-width: 60px;
}

#bretour img{
	height: 40px;
	width: 40px;
}

#b360, #bpdf{
	align-items: center;
	justify-content: center;
}

#cover-spin {
    position:fixed;
    width:100dvw;
    left:0;right:0;top:0;bottom:0;
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

#cover-spin::after {
    content:'';
    display:block;
    position:absolute;
    left:48%;top:40%;
    width:40px;height:40px;
    border-style:solid;
    border-color:rgb(182, 182, 182);
    border-top-color:transparent;
    border-width: 4px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}

/* modal gallery*/

.row > .modalSliderthumbDiv {
padding: 0 8px;
}

.row:after {
content: "";
display: table;
clear: both;
}

/* Create four equal columns that floats next to eachother */
.modalSliderthumbDiv {
float: left;
width: 25%;
display:none;
}

/* The Modal (background) */
.modal {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100dvw;
	height: 100dvh;
	overflow: auto;
	background-color: black;

}

/* Modal Content */
.modal-content {
	position: relative;
	background-color: black;
	margin: 0;
	padding: 0;
	width: 100dvw;
	height: 100dvh;
}

/* The Close Button */
.close {
	color: white;
	position: absolute;
	top: 35px;
	right: 16px;
	font-size: 35px;
	font-weight: bold;
	z-index:20;
}

.close:hover,
.close:focus {
	color: #999;
	text-decoration: none;
	cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
	display: none;
	height:100dvh;
	width:100dvw;
	align-items: center;
	justify-content: center;
}

.mySlides img{
	max-width:100%;
	max-height:100%;
}

/* Next & previous buttons */
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -50px;
	color: white;
	font-weight: bold;
	font-size: 20px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	-webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* Caption text */
.caption-container {
	text-align: center;
	background-color: black;
	padding: 2px 16px;
	color: white;
	display:none;
}

img.demo {
	opacity: 0.6;
	width:90%;
	margin:auto;
}

.active,
.demo:hover {
	opacity: 1;
}

img.hover-shadow {
	transition: 0.3s;
}

.hover-shadow:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#logoAppart{
	position:absolute;
	top:20px;
	left: 20px;
	/*max-width: 250px;*/
}
		
.buttons{
	position: relative;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	/* right:var(--MargeVert); */
	top:var(--MargeHor);
}

#bshoebox{
	object-fit:cover;
	overflow:clip;
}

#AppartDetail{
	display:flex;
	flex-direction:column;
	font-size:24px;
	color: var(--CouleurDeFond);
	align-items:end;
}

#main_image{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#bgallery, #b360Appart, #bPignon, #bEscalier,#bshoebox, #bpdf,#bretourAppart, #bBrochureappart{
	margin-bottom: 10px;
}

#bgallery, #bretourAppart, #b360Appart, #bPignon, #bEscalier, #bpdf, #bshoebox, #bBrochureappart{
	height: 60px;
	width: 60px;
	border: 0px;
	cursor: pointer;
}

#bgallery, #bretourAppart, #b360Appart, #bPignon, #bEscalier, #bBrochureappart{
	border-radius: 50%;
	background-color:var(--CouleurDeFond);
}

#bretourAppart, #b360Appart, #bBrochureappart, #b360{
	text-align:center;
	border:none;
	text-decoration: none;
	font-size: 20px;
	font-weight: bold;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

#bretourAppart{
	/* position: absolute; */
	/* left:25%; */
	/* bottom:var(--MargeHor); */
}

#bretourAppart img{
	height: 40px;
	width: 40px;
}

h1{
	text-align:center;
	color:var(--CouleurDeFond);
	font-size: 30px;
	font-weight:bolder;
	
}

#appartementtitle{
	top:20px;
	left:20px;
	/* background-color:#d0cfcf; */
	position: absolute;
	/* transform: translateX(-50%); */
	margin: 0px;
	display:none;
}

@media (max-width: 1080px),(max-height: 780px) {
	h1{
		font-size: 20px;
	}
	/* #etages .etage{ */
		/* display: none; */
	/* } */
	#etages a{
		border:none;
		font-weight: 400;
		margin-bottom:5px;
	}
	
	#etages .selected{
		display:flex;
	}

	.divlogo{
		padding:5px;
	}
	
	#legende{
		font-size: 14px;
	}

	.spanprix{
		font-size: 15px;
	}
	.spanid{
		font-size: 20px;
	}
	.spansurface{
		font-size: 20px;
	}
	
	.spandecouvrir{
		font-size: 20px;
	}
	
	.captiondetail{
		font-size: 18px;
	}
	
	#contact{
		font-size: 14px;
	}
}

@media (max-width: 1450px),(max-height: 780px) {
	#logoHouyoux, #contact{
		max-height:100px;
	}
}

@media (max-width: 1000px),(max-height: 780px) {
	#logoHouyoux, #contact{
		max-height:75px;
	}
}

@media (max-width: 920px), (max-height: 500px) {
	#etages .etage{
		display: none;
	} 
	#etages .selected{
		display:flex;
	}
	#logoHouyoux{
		max-height:75px;
	}
	#bretour, #b360, #bgalleryCanvas, #bfullscreen, #bBrochure, #contactTawk, #bBrochureappart, #zoom input, #bshoebox{
		height:30px;
		width:30px;
	}
	#b360{
		font-size:10px;
	}
	#bgalleryCanvas{
		padding:0px;
	}
	#zoom input{
		padding:3px;
	}
	#legende, .spanprix, .captiondetail, #contact{
		font-size: 8px;
	}
	.spanid, .spansurface, .spandecouvrir{
		font-size: 9px;
	}
	
	.captionnoradius, .spanid, .spandecouvrir, #legende, #divlogo img{
		padding:4px;
	}
	.captionnoradius{
		padding:0px;
	}
	
	#etages a{
		height: 30px;
		width: 30px;
		/* border-radius: 50% !important; */
		border:none;
		font-size: 20px;
		font-weight: 400;
		/* margin:5px 0; */
	}
	
}

@media (max-width: 520px), (max-height: 320px) {
	h1{
		font-size: 10px;
	}
	#etages .etage{
		display: none;
	} 
	#etages a{
		height: 20px;
		width: 20px;
		/* border-radius: 50% !important; */
		border:none;
		font-size: 15px;
		font-weight: 400;
		/* margin:5px 0; */
	}
	
	#etages .selected{
		display:flex;
	}

	.divlogo{
		padding:2px;
	}

	#legende, .spanprix, .captiondetail{
		font-size: 8px;
	}
	.spanid, .spansurface, .spandecouvrir{
		font-size: 9px;
	}
	
	.captionnoradius, .spanid, .spandecouvrir, #legende, #divlogo img{
		padding:4px;
	}
	.captionnoradius{
		padding:0px;
	}
	
	#bretour, #b360, #bgalleryCanvas, #bfullscreen, #bBrochure, #contactTawk, #bBrochureappart, #zoom input, #bshoebox{
		height:20px;
		width:20px;
	}
	#b360{
		font-size:7px;
	}
	#zoom input{
		padding:3px;
	}
	#bBrochure img{
		height:20px;
		width:20px;
	}

	#logoHouyoux, #contact{
		max-height:50px;
	}
}
