/* ==========================================================================
   Generic page styles
   ========================================================================== */

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html,
body {
  background-color: #171717;
  font-family: "Open Sans",sans-serif;
  height: 100%;
  overflow: hidden;
  width: 100%;
}
h1 {
  color: #3e3e3e;
  font-size: 36px;
  font-weight: 300;
}
h2 {
  font-size: 20px;
  font-weight: normal;
  margin: 5px 0 30px 0;
  color: #000;
}
a {
  text-decoration: none;
}
svg {
  display: block;
  max-height: 100%;
  width: 100%;
}

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


/* ==========================================================================
   GUI
   ========================================================================== */
.gui-container {
  bottom: 0;
  opacity: 0;
  padding: 0 0 10px;
  position: absolute;
  right: 0;
  visibility: hidden;
}
.gui-container.editor {
  bottom: 70px;
}

/* =====================================
   BUTTONS
   ===================================== */
.button,
#help-screen .button {
  background-color: rgba(78,77,85,.8);
  color: #fff;
  display: block;
  float: left;
  font-size: 12px;
  height: 60px;
  line-height: 1;
  margin-right: 10px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  width: 60px
}
#help-screen .button {
 cursor: default;
}
.button.enabled,
.button.button-auto.disabled {
  background-color: #4d4e55;
}


.button.button-motion {
  font-size: 14px;
  left: 10px;
  position: absolute;
  top: 10px;
  width: 120px;
  opacity: 0;
  visibility: hidden;
}


.button-fs .innate,
.button-fs.fsActive .active {
  display: inline-block;
}
.button-fs .active,
.button-fs.fsActive .innate {
  display: none;
}

.button:before,
.button span {
  line-height: 60px;
}
.button::after {
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
}

.button.button-auto::before,
#help-screen .button.button-auto::before {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.button-gallery {
  background-position: -180px 0;
  bottom: 0;
  height: auto;
  left: 0;
  margin: 10px;
  padding: 0 20px;
  position: absolute;
  width: auto;
  z-index: 3004;

  opacity: 0;
  visibility: hidden;
}
.button-gallery span {
  vertical-align: middle;
  display: inline-block;
  line-height: 58px;
}
.button-gallery .text {
  font-size: 20px;
}
.button-gallery .icon {
  font-size: 22px;
  margin-left: 12px;
}
.button-gallery.galleryOpen .innate,
.button-gallery .galleryOn {display: none;}
.button-gallery.galleryOpen .galleryOn {display: block}

.button-motion::after {
  content: "Motion Control";
}

.button-help::after {
  content: "Help";
}

.button-startpos::after {
  content: "Start Position";
}

.button-panalign::after {
  content: "Pan Align";
}
.button-hmin::after {
  content: 'Set Left';
}
.button-hmax::after {
  content: 'Set Right';
}
.button-vmin::after {
  content: 'Set Top';
}
.button-vmax::after {
  content: 'Set Bottom';
}
.button-reset::after {
  content: "Reset";
}


.button.button-fs,
#help-screen .button.button-fs,
.button.button-zoomout:before,
#help-screen .button.button-zoomout:before,
.button.button-zoomin:before,
#help-screen .button.button-zoomin:before,
.button.button-auto:before,
#help-screen .button.button-auto:before {
  font-size: 28px;
}

.button.button-auto.disabled {
  color: #9b9b9b;
  opacity: .8;
}

/* =====================================
   FULLSCREEN EXIT BUTTON
   ===================================== */
.fs-close {
  background-color: rgba(78,77,85,.8);
  color: #fff;
  font-size: 22px;
  height: 40px;
  line-height: 40px;
  opacity: 0;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 60px;
  visibility: hidden;
  width: 40px;
}

/* =====================================
   editor BUTTON
   ===================================== */


.editor .button {
  font-size: 10px;
}
.editor .button.cluster {
  background-color: transparent !important;
}
.button.mini-button {
  width: 60px;
  height: 29px;
  display: inline-block;
  margin: 0;
}
.button.mini-button:nth-of-type(1) {
  margin-bottom: 2px;
}


/* ==========================================================================
   OVERLAYS
========================================================================== */
#help-screen,
#info-spot {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 99999999;
}
#help-screen,
#info-spot {
  background-color: rgba(54,54,54,.75);
}

