﻿/*! 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;
	font-size: 16px
}

/* 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: 42.5em;
	height: 38.875em;
    background-image:url(../img/loader.jpg) no-repeat center/contain; /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:auto; /* is width and height divided by two */
}
.wrapper{
	width: 42.5em;
	height: 38.875em;
	background:url("../img/main.jpg") no-repeat center/contain;
	margin:auto;
	position:relative;
}
#instruct_0 {
    bottom: 6.9em;
    cursor: pointer;
    height: 2.1em;
    right: 3.4em;
    position: absolute;
    width: 25.5em;
    
}
.grade_01 {
    bottom: 4.2em;
    cursor: pointer;
    height: 2.1em;
    right: 3.4em;
    position: absolute;
    width: 25.5em;
    
}
.grade_02 {
    bottom: 1.5em;
    cursor: pointer;
    height: 2.1em;
    right: 3.4em;
    position: absolute;
    width: 25.5em;
    
}
.grade_1 {
    bottom: 4em;
    cursor: pointer;
    height: 2.1em;
    left: 4.4em;
    position: absolute;
    width: 25.5em;
    
}
.grade_2 {
    bottom: 1.2em;
    cursor: pointer;
	height: 2.1em;
    left: 4.4em;
    position: absolute;
    width: 25.5em;
    
}
.round_06 .ans_con { font-size: 2.2em; }
#instruct_1, #instruct_2 {
    bottom: 6.6em;
    cursor: pointer;
    height: 2.1em;
    left: 4.4em;
    position: absolute;
    width: 25.5em;
    
}

.inst_scr{display:none;}

