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

html {
    font-size: 1em;
    line-height: 1.4;
}
html,
body{
    overflow: hidden;
}
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
audio,
canvas,
img,
video {
    vertical-align: middle;
}
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


@font-face {
	font-family: "Comic Book";
	src: url('../fonts/502349854-Comic-Book-Italic.eot');
	src: url('../fonts/502349854-Comic-Book-Italic.eot?#iefix') format('embedded-opentype'),
	url('../fonts/502349854-Comic-Book-Italic.svg#Comic Book') format('svg'),
	url('../fonts/502349854-Comic-Book-Italic.woff') format('woff'),
	url('../fonts/502349854-Comic-Book-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
    
@font-face {
	font-family: "Shark Random Funnyness 2";
	src: url('../fonts/106414795-SRF2.eot');
	src: url('../fonts/106414795-SRF2.eot?#iefix') format('embedded-opentype'),
	url('../fonts/106414795-SRF2.svg#Shark Random Funnyness 2') format('svg'),
	url('../fonts/106414795-SRF2.woff') format('woff'),
	url('../fonts/106414795-SRF2.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

.section{
	height: 622px;
	margin: 0 auto;
	position: relative;
	width: 680px;	
}

.wrapper {
	height: 622px;
	margin: 0 auto;
	position: relative;
	width: 680px;
	padding-top: 1px;
	overflow: hidden;
	background: url(../img/loader.png) no-repeat;
}

#house_bg {
	width: 680px;
	height: 489px;
	left: 0px;
	top: 133px;
	position: absolute;
	background: url('../img/house.png') no-repeat
}

.pillar {
	width: 122px;
	height: 75px;
	position: absolute;
	background-color: #F5DB00;
	opacity: 0.5;
	left: 59px
}

#pillar_pre { height: 38px;top: 328px }
#pillar1 { top: 451px;height: 79px }
#pillar2 { top: 371px }
#pillar3 { top: 290px }
#pillar4 { top: 209px }

.mask,#layer {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#FFF;
	z-index:9999;
	display:none;
}

#star { 
	position:absolute;
	z-index: 999 
}

#mask { 
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index: 998 
}

#layer { opacity: 0.3 }

#start {
	color: #FF0000;
	font-size: 50px;
	position: absolute;
	z-index: 99999;
	margin-left: 240px;
	margin-top: 250px;
	width: 220px;
	height: 81px;
	background: url('../img/start.png') no-repeat
}

.find {
	text-shadow: 0 2px 2px #FF0000, -2px 0 2px #FF0000, 2px 1px 1px #FF0000, 0 -2px 2px #FF0000;
	filter: Shadow(Color='#FF0000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#FF0000",Strength="6");
}

#pre,.level {
	width: 200px;
	height: 121px;
	cursor: pointer;
	position:absolute
}

#pre,#pre_level {
	background: url('../img/pre_k_level.png') no-repeat; 
	top: 490px;
	left: 106px;
	font-family: "Comic Book"
}

#k2_level {
	background: url('../img/play_k2_level.png') no-repeat;
	top: 496px;
	left: 439px;
	font-family: "Shark Random Funnyness 2"
}

.items,.items_pre {
	width: 100px;
	height: 103px;
	position: absolute
}

#item1 { left: 162px;top: 421px;background: url('../img/unlock.png') no-repeat }
#item2 { left: 468px;top: 421px;background: url('../img/unlock.png') no-repeat }
#item3,#item_3 { left: 208px;top: 304px;background: url('../img/lock.png') no-repeat }
#item4,#item_4 { left: 417px;top: 304px;background: url('../img/lock.png') no-repeat }
#item5,#item_5 { left: 312px;top: 198px;;background: url('../img/lock.png') no-repeat;z-index: 1 }
#item_5_img { z-index: 1 }

#girl_img {
	width: 0px;
	height: 0px;
	left: 344px;
	bottom: 120px;
	position: absolute
}

#girl_img1 {
	width: 70px;
	height: 116px;
	left: 323px;
	bottom: 86px;
	position: absolute
}

/* Text with audio popup css starts */

.pop {
	width: 0px;
	height: 0px;
	opacity: 0;
	position: absolute
}

.pop_con {
	color: #000000;
	font-size: 0px;
	line-height: 1.2em;
	text-align: center;
	position: absolute
}

.pop > img {
	opacity: 0.95;
	width: 0px;
	height: 0px;
	position: absolute
}

.pop_con temp { 
	font-weight: bold !important;
	font-size: 26px !important 
}

.welcome_pop {	
	top: 360px;
	left: 204px;	
}

.wel_con {
	width: 330px;
	margin-left: 43px;
	margin-top: 21px;
}

.welcome_pop > img { left: 208px }

.menu_pop {
	top: 260px;
    left: 200px;
    z-index: 0
}

