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

#divmaquette, #divCanvas, #divsplash, #appartement{
	max-height:calc(100vh - 140px);
	font-family: 'gothambook';
}

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

#appartement{
	display: none;
	position:relative;
	margin : auto;
}

.full-height {
	height:100%;
	width:100%;
	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;
}

#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{
	background-color:#fff;
	width: 100%;
	
}
#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{
    color:white;
	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: 40px;
    width: 40px;
	padding:10px;
    text-align: center;
    text-decoration: none;
	color: white;
	display: flex;
	cursor: pointer;
}

#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, #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, #b360, #bBrochure{
	position: absolute;
	display: none;
}

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

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

#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{
	align-items: center;
	justify-content: center;
}

#cover-spin {
    position:fixed;
    width:100%;
    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: 20;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: black;
	
	}
	
	/* Modal Content */
	.modal-content {
		position: relative;
		background-color: black;
		margin: 0;
		padding: 0;
		height:100%;
		width:100%;
	}
	
	/* 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:100%;
		width:100%;
		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: absolute;
		top: 20px;
		right: 20px;
		display: flex;
		flex-direction: column;
		right:var(--MargeVert);
		top:var(--MargeHor);
	}

	#main_image{
		max-width:100%;
		max-height:100%;
	}

	#bgallery, #b360Appart, #bPignon, #bEscalier, #bBrochureappart{
		margin-bottom: 10px;
	}
	
	#bgallery, #bretourAppart, #b360Appart, #bPignon, #bEscalier, #bBrochureappart{
		border-radius: 50%;
		background-color:var(--CouleurDeFond);
		height: 60px;
		width: 60px;
		border: 0px;
		cursor: pointer;
	}
	#bretourAppart, #b360Appart, #bBrochureappart{
		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;
		right:var(--MargeVert);
		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) {
	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;
	}
}

@media (max-width: 680px) {
	#etages .etage{
		display: none;
	} 
	#etages .selected{
		display:flex;
	}
}

@media (max-width: 475px) {
	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{
		height:20px;
		width:20px;
	}
	#zoom input{
		padding:3px;
	}
	#bBrochure img{
		height:20px;
		width:20px;
	}
}
