/* oswald-regular - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('fonts/oswald-v35-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/oswald-v35-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* oswald-500 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('fonts/oswald-v35-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/oswald-v35-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open sans */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('fonts/opensanscondensed-bold-webfont.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/opensanscondensed-bold-webfont.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

body, div, span, p, a, img, ul, ol, li, table, th, tr, td, form, fieldset, legend, dl, dt, dd, blockquote, applet, object {
	border:0;
	font-family: 'Open Sans', Oswald, arial, helvetica, san-serif;
}

body { padding: 0; margin: 0; height: 100%; text-align: center; background-color: #13567f; }

#screen{
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	// width: 100%;
	// height: 100%;
}
#backdrop {
	z-index:0;
	background-image: url("images/shim.png");
	background-size: contain;
}
#foredrop {
	z-index:1;
	background-image: url("images/shim.png");
	background-size: cover;
}
#overlay{
	position:fixed;
	z-index:99999;
	top:0;
	left:0;
	bottom:0;
	right:0;
	// width: 100%;
	// height: 100%;
	background: url('images/bg_loading.png');
	background-size: 100% 100%;
	transition: 1s 0.4s;
}
#progress{
  height:1px;
  border-top: 20px dotted #0071bc;
  background:transparent;
  position:absolute;
  width:0;
  top:50%;
}

.okbutton {
	width: 400px;
	height: 100px;
	z-index: 20;
	display: none;
	position: relative;
	cursor: pointer;
}
#oksound {
	width: 180px;
	height: 90px;
	z-index: 20;
	display: none;
	background-repeat: no-repeat;
	position: relative;
	float: left;
}
#oksilent {
	width: 180px;
	height: 90px;
	z-index: 20;
	display: none;
	background-repeat: no-repeat;
	position: relative;
	float: right;
}

#statusbar {
	position: absolute;
	bottom: 0;
	height: 100px;
	/* min-height: 44px; */
	width: 100%;
	background-color: #13567f;
	border-top: 4px solid #000;
	opacity: 0;
	z-index: 99999;
}
.icon {
    width: 44px;
    height: 44px;
    background-color: cadetblue;
    margin: 2px 0 3px 10px;
    float: left;
    /* max-width: 40px; */
    /* max-height: 40px; */
    clip-path: circle(50%);
    background-size: contain;
}
.buttondiv {
    background-color: transparent;
    margin: 3px 5px;
    float: right;
    display: block;
    height: auto;
    width: auto;
}
#report .buttondiv {
	margin: 3px auto;
	height: auto;
	width: auto;
	float: none;
}
#statusbar .button {
    width: 15vw;
    height: 5vw;
    /*
    max-width: 170px;
    max-height: 40px;
    */
}
#solvebutton {
	background-image: url('images/button_sprites.png');
	background-position-x: 0;
	background-position-y: -490px;
	cursor: pointer;
	z-index: 99999;
	display: none;
}
#solvebutton:hover {
	background-image: url('images/button_sprites.png');
	background-position-x: 400px;
	background-position-y: -490px;
}
#lookbutton {
	background-image: url('images/button_sprites.png');
	background-position-x: 0;
	background-position-y: -360px;
	cursor: pointer;
	z-index: 99999;
	display: none;
}
#lookbutton:hover {
	background-image: url('images/button_sprites.png');
	background-position-x: 400px;
	background-position-y: -560px;
}
#playbutton {
	width: 15vw;
	height: 5vw;
	background-image: url('images/button_sprites.png');
	background-position-x: 0;
	background-position-y: -360px;
	cursor: pointer;
	z-index: 99999;
	margin-top: 1em;
}
#playbutton:hover {
	background-image: url('images/button_sprites.png');
	background-position-x: 400px;
	background-position-y: -560px;
}

#balloon {
    background: transparent;
    border-radius: 4px;
    font-family: helvetica, san-serif;
    font-size: .8rem;
    line-height: 1.1;
    margin: 0;
    max-width: 250px;
    padding: 10px 5px;
    position: relative;
    left: 0;
    top: 0;
    z-index: 999;
    display: none;
}
#balloon.rightfix {
    float: right;
    margin-right: 170px;
    min-width: 300px;
    left: unset;
}
#balloonpointer {
    background: #efefef;
    border-right: 20px solid transparent;
    border-top: 20px solid #efefef;
    bottom: -20px;
    content: "";
    position: absolute;
    left: 60px;
    width: 5px;
    height: 50px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    top: 0;
    display: none;
}

#balloon p {
    margin: 0 0 10px;
}
#balloon p:last-of-type {
    margin-bottom: 0;
}

#balloon.mobilefix {
	/* background-color: #daf; */
	/* top: 2%!important; */
	/* left: 2%!important; */
	width: 96%!important;
}

/*
#balloon::after {
    border-right: 20px solid transparent;
    border-top: 20px solid #efefef;
    bottom: -20px;
    content: "";
    position: absolute;
    left: 60px;
}
#balloon.rightfix::after {
    left: unset;
    right: 60px;
}
#balloon.mobilefix::after {
	background-color: #fad;
}
*/