#help-inner,
#info-inner {
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 50%;
  width: 96%;
}

#help-screen h1,
.diagrams,
#info-inner {
  background-color: rgba(255,255,255,.85);
  color: #212121;
}

/* ============================
   HELP SCREEN
   ============================ */
#help-screen {
  opacity: 0;
  overflow: auto;
  text-align: center;
  visibility: hidden;
}

#help-inner {
  max-width: 900px;
  -webkit-transform: translateY(-50%) scale(.95);
  transform: translateY(-50%) scale(.95);
}

#help-screen h1 {
  font-size: 30px;
  text-align: center;
  padding: 15px 50px;
  margin: 0 0 20px;
}
#help-screen h1 span {
  display: block;
  font-size: 50%;
  line-height: 1.35;
}
#help-screen p {
  line-height: 1.35;
  font-size: 14px;
}
.diagrams {
  float: left;
  margin-bottom: 20px;
  min-height: 168px;
  padding: 20px 20px 0;
  width: 31.333%;
}
.diagrams.dia2 {
  margin-left: 3%;
  margin-right: 3%
}

.button-cont {
  font-size: 0;
  margin-bottom: 10px;
}
#help-screen .button {
  display: inline-block;
  float: none;
}

/* ============================
   INFOSPOT
   ============================ */
#info-spot {
  opacity: 0;
  visibility: hidden
}
#info-inner {
  max-width: 600px;
  padding: 10px 30px 20px;
}

#info-close {
  background-color: #212121;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 0;
  margin: -20px -20px 0 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  -webkit-transition: color .4s,background-color .4s;
  transition: color .4s,background-color .4s;
  width: 40px;
  z-index: 10;
}
#info-close span {
  display: inline-block;
  vertical-align: middle;
}
#info-close .text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  display: none;
}
#info-close .icon {
  font-size: 32px;
  line-height: 40px;
}


#info-topbar .title {
  display: block;
  font-size: 24px;
  font-weight: normal;
  line-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#info-spot.iframed .title {
  padding: 0 0 0 20px;
}
#info-spot.video #info-topbar {
  display: none;
}


#info-spot p {
  font-size: 14px;
  line-height: 1.7;
  padding-top: 10px
}

#info-content a {
  color: inherit;
  text-decoration: underline;
}


#info-spot.iframed #info-inner {
  max-width: 960px;
  padding: 0 !important;
}
#info-spot iframe {
  display: block;
  height: 540px;
  max-width: 960px;
  width: 100%
}
/* ==========================================================================
   Floorplan
   ========================================================================== */
.floorplan-outer {
  background: #f6f6f6;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  position: absolute;
  left: 20px;
  top: 50%;
  -webkit-transform: translate(-100%,-50%);
  transform: translate(-100%,-50%);
  z-index: 3002;
  opacity: 0;
  visibility: hidden;
}
.floorplan-outer.open {
  -webkit-transform: translate(0%,-50%);
  transform: translate(0%,-50%);
}
.floorplan-container {
  z-index: 5;
}
.floorplan-inner {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
  position: relative;
}
#fov-container,
.floorplan-inner {
  height: 270px;
  margin: 8px;
  width: 236px;
}
.floorplan-inner.show {
  display: block;
}
.fp-switch-container {
  background-color: #f5f5f5;
  border-color: #ddd;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  left: 100%;
  margin-left: 1px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}
.fp-switch {
  border-color: transparent;
  border-style: solid;
  border-width: 1px;
  color: #9b9b9b;
  display: block;
  font-size: 20px;
  font-weight: 100;
  height: 40px;
  line-height: 35px;
  margin: 8px 6px;
  text-align: center;
  width: 40px;
}

.fp-switch.active {
  background-color: #fff;
  border-color: #d1d1d1;
  color: #ff5c5f;
}

.camera-icon {
  display: block;
  height: 32px;
  position: absolute;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width: 32px;
  z-index: 10;
}
.camera-icon svg .background {
  fill: #fff;
}
.camera-icon svg .b {
  fill: #4e4d55;
}
.camera-icon.visited svg .b {
  fill: #3e3e3e;
}
.camera-icon.active svg .b,
.camera-icon.visited.active svg .b {
  fill: #ff5c5f;
}

