/* Global Styles */
:root {
  --accent-color: #f39212;
}
::selection {
  color: white;
  background-color: #f39212;
}
input,
textarea {
  caret-color: #f39212;
}

input:focus::placeholder {
  color: transparent;
}

.disable .svg {
  opacity: 0.3;
  pointer-events: none;
}
@font-face {
  font-family: "Neometric";
  src: url("/img/Neometric-Alt-Extra-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: normal;
}


/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 10px;
  border: 3px solid #ffffff;
}

.navButton button {
  border-radius: 20px;
  font-size: 1rem;
  background-color: var(--accent-color);

  color: white;
  padding: 0.6em 1.7em;
}
/* use case background-color: var(--bg-color); */

:focus-visible {
  outline: 2px dashed var(--accent-color);
}
header {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0px 0px;
  touch-action: none;
  border-bottom: 1px solid #eee;
}
header > a {
  left: 50%;
  top: 50%;
  height: 45px;
  transform: translate(-50%, -50%);
  position: absolute;
}
header > a img {
  height: 100%;
}
html,
body {
  overscroll-behavior: contain;
  height: 100vh;
  overflow: hidden;
  margin: 0px;
  padding: 0;
}
.actions {
  display: flex;

  justify-content: center;
  align-items: center;
}
.swiper button {
  border-radius: 10px;
  /*! margin-top: 5%; */
}
button {
  color: black;
  border: none;
  padding: 0.4em 1.5em;
  cursor: pointer;
  font-weight: bold;
}
.content button {
  border-radius: 4px;
}
.content button:hover {
  background-color: rgb(220, 220, 220);
}
input {
  width: 100%;
  padding: 0.4em 1.5em;
  border-radius: 4px;
  border: solid 1px lightgrey;
}
h2 {
  margin-top: 0px;
  margin-bottom: 10px;
}
.actions .action {
  padding: 10px;
  border: none;
  border-bottom: solid 3px #8080804c;
  background-color: white;
  cursor: pointer;
  display: flex;

  justify-content: center;
  align-items: center;
}
.actions .action img {
  width: 85%;
  height: 34px;
  object-fit: contain;
}
.actions .action.active {
  background-color: #8080803e;
  border-bottom: solid 3px var(--accent-color);
}
.configurator {
  height: calc(100vh - 58.5px);
  width: 100%;
  display: flex;
}
.configurator .viewer3D {
  width: 100% !important;
  height: 100% !important;
  background-color: #ffffff;
  position: relative;
}

/**Action pour three js**/

.threeActions {
  right: 0px;
  width: 100%;
  display: flex;
  position: absolute;
  justify-content: flex-end;
  top: 0px;
  padding: 10px;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.threeActions button {
  margin: 0px !important;
  border: none;
  white-space: nowrap;
  border-radius: 10px;
  transition: background-color 100ms ease-in-out;
}

.threeActions a {
  margin: 0px !important;
  border: none;
  white-space: nowrap;
  border-radius: 10px;
  transition: background-color 100ms ease-in-out;
  text-decoration: none;
  background-color: #e9e9ed;
  font-size: 0.8rem;
  padding: 0.4em 1.5em;
  color: black;
  font-weight: bold;
}

.threeActions button:hover {
  background-color: rgb(220, 220, 220);
}
.threeActions a:hover {
  background-color: rgb(220, 220, 220);
}

.colorBtn.white {
  background-color: white;
}
/* Action Realité Augmentée */
.lienLogia {
  text-align: center;

  background: linear-gradient(to right, #6b19b5 0%, #2d0d4a 40%, #6b19b5 50%);
  background-size: 200% auto;
  font-weight: bold;
  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 auto;
  animation: shine 2s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.modelARGo {
  opacity: 0;
  visibility: hidden;
}
#qrcode img {
  margin:0 auto;
  max-width: 100%;
}
#qrcode {
  margin: 5% 0px;
}

#message {
  display: none;
}
#progress_bar {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 99999;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#progress_bar[value="100"] {
  display: none !important;
}

