
html {
  font-size: 100%;
  -ms-text-size-adjust:100%;
  -webkit-text-size-adjust:100%;
  cursor: default;
  background-color: black;
  color: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  text-align: center;
  font: 12px Arial,Verdana,Helvetica,sans-serif;
  touch-action: none;
}

.hidden { display: none!important; }

.mobile-only { display: none; }

a {
  text-decoration: none;
  color: white;
}
a:hover {
  color:#a39161;
  text-decoration:none;
}

h1, h2, h3, h4, h5, h1 a, h2 a, h3 a, h4 a, h5 a {
  font-family: 'Times New Roman', Times, serif;
  color:#a39161;
}

.clickable {
  cursor: pointer;
  z-index: 10;
}

.fullscreen-layer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

#pano { z-index: 1; }

footer {
  font-family: 'Times New Roman', Times, serif;
  background: #242020;
  line-height: 32px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height:78px;
}

footer .logo {
  width: 162px;
  height: 100%;
  background-image: url("../images/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 10%;
}

footer hgroup {
  position: absolute;
  right: 10%;
  top: 21px;
  /*background: url("../images/tagline.png") no-repeat;*/
  width: 232px;
  height: 39px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

#footer-title {
  position: absolute;
  display: inline-block;
  right: 10%;
  top: 10px;
  text-transform: uppercase;
  text-align: right;
}
#footer-title h1, #footer-title h2 {
  margin: 0;
  font-weight: 200;
}

.copyright { margin-top: 0; }

.controls-container {
  z-index: 10;
  position: absolute;
  bottom: 90px;
  right: 12px;
  display: flex;
}

.control {
  cursor: pointer;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-left: 12px;
}

#left { background-image: url("../images/left-button.png"); }
#right { background-image: url("../images/right-button.png"); }
#up { background-image: url("../images/up-button.png"); }
#down { background-image: url("../images/down-button.png"); }
#in { background-image: url("../images/zoom-in-button.png"); }
#out { background-image: url("../images/zoom-out-button.png"); }
#full { background-image: url("../images/go-fullscreen-button.png"); }
#toggle-hotspots { background-image: url("../images/hide-hotspots-button.png"); }

#about-btn {
  position: absolute;
  bottom: 78px;
  left: 0;
  width: 256px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  background-image: url("../images/rooms/about-the-staircase-hall-tab.png");
}

#floorplan-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 366px;
  height: 45px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  background-image: url("../images/floor-plan-tab.png");
}

#floorplan {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: white;
  z-index: 10;
}

#floorplan {
  /*box-shadow: 2px 2px 0 #a39161;*/
  border-bottom: 1px solid #9d9064;
  border-right: 1px solid #9d9064;
}

#mouse-over-rooms g {
  fill:#ffffff;
  fill-rule:nonzero;
}

#mouse-over-rooms g:hover,
.current-room#livery-hall-group,
.current-room#north-upper-marble-group,
.current-room#south-upper-marble-group,
.current-room#entrance-group,
.current-room#exhibition-room-group,
.current-room#drawing-room-group,
.current-room#court-room-group {
  fill:#a39161;
  fill-rule:nonzero;
}

#mouse-over-rooms g text {
  font-family: 'Times';
  /*font-weight:700;*/
  font-size:36px;
  fill:#9d9064;
}

#mouse-over-rooms g:hover text,
.current-room#livery-hall-group text,
.current-room#north-upper-marble-group text,
.current-room#south-upper-marble-group text,
.current-room#entrance-group text,
.current-room#exhibition-room-group text,
.current-room#drawing-room-group text,
.current-room#court-room-group text {
  fill:#ffffff;
}

#north-upper-marble-group:hover > text,
#south-upper-marble-group:hover > text,
.current-room#north-upper-marble-group > text,
.current-room#south-upper-marble-group > text {
  fill:#9d9064!important;
}

#south-upper-marble-group > .svg-arrow,
#north-upper-marble-group > .svg-arrow {
  fill:#9d9064;
  stroke:#9d9064;
}

#north-upper-marble-group:hover > .svg-arrow,
#south-upper-marble-group:hover > .svg-arrow,
.current-room#north-upper-marble-group > .svg-arrow,
.current-room#south-upper-marble-group > .svg-arrow  {
  fill:#ffffff;
  stroke:#ffffff;
}

#entrance-internal-details {
  fill:none;
  stroke:#676767;
  stroke-width:2px;
}

#mouse-over-rooms g:hover > #entrance-internal-details,
.current-room#entrance-internal-details {
  stroke:#fff!important;
  fill:none;
}

.social-media-buttons {
  position: absolute;
  bottom: 60vh;
  right: 0;
  z-index: 10;
}

.social-btn:not(:first-of-type) { margin-top: 10px; }
.social-btn {
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
#facebook { background-image: url("../images/facebook.png"); }
#twitter  { background-image: url("../images/twitter.png"); }
#email  { background-image: url("../images/email.png"); }
#linkedin  { background-image: url("../images/linked-in.png"); }
