
/* Dosis font */
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 400; src: url("../fonts/Dosis/Dosis.woff") format('woff'); /* Woff for chrome*/ }
@font-face { font-family: 'Dosis'; font-style: normal; font-weight: 400; src: url("../fonts/Dosis/Dosis-Regular.ttf"); /* TTF file for CSS3 browsers */ }

/* Architects_Daughter font */
@font-face { font-family: 'Architects Daughter'; font-style: normal; font-weight: 400; src: url("../fonts/Architects_Daughter/ArchitectsDaughter.woff") format('woff'); /* Woff for chrome */ }
@font-face { font-family: 'Architects Daughter'; font-style: normal; font-weight: 400; src: url("../fonts/Architects_Daughter/ArchitectsDaughter.ttf"); /* TTF file for CSS3 browsers */ }

*{
    -moz-user-select: none;-webkit-user-select: none;
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #4D4D4D;
    font-family: 'Architects Daughter', cursive;
    font-size: 90%;
}

.fullscreen{
	position:absolute;
	left:0; right:0; top:0; bottom:0;
	width:100%; height:100%;
	overflow:hidden;
}
#background video {
    z-index: 5;
}

.throbber, .play_btn_ipad, .error {
    position: absolute;
    top: 50%;
    left: 50%; 
    z-index: 1000;
    display: none;
}
.error{
    color: red;
    margin-left: -250px;
    margin-top: -110px;
    width: 500px;
    font-size: 1.9em;
}
.play_btn_ipad {
    margin-left: -150px;
    margin-top: -110px;
}
.throbber {
    margin-left: -64px;
    margin-top: -8px;
}
/* SCREENS================================================================================================================================================ */
.screen_start, .screen_end{ z-index: 1000; margin: 0; padding: 0; width: 100%; height: 100%; position: absolute; top: 0; display: none;  }
.screen_content_centering { display: table-cell; vertical-align: middle; }
.screen_content{ font-family: 'Dosis', sans-serif; font-size: 1.2em; font-weight: bold; color: #fff; width: 515px; text-align: center; margin: 0 auto; z-index: 1005; position: relative; }

.screen_start { background: url('../images/startscreen/bg_start.png') no-repeat center; background-size:cover }
.screen_end { background: url('../images/endscreen/bg_end.png') no-repeat center; background-size:cover }

#btn_restart, #btn_start, #btn_test { cursor: pointer; display: block;  }
#btn_start { height: 50px; width: 315px; background: url('../images/startscreen/btn_start.png') no-repeat center; margin: 20px auto 0; display: none;}
#btn_restart { height: 50px; width: 380px; background: url('../images/endscreen/btn_restart.png') no-repeat center; margin: 20px 0 0 60px; }
#btn_test {height: 65px; width: 200px; background: url('../images/endscreen/btn_test.png') no-repeat center; margin: 20px 0 0 120px; }

/* POPUP================================================================================================================================================== */
.book_content h1{ font-size:1.6em; }
.book_content{
    margin: 3% 5% 1% 5%;
    height: 75%;
    display: none;
    font-size:1em;
}

.page, .right_page, .special_page{ display:none;}
.page{
    position: absolute;
    width: 35%;
    margin-left: 35px;
}
.right_page{
    position: absolute;
    width: 40%;
    margin-left: 50%;
}
#book_popup{
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 50;
    background: url('../images/popup/bgBook.png') no-repeat;
    background-size: 100% 100%;
    width: 1300px;
    height: 667px;
    margin-left: -650px;
    margin-top: -334px;
    padding: 0;
    display: none;
    list-style-type: none;
}
.polaroid_holder{
    margin: 12% 0% 0% 5%;
    position:relative;
}
.polaroid{
    max-width: 80%;
}
.polaroid_overlay{
    position:absolute;
    top: 3%;
    left: 4.7%;
    width: 71%;
}

.video_indicator {
    z-index: 10;
    position: absolute;
    bottom: 10%;
    right: 7%;
    color: #4D4D4D;
    font-size: 1.2em;
    display:none;
}

.btn{ display:none; z-index: 10; cursor: pointer; position: absolute; height: 45px; bottom: -6%; width: 180px; }
#btn_next{ background: url('../images/popup/btnNext.png') no-repeat center; right: 2%; }
#btn_cons{ background: url('../images/popup/btnCons.png') no-repeat center; left: 2%; }

@media only screen and (max-width: 1430px) {
	#book_popup{
	    width: 1000px;
	    height: 600px;
	    margin-left: -500px;
	    margin-top: -300px;
	}
    .book_content h1{ font-size:1.5em; }
    .book_content { font-size:0.9em; }
}
@media only screen and (max-width: 1023px) {
	#book_popup{
	    width: 780px;
	    height: 468px;
	    margin-left: -390px;
	    margin-top:  -234px;
	}
    .book_content h1{ font-size:1.5em; }
    .book_content { font-size:0.8em; }
}