.camera-label {
  background-color: #3e3e3e;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  left: 0;
  margin-top: -16px;
  padding: 5px 20px;
  position: absolute;
  top: 0;
  -webkit-transform: translate(-50%,-100%);
  transform: translate(-50%,-100%);
  white-space: nowrap;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
}
.label-after {
  border-width: 6px 6px 0;
  border-color: #3e3e3e transparent transparent;
  border-style: solid;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
}

#fov-container {
  position: absolute;
  left: 0;
  top: 40px;
  overflow: hidden;
}

.fov-radar {
  background: -webkit-linear-gradient(-45deg,rgba(255,92,95,1) 0%,rgba(255,255,255,0) 50%); /* Chrome10-25,Safari5.1-6 */
  background: -webkit-linear-gradient(315deg,rgba(255,92,95,1) 0%,rgba(255,255,255,0) 50%);
  background: linear-gradient(135deg,rgba(255,92,95,1) 0%,rgba(255,255,255,0) 50%); /* W3C,IE10+,FF16+,Chrome26+,Opera12+,Safari7+ */
  height: 90px;
  position: absolute;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
  width: 90px;
}

.close-button {
  display: block;
  height: 20px;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #ddd;
}
.close-button span {
  display: inline-block;
  line-height: 40px;
  text-transform: uppercase;
  color: #999;
  font-size: 14px;
  padding: 0 20px;
}
.close-button .icon-cross {
  float: right;
  padding: 0;
  text-align: center;
  width: 40px;
}

.open-button {
  background: #fefefe;
  color: #3e3e3e;
  font-size: 14px;
  left: 0;
  line-height: 1;
  margin: 65px 0 0 23px;
  opacity: 0;
  padding: 16px 20px;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  -webkit-transform-origin: left;
  transform-origin: left;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
/* ==========================================================================
   ROOM TITLES
   ========================================================================== */
.room-title {
  background: rgba(0,0,0,.8);
  color: #fff;
  cursor: default;
  font-size: 16px;
  line-height: 40px;
  opacity: 0;
  padding: 0 30px;
  position: absolute;
  right: 0;
  top: 0;
  text-transform: uppercase;
  visibility: hidden;
}
/* ==========================================================================
   EDITOR
   ========================================================================== */
.placeholder {
  background-color: #fff;
  cursor: pointer;
}
.placeholderButton {
  background: #00c496;
  cursor: pointer;
  border: 3px solid #00c496;
  margin: auto;
  line-height: 50px;
  width: 300px;
  display: block;
  font-weight: 600;
  text-align: center;
  color: #fff;
  font-size: 26px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0 0 0 -156px;
  text-transform: uppercase;
  left: 50%;
}
#tour-content p {
  width: 100%;
  margin: auto;
  text-align: center;
  background-color: #0094b3;
  display: block;
  color: #000;
  font-weight: 700;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#backTo360 {
  position: absolute;
  left: 5px;
  bottom: 5px;
  cursor: pointer;
  z-index: 9999;
  display: none;
}
#tour-content {
  margin-top:0px;
  margin-right:0px;
  margin-left:0px;
  height: 100%;
  overflow: hidden;
  width: 100%;
}
#container {
  background-color: #171717;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
/* ==========================================================================
   HOTSPOTS
   ========================================================================== */
.krpanoHotspot {
  position: relative;
  z-index: 0 !important;
  overflow: hidden;
}

.hotspot {
  background-color: rgba(78,77,85,.7);
  border-radius: 60px;
  cursor: pointer;
  display: block;
  font-size: 20px;
  height: 60px;
  left: 50%;
  line-height: 60px;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-decoration: none;
  top: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 60px;
}

.hotspot,
.hotspot.enabled {
  color: #fff;
}

.hotspot .mainIcon {
  display: block;
  height: 60px;
  left: 0;
  position: absolute;
  top: 0;
  width: 60px;
}
.hotspot .mainIcon::before {
  display: block;
  font-size: 28px;
  width: 30px;
  height: 30px;
  margin: 15px auto;
}

.tooltip {
  color: #fff;
  display: block;
  font-size: 16px;
  line-height: 1;
  padding: 22px 15px;
  max-width: 100%;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  white-space: nowrap;
  text-align: center;
}
/* ==========================================================================
   EDITOR
   ========================================================================== */