.menu_con {
    width: 367px;
    margin-left: 43px;
    margin-top: 31px;
}

.menu_pop > img { left: 225px }

.welback_con {
    margin-left: 21px;
    margin-top: 45px;
    width: 410px;
}

/* Hand and Arrow image css starts */

.hand {
	width: 197px;
	height: 150px;
	background: url('../img/hand-glow.png') no-repeat;
	left: 230px;
	top: 235px;
	position: absolute
}

.arrow {
	width: 76px;
	height: 108px;
	background: url('../img/arrow-glow.png') no-repeat;
	position: absolute;
	z-index: 997
}

/* Drag and Drop Items css starts */

/* hen */
.drag_eggs {
	width: 85px;
	height: 121px;
	color: #AD0400;
	cursor: pointer;
	font-size: 55px;
	font-family: "Comic Book";
	text-align: center;
	padding-top: 20px;
	background: url('../img/egg.png') no-repeat;
	position: absolute;
	z-index: 100;
}

.drag_egg1 { left: 246px;top: 70px }
.drag_egg2 { left: 340px;top: 70px }
.drag_egg3 { left: 434px;top: 70px }
.drag_egg4 { left: 244px;top: 199px }
.drag_egg5 { left: 340px;top: 199px }
.drag_egg6 { left: 434px;top: 199px }

.drop_eggs {
	width: 85px;
	height: 121px;
	color: #AD0400;
	cursor: pointer;
	font-size: 55px;
	font-family: "Comic Book";
	text-align: center;
	padding-top: 20px;
	position: absolute;
	z-index: 99;
}

.drop_egg1 { left: 43px;top: 389px }
.drop_egg2 { left: 161px;top: 389px }
.drop_egg3 { left: 283px;top: 389px }
.drop_egg4 { left: 43px;top: 455px }
.drop_egg5 { left: 161px;top: 455px }
.drop_egg6 { left: 283px;top: 455px }

.egg_cart1 {
	background: url('../img/egg_carton1.png') no-repeat;
	width: 366px;
	height: 160px;
	left: 21px;
	top: 406px;
	position: absolute;
	z-index: 200
}

.egg_cart2 {
	background: url('../img/egg_carton2.png') no-repeat;
	width: 373px;
	height: 111px;
	left: 18px;
	top: 507px;
	position: absolute;
	z-index: 202
}

/* cow */
.drag_milk {
	background: url('../img/milk.png') no-repeat;
	width: 76px;
	height: 121px;
	font-family: "Comic Book";
	font-size: 42px;
	color: #2384A4;
	cursor: pointer;
	position: absolute
}

.drag_milk1 { left: 185px;top: 75px }
.drag_milk2 { left: 275px;top: 75px }
.drag_milk3 { left: 365px;top: 75px }
.drag_milk4 { left: 455px;top: 75px }
.drag_milk5 { left: 185px;top: 205px }
.drag_milk6 { left: 275px;top: 205px }
.drag_milk7 { left: 365px;top: 205px }
.drag_milk8 { left: 455px;top: 205px }
.drag_milk9 { left: 185px;top: 335px }
.drag_milk10 { left: 275px;top: 335px }
.drag_milk11 { left: 365px;top: 335px }
.drag_milk12 { left: 455px;top: 335px }

.drop_milk,.drop_milk > div {
	background: url('../img/jug.png') no-repeat;
	width: 78px;
	height: 119px;
	font-family: "Comic Book";
	font-size: 42px;
	color: #2384A4;
	position: absolute
}

.drop_milk { padding-left: 1px }
.drop_milk > div { background: none }
.drag_milk,.drop_milk > div { padding-left: 8px;padding-top: 30px }

.drop_milk1 { left: 50px;top: 465px }
.drop_milk2 { left: 150px;top: 465px }
.drop_milk3 { left: 250px;top: 465px }
.drop_milk4 { left: 350px;top: 465px }
.drop_milk5 { left: 450px;top: 465px }
.drop_milk6 { left: 550px;top: 465px }

/* horse */
.drag_scoop {
	width: 91px;
	height: 73px;
	cursor: pointer;
	position: absolute
}

.drag_scoop1 { left: 130px;top: 77px }
.drag_scoop2 { left: 225px;top: 77px }
.drag_scoop3 { left: 320px;top: 77px }
.drag_scoop4 { left: 415px;top: 77px }
.drag_scoop5 { left: 130px;top: 157px }
.drag_scoop6 { left: 225px;top: 157px }
.drag_scoop7 { left: 320px;top: 157px }
.drag_scoop8 { left: 415px;top: 157px }
.drag_scoop9 { left: 130px;top: 237px }
.drag_scoop10 { left: 225px;top: 237px }
.drag_scoop11 { left: 320px;top: 237px }
.drag_scoop12 { left: 415px;top: 237px }
.drag_scoop13 { left: 130px;top: 317px }
.drag_scoop14 { left: 225px;top: 317px }
.drag_scoop15 { left: 320px;top: 317px }
.drag_scoop16 { left: 415px;top: 317px }
.drag_scoop17 { left: 130px;top: 397px }
.drag_scoop18 { left: 225px;top: 397px }
.drag_scoop19 { left: 320px;top: 397px }
.drag_scoop20 { left: 415px;top: 397px }