.stage,
.drop,
#splash,
#popup {
	position: absolute;
	/* display: flex; */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	overflow: hidden;
}
.stage {
	display: none;
}
#foredrop, #lineup, #lineup1, #lineup2, #kitchen, #bathroom, #drive, #laundry, #popup {
	display: none;
	opacity: 0;
}
#popup {
	z-index: 40;
	display: none;
}
#zoomie {
    z-index: 38;
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 762px;
    height: auto;
    overflow: hidden;
}
#clipper {
    z-index: 39;
    position: absolute;
    left: 496px;
    top: 306px;
    width: 762px;
    height: 702px;
    overflow: hidden;
}
#popup #panel {
    z-index: 40;
    position: absolute;
    left: 0px;
    top: 0px;
}
#popup .answer {
	width: 176px;
	height: 170px;
	position: absolute;
	z-index: 41;
	cursor: default;
	/* background-color: yellow; */
	opacity: 0;
  object-fit: none;
}
.popup {
	display: none;
}
red {
	color: #990101;
}

#tabspot {
	opacity: 0;
	position: absolute;
	width: 200px;
	height: 140px;
	z-index: 1;
}

#hotspots {
	background-color: transparent;
}
.hotspot,
#buttons .button {
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
	/* border: 1px dashed red; */
}
#spot1, #btn1 {
	z-index: 31;
}
#spot2, #btn2 {
	z-index: 32;
}
#spot3, #btn3 {
	z-index: 39;
}
#spot4, #btn4 {
	z-index: 34;
}
#spot5, #btn5 {
	z-index: 39;
}
#spot6, #btn6 {
	z-index: 36;
}
#spot7, #btn7 {
	z-index: 37;
}
#spot8, #btn8 {
	z-index: 38;
}
#offscreen {
	display: none;
}
.label {
	background-color: transparent;
	z-index: 41;
	position: relative;
	margin: 0;
	color: #115;
	font-weight: bold;
}
#starsays {
	width: 690px;
	height: 100px;
	left: 490px;
	top: 154px;
	font-size: 1.5vw;
	opacity: 0.8;
	float: left;
	line-height: 1.3;
}
#cluetext {
	top: 67%;
	width: 96%;
	left: 2%;
	font-size: 1.8vw;
	/*
	// ALTERNATE WITH WHITE BG
	width: 95%;
	left: 1%;
	background-color: azure;
	opacity: .75;
	padding: 5px;
	*/
}
/* SPLASH SCREEN */

#splash {
	position: relative;
	visibility: hidden;
}

#bg_splash,
#bg_lineup_1 {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

#bg_splash {
	opacity: 1;
	z-index: 10;
}

#title {
	position: absolute;
	width: 90%;
	left: 5%;
	top: 2%;
	z-index: 11;
	opacity: 1;
}

#water {
    position: absolute;
    bottom: 0vw;
    width: 120%;
    height: auto;
    left: -10%;
    z-index: 12;
    opacity: 0;
}

#star,
#star_eyes_l,
#star_eyes_r,
#star_eyes_c {
	position: absolute;
	width: 50%;
	height: auto;
	opacity: 0;
	left: 25%;
	top: 21%;
	z-index: 13;
}
#star_eyes_l {
	z-index: 14;
	/* visibility: hidden; */
}
#star_eyes_r {
	z-index: 15;
	/* visibility: hidden; */
}
#star_eyes_c {
	z-index: 16;
	/* visibility: hidden; */
}

#table {
	position: absolute;
	top: 2px;
	width: 100%;
	left: 0;
	z-index: 17;
	opacity: 0;
}

/* SUSPECTS 1 */

#bg_lineup_1 {
	opacity: 0;
}

#monster1,
#monster2,
#monster3,
#monster4,
#monster5,
#monster6,
#monster7,
#monster8 {
	/* cursor: pointer; */
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}

#monster1 {
	z-index: 1;
}

#monster2 {
	z-index: 2;
}

#monster3 {
	z-index: 4;
}

#monster4 {
	z-index: 3;
}

#monster5 {
	z-index: 7;
}

#monster6 {
	z-index: 7;
}

#monster7 {
	z-index: 7;
}

#monster8 {
	z-index: 6;
}

#nextbutton {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	z-index: 100;
	cursor: default;
}

/* STAGES */

#btn_left {
	top: 45%;
	position: absolute;
	left: 0;
	z-index: 999;
	display: none;
	background-image: url(images/navbuttons.png);
	background-position-x: 12%;
	background-size: cover;
}

#btn_right {
	top: 45%;
	position: absolute;
	right: 0;
	z-index: 999;
	display: none;
	background-image: url(images/navbuttons.png);
	background-position-x: 12%;
	background-size: cover;
}

/* KITCHEN */

#bg_kitchen {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

/* BATHROOM */

#bg_bathroom {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

/* DRIVEWAY */

#bg_drive {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

/* LAUNDRY */

#bg_laundry {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
}

/* ACCUSING */

#report {
    position: relative;
    left: 0;
    top: 320px;
    /* right: 15vw; */
    width: auto;
    height: auto;
    float: right;
    margin: 0;
    padding: 0 20px;
    background-color: #aaa;
    color: #3e1b3c;
    display: none;
}
#report #reporttext {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.2em;
}
#report #reportname h2 {
    font-weight: normal;
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
}