.edit-status-outer {
  bottom: 5px;
  color: #b4b4b4;
  font-size: 10px;
  position: absolute;
  right: 5px;
  text-align: center;
  -webkit-transition: color .2s ease;
  transition: color .2s ease;
}

.edit-status-outer .set {
  color: #3f3f3f;
}
.start-position {
  background:#f1f1f1;
  -webkit-box-shadow:5px 0px 5px 0px rgba(50,50,50,.25);
  box-shadow:5px 0px 5px 0px rgba(50,50,50,.25);
  margin-left:-250px;
  padding: 12px 20px;
  position:absolute;
  top:0;
  left:50%;
  width:500px;
  z-index:99;
}

.start-position:after {
  content: attr(data-content);
  cursor: default;
  color: #c5c4c2;
  font-size: 30px;
  font-weight: 600;
  position: absolute;
  right: 10px;
  top: 4px;
}
.crossheir::before,
.crossheir::after {
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #00c496;
  display: block;
  content: '';
  border-radius: 100%;
}
.crossheir::before {
  width: 4px;
  height: 40px;
  margin-top: -20px;
  margin-left: -2px;
}
.crossheir::after {
  width: 40px;
  height: 4px;
  margin-top: -2px;
  margin-left: -20px;
}
/* ==========================================================================
   GALLERY
   ========================================================================== */
#gallery {
  height: 100% !important;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 100% !important;
  z-index: 3003;
}
/* ==========================================================================
   FORWARDER
   ========================================================================== */
#forwarder {
  background-color: #fff;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.forwardInner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  width: 400px;
  max-width: 90%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#forwarder img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
}

#forwarder a {
  width: auto;
  display: inline-block;
  font-size: 20px;
  background-color: #ff5c5f;
  color: #fff;
  line-height: 2.5;
  padding: 0 20px;
}
/* ==========================================================================
   HELPER
========================================================================== */
.hidden {
  display: none !important;
}
/* ==========================================================================
   MEDIA QUERIES
========================================================================== */
@media only screen and (max-width: 1400px) {
  #fov-container,
  .floorplan-inner {
    height: 240px;
    width: 200px;
  }
}


@media only screen and (max-width: 1024px) {
  .close-button {
    height: 32px;
  }
  .close-button span {
    padding: 0 8px;
    line-height: 32px;
    font-size: 12px;
  }
  .close-button svg {
    padding: 10px;
    width: 32px;
  }
  #fov-container,
  .floorplan-inner {
    height: 180px;
    width: 150px;
  }

  .camera-icon {
    height: 26px;
    width: 26px;
  }


  #fov-container {
    top: 32px;
  }

  .gui-container {
    padding-bottom: 8px;
  }
  .button,
  #help-screen .button {
    font-size: 10px;
    height: 50px;
    margin-right: 8px;
    width: 50px;
    background-size: 300px auto;
  }
  .button:before,
  .button span {
    line-height: 50px;
  }
  .button-gallery {
    margin: 8px;
    height: auto;
    width: auto;
  }

  #help-inner {
    max-width: 720px;
  }
  #help-screen h1 {
    font-size: 22px;
    padding: 12px 22px;
  }
  #help-screen p {
    font-size: 12px;
  }

  .diagrams {
    min-height: 136px;
    padding: 12px;
  }

  .button-gallery span,
  .button-gallery .text {
    font-size: 14px;
    line-height: 50px
  }
  .button.button-fs,
  #help-screen .button.button-fs,
  .button.button-zoomout:before,
  #help-screen .button.button-zoomout:before,
  .button.button-zoomin:before,
  #help-screen .button.button-zoomin:before,
  .button.button-auto:before,
  #help-screen .button.button-auto:before {
    font-size: 26px;
  }
}
/* =========== SET MIN-WIDTH TO DISPLAY WIDTH ============= */
/* ================= MAX VALUE OF 768px =================== */
@media only screen and (min-width: 678px) and (max-width: 1024px) {
  .fp-switch {
    width: 30px;
    height: 30px;
    line-height: 25px;
    font-size: 17px;
    margin: 6px 4px
  }
  .camera-label {
    font-size: 12px;
    padding: 4px 12px;
  }
}