.drop_scoop {
	width: 91px;
	height: 73px;
	opacity: 0.65;
	position: absolute
}

.drop_scoop1 { left: 43px;top: 504px }
.drop_scoop2 { left: 209px;top: 504px }
.drop_scoop3 { left: 385px;top: 504px }
.drop_scoop4 { left: 555px;top: 504px }

/* pig */
.drag_pig {
	width: 119px;
	height: 102px;
	cursor: pointer;
	position: absolute
}

.drag_pig1 { left: 243px;top: 73px }
.drag_pig2 { left: 402px;top: 73px }
.drag_pig3 { left: 186px;top: 174px }
.drag_pig4 { left: 348px;top: 174px }
.drag_pig5 { left: 490px;top: 174px }
.drag_pig6 { left: 235px;top: 272px }
.drag_pig7 { left: 390px;top: 272px }

.drop_pig_a,.drop_pig_b,.pigbox4a,.pigbox7a,.pigbox4b,.pigbox7b {
	width: 131px;
	height: 95px;
	position: absolute
}

.drop_pig_a { background: url('../img/pigbox_a.png') no-repeat }
.drop_pig_b { background: url('../img/pigbox_b.png') no-repeat }

.drop_pig1 { left: 61px;top: 384px }
.drop_pig2 { left: 195px;top: 384px }
.drop_pig3 { left: 330px;top: 384px }
.drop_pig4 { left: 6px;top: 485px }
.drop_pig5 { left: 140px;top: 485px }
.drop_pig6 { left: 408px;top: 485px }
.drop_pig7 { left: 543px;top: 485px }


.pigbox4a,.pigbox4b {
    left: 466px;
    top: 384px;
}

.pigbox4a {	background: url('../img/pigbox_4a.png') no-repeat }
.pigbox4b {	background: url('../img/pigbox_4b.png') no-repeat }

.pigbox7a,.pigbox7b {
    left: 275px;
    top: 485px;
}

.pigbox7a {	background: url('../img/pigbox_7a.png') no-repeat }
.pigbox7b {	background: url('../img/pigbox_7b.png') no-repeat }

/*sheep*/
.drag_ball {
	width: 93px;
	height: 94px;
	cursor: pointer;
	position: absolute
}

.drag_ball1 { left: 155px;top: 73px }
.drag_ball2 { left: 255px;top: 73px }
.drag_ball3 { left: 360px;top: 73px }
.drag_ball4 { left: 460px;top: 73px }
.drag_ball5 { left: 195px;top: 174px }
.drag_ball6 { left: 305px;top: 174px }
.drag_ball7 { left: 410px;top: 174px }
.drag_ball8 { left: 185px;top: 272px }
.drag_ball9 { left: 290px;top: 272px }
.drag_ball10 { left: 395px;top: 272px }

.drop_ball {
	width: 93px;
	height: 94px;
	opacity: 0.7;
	position: absolute
}

.drop_ball1 { left: 24px;top: 380px }
.drop_ball2 { left: 160px;top: 380px }
.drop_ball3 { left: 290px;top: 380px }
.drop_ball4 { left: 423px;top: 380px }
.drop_ball5 { left: 556px;top: 380px }
.drop_ball6 { left: 25px;top: 485px }
.drop_ball7 { left: 160px;top: 485px }
.drop_ball8 { left: 290px;top: 485px }
.drop_ball9 { left: 423px;top: 485px }
.drop_ball10 { left: 556px;top: 485px }

/*footer css starts */

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

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

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

.mute {
	cursor: pointer;
	width: 43px;
	height: 25px;
	margin-left: 576px;
	margin-top: 6.8px;
	background: url("../img/unmute.png") no-repeat;
	position: absolute
}

.help {
	cursor: pointer;
	width: 38px;
	height: 20px;
	margin-left: 629px;
	margin-top: 8px;
	position: absolute
}
 
/* popup css starts */

.popup {
	display: none;
	opacity: 0;
	position: absolute;
	left: 165px;
	top: 132px;
	width: 354px;
	height: 356px;
	font-size: 27px;
	line-height: 1.2em;
	text-align: center;
	color: #374F8E;
	box-shadow: -2px -2px 5px #000000, 2px 2px 5px #000000
}

