/* __V3D_TEMPLATE__ - template-based file; delete this line to prevent this file from being updated */

body {
    margin: 0px;
    overflow: hidden;
}

#v3d-container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
select {
    min-width: 100%;
}
.fullscreen-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
}

.fullscreen-open {
    background-image: url('media/fullscreen_open.svg');
}

.fullscreen-close {
    background-image: url('media/fullscreen_close.svg');
}

/* removes tap blinking on ios devices */
* { -webkit-tap-highlight-color:rgba(0,0,0,0); }


/* Leboncontenu */
/* Formulaire */
ul#configform input, ul#configform select {
    margin-bottom: 10px;
    width: 90%;
}
/* Bouton */
#validd span:hover {
    background-color: white!important;
    color: black!important;
    box-shadow: 0px 0px 5px #fff;
    animation: auto 1s!important;
}

.v3d-canvas {
    left: -150px!important;
}
div#poi_1 {
  position: absolute;
  top: 230px;
  left: -11px;
  transform: rotate(270deg)!important;
}

div#poi_2 {
    position: absolute;
    left: 233px;
    top: 426px;
    transform: rotate(0deg)!important;
}

div#poi_3 {
    position: absolute;
    left: 30px;
    top: 70px;
    transform: rotate(312deg)!important;
}

.formm{
  width: 26%;
  padding: 0px 20px!important;
  background-color: transparent;
}

#commander > div:hover {
    background-color: #6d6d6d!important;
}
#atcbutton > div:hover {
    background-color: #6d6d6d!important;
}
#ajouterDevis > div:hover {
  background-color: #6d6d6d!important;
}

.slbutton:hover{
    background-color: #a5a5a5!important;
    color: #989898;
    filter: brightness(1.1);
}
div#config {
    width: 100%;
    z-index: -49;
}

/* .interface-class {
	bottom: 0px !important;
} */

@media only screen and (max-width:768px){
  ul#configform {
      padding-left: 0px!important;
  }
  .splitmob{
    display:flex!important;
    flex-flow: row wrap!important;
  }
  #v3d-container {
      scroll-behavior: auto!important;
      overflow-y: auto!important;
  }
  .formm{
    width:100%!important;
	margin-top: 495px!important;
  }
  .v3d-canvas {
    	left: 0px!important;
		height: 600px !important;
	}
	/* .interface-class { */
		/* bottom: 400px !important; */
	/* } */
	ul#configform:before {
		content: "▼ ▼ ▼";position: absolute;top: 467px;right: 38%;color: #4caded;
	}
}

input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea, .woocommerce .quantity input.qty, .dark input[type="email"], .dark input[type="password"], .dark input[type="tel"], .dark input[type="text"], .dark select, .dark textarea {
    color: #626262;
    background-color: rgba(255,255,255,0);
    border-color: #979899;
}

body, button, span.date_label, .timeline_items li h3 span, input[type="submit"], input[type="reset"], input[type="button"], input[type="text"], input[type="password"], input[type="tel"], input[type="email"], textarea, select, .offer_li .title h3 {
    font-family: "Lato", Helvetica, Arial, sans-serif;
}
input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea, .woocommerce .quantity input.qty {
    border-width: 0 0 2px 0;
    box-shadow: unset;
    resize: none;
}
label{
  font-family: "Lato", Helvetica, Arial, sans-serif;
  margin-bottom: 5px;
  font-weight: 700;
  cursor: default;
  line-height: 2;
  font-size: 100%;
  color: #626262;
  -webkit-text-size-adjust: 100%;
}

input[type=range] {
  width: 100%;
  margin: 6.95px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  background: #4caded;
  border: 0;
  border-radius: 22.7px;
  width: 100%;
  height: 5.1px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  margin-top: -6.95px;
  width: 37px;
  height: 19px;
  background: #ffffff;
  border: 4.7px solid #4caded;
  border-radius: 23px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #0f5d91;
}
input[type=range]::-moz-range-track {
  background: #4caded;
  border: 0;
  border-radius: 22.7px;
  width: 100%;
  height: 5.1px;
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 37px;
  height: 19px;
  background: #ffffff;
  border: 4.7px solid #4caded;
  border-radius: 23px;
  cursor: pointer;
}
input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 6.95px 0;
  color: transparent;
  width: 100%;
  height: 5.1px;
  cursor: pointer;
}
input[type=range]::-ms-fill-lower {
  background: #d7edfb;
  border: 0;
  border-radius: 45.4px;
}
input[type=range]::-ms-fill-upper {
  background: #4caded;
  border: 0;
  border-radius: 45.4px;
}
input[type=range]::-ms-thumb {
  width: 37px;
  height: 19px;
  background: #ffffff;
  border: 4.7px solid #4caded;
  border-radius: 23px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range]:focus::-ms-fill-lower {
  background: #4caded;
}
input[type=range]:focus::-ms-fill-upper {
  background: #0f5d91;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range] {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}

input#largeurer, input#longueurer {
    margin-left: 19px!important;
}
div#atcbutton, #commander, #ajouterDevis:hover {
    cursor: pointer;
}
div#interface div:hover {
    cursor: pointer;
}


