/*============================================

	RESET

============================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*============================================

	GLOBAL

============================================*/
:root {
	--primary-color: white;
	--secondary-color: #CE1126;
	--viewer-height:min(39.1vw, 70vh);
}

::-webkit-scrollbar {
	width:.5em;
}
::-webkit-scrollbar-track {
	border-radius:100vw;
	background:#ccc;
}
::-webkit-scrollbar-thumb {
	border-radius:100vw;
	background:var(--primary-color);
}

@font-face {
	font-family:ObjektivMk2;
	src: url('ui/fonts/ObjektivMk2_Rg.ttf');
}

@font-face {
	font-family:ObjektivMk2;
	src: url('ui/fonts/ObjektivMk3_Bd.ttf');
	font-weight:bold;
}

@font-face {
	font-family:ObjektivMk2;
	src: url('ui/fonts/ObjektivMk2_Lt.ttf');
	font-weight:300;
}

html, body {
	touch-action:none;
	font-family:ObjektivMk2, arial;
	font-size:min(.833vw, 1.48vh);
	line-height:1.1em;
	background:#222;
	color:var(--primary-color);
	overflow:hidden;
	text-size-adjust:100%; 
	-ms-text-size-adjust:100%; 
	-moz-text-size-adjust:100%; 
	-webkit-text-size-adjust:100%;
}

.none {
	display:none;
}

.pre, .hide {
	visibility:hidden;
	opacity:0;
}

a {
	color:#00b1b0;
  text-decoration:none;
  cursor:pointer;
}

b, strong {
	font-weight:bold;
}

sub,
sup {
  font-size: 100%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.2em; left: .05em; }

ul ul {
	margin:1em;
}

li {
	margin:0.2em 0 0 2em;
}

button {
	background:transparent;
	border:none;
	outline:none;
	padding:0;
	margin:0;
	color:var(--primary-color);
	cursor:pointer;
}

/*============================================

	ADMIN

============================================*/
#admin {
	position:absolute;
	top:37vh;
	left:38vw;
	width:22vw;
	padding:3vh 1vw;
	background:linear-gradient(to bottom right, #222, #555);
	border:2px solid var(--secondary-color);
	border-radius:2vw;
	text-align:center;
	z-index:10;
}

#admin h1 {
	text-decoration:underline;
	font-size:200%;
	margin-bottom:2vh;
}

#admin button {
	background:black;
	border-radius:10px;
	display:block;
	padding:1.3vh 2vh;
	margin:1vh auto;
	width:25ch;
	cursor:pointer;
	font-family:ObjektivMk2, arial;
	font-size: 1.1em;
	line-height: 1.1em;
	letter-spacing: .1em;
	font-weight: bold;
	text-transform:uppercase;
}

#loop.am {
	top:-29.6%;
	left:-25.7%;
	width:150%;
	height:150%;
	transition:all .5s ease;
}

#loop.vl {
	top:-31%;
	left:-49%;
	width:150%;
	height:150%;
	transition:all .5s ease;
}

/*============================================

	MAIN BODY

============================================*/
.logo {
	position:absolute;
	bottom:1.3rem;
	left:1.3rem;
	height:5.8rem;
	transition:opacity .5s ease;
	z-index: 10;
}

#exit {
	position:absolute;
	top:2rem;
	right:2rem;
	z-index:10;
  height: 2.5rem;
	width:3.66rem;
  cursor: pointer;
  background-image: url(ui/close_up.png);
  transition: background-image 0.1s ease;
}

#exit:active {
  background-image: url(ui/close.png);
}

#header {
	position:absolute;
	top:3rem;
	left:3rem;
	font-size:3rem;
	line-height:2.1rem;
	color:black;
	z-index: 10;
}

#subheader {
	font-size:1.6rem;
	color:var(--secondary-color);
}

loader {
	position:absolute;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	z-index:50;
	transition:visibility .5s ease, opacity .5s ease;
}

loader.min .logo {
	opacity:0;
}

#load_message {
	position:absolute;
	top:46%;
	left:35%;
	height:auto;
	width:30%;
	text-align:center;
	font-size:1.5rem;
	transition:top .75s;
}

#loading_bar {
	position:absolute;
	top:calc(46% + 3rem);
	height:1.6%;
	left:35%;
	width:30%;
	border:.2vh solid #ccc;
	transition:top .75s;
}

loader .bg {
	position:absolute;
	top:0; left:0;
	width:100%;
	height:100%;
	background:linear-gradient(to bottom right, black, #555);
	transition:opacity .5s ease;
}

loader.min .bg {
	opacity:0;
}

loader.min #load_message {
	top:90%;
}