/* =========== DO NOT CHANGE ============= */
@media only screen and (max-width: 767px) {
  /* =====================================
  INFOSPOTS
  ===================================== */
  #info-inner {
    height: 100%;
    max-width: none;
    padding: 10px 14px;
    top: 0;
    -webkit-transform: none !important;
    transform: none !important;
    width: 100%;
  }
  #info-close {
    background-color: transparent;
    border-radius: 0;
    color: #212121;
    display: block;
    line-height: 50px;
    margin: 0;
    right: 14px;
    top: 10px;
    width: auto;
  }
  #info-spot.iframed #info-close {
    margin-right: 10px;
    right: 0;
    top: 0;
  }
  #info-close .text {
    display: inline-block;
    line-height: 2;
    padding: 0 8px;
  }
  #info-close .icon {
    line-height: 28px;
    font-size: 20px;
    width: auto;
  }

  #info-topbar .title {
    padding-right: 80px;
  }
  #info-spot.iframed #info-content {
    height: 80%;
    height: -webkit-calc(100% - 50px);
    height: calc(100% - 50px);
    position: relative;
  }
  #info-spot.video #info-content {
    top: 50px;
  }
  #info-spot iframe {
    height: 100%;
  }
}
/* ======================================= */


/* =========== SET TO CLIENT REDIRECT WIDTH (DISPLAY WIDTH MINUS 1px) ============= */
/* ============================ MAX VALUE OF 767px ================================ */
/* TW = 894 x 450 */
/* REDROW = 650 x 450 */
/* BLOOR = 742 x 417 */
/* BOVIS = 678 x 500 */
/* CC = 1030 x 500 */
/* PH = 1030 x 500 */
/* MILLER = ??? */
@media only screen and (max-width: 677px) {
  .device-only {display: block !important;}
  .camera-label,
  .desktop-only {display: none !important;}

  .floorplan-outer {
    border-width:0 !important;
    height: 100%;
    left: 0 !important;
    -webkit-transform: none !important;
    transform: none !important;
    width: 100%;
    top: 0;
  }
  .close-button {
    border: none;
    height: 42px;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    z-index: 10;
  }
  .close-button .text {
    display: none;
  }
  .fp-switch-container {
    border-width: 1px 0 0 1px;
    bottom: 1px;
    left: auto;
    right: 1px;
    top: auto;
    -webkit-transform: none !important;
    transform: none !important;
    z-index: 10;
  }
  .fp-switch {
    float: right;
    font-size: 22px;
    height: 40px;
    line-height: 35px;
    margin: 5px;
    width: 40px;
  }
  .floorplan-container {
    background: transparent;
    left: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .floorplan-inner {
    height: 84vh;
    margin: 0 auto;
    max-height: 84vw;
    max-width: 70vw;
    width: 70vh;
  }
  #fov-container {
    display: none;
  }

  .rotate-floorplan #fov-container,
  .rotate-floorplan .floorplan-inner {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .rotate-floorplan .camera-icon {
    -webkit-transform: translate(-50%,-50%) rotate(90deg);
    transform: translate(-50%,-50%) rotate(90deg);
  }

  .camera-label {
    display: none;
  }

}

@media only screen and (max-width: 360px) {
  .open-button {
    padding: 10px 15px;
    margin: 55px 0 0 17px;
  }
  .room-title {
    line-height: 40px;
    padding: 0 30px;
    font-size: 14px;
  }
}

@media only screen and (min-width: 1025px) {
  .open-button:hover {
    background-color: #f6f6f6;
    color: #4d4e55;
  }

  .fs-close:hover,
  .gui-container .button:hover,
  .button-gallery:hover,
  .button.enabled,
  .button.button-auto.disabled {
    background-color: #4d4e55;
  }

  .fp-switch:hover {
    color: #4d4e55;
  }

  .hotspot:hover {
    color: #fff;
    background-color: rgba(78,77,85,.9);
  }
}


.open-button {
  -webkit-transition: background-color .4s, color .4s;
  transition: background-color .4s, color .4s;
}
.fs-close,
.button,
#help-screen .button {
  -webkit-transition: background-color .4s;
  transition: background-color .4s;
}
.fp-switch {
  -webkit-transition: color .4s;
  transition: color .4s;
}
.camera-icon svg .b {
  -webkit-transition: fill .4s ease;
  transition: fill .4s ease;
}
.hotspot {
  -webkit-transition: border-radius .4s, background-color .4s, color .4s;
  transition: border-radius .4s, background-color .4s, color .4s;
}