/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Media Queries
   ========================================================================== */



@media only screen and (min-width: 35em) {
}

@media print,
  (-o-min-device-pixel-ratio: 5/4),
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 120dpi) {
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  a[href^='#']:after,
  a[href^='javascript:']:after {
    content: '';
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* Embedd styles */

body {
  background: white;
}
body.loaded {
  background: #white;
}

h1 {
  font-family: 'suisse_intlbold';
  font-weight: normal;
  text-align: center;
  font-size: 1.2em;
  margin: 0.1em;
  padding: 0px;
}
span {
  font-family: 'suisse_intlregular';
  font-weight: normal;
  text-align: center;
  font-size: 0.8em;
  margin: 0.1em;
  padding: 0px;
  display: block;
}

#container {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  overflow: hidden;
}

.view {
  display: block;
  position: absolute;
  top: 0%;
  left: 0%;
  transition: all 0.8s ease-in-out;
  transition-delay: 0.1s;
  width: 100%;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
}

.view.show {
  opacity: 1;
  visibility: visible;
}

#logoholder {
  position: absolute;
  width: 90vw;
  max-width: 500px;
  max-height: 500px;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

}

.poweredByLD {

}

.poweredByLD > img {
  width: auto;
  max-width: 70vw;
  object-fit: contain;
  max-height: 500px;
}

.poweredBy {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top:10px;
}

.poweredBy > h4 {
  text-align: center;
  font-family: 'suisse_intlregular';
  font-weight: normal;
  margin: 0.5% 1% 0 0;
  font-size: 70%;
}

.poweredByLD > .customerLogo {
  width: 80%;
}

.poweredBy > .londonDynamicsLogo {
  width: 40%;
}

@media screen and (max-width: 350px) {
  .poweredBy > h4 {
    font-size: 50%;
    margin: 1% 1% 0 0;
  }
}

#logo {
  width: 90%;
  max-width: 300px;
  transition: all 0.8s ease-in-out;
}

#loader_progress {
  width: 100px;
  height:2px;
  border: solid 1px #000;
  margin-top: 20px;
  opacity: 0.1;
}
#loader_progress .loader_inner {
  height: 2px;
  width: 0%;
  background-color: black;
}

#qrCode {
  position: absolute;
  border-radius: 5%;
  width: 100vw;
  height: 100vw;
  max-width: 100vh;
  max-height: 100vh;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 1;
  text-align: center;
}
#qrCode .inner {
  padding: 2%;
}
#qrCode_code {
  overflow: hidden;
  width: 100%;
  max-height: 75vh;
  max-width: 75vh;
  margin: auto;
  margin-top: 2vh;
}

#qrCode img,
#qrCode svg {
  overflow: hidden;
  width: 100%;
  max-height: 100%;
}

#video {
  height: 45vw;
  max-height: 100%;
  width: 80%;
  height: 80%;
  background: black;
  position: absolute;
  top:50%;
  left:50%;
  transform:translate3d(-50%,-50%,0px);
  display: none;
  transition: opacity 0.4s ease-in-out;
}
#video.prepare {
  transition: none;
  opacity: 0;
  display: block;
  z-index: 1000;
}
#video.show {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
  display: block;
  z-index: 1000;
}
#model {
  width: 100%;
  height: 100%;
  background: white;
}
#model canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: none;
}
model-viewer {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.loaded #logoholder {
  opacity: 0;
}

#info {
  z-index: 1000;
}

#view_notsupported h1 {
  font-size: 30px;
  margin: 50px 10px;
}
.view_inner.white {
  background: white;
  position: absolute;
  padding: 2vw;
  border-radius: 25px;
  width: 90vw;
  height: 90vw;
  max-width: 500px;
  max-height: 500px;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 1;
  text-align: center;
}