loader.min #loading_bar {
	top:calc(90% + 3rem);
}

#progress {
	background:white;
	width:0;
	height:100%;
}

wrapper {
	display:block;
	position:absolute;
	top:50%; left:50%;
	transform:translate(-50%, -50%);
	width:min(100vw, 178vh);
	height:min(56.25vw, 100vh);
	overflow:hidden;
	
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */
}

wrapper * {
	background-position:center;
	background-size:contain;
	background-repeat:no-repeat;
	transition:visibility .5s ease, opacity .5s ease;
}

#main_hotspots {
	position:absolute;
	top:0; left:0;
	width:100%;
	height:100%;
	z-index:1;
}

#loop, #bg {
	position:absolute;
	top:0; left:0;
	width:100%;
	height:100%;
}

#loop.gray, #bg.gray {
	filter: grayscale(100%);
}

#heroVideo {
	position:absolute;
	background:black;
	top:0; left:0;
	width:0vw;
	height:100vh;
	border:0;
	outline:0;
	opacity:0;
	z-index:15;
	transition:all .5s ease;
}

#heroVideo.on {
	width:100%;
	opacity:1;
}

/*============================================

	HOTSPOTS

============================================*/
.hotspot .title {
	display:flex;
	align-items:center;
	
	position:absolute;
	top:0;
	height:100%;

	white-space:nowrap;
	text-transform:uppercase;
}
#main_hotspots .title {
	font-size:1.3em;
	line-height:1.3em;
	letter-spacing:.1em;
	font-weight:bold;
}
.viewer_hotspots .title {
	font-size:.9em;
	letter-spacing:.1em;
	font-weight:300;
}

.viewer_hotspots .subtitle {
	position:absolute;
	font-size:.7em;
	letter-spacing:.1em;
	font-weight:300;
	white-space:nowrap;
}

.hotspot .title.left {
	right:120%;
	justify-content:flex-end;
	text-align:right;
}

.hotspot .title.right {
	left:120%;
	justify-content:flex-start;
}

.hotspot .subtitle.left {
	right:140%;
	text-align:right;
}
.hotspot .subtitle.right {
	left:140%;
}

.hotspot {
	position:absolute;
	width:min(2.3vw, 4vh);
	height:min(2.3vw, 4vh);

	transform:translate(-50%, -50%);
	cursor:pointer;
}

.viewer_hotspots .hotspot {
	width:5%;
}

.hotspot .bg {
	width:100%;
	height:100%;
	transition:all .3s ease;
}

#main_hotspots .hotspot .bg {
	position:absolute;
	top:0; left:0;
	height:270%;
	background-size:100%;
	transform-origin:50% 19%;
	background-image:url(ui/mural_hotspot.png);
}
#main_hotspots:not(.gray) .hotspot:hover .bg,
#main_hotspots .hotspot.active .bg {
	background-image:url(ui/mural_hotspot_dn.png);
}

.viewer_hotspots .hotspot .bg {
	background-image:url(ui/realtime_hotspots_up.png);
}
.viewer_hotspots .hotspot:hover .bg,
.viewer_hotspots .hotspot.active .bg {
	background-image:url(ui/realtime_hotspots_dn.png);
}

/*============================================

	VIEWER

============================================*/
.viewer {
	display:flex;
	position:absolute;
	top:50%;
	left:5%;
	padding:.5em;
	width:auto;
	
	border:.1em solid white;
	background-color:rgba(200, 200, 200, .75);
	transform:translateY(-50%);
	z-index:5;
}

.viewer.hide {
	transform:translateY(-200%);
	transition:visibility .5s ease, opacity .5s ease, transform 0s linear .5s;
}

.viewer .left_mark {
	position:absolute;
	top:2.1em;
	left:.05em;
	width:4em;
	z-index:2;
}

.viewer h1 {
	position:absolute;
	top:1.5em; left: 4em;
	font-size:1.3em;
	font-weight:bold;
	text-transform:uppercase;
	z-index:2;
}

.viewer .reset_button {
	position:absolute;
	bottom:1.5em; left: 1.5em;
	width:1.515em;
	height:1.5em;
	background-image:url(ui/home_up.png);
	cursor:pointer;
	z-index:2;
}

.viewer .reset_button:hover {
	background-image:url(ui/home_dn.png);
}

.viewer .close, .swiper-close {
	position:absolute;
	top:.6rem;
	right:-2.8rem;
	height:2rem;
	width:2rem;
	
	background-image:url(ui/close_button_up.png);
	background-color:black;
	transition:background-image .25s;
}

.viewer .close:hover, .swiper-close:hover {
	background-image:url(ui/close_button_dn.png);
}