.page2,.page3,.page4,.page5{ display:none;}
div#fun-fact {
    position: absolute;
    color: #fff;
    font-size: 1.325625em;
    bottom: 3.5em;
    width: 64%;
    left: 9em;
	height: 5em
}
div#fun-fact > div{    
	position: relative;
    display: table;
    width: 100%;
    height: 100%; 
}
div#fun-fact > div > .con{ display: table-cell;  vertical-align: middle;  height: 100%; }
a#fun-fact-continue {
    position: absolute;
    color: #fff;
    font-size: 1.3em;
    bottom: 2.3em;
    right: 3em;
	cursor: pointer;
}
/*Congratulations*/
div#info {
    position: relative;
    top: 10.2em;
    padding: 0 4em;
    text-align: center;
    font-size: 1.2em;
	color: #fff;
}
a.certificate{
	display: block;
    text-align: center;
    margin-top: 12.5em;
    margin-left: auto;
    margin-right: auto;
    width: 23em;
	color: #fff;
}
p.passport{
    position: absolute;
    bottom: 2.3em;
    text-align: center;
    width: 100%;
	color: #fff;
}
a.certificate > img{ width: 100%; }
p.passport a{ text-decoration: none; }
p.passport a, p.passport a:hover{ color: #fff; }
p.passport a:hover{ text-decoration: underline; }
.rounds {
    top: 0;
    height: 80%;
    position: absolute;
    width: 100%;
}
.pop_video {
    position: absolute;
    width: 23em;
    height: 15.3125em;
    left: 10.05em;
    top: 11em;
	visibility: hidden;
	background: #000;
}
#popup > div,
#popup > a,
#popupHelp > div,
#popupHelp > a{
	/*-webkit-text-stroke: 1px #C62729;
	-webkit-text-fill-color: white; */
	color:white;
	text-shadow:1px 1px 13px red, 1px 1px 13px red, 1px 1px 13px red;
			   /*-1px -1px 0 #C62729,  
				1px -1px 0 #C62729,
			   -1px  1px 0 #C62729,
				1px  1px 0 #C62729*/
	
	filter: Shadow(Color='#C62729', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#C62729",Strength="13")
}

.round{
	position: absolute;
	cursor:pointer;
}
.round > div.complete{ width: 100%; height: 100%; background: url(../img/complete.png) no-repeat center/contain; }
#round_0 {
    height: 8.625em;
    left: 2em;
    top: 1.8em;
    width: 9em;
	background: url(../img/level_round_0.png) no-repeat center/contain;
}
#round_0:hover, #round_0.over { background: url(../img/level_round_0_h.png) no-repeat center/contain; }
#round_1 {
    height: 10.5625em;
    left: 6.8em;
    top: 9em;
    width: 9.0625em;
	background: url(../img/level_round_1.png) no-repeat center/contain;
}
#round_1:hover, #round_1.over { background: url(../img/level_round_1_h.png) no-repeat center/contain; }
#round_2 {
    height: 11.5625em;
    left: 9.5em;
    top: 19.8em;
    width: 9.0625em;
	background: url(../img/level_round_2.png) no-repeat center/contain;
}
#round_2:hover, #round_2.over { background: url(../img/level_round_2_h.png) no-repeat center/contain; }
#round_3 {
    height: 10.6875em;
    left: 21.5em;
    top: 9.6em;
    width: 12.625em;
	background: url(../img/level_round_3.png) no-repeat center/contain;
}
#round_3:hover, #round_3.over { background: url(../img/level_round_3_h.png) no-repeat center/contain; }
#round_4 {
    height: 10.0625em;
    left: 28.5em;
    top: 1.5em;
    width: 9.3125em;
	background: url(../img/level_round_4.png) no-repeat center/contain;
}
#round_4:hover, #round_4.over { background: url(../img/level_round_4_h.png) no-repeat center/contain; }
#round_5 {
    height: 12.6875em;
    left: 28.1em;
    top: 18.6em;
    width: 9.75em;
	background: url(../img/level_round_5.png) no-repeat center/contain;
}
#round_5:hover, #round_5.over { background: url(../img/level_round_5_h.png) no-repeat center/contain; }
#round_6 {
    height: 9.25em;
    left: 20.5em;
    top: 2em;
    width: 8.75em;
	background: url(../img/level_round_6.png) no-repeat center/contain;
}
#round_6:hover, #round_6.over { background: url(../img/level_round_6_h.png) no-repeat center/contain; }
.drag{
	width: 5.875em;
	height: 7.625em;
	position: absolute;
	left: 2em;
	bottom: 1.1em;
	background: url(../img/drag.png) no-repeat center/contain;
}
.qsnScreen {
    bottom: 1.5625em;
    height: 74%;
    margin: 1.5%;
    position: absolute;
    width: 97%;
}
.footer{
	width:100%;
	height:2.3125em;
	position:absolute;
	bottom:0px;	
	overflow:hidden;
	display: none;
}

