/*! 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;
}

.wrapper{
	width:680px;
	height:622px;
	background:url("../img/loader.png") no-repeat;
	margin:auto;
	position:relative;
}

#instruct_0 {
	bottom: 60px;
	cursor: pointer;
	height: 33px;
	left: 217px;
	position: absolute;
	width: 406px;
}

#play_0 {
	bottom: 17px;
	cursor: pointer;
	height: 32px;
	left: 217px;
	position: absolute;
	width: 406px;
}

.play_1 {
	bottom: 19px;
	cursor: pointer;
	height: 32px;
	left: 70px;
	position: absolute;
	width: 308px;
}

.instructions {
	bottom: 61px;
	cursor: pointer;
	height: 32px;
	left: 70px;
	position: absolute;
	width: 308px;
}

.inst_scr{
	display: none
}

.page2 { display: none }
.page3 { display: none }

.questions {
	width: 135px;
	height: 85px;
	cursor: pointer;
	position: absolute
}

#ques1 { left: 66px; top: 203px }
#ques2 { left: 280px; top: 180px; height: 106px; width: 137px }
#ques3 { left: 56px; top: 377px }
#ques4 { left: 261px; top: 371px; height: 95px; width: 155px }
#ques5 { left: 497px; top: 359px; height: 109px; width: 113px }

.page_con {
	height: 373px;
	width: 670px;	
	left: 3px;
	top: 193px;	
	position: absolute
}

.ques_con {
	height: 75px;
	width: 408px;
	top: 50px;
	color: #FFF;
	text-align: center;
	font-size: 35px;
	position: absolute
}

.drag_box {
	height: 90px;
	width: 118px;
	left: 425px;
	top: 28px;
	position: absolute
}

.drop_box {	position: absolute }

.drop_box1,.drop_box4,.drop_box5 {
	height: 160px;
	width: 390px;
	left: 48px;
	top: 130px	
}

.drop_box2 {
	height: 134px;
	width: 333px;
    left: 227px;
    top: 133px    	
}

.drop_box3 {
	height: 160px;
	width: 380px;
  left: 167px;
  top: 178px    
}

.enter {
	height: 32px;
	width: 71px;
	left: 557px;
	top: 72px;
	cursor: pointer;
	position: absolute
}

.drag_items {
	width: 50px;
	height: 50px;
	cursor: pointer;
	position: absolute	
}

.footer {
	color: #FFF;
	font-weight: bold;
	font-size: 17px;
	width: 680px;
	height: 35px;
	top: 587px;
	background: url("../img/footer.png") no-repeat;
	position: absolute;
	display: none
}

.score_con {
	width: 270px;
	height: 34px
}

.score_txt {
	margin-top: 6px;
	margin-left: 16px;
	position: absolute	
}

.score {
	width: 50px;
	margin-left: 120px;
	margin-top: 7px;
	position: absolute
}

.mute {
	cursor: pointer;
	width: 43px;
	margin-left: 556px;
	margin-top: 5px;
	position: absolute;
	display: none
}

.mute > img { margin-top: -2px }

.help {
	cursor: pointer;
	width: 40px;
	margin-left: 623px;
	margin-top: 5px;
	position: absolute
}

.setQues {
	font-size: 23px;
	text-align: left;
	left: 20px
}

.popup {
	display: none;
	opacity: 0; 
	position: absolute;
	left: 125px;
	top: 98px;
	width: 411px;
	height: 410px;
	font-size: 25px;
	font-weight: bold;
	z-index: 999;
	text-align: center;
	/*box-shadow: 0px 0px 15px #000;*/
	text-shadow: 0 4px 4px #FF0000, 0 -2px 6px #FF0000, 0 4px 10px #FF0000;
	color:  #FFF;
}

.pop_img {
	height: 117%;
	margin-left: -34px;
	margin-top: -32px;
	width: 118%;
}

.popup_cont {
	bottom: 28%;
	color: #FFF;
	font-size: 17px;
	font-weight: normal;
	height: 75%;
	margin: 0 20px;
	position: absolute;
	text-align: left;
	width: 90%;
}

.popup a {
	bottom: 7%;
	color: #FFF;
	font-size: 23px;
	font-weight: normal;
	position: absolute;
	right: 53px;
	text-decoration: none;
	filter: Shadow(Color='#FF0000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#FF0000",Strength="13");
}

.pop_txt1 {
    display: inline-block;
    vertical-align: top;
    width: 6%;
}

.pop_txt2 {
    display: inline-block;
    width: 94%;
}

#popup_help .pop_txt,#popup1 .pop_con,#popup .pop_con,#popup2 .pop_con{
	filter: Shadow(Color='#FF0000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#FF0000",Strength="4");
}

#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;
	display: none
}

.htitle,.hclose_help { 
	font-size: 30px;
	filter: Shadow(Color='#FF0000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#FF0000",Strength="13");
}

#popup_con1 {
	bottom: 25%;
	font-size: 20px
}

#popup_con1 .htitle {
	font-size: 26px;
}

#popup_con2 .htitle {
	font-size: 28px;
	font-style: italic;
	text-align: center
}

.hclose2 {
	font-weight: normal;
	text-shadow: none;	
}

.pop_con ol {
	margin-left: -23px;
	margin-top: -9px
}

#popup .pop_con {
	font-size: 25px;
	margin-top: 60px;
	text-align: center;
	/*filter: Shadow(Color='#FF0000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#FF0000",Strength="13");*/
}

#popup a {
	bottom: 13%;
	font-size: 31px;
	font-weight: normal;
	right: 140px;
}

#popup_help .htitle {
	font-style: italic	
}

.smoke {
	width: 230px;
	height: 75px;
	position: absolute
}

#over1 {
	width: 673px;
	height: 388px;
	position: absolute;
	z-index: 9990;
	display: none
}

.result {
	width: 503px;
	height: 416px;
	background: url("../img/prize.png") no-repeat;
	position: absolute;
	z-index: 9990;
	left: 100px;
	top: -115px
}

.certificate {
	cursor: pointer;
	height: 120px;
	left: 323px;
	position: absolute;
	top: 178px;
	width: 117px;
}

#pass1 {
	cursor: pointer;
	height: 112px;
	left: 42px;
	position: absolute;
	top: 244px;
	width: 81px;
}

#pass2 {
	cursor: pointer;
	height: 18px;
	left: 247px;
	position: absolute;
	top: 341px;
	width: 127px;
}

.mask{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#FFF;
	z-index:9999;
	display: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;
    }
}