div#atcbutton, #commander, #ajouterDevis {
    font-size: 17px;
    font-weight: 100;
    text-align: center;
    width: 100%!important;

}

/* #info-table td:nth-child(even),th:nth-child(even){background-color: #cbcdeda3;} */

#info-table tr:hover {background-color: #cdcddba9;}
table {
	width: 100%;
}
td {
	text-align: center;
}
tr {
	width: 100%;
}
  

/* #prxxxuni, #prxxx, #prxxxmult {
    margin: 2px;
} */
/* h4#prxxxuni {
    margin-top: 7px;
} */

p#sizechk {
    border: 2px solid #ed9e4c;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 7px;
    height: 33px;
    font-size: 13px;
}

.prchbutton {
    font-size: 80%;
    padding: 7px 0px 13px 0px;
    text-align: center;
    height: 11px;
    border-radius: 20px;
    color: white;
    background-color: #4caded;
    padding-left: 15px;
}

#configform label[for='categorie_matériaux']::before, 
#configform label[for='matériaux_plexiglass_transparent']::before {
    content: "";
    width: 28px;
    height: 24px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    top: 7px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(media/plaque-plexiglass-polycarbonate-choix-materiau.png);
}

#configform label[for='épaisseur']::before {
  content: "";
  width: 15px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
  position: relative;
  top: 7px;
  background-size: contain;
  background-position: top left;
  background-repeat: no-repeat;
  background-image: url(media/epaisseur-plaque-plexiglass.png);
}
 
#configform label[for='trous']::before {
/* #configform > label:nth-child(25):before { */
  	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 8px;
	position: relative;
	top: 4px;
	background-size: 500%;
	background-position: top right;
	background-repeat: no-repeat;
	background-image: url(media/angle-carre-trou-plaque-plexiglass.png);
}

#configform label[for='angles']::before {
  	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 8px;
	position: relative;
	top: 4px;
	background-size: contain;
	background-position: top right;
	background-repeat: no-repeat;
    background-image: url(media/angle-arrondi-trou-plaque-plexiglass.png);
}

#configform label[for='chanfrein']::before {
  	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 8px;
	position: relative;
	top: 4px;
	background-size: contain;
	background-position: top right;
	background-repeat: no-repeat;
    background-image: url(media/chanfrein-icon.png);
}

#angles_1_2 label::before {
  	content: "";
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: 8px;
	position: relative;
	top: 4px;
	background-size: contain;
	background-position: top right;
	background-repeat: no-repeat;
	background-image: url('media/rayon-angle-2-24x24.png');
}



.tab-button {
	/* font-size: 80%; */
	padding: 4px;
	text-align: center;
	/* height: 11px; */
	/* border-radius: 3px; */
	/* color: white; */
	/* padding-left: 15px; */
	/* background-color: #4caded; */
	border-radius: 1px;
	/* border-color: #4caded; */
	background-color: #d4d4d4;
	border-bottom: none; /* Add this line */
	border-width: 1px;
}

.tab-button:hover {
	background-color: #ffffff;
}

.selected-button {
	background-color: #ffffff;
	border-width: 2px;
}

.hide {
	display: none !important;
}
/* Rendre l'iframe responsive */
iframe {
    width: 100%; /* Occupe toute la largeur de l'écran */
    height: auto; /* Ajuste automatiquement la hauteur en fonction du contenu */
    border: none; /* Supprime les bordures si elles sont visibles */
    margin: 0; /* Supprime les marges */
    padding: 0; /* Supprime les espacements */
    display: block; /* Évite tout comportement inline */
}

/* Supprimer les marges autour de l'iframe sur mobile */
@media screen and (max-width: 768px) {
    iframe {
        margin: 0 auto; /* Centrer l'iframe */
        max-width: 100%; /* Éviter que l'iframe dépasse les limites de l'écran */
    }

    /* Optionnel : ajuster les marges globales si nécessaire */
    body, .container {
        margin: 0; /* Supprime les marges globales */
        padding: 0; /* Supprime les espacements globaux */
        width: 100%; /* Assure que tout utilise la largeur de l'écran */
    }
}