#pop_bg {
	background: url("../img/congrates.png") no-repeat;
	width: 354px;
	height: 356px;
	left: 165px;
	top: 133px;
	position: absolute;
	z-index: 998	
}

#overlay {
	width: 100%;
	height: 100%;
	z-index: 998;
	position: absolute;
}

#popup_help { background: url('../img/help_popup.png') no-repeat }

#help_con,#sc_con,#did_con {
	width: 142px;
	height: 35px;
	position: absolute;
	left: 125px;
	top: 254px;
	cursor: pointer
}

#help_text { margin-top: 70px;margin-left:16px }

#popup_fail { 
	background: url('../img/opps.png') no-repeat; 
	width: 336px;
	height: 352px;
}

#game_menu {
	background: url('../img/game_menu.png') no-repeat;
	width: 164px;
	height: 60px;
	position: absolute;
	top: 275px;
	cursor: pointer
}

#try_again {
	background: url('../img/try_again.png') no-repeat;
	width: 164px;
	height: 60px;
	position: absolute;
	left: 170px;
	top: 276px;
	cursor: pointer
}

.popup > img {
	bottom: 0px;
	right: 0px;
	position: absolute
}

#oops_con,#su_cont {
	font-size: 38px;
	line-height: 1.2em;
	margin-top: 85px
}

#su_cont { margin-top: 95px }
#popup_success { background: url('../img/congrates.png') no-repeat }

#popup_did {
	width: 354px;
	height: 356px;
	background: url('../img/didyouknow.png') no-repeat
}

#did_cont {
	width: 286px;
	font-size: 20px;
	margin-left: 53px;
	margin-top: 71px;
	text-align: left;
	line-height: 1.3em
}

#sound {
	width: 39px;
	height: 40px;
	position: absolute;
	left: 21px;
	top: 14px;
	cursor: pointer
}

#vd {
	width: 62px;
	height: 43px;
	position: absolute;
	left: 286px;
	top: 7px;
	cursor: pointer
}

#congrats,#pop_bg1 {
	width: 422px;
	height: 318px;
	background: url('../img/congratulations.png') no-repeat;
	border-radius: 18px
}

#pop_bg1 { position: absolute;left: 165px;top: 132px;z-index: 998 }
#certificate {
	width: 166px;
	height: 166px;
	left: 226px;
	top: 85px;
	cursor: pointer;
	position: absolute
}

#pass1 {
	width: 80px;
	height: 80px;
	left: 32px;
	top: 206px;
	cursor: pointer;
	position: absolute
}

#pass2 {
	width: 115px;
	height: 14px;
	left: 256px;
	top: 280px;
	cursor: pointer;
	position: absolute
}

/* video css starts */

.video_box {
    background-color: #000000;
    width: 560px;
    height: 335px;
    left: 70px;
    top: 130px;
    display: none;
    position: absolute;
    z-index: 9999;
   	box-shadow: -5px -3px 10px #000000,5px 5px 10px #000000
}

.video_box video { 
	margin-left: 18px;
	margin-top: 28px;
	display: none;
	border: 1px solid #000
}

.close {
	background: url('../img/close.png') no-repeat;
	width: 25px;
	height: 25px;
	top: 2px;
	left: 530px;
	cursor: pointer;
	position: absolute
}

/* pre/post test css starts */

.test {
	width: 175px;
	height: 142px;
	cursor: pointer;
	position: absolute
}

#test1 { left: 62px;top: 207px }
#test2 { left: 251px;top: 207px }
#test3 { left: 441px;top: 207px }
#test4 { left: 62px;top: 359px }
#test5 { left: 251px;top: 359px }
#test6 { left: 441px;top: 359px }

.test_sub {
	background: url('../img/submit.png') no-repeat;
	width: 127px;
	height: 35px;
	top: 566px;
	left: 470px;
	cursor: pointer;
	position: absolute
}

.test_pop {
	display: none;
	position: absolute
}

#test_correct {
	background: url('../img/prepost_correct.jpg') no-repeat;
	width: 339px;
	height: 342px;
	left: 197px;
	top: 161px
}

#test_wrong1 {
	background: url('../img/pre_wrong.jpg') no-repeat;
	width: 336px;
	height: 338px;
	left: 185px;
	top: 150px;
}

#test_wrong2 {
	background: url('../img/post_wrong.jpg') no-repeat;
	width: 336px;
	height: 338px;
	left: 190px;
	top: 159px
}

.test_con {
	width: 149px;
	height: 34px;
	cursor: pointer;
	position: absolute
}

#test_con1 { left: 101px;top: 289px }
#test_con2 { left: 98px;top: 289px }
#test_con3 { left: 95px;top: 285px }

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

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

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}
.hidden {
    display: none !important;
    visibility: hidden;
}
.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;
    }
}
