body{
	overflow: hidden;
}

#deboguage{
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
	background-color: #222;
	color: #fff;
	font-size: 0.75em;
	transform: translateY(100%);
}
#deboguage.on{
	transform: translateY(0);
}
#deboguage p{
	margin: 0.2em 0;
}
#deboguage label{
	display: block;
	float: left;
	width: 60px;
	padding-right: 5px;
	text-align: right;
}
#deboguage input{
	border: 1px solid #aaa;
	background-color: transparent;
	color: #fff;
	font-size: 1em;
}

#view3DLoading{
	position: absolute;
	z-index: 1;
	top: 80px;
	left: 10px;
	padding: 0;
	margin: 0;
	font-size: 1.5em;
	font-weight: 400;
	color: var(--colorBlue1);
	animation: 2s ease-in-out 1s infinite alternate loadingAnim;
	-webkit-animation: 2s ease-in-out 1s infinite alternate loadingAnim;
}
@keyframes loadingAnim{
	from{
		opacity: 0.2;
	}to{
		opacity: 1;
	}
}
@-webkit-keyframes loadingAnim{
	from{
		opacity: 0.2;
	}to{
		opacity: 1;
	}
}
#view3DLoading.off{
	display: none;	
}

header{
	display: flex;
	flex-direction: column;
	background-color: #544848;
}
header #logo{
	height: 20px;
	margin: 5px 0;
	background-image: url(../img/logo-FR-1.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	font-size: 0;
	text-decoration: none;
}
header nav{
	display: flex;
	gap: 10px;
}
header nav input[type=button]{
	flex: 1;
	height: 35px;
	border-radius: 5px;
	border: 1px solid transparent;
	background-color: #544848;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	font-size: 0;
}
#configuratorSceneReset{
	background-size: 20px;
	background-image: url(../img/reset-W@100.png);
}
#sceneSave{
	background-image: url(../img/save-W@100.png);
}
#shareBt{
	background-image: url(../img/partage-W@100.png);
}
#exportImageBt{
	background-image: url(../img/png-file-W@100.png);
}

#configuratorWrap{
	display: flex;
	flex-direction: column;
	height: calc(100vh - 65px);
}
#configuratorParamWrap{
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	height: 100%;
	box-shadow: inset 5px 0 3px #f5f5f5;
	border-left: 1px solid #fff;
}
#configuratorParamWrap footer{
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
	padding: 10px;
}
#configuratorParamWrap footer input[type=button]{
	padding: 20px 0 20px 0;
	border: 2px solid #ccc;
	border-radius: 5px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25px;
	font-size: 0;
	color: #ccc;
}
#configuratorParamWrap footer input[type=button]:disabled{
	opacity: 0.25;
	cursor: not-allowed;
}
#dimensionToggleBt{
	background-image: url(../img/mesure-B@100.png);
}
#dimensionToggleBt.on{
	background-image: url(../img/mesure-off-B@100.png);
}
#quoteToggleBt{
	background-image: url(../img/devis-B@100.png);
}

/* popup démarrage */
#configuratorWelcome.popup > div{
	max-width: 850px;
}
#configuratorWelcome > div > div{
	padding: 20px 0;
}
#configuratorWelcome p{
	padding: 80px 0 20px;
	background-image: url(../img/logo-FR-1.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 200px;
	font-size: 1.1em;
	text-align: center;
}
#configuratorWelcome nav{
	display: grid;
	grid-template-columns: 1fr;
}
#configuratorWelcome input{
	padding: 60px 0 10px;
	background-color: #fff;
	background-position: top 5px center;
	background-size: 50px;
	background-repeat: no-repeat;
	color: #000;
}
#simulationParamToggle{
	background-image: url(../img/home/chambre@200.png);
}
#modelLuxAdd{
	background-image: url(../img/home/lux@200.png);
}
#modelEclipsrollAdd{
	background-image: url(../img/home/eclipsroll@200.png);
}
#modelAtlasAdd{
	background-image: url(../img/home/atlas@200.png);
}

/* popup simulation */
#simulationParamWrap input[type=radio]{
	display: none;
}
#simulationParamWrap input[type=radio] + label{
	width: calc(100% - 2em);
	margin: 0;
	padding: 0.5em 1em;
	border: 1px solid #acacac;
	border-radius: 5px;
	cursor: pointer;
}
#simulationParamWrap input[type=radio] + label:hover{
	border-color: #24a39d;
}
#simulationParamWrap input[type=radio]:checked + label{
	border-color: #24a39d;
	background-color: #24a39d;
	color: #fff;
}
#simulationInitBt:not([disabled]):hover{
	background-color: #24a39d;
	border-color: #24a39d;
}

