﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
body {
	overflow:hidden;
}

/* Preloader */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
/* 
    background-color:#fff; /* change if the mask should have another color then white */
 */
    z-index:99; /* makes sure it stays on top */
}

#status {
    width:680px;
    height:622px;
    background-image:url(../img/loader.jpg); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:auto; /* is width and height divided by two */
}
.wrapper{
	width:680px;
	height:622px;
	background:url("../img/main.jpg") no-repeat;
	margin:auto;
	position:relative;
}
#instruct_0 {
    bottom: 89px;
    cursor: pointer;
    height: 40px;
    left: 182px;
    position: absolute;
    width: 300px;
}
#play_0 {
    bottom: 29px;
    cursor: pointer;
    height: 40px;
    left: 137px;
    position: absolute;
    width: 388px;
}
#play_1 {
    bottom: 25px;
    cursor: pointer;
    height: 40px;
    left: 42px;
    position: absolute;
    width: 175px;
}
#instruct_1 {
    bottom: 25px;
    cursor: pointer;
    height: 40px;
    left: 459px;
    position: absolute;
    width: 200px;
}
#play_2 {
    bottom: 25px;
    cursor: pointer;
    height: 40px;
    left: 42px;
    position: absolute;
    width: 175px;
}
#instruct_2 {
    bottom: 25px;
    cursor: pointer;
    height: 40px;
    left: 459px;
    position: absolute;
    width: 200px;
}
#play_3 {
    bottom: 25px;
    cursor: pointer;
    height: 40px;
    left: 42px;
    position: absolute;
    width: 175px;
}
.inst_scr{display:none;}

.page2{ display:none;}
.footer{
	width:100%;
	height:31px;
	position:absolute;
	bottom:0px;	
	overflow:hidden;
}
.time {
    background: url("../img/time.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 31px;
    width: 190px;
}
.score {
    background: url("../img/score.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 31px;
    left: 190px;
    position: absolute;
    width: 190px;
}
.helps {
    background: url("../img/help.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 31px;
    position: absolute;
    right: 0;
    width: 300px;
}
.help_div {
    float: right;
    height: 19px;
    padding: 5px;
    text-align: right;
	font-weight:bold;
    width: 150px;
	color:#fff;
}
.mute,.help{
	margin-right:10px;	
	cursor:pointer;
	z-index:9;	
	position:relative;
}
.mute_img{
	position:absolute;
	z-index:99;	
	margin-left:-38px;
	margin-top:0px;
	display:none;
}
.times,.scores{
	width:140px;
	padding:5px;
	height:19px;
	margin-left:10px;	
	color:#fff;
	font-weight: bold;
}
.question {
    
	width: 608px;
    height: 100px;
    left: 22px;
    position: absolute;
    text-align: center;
    top: 149px;
    line-height:100px;
	padding:10px;
	-moz-border-radius: 11px 11px 11px 11px;
	-webkit-border-radius: 11px 11px 11px 11px;
	border-radius: 11px 11px 11px 11px;
}

.answers_box {
    height: 198px;
    left: 60px;
    position: absolute;
    top: 285px;
    width: 555px;
	overflow:hidden;
}
.answers{
	display:none;
	width:184px;
	height:170px;
	background:#775720;	
	border:10px solid #775720;	
	text-align:center;
	cursor:pointer;
	color:#FFF;
	position:absolute;
	line-height:165px;
	font-size:20px !important;
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
	
}
#overlay{ display:none;}
#answer1{left:0px;}
#answer2{right:0px;}
.ans_img{
	display:none;	
}
#ans_img1{
	float:left;
	position:absolute;
	left:0px;
	top:0px;
	width:204px;
	height:190px;
	z-index:99;	
	border:none;
}
#ans_img2{
	float:right;
	position:absolute;
	right:0px;
	top:0px;
	width:204px;
	height:190px;
	z-index:99;
	border:none;	
}
.ans_con{
	position:relative;
	width:160;
	display:inline-block;
	text-align:center;
	font-weight:bold;
	z-index:9;
	line-height: 19px;
	font-size:15px;
}

.question_con{
	font-size:19px;
	display: inline-block !important;
	vertical-align: middle;
	line-height: normal;
	display:none;
}
/*popup code*/
#overlay {
    width: 100%;
    height: 100%;
    background-color: #fff;
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    z-index: 99;
	position:absolute;
}
#popup{display:none;opacity:0; position:absolute;left:175px;top:145px;width:340px;height:341px;font-size:25px;font-weight:bold;z-index:999;text-align:center;box-shadow: 0px 0px 15px #000;color:#284483;}
.pop_img{width:100%;height:100%;}
#popup_con {
    bottom: 28%;
    color: #284483;
    font-size: 17px;
    font-weight: normal;
    height: 65%;
    margin: 0 30px;
    padding: 10px;
    position: absolute;
    text-align: left;
    width: 76.2%;
}
.pop_con{
	margin-top:40px !important;	
}
#popup a {bottom: 18%;
    color: #284483;
    font-size: 20px;
    position: absolute;
    right: 100px;
    text-decoration: none;
}

/*popup next*/
#popupNext{display:none;opacity:0; position:absolute;left:175px;top:145px;width:340px;height:341px;font-size:25px;font-weight:bold;z-index:999;text-align:center;box-shadow: 0px 0px 15px #000;color:#284483;}
#popupNext a {bottom: 20%;color:#284483;font-size: 18px;position:absolute;right:4%;text-decoration:none}
.title{
	font-size: 25px;
    font-weight: bold;
    margin-top: 1px;
    text-align: left;
}

/*popup help*/
#popupHelp{display:none;opacity:0; position:absolute;left:175px;top:145px;width:340px;height:341px;font-size:25px;font-weight:bold;z-index:999;text-align:center;box-shadow: 0px 0px 15px #000;color:#284483;}
#popup_hcon {
    bottom: 28%;
	color:#284483;
    font-size: 15px;
    font-weight: normal;
    height: 70%;
    padding: 10px;
    position: absolute;
    text-align: left;
    width: 95%;
}
.htitle{
	font-size: 25px;
    font-weight: bold;
    margin-left: 20px;
    margin-top: 22px;
    text-align: left;
}
#popupHelp a {bottom: 20%;color:#284483;font-size: 18px;position:absolute;right:4%;text-decoration:none}

/*popup help*/
#popupCongr {
    background: url("../img/congra.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: none;
    font-size: 25px;
    font-weight: bold;
    height: 414px;
    left: 90px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 100px;
    width: 517px;
    z-index: 999;
}
#certificate {
    color: #FFFFFF;
    font-size: 16px;
    height: 161px;
    padding: 0 5px;
    position: absolute;
    right: 15%;
    text-decoration: none;
    top: 33%;
    width: 152px;
}
#passport {
    color: #FFFFFF;
    font-size: 16px;
    height: 33px;
    padding: 0 5px;
    position: absolute;
    right: 19.5%;
    text-decoration: none;
    top: 75%;
    width: 240px;
}

#popupCongr .Cclose {
    background: none repeat scroll 0 0 #1474E2;
    border: 1px solid #FFC4AF;
    bottom: 6%;
    color: #FFFFFF;
    font-size: 16px;
    left: 50px;
    padding: 0 5px;
    position: absolute;
    text-decoration: none;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
