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

html {
    font-size: 1em;
    line-height: 1.4;
}
::-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
   ========================================================================== */
body{overflow: hidden;}
.section{
	height: 622px;
    margin: 0 auto;
    position: relative;
    /*width: 680px;	*/
}

#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:999; /* makes sure it stays on top */
}

#status {
	height: 622px;
    margin: 0 auto;
    position: relative;
    width: 680px;
	padding-top:1px;
	overflow:hidden;
	background:url(../img/loader.jpg) no-repeat;
	z-index:999; /* makes sure it stays on top */
}

.wrapper{
	width:680px;
	height:622px;
	background:url("../img/main.jpg") no-repeat;
	margin:auto;
	position:relative;
	z-index:1;
}

#instruct_0 {
	bottom: 90px;
	cursor: pointer;
	height: 40px;
	left: 180px;
	position: absolute;
	width: 302px;
}

#play_0 {
	bottom: 30px;
	cursor: pointer;
	height: 40px;
	left: 136px;
	position: absolute;
	width: 388px;
}

.play_1 {
	bottom: 24px;
	cursor: pointer;
	height: 43px;
	left: 30px;
	position: absolute;
	width: 180px;
}
.bradius1{
	border-radius:10px 0 0 10px;
	-webkit-border-radius:10px 0 0 10px;
}
.bradius2{
	border-radius:0 10px 10px 0;
	-webkit-border-radius:0 10px 10px 0;
}
.bradius3{
	border-radius:10px 10px 0 0;
	-webkit-border-radius:10px 10px 0 0;
}
.bradius4{
	border-radius:0 0 10px 10px;
	-webkit-border-radius:0 0 10px 10px;
}
.play_2 {
	bottom: 42px;
	cursor: pointer;
	height: 43px;
	left: 89px;
	position: absolute;
	width: 180px;
	display:none;
}

.instructions {
	bottom: 24px;
	cursor: pointer;
	height: 43px;
	left: 447px;
	position: absolute;
	width: 200px;
}

.inst_scr{
	display: none
}

.page2{
	position: relative;
	visibility:hidden;
}


.rounds {
	cursor: pointer;
	position: absolute
}

#grosseryList{ 
	background: url("../img/new/01.png") no-repeat;
	left: 28px;
	width: 256px;
	top: 121px;
	height: 385px;
	cursor: default;
	position: absolute;
}

#blueBox{ 
	background: url("../img/blueBox.png") no-repeat;
	left: 325px;
	width: 340px;
	top: 166px;
	height: 340px;
	cursor: default;
	position: absolute;
	z-index:9;
}

#round1 { left: 118px; width: 53px; top: 524px; height: 60px; }
#round2 { left: 205px; top: 510px; height: 75px; width: 45px; }
#round3 { left: 290px; top: 513px; height: 72px; width: 45px; }
#round4 { left: 360px; top: 516px; height: 69px; width: 67px; }
#round5 { left: 440px; top: 515px; height: 69px; width: 75px; }
#round6 { left: 529px; top: 519px; height: 65px; width: 57px; }
#round7 { left: 612px; top: 514px; height: 70px; width: 55px; }

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

.mute {
	cursor: pointer;
	width: 39px;
	height: 21px;
	margin-left: 570px;
	margin-top: 4px;
	position: absolute;
	display: none;
}

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

.help {
	cursor: pointer;
	margin-left: 625px;
	margin-top: 3px;
	position: absolute;
	width: 45px;
	height: 21px;
}

.popup {
	display: none;
	position: absolute;
	left: 137px;
	top: 117px;
	width: 406px;
	height: 388px;
	z-index: 999;	
}

#overlay {
	width: 680px;
	height: 591px;
	top:0px;
	background-color: #fff;
	filter:alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	z-index: 9;
	position: absolute;
	display: none
}

.htitle{ 
	color: #3C5074;
	font-family: arial;
	font-size: 25px;
	left: 40px;
	position: absolute;
	top: 21px;		
}

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

#popup_con1 .pop_con {
	color: #253F7A;
	font-family:arial;
	font-size:16px;
	height:100px;
	left:40px;
	line-height:0.9;
	position:absolute;
	text-align:left;
	top:75px;
	width:310px;
	font-weight: 100;
	opacity: 0.8;
}

#popup_con1 .continue {
	top: 175px;
	left: 204px;
}

#popup .pop_con {
	color: #395181;
    font-size: 18px;
    left: 40px;
    line-height: 1.1;    
    position: absolute;
    text-align: left;
    top: 67px;
    width: 290px;
}

#popup_help{
	background: url("../img/pop_up.png") no-repeat;
	background-position: center;
}

#popup_help .pop_img{
	background: url("../img/instructions.png") no-repeat;
	background-position: center;
	width: 357px;
	height: 294px;
	position: absolute;
	left: 21px;
	top: 21px;
}

#popup_help .hclose_help {
	height:17px;
	left:273px;
	position:absolute;
	top:286px;
	width:86px;	
	cursor: pointer;
}

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

.result {
	width: 478px;
	height: 374px;
	background: url("../img/prize.png") no-repeat;
	position: absolute;
	z-index: 9990;
	left: 106px;
	top: 110px;
}

.certificate {
	cursor: pointer !important;
	height: 167px;
	width: 168px;
	top: 112px;
	left: 253px;
	position: absolute;
}