/* interface d'un modèle */
#configuratorInputs{
	flex: 1;
	overflow-y: auto;
	padding: 0 10px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#configuratorSimulationHeader{
	display: flex;
	gap: 10px;
	margin: 10px;
}
#modelList{
	width: calc(100% - 20px);
	padding: 10px;
	border: none;
	border-radius: 5px;
	background-color: #544848;
	color: #fff;
}
#configuratorParamWrap #simulationParamBt{
	width: auto;
	height: auto;
	aspect-ratio: 1/1;
	border-radius: 5px;
	background-color: #544848;
	background-image: url(../img/param-W@100.png);
}
#configuratorParamWrap #simulationParamBt:hover{
	background-color: #766767;
	cursor: pointer;
}

.modelTitle{
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 15px 0;
	padding: 0 0 5px;
	border-bottom: 1px solid #eee;
}
.modelTitle span{
	flex: 1;
	font-weight: bold;
	font-size: 1.1em;
}
#configuratorInputs #deleteBt, #configuratorInputs #stateSaveBt, #configuratorInputs #isolateBt, #simulationParamBt{
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 3px;
	background-color: transparent;
	background-image: url(../img/delete-B@100.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px;
	font-size: 0;
	transition: background-color 0.15s ease-in;
	-webkit-transition: background-color 0.15s ease-in;
}
#configuratorInputs #isolateBt{
	background-image: url(../img/eye-on-B@100.png);
}
#configuratorInputs #isolateBt.on{
	background-image: url(../img/eye-off-B@100.png);
}
#configuratorInputs #isolateBt:hover{
	background-color: rgb(18, 228, 202);
	background-image: url(../img/eye-on-W@100.png);
	cursor: pointer;
}
 #configuratorInputs #stateSaveBt{
	background-image: url(../img/copy-B@100.png);
}
#configuratorInputs #stateSaveBt:hover{
	background-color: rgb(83, 228, 18);
	background-image: url(../img/copy-W@100.png);
	cursor: pointer;
}
#configuratorInputs #deleteBt:hover{
	background-color: red;
	background-image: url(../img/delete-W@100.png);
	cursor: pointer;
}
#configuratorParamWrap input, #configuratorInputs select{
	border-radius: 0;
	border: none;
	background-color: #fff;
}
#configuratorParamWrap input:focus, #configuratorInputs select:focus{
	outline: none;
}

/* slot empty */
.modelEmpty{
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}
#configuratorParamWrap .modelEmpty input{
	padding: 65px 0 10px;
	border-radius: 10px;
	border: 2px dotted #ccc;
	background-repeat: no-repeat;
	background-position: top 10px center;
	background-size: 50px;
	filter: grayscale(100%);
	transition: filter 0.15s ease-in, box-shadow 0.25s ease-in;
	-webkit-transition: filter 0.15s ease-in, box-shadow 0.25s ease-in;
}
#configuratorParamWrap .modelEmpty input:hover{
	cursor: pointer;
	filter: grayscale(0);
}
.luxAdd{
	background-image: url(../img/home/lux@200.png);	
}
.luxAdd:hover{
	box-shadow: 0 0 3px red;
}
.eclipsrollAdd{
	background-image: url(../img/home/eclipsroll@200.png);
}
.eclipsrollAdd:hover{
	box-shadow: 0 0 3px yellow;
}
.atlasAdd{
	background-image: url(../img/home/atlas@200.png);
}
.atlasAdd:hover{
	box-shadow: 0 0 10px rgb(255, 181, 0);
}

/* 3d */
#configurator{
	flex: 1;
	position: relative;
	height: 100vh;
}
#view3DCanvas{
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #fff;
}
.navLatOpen #view3DCanvas{
	width: calc(100% - 300px);
}
#view3DCanvas canvas{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* popup divers */
.popup.popupContent > div{
	max-width: 400px;
	position: relative;
	padding: 20px;
	border-radius: 5px;
}
#quoteConfirmWrap > div{
	max-width: 580px;
}

/* simulation */
#simulationInit{
	padding: 1em 0;
	width: 100%;
	border: none;
	border-radius: 5px;
	font-family: inherit;
	font-size: 1em;
}
#simulationInit:hover{
	cursor: pointer;
}

/* charge des données */
#loadWrap textarea{
	height: 300px;
	resize: vertical;
}

/* copie des données vers un modèle */
#modelParamCopyLst{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

/* champ texte ou select */
.inputWrap{
	position: relative;
	padding: 12px 0 0;
	margin: 0.6em 0;
	border: 1px solid #acacac;
	background-color: rgba(255, 255, 255, 0.05);
	transition: border-color 0.15s ease-in;
}
.inputWrap:hover{
	border-color: #24a39d;
}
.inputWrap.error{
	border-color: #e81a1a;
}
.inputWrap label{
	position: absolute;
	width: auto;
	top: 5px;
	left: 10px;
	margin: 0;
	color: #aaa;
	font-size: 0.75em;
}
.inputWrap input[type=text], .inputWrap input[type=email], .inputWrap input[type=tel], .inputWrap input[type=number], .inputWrap select, .inputWrap textarea{
	width: calc(100% - 20px);
	padding: 10px;
	border: none;
	background-color: transparent;
	font-family: inherit;
	font-size: 1.1em;
	color: inherit;
}
.inputWrap input[type=text]:focus, .inputWrap input[type=email]:focus, .inputWrap input[type=tel]:focus, .inputWrap input[type=number]:focus, .inputWrap textarea:focus{
	outline: none;
}