.viewer main {
	position:relative;
	height:var(--viewer-height);
	width:calc(var(--viewer-height) / 9 * 16);
	background-image:url(ui/realtime_bg.png);
	overflow:hidden;
	z-index:5;
}

.viewer_hotspots {
	position:relative;
	width:100%;
	height:100%;
}

.multiview {
	display:flex;
	align-items:center;
	justify-content:center;
	position:absolute;
	bottom:3%; left:0;
	width:100%;
}

.multiview label {
	margin:0 1em;
}

.multi_prev, .multi_next {
	width:1em;
	height:2em;
	background-image:url(ui/next_previous_up.png);
	cursor:pointer;
}

.multi_prev {
	transform:rotate(180deg);
}

.multi_prev.disable, .multi_next.disable {
	opacity:.15;
	cursor:default;
}

.multi_prev:hover:not(.disable), .multi_next:hover:not(.disable) {
	background-image:url(ui/next_previous_dn.png);
}

.viewer iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1;
}

.viewer iframe.hide {
	visibility:visible;
	z-index:-1;
}

.viewer .fake {
	width:0;
	padding:2em 0;
	font-size:.8em;
	font-weight:300;
	transition:width .5s ease, padding .5s ease;
}

.viewer .fake.show {
	width:21.2rem;
	padding:2em 1.25em;
}

.viewer aside {
	display:flex;
	flex-direction:column;
	justify-content:start;
	position:absolute;
	top:.5rem;
	right:.7rem;
	height:calc(var(--viewer-height) - 3rem);
	width:21.1rem;
	padding:1.5rem 1rem;
	background:var(--secondary-color);
	font-size:1.13rem;
	font-weight:300;
	overflow:hidden;
}

.viewer aside h2 {
	font-size:1.1rem;
	font-weight:bold;
	line-height:1.2rem;
	width:80%;
	text-transform:uppercase;
}

.viewer aside p {
	flex-grow:1;
	padding:1.5em 1em 1.5em 0;
	overflow-y:auto;
	overflow-x:hidden;
}

.viewer media {
	display:flex;
	white-space:nowrap;
}

.viewer media button {
	height:3rem;
	width:2.6rem;
	margin-right:1rem;
	transition:background .3s ease;
}

.viewer media button.disable {
	opacity:0;
	cursor:initial;
}

button.Videos {
	background-image:url('ui/videos_button_up.png');
}
button.Videos:hover:not(.disable),
button.Videos.active {
	background-image:url('ui/videos_button_dn.png');
}
button.Images {
	background-image:url('ui/images_button_up.png');
}
button.Images:hover:not(.disable),
button.Images.active {
	background-image:url('ui/images_button_dn.png');
}
button.PDFs {
	background-image:url('ui/pdf_button_up.png');
}
button.PDFs:hover:not(.disable),
button.PDFs.active {
	background-image:url('ui/pdf_button_dn.png');
}

.contact {
	position: absolute;
	bottom: 1.2rem;
	right: 1.5rem;
	height: 3rem;
	width: 3.5rem;
	background-image:url('ui/contact.png');
}

.email_link {
	position:absolute;
	bottom:5rem;
	right:1.5rem;
	opacity:0;
	color:white;
}

.email_link.active {
	opacity:1;
}

.xray_toggle {
	position:absolute;
	bottom:1rem;
	right:1.5rem;
	font-size:1.2rem;
	cursor:pointer;
	z-index:2;
	background-image:url(ui/button_up.png);
	padding:0.7rem 3rem 0.5rem;
	user-select:none;
	-webkit-user-select:none;
}

.xray_toggle.active {
	background-image:url(ui/button_dn.png);
}

.rotate_icon {
	position:absolute;
	width:4em;
	height:4em;
	bottom:.25em;
	left:calc(50% - 2em);
	z-index:2;
}

.swiper-container {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:5;
	background-image:url(ui/realtime_bg.png);
}

.swiper-button-prev,
.swiper-button-next {
	color:white;
	transition:color .3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
	color:var(--secondary-color);
}

.swiper-pagination-bullet {
	border:.1em solid white;
	background:none;
	opacity:1;
}

.swiper-pagination-bullet-active {
	background:white;
}

.swiper-close {
	right:1rem;
	background-color:rgba(0, 0, 0, .5);
	z-index:6;
}

.swiper-slide img {
	width:100%;
}

.swiper-slide.pdf_container {
	overflow-x:hidden;
	overflow-y:scroll;
}

.disclaimer {
	position:absolute;
	bottom:1em;
	right:1em;
	width:35%;
	font-size:.8em;
	text-align:right;
}