@media screen and (min-width: 595px) {
  body.opened .navButton {
    position: fixed;
    right: 0px;
    bottom: 20px;
    width: 76.7%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1;
  }
  body:not(.opened) .navButton {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 1;
    gap: 10px;
    transform: translateX(-50%);
    width: unset;
    display: flex;
    justify-content: center;
  }

  .svgs {
    padding-bottom: 50px;
  }
}
.augmentedReality2 {
  display: flex;

  justify-content: center;
  margin: 5px 0;
}
.augmentedReality2 button {
  cursor: default!important;
}
.augmentedReality,
.augmentedReality2 button {
  white-space: nowrap;
  background-color: var(--accent-color);
  color: white;
  padding: 0.8em 2rem;
  border-radius: 20px;
  border: none;
  display: flex;
  font-weight: bold;
  gap: 10px;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  transition: box-shadow 200ms ease-in-out, transform 200ms ease-in-out;
}
.bis {
  padding: 0.2em 1rem;
}
.augmentedReality:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  transform: scale(1.05);
}

dialog::backdrop {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
dialog.ARMode {
  /* text-align: -webkit-center; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;*/
}

dialog.ARMode a {
  display: block;
  text-align: center;
  margin-top: 30px;
  align-self: flex-end;
  color: #6b15eb;
  text-decoration: none;
  font-weight: 500;
  font-family: "Neometric";
}

dialog.ARMode p {
  text-align: center;
  font-style: normal;
}
.ARMode .input {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flop3 button {
  max-width: unset !important;
}

.viewInAr {
  fill: white;
}

.configurator canvas {
  width: 100% !important;
  height: 100% !important;
  background-color: #ffffff;
}
.configurator .details {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 58px);
  width: 30%;
  padding: 10px;
  z-index: 999;
  background-color: #f9f9f9;
}
.configurator .details:nth-child(1) {
  padding: 10px 0px !important;
}

.scanMeText {
  font-weight: bold;
}
.configurator .details:nth-child(1) h2 {
  padding: 0px 10px !important;
}
.hide {
  display: none;
}
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Open Sans", "Open Sans", sans-serif;
}
.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
}
.content .input {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
.color .edges {
  text-align: center;
}
.edges {
  font-size: 0.8rem;
  font-style: italic;
  color: grey;
}


.title {
  font-size: 14px;
  margin-bottom: 20px;
}
.explain {
  align-items: center;
  font-weight: normal;
  display: flex;
}
.explain picture {
width: 50%;

}
.explain picture img{
width: 100%;
 border-radius: 10px;
}
#controls h3,.swiper-slide h3 {
  text-align: center;
  margin-bottom: 0px;
  margin-top: 0px;
}
#controls h3 {
  font-size: 16px;
}
#controls span{
  display: block;
  text-align: center;
}
/*
#controls {
 display: flex;
  flex-direction: column;
  justify-content: center;
}*/
.explain p {

  padding:0px 20px;
  }



/* Choix du motifs*/
.details.motifs {
  flex-direction: column;
}
.svg {
  border: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  width: 50%;
  transition: opacity 300ms ease;
  padding: 10px;
  box-shadow: 1px 0 0 0 rgba(136, 136, 136, 0.2),
    0 1px 0 0 rgba(136, 136, 136, 0.2), 1px 1px 0 0 rgba(136, 136, 136, 0.2),
    /* Just to fix the corner */ 1px 0 0 0 rgba(136, 136, 136, 0.2) inset,
    0 1px 0 0 rgba(136, 136, 136, 0.2) inset;
  cursor: pointer;
  background-color: white;
  height: fit-content;
}

.svg object {
  max-width: 850%;
  height: 360px;
}

.svg.active {
  background-color: #f9ce89;
}
.svg h3 {
  text-align: center;
  margin-bottom: 0px;
  margin-top: 10px;

  font-size: 1vw;
}

.svgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.motif {
  overflow: hidden;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 1 / 0.8;

  background-color: white;
  border-radius: 0px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}
/********/

/* Share Page */
.ExportToPdf {
  padding: 0.4em 1.5em;
  border-radius: 12px;
  border: solid 1px white;
  background-color: var(--accent-color);
  color: white;
  cursor: pointer;
}

.ExportToPdf:hover {
  background: #ffa52f;
}

.ExportToPdf:active {
  background: white;
  border: solid 1px var(--accent-color);
  color: var(--accent-color);
}
/********/

/* Mesure  */
.ms {
  width: 80%;
  display: inline-block;
  position: relative;
}

/* position the unit to the right of the wrapper */
.ms::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.5em;
  transition: inset 50ms ease-in-out;
}

/* move unit more to the left on hover or focus within
   for arrow buttons will appear to the right of number inputs */
.ms:hover::after,
.ms:focus-within::after {
  right: 2.5em;
}

/* handle Firefox (arrows always shown) */
@supports (-moz-appearance: none) {
  .ms::after {
    right: 2.5em;
  }
}

/* set the unit abbreviation for each unit class */
.ms::after {
  content: "mm";
}

/** couleur **/
.colorBtn {
  width: 20%;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  padding: 10%;
  border: solid 1px;
  cursor: pointer;
}
.black {
  background-color: black;
}
.gold {
  background-color: #2f3437;
}
.colors {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
.colorBtn.active {
  border-color: var(--accent-color);
}

.flop,
.flop3 {
  display: flex;
  width: 100%;
}
.flop button,
.flop3 button {
  width: 100%;
  max-width: 100px;
  border: none;
}
.flop button:nth-of-type(1),
.flop3 button:nth-of-type(1) {
  border-radius: 10px 0px 0px 10px;
}
.flop button:nth-of-type(2),
.flop3 button:nth-of-type(2) {
  border-radius: 0px 10px 10px 0px;
}

.flop button.active,
.flop3 button.active {
  background-color: var(--accent-color);
  color: white;
}

.flop2 {
  display: flex;
}
.flop2 button {
  max-width: 100px;
  border: none;
}
.flop2 button:nth-of-type(1) {
  border-radius: 10px 0px 0px 10px !important;
}
.flop2 button:nth-of-type(2) {
  border-radius: 0px 10px 10px 0px !important;
}

.flop3 {
  margin-top: 10px;
}

/** modal ***/
form.closeModal {
  right: 5px;
  position: absolute;
  top: 0px;
}
form.closeModal button {
  background-color: white;
  border: none;
  padding: 5px;
  color: #000000b5;
  font-size: 1.1rem;
}
form.closeModal button img {
  width: 100%;
}
dialog {
  border-radius: 12px;
}
dialog#controls {
  width: 80%;
  height: fit-content;
  border: solid 1px #00000024;
  max-width: 1000px;
}
dialog.ARMode {
  max-width: 1000px;
  padding: 3% 10%;
  border: solid 1px #00000024;
}

.QRcodeWrapper h3 {
  color: var(--accent-color);
}

label[for="anchor"] {
  font-weight: bold;
}
.QRcodeWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tutoIsDone {
  margin-top: 20px;
  color: white;
  background-color: var(--accent-color);
  font-size: 1rem;
}
dialog.tutorial {
  max-width: 1000px;
  width: 80%;
  height: fit-content;
  border: solid 1px #00000024;
  display: flex;
  flex-direction: column;
}
dialog.tutorial h1 {
  text-align: center;
  margin-bottom: 0px !important;
  font-size: 2rem;
}
dialog.tutorial h2 {
  margin-top: 0px !important;
  margin-bottom: 10px !important;
  font-size: 1.5rem;
}
.swiper {
  margin: 20px auto;
  width: 100%;
}
.swiper-wrapper {
  align-items: flex-start;
}
.swiper-pagination {
  position: initial !important;
}
.swiper-slide {
  
  border-radius: 4px;
  font-size: 22px;
 
  text-align: center;
  align-items: center;
  font-weight: bold;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 60vh;
  color: rgb(0, 0, 0);
  background-color: white;
}
.swiper {
  overflow-y: auto;
}
.swiper-slide .imageSlide img {
  width: 80%;

  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 10px;
  object-fit: cover;
  max-height: 40vh;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color) !important;
}
.swiper-pagination-bullet-active {
  background-color: var(--accent-color) !important ;
}

