@font-face {
  font-family: 'MetaPro';
  src: url('fonts/MetaPro-Regular.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  url('fonts/MetaPro-Regular.otf') format('opentype');
  /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

@font-face {
  font-family: 'MetaPro';
  src: url('fonts/MetaPro-Bold.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  url('fonts/MetaPro-Bold.otf') format('opentype');
  /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
  font-weight: bold;
}

@font-face {
  font-family: 'FestoIcons';
  src: url('fonts/festo_icons-32.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  url('fonts/festo_icons-32.ttf') format('truetype');
}

body {
  margin: 0;
  overflow: hidden;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

a:focus, button:focus {
  outline: none;
}

model-viewer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  --poster-color: transparent;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

#container {
  max-width: 342px;
  position: relative;
  margin: 0 auto;
  z-index: 99;
  pointer-events: none;
}

#topbar {
  position: relative;
  width: 100%;
  height: 56px;
  border-bottom: 1px solid #B6BEC6;
}

#topbarContent {
  padding-top: 24px;
}

#topbarContent h2 {
  font-size: 15px;
  margin: 0;
  line-height: 1.0;
  font-weight: bold;
  cursor: pointer;
  pointer-events: none;
}

#topbarButtons {
  cursor: default;
}

.iconbutton {
  display: inline-block;
  padding-right: 10px;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 20px;
  font-family: 'FestoIcons';
  color: #B6BEC6;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#help {
  opacity: 0.25;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

#info {
  opacity: 1.0;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

#logo {
  position: absolute;
  top: 24px;
  right: 0;
}

#logo img {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  cursor: pointer;
  pointer-events: none;
}

#content {
  position: relative;
  width: 100%;
}

.annotationH {
  font-weight: bold;
  margin-bottom: 0.4em;
}

.annotationB {
  margin-top: 0.8em;
}

.btn-cart {
  font-size: 12px !important;
  min-height: 12px !important;
  padding: 3px 10px 5px !important;
  pointer-events: all;
}

.btn-cart svg {
  fill: white;
  width: 13px;
  height: 13px;
  margin-right: 0.4em;
}

.panel {
  background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 8px;
  margin-top: 0px;
  padding: 12px;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  pointer-events: none;
}

.colpanel {
  max-width: 100%;
}

#instructions {
  display: block;
  padding-left: 6px;
}

#information {
  display: none;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  margin: 0;
  padding: 4px 0 4px 30px;
  list-style: none;
}

li.zoom {
  background-image: url("images/Zoom_dark.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 26px;
}

li.rotate {
  background-image: url("images/Swipe-Left_dark.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 26px;
}

li.info {
  background-image: url("images/Press_dark.svg");
  background-repeat: no-repeat;
  background-position: 2px center;
  background-size: 26px;
}

#prompt-info {
  opacity: 1.0;
}

#loading-animation {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
}

.hotspotButton {
  display: block;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  --min-hotspot-opacity: 0.0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.hotspotButton:not([data-visible]) {
  pointer-events: none;
}

.hotspotButton::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background-color: rgb(0, 145, 220);
  border: 2px solid rgb(255, 255, 255);
}

.hotspotAnimation::after {
  box-shadow: 0 0 0 0 rgba(0, 145, 220, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
}

.hotspotHidden {
  opacity: 0.25;
}

.hotspotHidden:not([data-visible]) {
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(0, 145, 220, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 145, 220, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(0, 145, 220, 0);
  }
}

.annotation {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-size: 12px;
  line-height: 14px;
  text-align: left;
  position: absolute;
  width: 160px;
  padding: 12px;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.displayLeft {
  transform: translate(-148px, 28px);
}

.displayRight {
  transform: translate(28px, 28px);
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#animation-button {
  background-color: #0091DC;
  border-radius: 4px;
  font-size: 16px;
  width: 342px;
  height: 48px;
  color: #FFFFFF;
  border: none;
  margin: 0;
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.progress-background {
  background-color: #E6E9EC;
  position: absolute;
  border-radius: 4px;
  overflow: hidden;
  bottom: 80px;
  width: 342px;
  height: 48px;
  left: 50%;
  transform: translateX(-50%);
}

#progress-container {
  opacity: 0.95;
  display: none;
}

#progress-bar {
  background-color: #D8DCE1;
  width: 0%;
  height: 100%;
}

#progress-text {
  position: absolute;
  top: 0;
  left: 0;
  color: #B9BABB;
  width: 100%;
  height: 100%;
  font-size: 16px;
  text-align: center;
  line-height: 48px;
}

#ar-hint {
  border-radius: 4px;
  font-size: 12px;
  line-height: 16px;
  padding: 5px 8px 0;
  background-color: rgba(0, 0, 0, 0.25);
  /* color: #B6BEC6; */
  color: #ffffff;
  text-align: center;
  width: 342px;
  height: 48px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 100;
  pointer-events: none;
}

#ar-button {
  background-color: #0091DC;
  border-radius: 4px;
  font-size: 16px;
  width: 342px;
  height: 48px;
  color: #FFFFFF;
  border: none;
  margin: 0;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 101;
 }

.hide {
  display: none;
}

/* This keeps child nodes hidden while the element loads */

:not(:defined)>* {
  display: none;
}

@media screen and (min-width: 768px) {
  #container {
    max-width: 696px;
  }
  .colpanel {
    max-width: 336px;
  }
  #topbarContent h2 {
    font-size: 16px;
  }
  #ar-hint {
    bottom: 72px;
  }
  #ar-button {
    bottom: 72px;
  }
  #animation-button {
    bottom: 128px;
  }
  .progress-background {
    bottom: 128px;
  }
}

@media screen and (min-width: 1024px) {
  #container {
    max-width: 912px;
  }
  .colpanel {
    max-width: 288px;
  }
}

@media screen and (min-width: 1440px) {
  #container {
    max-width: 1320px;
  }
  .colpanel {
    max-width: 336px;
  }
}

@media screen and (min-width: 1920px) {
  #container {
    max-width: 1800px;
  }
  .colpanel {
    max-width: 328px;
  }
}

@media (hover: hover) {
  li.zoom {
    background-image: url("images/Zoom-Mouse_dark.svg");
    background-position: 3px center;
  }
  li.info {
    background-position: 3px center;
  }
}