.score {
    background: url("../img/score.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 2.25em;
    left: 0px;
    position: absolute;
    width:21.5625em;
}
.helps {
    background: url("../img/help.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 2.25em;
    position: absolute;
    right: 0;
    width: 21em;
}
.help_div {
    float: right;
    height: 1.1875em;
    padding: 0.4375em;
    text-align: right;
	font-weight:bold;
    width: 9.375em;
	color:#fff;
}
.mute,.help{
	margin-right:0.625em;	
	cursor:pointer;
	z-index:9;	
	position:relative;
}
.mute_img{
	z-index:99;	
	margin-left:-1em;
	margin-top:0px;
	height: 100%;
}
.times,.scores{
	width:8.75em;
	padding:0.4375em;
	height:1.1875em;
	margin-left:0.625em;	
	color:#fff;
	font-weight: bold;
}
.question {
    border-radius: 11px 11px 11px 11px;
    height: 8.125em;
    position: absolute;
    right: 5.125em;
    top: 2.2em;
    width: 21.875em;
    display: table;
}

.question_con {
    font-size: 1.1875em;
    display: table-cell;
    vertical-align: middle;
    line-height: normal;
    text-align: left;
}
.answers_box {
    bottom: 0;
    height: 10.1875em;
    left: 2.25em;
    overflow: hidden;
    position: absolute;
    width: 36.75em;
}
.answers{
	background:  url("../img/slidte.png") no-repeat center center / contain;
    color: #FFFFFF;
    cursor: pointer;
    height: 10.25em;
    position: absolute;
    text-align: center;
    width: 12.25em;
}
.answers:hover{
	background:  url("../img/slidte1.png") no-repeat center center / contain;
}
#answer1{left:0em;}
#answer3{right:0.3125em;}
#answer2{left: 12em;}
.optionDis {
    font-family: 'Comic Sans MS';
    font-weight: bold;
    position: relative;
	height: 100%;
	width: 100%;
}
.ans_con{
	font-family: 'Comic Sans MS';
	display:inline-block;
	text-align:center;
	font-weight:bold;
	z-index:9;
	font-size:1.2125em;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 75%;
}
.roundQnsImg{
	display:block;
	position:absolute;
	bottom:10em;
	right:3.125em;
}

/*popup code*/
#overlay {
    width: 100%;
    height: 100%;
    background-color: #fff;
    filter:alpha(opacity=10);
    -moz-opacity:0.1;
    -khtml-opacity: 0.1;
    opacity: 0.1;
    z-index: 99;
	position:absolute;
	top:0px;
}
#popup{display:none;position:absolute;left:11.25em;top:9.84375em;width:20em;height:19.1875em;font-weight:bold;z-index:999;text-align:center;color:#284483;}
.pop_img{width:100%;height:100%;}
#popup_con {
    bottom: 21%;
    color: #fff;
    font-size: 1.1875em;
    font-weight: normal;
    height: 65%;
    margin: 0 2.4375em;
    padding: 0.625em;
    position: absolute;
    text-align: left;
    width: 71%;
}
#popup .close{
	bottom: 12%;
    color: #fff;
    font-size: 1.5625em;
    position: absolute;
    right: 2.4375em;
    text-decoration: none;
}
.title{
	font-size: 1.5625em;
    text-align: left;
}
/*popup help*/
#popupHelp{display:none;position:absolute;left:8.75em;top:6.25em;width:25.875em;height:24.8125em;z-index:999;text-align:center;color:#284483;}
#popup_hcon {
    bottom: 14%;
	color:#fff;
    font-size: 1.04em;
    font-weight: normal;
    height: 77%;
    padding: 0.625em;
	right:2.8125em;
    position: absolute;
    text-align: left;
    width: 78%;
}
.htitle{
	font-size: 1.5625em;
    margin-left: 1.25em;
    margin-top: 1.25em;
    text-align: left;
	font-style:italic;
}
#popupHelp a { 
	bottom: 10%;
    color: #FFFFFF;
    font-size: 1.5em;
    position: absolute;
    right: 13%;
	font-weight: normal;
    text-decoration: none;
}
menu, ol, ul {
    padding: 0 0 0 2.5em;
}

/*popup help*/
#popupCongr{
	background: url("../img/congra.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
	display:none;
	position:absolute ;
	left:90px ;
	top:100px;
	width:521px;
	height:416px;
	font-size:25px;
	font-weight:bold ;
	z-index:999;
	text-align:center;
}
#certificate{
	color: #FFFFFF;
    font-size: 16px;
    height: 161px;
    padding: 0 5px;
    position: absolute !important;
    right: 7%;
    text-decoration: none;
    top: 28%;
    width: 152px;
}
#passport{
	color: #FFFFFF;
    font-size: 16px;
    height: 33px;
    padding: 0 5px;
    position: absolute !important;
    right: 12%;
    text-decoration: none;
    top: 82%;
    width: 240px;
}
#popupCongr .Cclose {
	background: none repeat scroll 0 0 #1474E2;
    border: 1px solid #FFC4AF;
    bottom: 5%;
    color: #FFFFFF;
    font-size: 16px;
    left: 47px;
    padding: 0 5px;
    position: absolute !important;
    text-decoration: none;
}
.xmask{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#FFF;
	z-index:9999;
	display:none;
}
.pop_con > a{
	color:#fff;
}
/* ==========================================================================
   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;
    }
}