#pass1 {
	cursor: pointer !important;
	height: 82px;
	left: 57px;
	position: absolute;	
	top: 232px;
	width: 82px;
}

#pass2 {
	height: 38px;
	left: 144px;
	position: absolute;
	top: 287px;
	width: 255px;
	cursor: pointer !important;
}

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

#layer { opacity: 0.3 }

.grid{width:10px; height:10px; visibility:hidden; position:absolute; z-index: 999;}

.recipe {
    background: url("../img/recipeCard.png") no-repeat;
	height: 35px;
	width: 165px;
	left: 220px;
	top: 158px;
	position: absolute;
	cursor: pointer;
}

.recipe:hover {
    background: url("../img/recipeCard_hover.png") no-repeat;
}

.continue {
    background: url("../img/continue.png") no-repeat;
	height: 35px;
	width: 165px;
	left: 220px;
	top: 186px;
	position: absolute;
	cursor: pointer;
}
.continue:hover {
    background: url("../img/continue_hover.png") no-repeat;
}

#roundNum{
	display:none;
}

#answers{
	width: 248px;
	position: absolute;
	top: 168px;
	height: 343px;
	left: 30px;
	display: block;
}

.answers{
	font-family: arial;
	font-weight: bold;
	font-size: 13px;
	position: absolute;
	text-align: center;	
	display: none;
}
#ans1_0{ left: 45px; top: 37px; width: 83px; }
#ans1_1{ left: 39px; top: 58px; width: 82px; }
#ans1_2{ left: 44px; top: 86px; width: 83px; }
#ans1_3{ left: 44px; top: 117px; width: 83px; }
#ans1_4{ left: 35px; top: 148px; width: 100px; }
#ans1_5{ left: 36px; top: 177px; width: 94px; }
#ans1_6{ left: 35px; top: 205px; width: 102px; }
#ans1_7{ left: 37px; top: 230px; width: 100px; }

#ans2_0{ left: 50px; top: 54px; width: 140px;}
#ans2_1{ left: 36px; top: 86px; width: 161px; }
#ans2_2{ left: 91px; top: 117px; width: 65px; }
#ans2_3{ left: 41px; top: 148px; width: 162px; }
#ans2_4{ left: 38px; top: 177px; width: 156px; }

#ans3_0{ left: 56px; top: 56px; width: 105px; }
#ans3_1{ left: 38px; top: 86px; width: 150px; }
#ans3_2{ left: 48px; top: 139px; width: 138px; }
#ans3_3{ left: 46px; top: 176px; width: 144px; }
#ans3_4{ left: 40px; top: 205px; width: 150px; }

#ans4_0{ left: 49px; top: 40px; width: 144px; }
#ans4_1{ left: 83px; top: 86px; width: 76px; }
#ans4_2{ left: 43px; top: 118px; width: 156px }
#ans4_3{ left: 35px; top: 163px; width: 175px; }
#ans4_4{ left: 43px; top: 196px; width: 145px; }
#ans4_5{ left: 35px; top: 229px; width: 162px; }
#ans4_6{ left: 67px; top: 263px; width: 106px; }
#ans4_7{ left: 92px; top: 294px; width: 66px;}

#ans5_0{ left: 56px; top: 42px; width: 128px; }
#ans5_1{ left: 57px; top: 79px; width: 134px; }
#ans5_2{ left: 46px; top: 116px; width: 160px; }
#ans5_3{ left: 36px; top: 149px; width: 185px; }
#ans5_4{ left: 87px; top: 189px; width: 76px; }
#ans5_5{ left: 41px; top: 229px; width: 167px; }
#ans5_6{ left: 84px; top: 260px; width: 88px; }

#ans6_0{ left: 44px; top: 44px; width: 123px; }
#ans6_1{ left: 50px; top: 87px; width: 121px; }
#ans6_2{ left: 85px; top: 136px; width: 55px; }
#ans6_3{ left: 41px; top: 175px; width: 133px; }

#ans7_0{ left: 45px; top: 45px; width: 124px; }
#ans7_1{ left: 85px; top: 86px; width: 71px; }
#ans7_2{ left: 42px; top: 116px; width: 157px; }
#ans7_3{ left: 39px; top: 148px; width: 134px; }
#ans7_4{ left: 85px; top: 182px; width: 71px; }
#ans7_5{ left: 62px; top: 223px; width: 105px; }
#ans7_6{ left: 55px; top: 260px; width: 127px; }

.answerDivs{ 
	background: #ff9999;
	z-index: 99; 
	border-radius: 10px;
	position: absolute;	
}
.draggingDivs{ 
	background: red; 
	z-index: 99; 
	border-radius: 10px;
	position: absolute;	
}

.puzzle{
	position: absolute;
	top: 6px;
	left: 26px;
	font-family: arial;
	font-size: 16px;
}

.stage{
	position: absolute;
	top: 6px;
	left: 185px;
	font-family: arial;
	font-size: 16px;
}

#start {
	color: #FF0000;
	font-size: 50px;
	position: absolute;
	z-index: 99999;
	margin-left: 230px;
	margin-top: 270px;
	width: 220px;
	height: 81px;
	background: url("../img/start.png") no-repeat;
}
#start1 {
	position: absolute;
	z-index: 99999;
	left: 315px;
	top: 286px;
	width: 50px;
	height: 50px;
	background: url("../img/loading.gif") no-repeat;
}

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