﻿@font-face {
  font-family: "lineto-circular-medium";
  src: url("/fonts/Circular/lineto-circular-medium.woff") format("woff");
}
@font-face {
  font-family: "lineto-circular-book";
  src: url("/fonts/Circular/lineto-circular-book.woff") format("woff");
}
/*@font-face {
    font-family: 'Spot Normal';
    src: url('../../scss/triceratops/Spot-Normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}*/
#model-wrapper {
  display: block;
  position: fixed;
  width: 100vw;
  height: 100%;
  z-index: 4;
  background-color: #2A2E3A;
  background-image: linear-gradient(90deg, #2A2E3A 0%, rgba(42, 46, 58, 0) 18%), linear-gradient(90deg, rgba(42, 46, 58, 0) 82%, #2A2E3A 100%), linear-gradient(0deg, rgba(42, 46, 58, 0) 82%, #2A2E3A 100%), linear-gradient(0deg, #2A2E3A 0%, rgba(42, 46, 58, 0) 40%), url("/images/triceratops/grid-dark.png");
  opacity: 1;
}
#model-wrapper model-viewer {
  position: absolute;
  width: 100vw;
  height: 100%;
}
#model-wrapper model-viewer {
  --poster-color: #2A2E3A;
}
#model-wrapper .hotspot.selected {
  background-image: url("/images/triceratops/hotspot-selected.svg");
}
#model-wrapper .hotspot {
  width: 24px;
  height: 24px;
  border: none;
  background-color: transparent;
  background-image: url("/images/triceratops/hotspot.svg");
  background-repeat: no-repeat;
  display: block;
  cursor: pointer;
}
#model-wrapper #close-button {
  position: absolute;
  top: 12px;
  right: 4px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 11px;
  background-color: rgba(29, 32, 41, 0.8);
  cursor: pointer;
}
@media (min-width: 768px) {
  #model-wrapper #close-button {
    top: 24px;
    right: 24px;
  }
}

#model-wrapper {
  /* START Model info Interface */
  /* END Model info Interface */
  /* Gradient to soften cut-off when info-box is displayed on mobile */
}
#model-wrapper #model-info-container {
  display: none;
  position: absolute;
  bottom: 0px;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  height: 240px;
  padding: 8px 16px 0px 16px;
  background-image: linear-gradient(180deg, rgba(29, 32, 41, 0.8) 0%, rgba(29, 32, 41, 0.95) 97%);
  opacity: 0;
}
@media (min-width: 768px) {
  #model-wrapper #model-info-container {
    bottom: 40px;
    width: auto;
    height: 248px;
    margin: 0px 40px;
    padding: 16px 24px 0px 24px;
  }
}
@media (min-width: 992px) {
  #model-wrapper #model-info-container {
    right: 0px;
    width: 484px;
    height: 292px;
  }
}
#model-wrapper #model-info-container .nav {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  border-top: 1px solid rgba(228, 230, 232, 0.2);
  padding-top: 8px;
}
#model-wrapper #model-info-panel {
  height: 184px;
  color: #e4e6e8;
}
#model-wrapper #model-info-panel h3 {
  padding: 0;
  width: 90%;
  margin-bottom: 4px;
  font-family: "lineto-circular-medium";
  font-size: 19px;
  letter-spacing: -0.2px;
  line-height: 26px;
}
#model-wrapper #model-info-panel #hotspot-content {
  margin-bottom: 0px;
  height: 162px;
  overflow-y: scroll;
}
@media (min-width: 768px) {
  #model-wrapper #model-info-panel #hotspot-content {
    height: 130px;
  }
}
@media (min-width: 992px) {
  #model-wrapper #model-info-panel #hotspot-content {
    height: 168px;
    overflow-y: hidden;
    /* Should be scroll and attentional style to handle custom scrollbar */
  }
}
#model-wrapper #model-info-panel p {
  padding-right: 16px;
  /* Allows for scroll bar */
  font-family: "Source Sans Pro";
  font-size: 14px;
  line-height: 22px;
}
@media (min-width: 768px) {
  #model-wrapper #model-info-panel h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 30px;
  }
  #model-wrapper #model-info-panel p {
    font-size: 18px;
    line-height: 28px;
  }
}
@media (min-width: 992px) {
  #model-wrapper #model-info-panel {
    height: 218px;
  }
  #model-wrapper #model-info-panel p {
    padding-right: 0px;
  }
}
#model-wrapper #close-info-panel {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
@media (min-width: 992px) {
  #model-wrapper #close-info-panel {
    top: 16px;
  }
}
#model-wrapper #close-button svg,
#model-wrapper #close-info-panel svg,
#model-wrapper #model-info-container .nav a svg {
  cursor: pointer;
  fill: #7373FF;
}
#model-wrapper #close-button:hover svg,
#model-wrapper #close-info-panel:hover svg,
#model-wrapper #model-info-container .nav a:hover svg {
  fill: rgba(115, 115, 255, 0.8);
}
#model-wrapper #mobile-gradient {
  display: none;
  position: absolute;
  bottom: 220px;
  width: 100%;
  height: 80px;
  background: linear-gradient(0deg, #2A2E3A 0%, rgba(42, 46, 58, 0) 100%);
  opacity: 0;
}

#model-wrapper.light {
  background-color: #ffffff;
  background-image: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 18%), linear-gradient(90deg, rgba(255, 255, 255, 0) 82%, #ffffff 100%), linear-gradient(0deg, rgba(255, 255, 255, 0) 82%, #ffffff 100%), linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 40%), url("../../scss/triceratops/images/triceratops/grid-light.png");
}
#model-wrapper.light #close-button {
  padding: 10px;
  border: 1px solid rgba(42, 46, 58, 0.2);
  background-color: rgba(255, 255, 255, 0.8);
}
#model-wrapper.light #model-info-container {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 97%);
}
@media (min-width: 768px) {
  #model-wrapper.light #model-info-container {
    border: 1px solid rgba(42, 46, 58, 0.2);
    box-shadow: 0 6px 4px -4px rgba(0, 0, 0, 0.15);
  }
}
#model-wrapper.light #model-info-container .nav {
  border-top: 1px solid rgba(42, 46, 58, 0.2);
}
#model-wrapper.light #model-info-panel {
  color: #2A2E3A;
}
#model-wrapper.light #close-button svg,
#model-wrapper.light #close-info-panel svg,
#model-wrapper.light #model-info-container .nav a svg {
  fill: #33318C;
}
#model-wrapper.light #close-button:hover svg,
#model-wrapper.light #close-info-panel:hover svg,
#model-wrapper.light #model-info-container .nav a:hover svg {
  fill: rgba(51, 49, 140, 0.8);
}
#model-wrapper.light #mobile-gradient {
  background: linear-gradient(0deg, #ffffff 30%, rgba(255, 255, 255, 0) 100%);
}

#model-modal {
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: auto;
  display: none;
  z-index: 30;
}

.modal-content {
  height: calc(100vh - 96px);
  width: calc(100vw - 96px);
  position: absolute;
  top: 48px;
  left: 48px;
  padding: 64px 16px 16px 16px;
  -webkit-overflow-scrolling: touch;
  background-color: #333;
}
.modal-content h3 {
  text-align: center;
}