/* checkbox */
.inputCheckboxWrap input[type=checkbox]{
	display: none;
}
.inputCheckboxWrap input[type=checkbox] + label{
	display: block;
	width: auto;
	margin: 0;
	padding: 0.5em;
	border: 1px solid #acacac;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
}
.inputCheckboxWrap input[type=checkbox] + label:hover{
	border-color: #24a39d;
}
.inputCheckboxWrap input[type=checkbox]:checked + label{
	border-color: #24a39d;
	background-color: #24a39d;
	color: #fff;
}

/* champ range */
.inputRange{
	display: flex;
	gap: 10px;
}
.inputRange input[type=range]{
	flex: 1;
}


/* checkbox */
.inputCheckbox, .inputRadio{
	display: flex;
	align-items: center;
	gap: 0.25em;
}
.inputCheckbox label, .inputRadio{
	display: initial;
	float: none;
	flex: 1;
	margin: 0;
	cursor: pointer;
}
.inputCheckbox input[type=checkbox], .inputRadio input[type=radio]{
	display: grid;
	place-content: center;
	width: 14px;
	height: 14px;
	margin: 0;
	border: 1px solid currentColor;
	background-color: #fff;
	appearance: none;
	-webkit-appearance: none;
}
.inputCheckbox input[type=checkbox]:checked:before, .inputCheckbox input[type=radio]:checked:before{
	content: ' ';
	width: 8px;
	height: 8px;
	background-color: #000;
}

/* radio */
.inputRadio input[type=radio]{
	border-radius: 50%;
}
.inputRadio input[type=radio]:checked:before{
	border-radius: 50%;
}





@media screen and (min-width: 500px){
#configuratorWelcome nav{
	grid-template-columns: 1fr 1fr;
}
#configuratorWelcome input{
	padding: 125px 0 15px;
	border: none;
	background-position: top 15px center;
	background-size: 100px;
	transition: box-shadow 0.25s ease-in;
	-webkit-transition: box-shadow 0.25s ease-in;
}
#simulationParamToggle:hover{
	box-shadow: 0 0 10px #00abff;
}
#modelLuxAdd:hover{
	box-shadow: 0 0 10px red;
}
#modelEclipsrollAdd:hover{
	box-shadow: 0 0 10px yellow;
}
#modelAtlasAdd:hover{
	box-shadow: 0 0 10px rgb(255, 181, 0);
}
}





@media screen and (min-width: 750px){
header{
	flex-direction: row;
	align-items: center;
}
header #logo{
	flex: 1;
	width: 200px;
	height: 40px;
	margin: 0;
}
header nav{
	flex: 0 0 341px;
	padding: 5px;
}
header nav input[type=button]{
	height: 50px;
	background-size: 25px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0);
	transition: box-shadow 0.15s ease-in, border-color 0.15s ease-in, color 0.15s ease-in;
	-webkit-transition: box-shadow 0.15s ease-in, border-color 0.15s ease-in, color 0.15s ease-in;
}
header nav input[type=button]:hover{
	border-color: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* champ texte ou select */
.inputWrap{
	padding: 18px 0 0;
	margin: 1.2em 0;
}

/* configurateur */
#configuratorWrap{
	flex-direction: row;
	height: calc(100vh - 60px);
}
#configuratorParamWrap{
	flex: 0 0 340px;
}
#configuratorParamWrap footer input[type=button]{
	padding: 50px 0 10px 0;
	background-position: top 15px center;
	font-size: 0.9em;
	transition: background-color 0.15s ease-in, border-color 0.15s ease-in, color 0.15s ease-in;
	-webkit-transition: background-color 0.15s ease-in, border-color 0.15s ease-in, color 0.15s ease-in;
}
#configuratorParamWrap footer input[type=button]:hover{
	border-color: #000;
	color: #000;
	cursor: pointer;
}
#configuratorParamWrap footer{
	margin: 10px 0;
}
#configuratorInputs{
	padding: 10px 20px;
}
}





@media screen and (min-width: 1000px){
#configuratorWelcome nav{
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
}

@media (prefers-color-scheme: dark){
#configuratorInputs #isolateBt{
	background-image: url(../img/eye-on-W@100.png);
}
#configuratorInputs #isolateBt.on{
	background-image: url(../img/eye-ofW@100.png);
}
#configuratorInputs #deleteBt{
	background-image: url(../img/delete-W@100.png);
}
#configuratorInputs #stateSaveBt{
	background-image: url(../img/copy-W@100.png);
}
#configuratorParamWrap input, #configuratorInputs select{
	background-color: transparent;	
}
}