.toggleView, .toggleView:active, .toggleView:visited {
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
  border-radius: 100px;
  z-index: 1000;
  position: absolute;
  bottom: 16px;
  right: 16px;
  color:black;
  text-decoration: none;
  padding: 0 20px 0 20px;
}
.toggleView.show {
  display: flex;
}
.toggleView .title {
  line-height: 45px;
  height: 40px;
  padding-left: 5px;
}
#enterTryOn {
  right: inherit;
  left:16px;
  display: block;
  width: 120px;
}
#enterTryOn img {
  float: left;
  height:14px;
  margin-left:16px;
  margin-top:14px;
  margin-right:-10px;
}
.frameContainer {
  margin-left:-12px !important;
}
#showAROverride {
  display:none;
}
#showAROverride svg {
  float: left;
  margin-left:16px;
  margin-top:8px;
  margin-right:-10px;
}

.panel {
  position: absolute;
  bottom: 75px;
  height:80px;
  overflow: hidden;
  margin: 0px 50%;
  transform: translate3d(-50%, 162px, 0);
  background: white;
  border: solid 1px #ddd;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
}
.panel.show {
  transform: translate3d(-50%, 0, 0);
}
.panel .option {
  height: 60px;
  min-width: 80px;
  margin:10px;
  cursor: pointer;
}
.panel .option img {
  border-radius: 50%;
  margin:0px 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}
.panel .option .option_swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin:0px 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}
.panel .option .option_title {
  font-size: 10px;
  text-align: center;
}

.ld-msg {
  position: absolute;
  z-index: 1010;

  bottom: 100px;
  left: 16px;
  right: 16px;
  background: white;
  padding: 10px;
  font-size: 12px;

  font-family: 'suisse_intlregular';
  font-weight: normal;
  font-size: 0.8em;

  border-radius: 10px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.8s ease-in-out;
}
.ld-msg.show {
  visibility: visible;
  opacity: 1;
}
.ld-msg a,
.ld-msg a:active,
.ld-msg a:visited,
.ld-msg a:hover {
  color: red;
}
#close-android-msg {
  font-size: 11px;
}

@media screen and (max-width: 400px) {
  #showModel {
    display: none;
  }
  #qrCode_code {
    margin-top: 3vh;
    max-height: 70vh;
    max-width: 70vh;
  }
}

@media screen and (max-width: 350px) {
  h1 {
    font: 1em;
  }
  span {
    font-size: 0.7em;
    line-height: 1.3em;
  }
}

@media screen and (max-width: 280px) {
  h1 {
    font: 0.8em;
  }
  span {
    font-size: 0.5em;
    line-height: 1.2em;
  }
  #qrCode_code {
    max-height: 65vh;
    max-width: 65vh;
  }
}

@media screen and (max-width: 180px) {
  h1 {
    font-size: 0.7em;
  }
  #qrCode_code {
    max-height: 60vh;
    max-width: 60vh;
  }
}

@media screen and (max-width: 140px) {
  span {
    display: none;
  }
  #qrCode_code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -40%, 0);
    max-height: 70vh;
    max-width: 70vh;
  }
}

@media screen and (max-width: 80px) {
  h1 {
    display: none;
  }
  #qrCode_code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    max-height: 100vh;
    max-width: 100vh;
  }
}

.error_group span {
  font-family: 'Helvetica';
  text-align: left;
  font-size: 0.8em;
  margin: 0.1em;
  padding: 0px;
}
.error_group .headline {
  display: block;
  font-weight: bold;
}

/* ==========================================================================
    Hotspot styles
   ========================================================================== */

.hotspot img {
  color: #000;
}

.hotspot p {
  color: #000;
  font-weight: 300;
  font-size: 1rem;
  margin: 0.2rem 0;
}

.hotspot h5 {
  margin: 0.4rem 0;
  font-weight: 600;
}