.swiper-button-disabled {
  opacity: 0 !important;
}
span.description {
  font-size: 1rem;
}

.instruction {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-direction: column;
}
.augmentedReality2 button {
  font-size: 0.6rem !important;
}
.augmentedReality2 button svg {
  height: 24px;
}

.etape {
  color: var(--accent-color);
  white-space: nowrap;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

}
.etape h3 {
  margin: 0px;
}

.section--description {
  display: flex;
  margin: 0 auto;
  align-items: center;
  width: 80%;
  justify-content: center;
  gap: 20px;
  margin-top: 0px;
}
.imageSlide {
  margin-top: 10px;
}
.swiper-slide .motifs {
  height: 30px !important;
  width: 30px !important;
  object-fit: contain;
}
.motifs.etape2 {
}
.swiper-slide p {
  color: black;
  font-size: 1rem;
  display: inline;
  line-height: 1rem;
}

kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
    0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
  color: #333;
  display: inline-block;
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}
div.mouseIcon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0px;
}

div.mouseIcon p {
  margin: 0px;
}

.mouse-icon {
  width: 17px;
  height: 25px;

  position: relative;
  border: 3px solid rgb(0, 0, 0);
  display: inline-block;
  z-index: 700;
  opacity: 0.5;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

/* .mouse-icon::before{
content:'SCROLL';
width:60px;
display:block;
margin:0 0 0 -30px;
position:absolute;
left:50%;
text-align:center;
font:1em 'Dosis', sans-serif;
color:rgb(0, 0, 0);
font-weight:700;
opacity:0;
-webkit-transform: scaleX(0);
 -moz-transform: scaleX(0);
 -o-transform: scaleX(0);
 transform: scaleX(0);
-moz-transition: all 0.3s ease-in-out;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
} */

.mouse-icon:hover {
  opacity: 1;
  cursor: pointer;
}

/* .mouse-icon:hover:before{
margin-top:-30px;
opacity:1;
-webkit-transform: scaleX(1);
 -moz-transform: scaleX(1);
 -o-transform: scaleX(1);
 transform: scaleX(1);
} */

.scroll-wheel {
  width: 5px;
  height: 6px;
  /* display:block; */
  margin-top: -4px;
  position: absolute;
  top: -7px;
  left: 3px;
  background: rgb(0, 0, 0);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-animation: scrollWheel 1s linear infinite;
  -moz-animation: scrollWheel 1s linear infinite;
  -o-animation: scrollWheel 1s linear infinite;
  animation: scrollWheel 1s linear infinite;
}

.invert {
  animation-direction: reverse;
}

.scroll-wheel2 {
  width: 5px;
  height: 6px;

  margin-top: -4px;
  position: absolute;
  top: 7px;
  left: 1px;
  background: rgb(0, 0, 0);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  -webkit-animation: scrollWheel2 1s linear infinite;
  -moz-animation: scrollWheel2 1s linear infinite;
  -o-animation: scrollWheel2 1s linear infinite;
  animation: scrollWheel2 1s linear infinite;
}

@-webkit-keyframes scrollWheel {
  0% {
    top: 5px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@-moz-keyframes scrollWheel {
  0% {
    top: 5px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@-o-keyframes scrollWheel {
  0% {
    top: 5px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@-webkit-keyframes scrollWheel2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes scrollWheel2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-o-keyframes scrollWheel2 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.popupIOS p {
  padding: 0px 30px;
  text-align: center;
  font-weight: bold;
}
.popupIOS {
  padding: 0px;
  overflow: hidden;
  max-width: 84%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: black;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.popupIOS form.closeModal {
  right: -2px;
  position: absolute;
  top: -2px;
}
.buttonChoice {
  width: 100%;
  display: flex;
  text-align: center;
  border-top: solid 1px #8080802e;
  flex-direction: column;
}

.popupIOS a {
  display: inline-block;
  width: 100%;
  padding: 10px;
  text-decoration: none;
  color: var(--accent-color);
}
.iosLink {
  /*! padding: 1em 3em; */
  font-size: 1rem;
  height: 100%;
  color: var(--accent-color);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  border-left: solid 1px #8080802e;
}
.popupIOS form.closeModal button {
  border-bottom-left-radius: 12px;
}

.save {
  overflow: hidden;
  border: solid 1px rgba(0, 0, 0, 0.127);
  padding: 15px;
  width: 50%;
  position: relative;
  border-radius: 12px;
}

.save p {
  margin-top: 10px;
  margin-bottom: 0px !important;
}
.save.black,
.save.gold,
.save.white {
  background-color: white;
}
.save > div {
  border: solid;
}
.save.white > div {
  filter: invert(90%);
}

.save.gold > div {
  filter: invert(55%) sepia(8%) saturate(126%) hue-rotate(161deg)
    brightness(91%) contrast(84%);
  border-color: red;
}

.save.black > div {
}
.save.active {
  background-color: #eee;
}
.saves {
  display: flex;
  flex-wrap: wrap;
}
.save > div {
  overflow: hidden;
  margin: 0 auto;
  background-size: cover;
  background-repeat: no-repeat;
}

.save > div::before {
  --image-url: url("../../motifs/Bannanier.svg");
  background-image: var(--image-url);
}

.SaveConfig {
  border-radius: 12px;
}
.saveTitle {
  margin-top: 15px;
}

.save .removeSave {
  z-index: 999;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  max-height: 0px;
  overflow: hidden;
  position: absolute;
  top: 5px;
  right: 5px;
}
.save:hover .removeSave {
  opacity: 1;
  max-height: 100px;
}

.save.hidden {
  display: none;
}

body:not(.lastStep) .augmentedReality {
  display: none !important;
}
.lastStep .next {
  display: none !important;
}
.hideOnPc {
  display: none;
}

/**/

/* Small screen devices (600px and above) */
@media only screen and (min-width: 600px) {
}

/* Medium screen devices (768px and above) */
@media only screen and (max-width: 768px) {
  header > a {
    left: unset !important;
    right: 12px;
    top: 50%;
    height: 45px;
    transform: translate(0%, -50%) !important;
    position: absolute;
  }
}

/* Big screen devices (889px and above) */
@media only screen and (max-width: 889px) {
  .hideOnPc {
    display: block !important;
  }
  .etape {
    justify-content: center;
  }
  .section--description {
    flex-direction: column;
    gap: 0px !important;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.5rem !important;
  }
  .svg {
    width: 49.6%;
  }
  .svg h3 {
    font-size: 1.8vw;
  }

  .save {
    width: 100%;
  }
  .hideOnIpadIphone {
    display: none !important;
  }
}

/* Extra big screen devices (1200px and above) */
@media only screen and (min-width: 1200px) {
}

/* For extremely small screen devices (595px and below) */
@media only screen and (max-width: 595px) {
  .explain picture {
    width: 80%;
    
    }
  .explain.altExplain {
    flex-direction: column-reverse;
  }
  .explain p {
    font-size: 0.7rem!important;
line-height: 0.7rem;
width: 100%;
padding: 0!important;
  }
  .explain  {
flex-direction: column;
  }
  #controls {
    justify-content: flex-start;
  }
  
  .swiper-pagination {
    display: none;
    }
  dialog.tutorial {
    width: 90%;
  }
  .swiper-slide p {
    font-size: 0.9rem;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 0px !important;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 0px !important;
  }
  .hideOnPhone {
    display: none !important;
  }
  .instruction {
    flex-direction: column;
  }

  .swiper-wrapper {
    align-items: flex-start;
  }
  .swiper-horizontal {
    overflow-y: auto;
  }
  dialog.tutorial h1 {
    text-align: center;
    font-size: 1.5rem;
  }

  .swiper-slide img {
    width: 80%;
    max-height: 50vh;
  }

  .motif {
    width: 100%;
    height: 80px;
    border-right: 1px solid;
    border-bottom: 1px solid;

    overflow: hidden;
  }

  body .navButton {
    position: fixed;
    bottom: 20px;
    left: 50%;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
    gap: 5px;
    text-align: center;
  }

  .svgs {
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }
  .saves {
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    scroll-snap-points-x: repeat(300px);
    scroll-snap-type: x mandatory;
  }

  .save {
    flex-shrink: 0;
    width: 300px !important;
    scroll-snap-align: start;
  }

  .details .content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row !important;
    justify-content: space-evenly;
    gap: 0px !important;
  }
  .details .content .input {
    display: inline;
    padding: 10px 0px;
    width: 45%;
  }
  .ms {
    width: 100%;
  }
  .configurator {
    display: flex;
    flex-direction: column;
  }
  .configurator .details {
    max-height: 50vh;
    min-height: 30vh;
    overflow-y: auto;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    /*! display: flex; */
  }

  .svgs {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap; /*! height: 81%; */
  }
  header > img {
    height: 35px;
  }
  .svg {
    width: 130px !important;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .svg object {
    height: 300px !important;
  }
  .svg h3 {
    font-size: 3.8vw;
  }

  .details {
    position: relative;
    width: 100% !important;
  }

  .configurator .viewer3D {
    width: 100% !important;
  }
  body.opened .configurator .viewer3D {
    height: 68% !important;
  }
}

@media only screen and (max-width: 400px) {
  .action {
    width: 50px;
  }
  .actions .action img {
    width: 100%;
  }
}

.firstStep .previous {
  opacity: 0.5;
  pointer-events: none;
}
body .chargementModel {
  display: none;
}


  body.loadingModel .chargementModel {
    display: block;
  }

.chargementModel {
  font-family: "Open Sans", "Open Sans", sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 12px;
  text-align: center;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
    rgba(17, 17, 26, 0.1) 0px 0px 8px;
  width: 80%;
  z-index: 999999;
  padding: 0em 2em;
}

.chargementModel img {
  max-width: 100%;
}
.chargementModel p {
  font-weight: bold;
  margin-bottom: 0px;
}

.enCours {
  margin-top: 0px;
  margin-bottom: 10px !important;
  color: var(--accent-color);
  font-weight: bold;
}

.loadingModel .augmentedReality {
  opacity: 0.3;
  pointer-events: none;
}

.nomove {
  touch-action: none !important;
  pointer-events: none !important;
}
.nomove * {
  pointer-events: none !important;
  touch-action: none !important;
}
.nomove button {
  touch-action: none !important;
}

.classicText {
  display: block !important;
  margin: 0px;
}

/* Fix for safari */
.safari dialog {
  position: fixed;
  margin: 0;
  left: 50%;
  z-index: 9999999999999;
  top: 50%!important;
  transform: translate(-50%, -50%);
  max-height: 90vh;
  overflow: auto;
}



  .safari .motif {
    max-height: 121px;
  }
  .safari .ms::after {
    display: none;
  }
  .gapNotSupported .etape {
    margin-bottom: 5px;

  }
  .gapNotSupported .etape .motifs {
    margin-right: 10px;

  }
  .gapNotSupported .colors button:first-of-type {
    margin-right:20px;
  }
  .gapNotSupported .colors button:last-of-type {
    margin-left:20px;
  }

  .gapNotSupported .threeActions > button {
    margin: 4px !important;
  }
  @media screen and (min-width:595px) {
    .gapNotSupported .content .input {
      margin: 20px 0;
    }
  }
  