.hotspotImage {
  min-width: 160px;
  height: 100px;
  border-radius: 0.2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hotspot {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  border: 0px;
  box-sizing: border-box;
  cursor: pointer;
  height: 24px;
  position: relative;
  transition: opacity 0.3s ease 0s;
  width: 24px;
  pointer-events: none;
  opacity: 0;
}
.hotspot.dim {
  opacity: 0.3;
}
.hotspot[data-visible] {
    opacity: 1;
}
.hotspot:focus {
  outline: none;
}
.hotspot::before {
  background: rgb(255, 255, 255);
  border-radius: 32px;
  border: 0px;
  box-sizing: border-box;
  cursor: pointer;
  position: absolute;
  transition: opacity 0.3s ease 0s;
  top:-8px;
  left:-8px;
  width: 40px;
  height: 40px;
  pointer-events: none;
  content:"";
  display: none;
  animation-duration: 2.8s;
  animation-iteration-count: infinite;
}
@keyframes pulse-hotspot {
  from {
    transform:scale(0.60);
    opacity:1;
  }
  to {
    transform:scale(1);
    opacity:0;
  }
}
.hotspot[data-visible] {
  pointer-events: auto;
}
.hotspot[data-visible]::before {
  display: block;
  animation-name: pulse-hotspot;
}

.hotspotText {
  padding: 0.5rem 1rem;
}

.hotspotLink {
  background: #E7100F;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  color: #fafafa;
  letter-spacing: -0.035rem;
  line-height: 1.8rem;
  text-align: center;
  vertical-align: middle;
  padding: 0.3rem 1rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.hotspotLinkWrapper {
  margin: 0.8rem 0 0.6rem 0;
}

.mb {
  margin-bottom: 0.8rem !important;
}

.hotspotColors {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.hotspotColors .color {
  width:72px;
  height: 66px;
  text-align: center;
  margin-left:10px;
  margin-right: 10px;
  margin-bottom: 10px;
}
.hotspotColors .color .swatch {
  border-radius: 20px;
  width:40px;
  height: 40px;
  text-align: center;
  line-height: 50px;
  margin-left: 16px;
  margin-right: 5px;
  position: relative;
  overflow: hidden;
}
.hotspotColors .color .swatch:after {
	position: absolute;
	content: ' ';
	width: 100%;
	height: 50%;
	top: 0;
	left: 0;

	background: -moz-linear-gradient(top, rgba(255,255,255,0.7) 0%, rgba(255,255,255,.1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.7)), color-stop(100%,rgba(255,255,255,.1)));
	background: linear-gradient(top, rgba(255,255,255,0.7) 0%,rgba(255,255,255,.1) 100%);
}

.hotspotColors .color .label {
  font-size: 11px;;
}

.hotspotAnnotation {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  box-shadow: 0 1.7px 3.5px rgba(0, 0, 0, 0.011),
    0 4.2px 8.4px rgba(0, 0, 0, 0.016), 0 7.9px 15.9px rgba(0, 0, 0, 0.02),
    0 14.1px 28.4px rgba(0, 0, 0, 0.024), 0 26.3px 53.1px rgba(0, 0, 0, 0.029),
    0 63px 127px rgba(0, 0, 0, 0.04);
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-size: 18px;
  font-weight: 700;
  left: calc(100% + 1em);
  max-width: 280px;
  position: absolute;
  top: 50%;
  width: max-content;
  border-radius: 0.2rem;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}
.hotspotAnnotation.wide {
  max-width: 375px;
}

@media screen and (max-width: 480px) {
  .hotspotAnnotation {
    transform: translateX(-50%);
    top: 30px;
    left: 50%;
  }
}

.hotspot.active[data-visible] .hotspotAnnotation {
  opacity: 1 !important;
  pointer-events: inherit;
}


/* For hotspot switch */

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ececec;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #ccc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #ccc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



#toggleButtonContainer {
  position: absolute;
  right: 16px;
  top: 10px;
  display: flex;
  flex-direction: column;
}
.toggleButton {
  display: flex;
  flex-direction: row;
  line-height: 29px;
  justify-content: flex-end;
  height: 30px;
}

.toggleButton p {
  margin: 0 0.6rem -4px 0;
  font-size: 0.8rem;
  font-family: 'suisse_intlregular';
  font-weight: normal;
}


.hideHotspot {
  display: none;
}


@media only screen and (max-width: 400px) {
  h1 {
    font-size: 1em;
  }
  span {
    font-size: 0.5em;
  }

}