/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
	font-family: arial;
}
html,
body{
    overflow: hidden;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#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;
}

.page{
	width:680px;
	height:622px;
	position:absolute;
	top:0;
	display:none;
}


#letsplay{
	width: 183px;
	height: 83px;
    bottom: 12px;
    position: absolute;
    right: 58px;
	cursor:pointer;
	background:url("../img/letsplay.png") no-repeat;
}

#letsplay:hover{
	width: 183px;
	height: 83px;
    bottom: 12px;
    position: absolute;
    right: 58px;
	background:url("../img/letsplay_hover.png") no-repeat;
}

#next, #next1, #next2, #next3{
	width: 183px;
	height: 83px;
    bottom: 12px;
    position: absolute;
    right: 58px;
	cursor:pointer;
	background:url("../img/next.png") no-repeat;
}

#next:hover, #next1:hover, #next2:hover, #next3:hover{
	width: 183px;
	height: 83px;
    bottom: 12px;
    position: absolute;
    right: 58px;
	background:url("../img/next_hover.png") no-repeat;
}

#arrow {
  background:url("../img/arrow.png") no-repeat;
  height: 53px;
  position: absolute;
  right: 52px;
  top: 232px;
  width: 91px;
  z-index:99;
}
.amask{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	opacity:0.6;
	background-color:#FFF;
	z-index:99;
	display:none;
}
.xmask{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#FFF;
	z-index:9999;
	display:none;
}

.block, .harvestblock, .nutritionBlock{
  bottom: 63px;
  height: 193px;
  /*left: 52px;*/
  position: absolute;
  width: 178px;
}
.spoonsBlock{
  position: absolute;
  width: 680px;
  height: 117px;
}
.processblock{
bottom:60px;
position:absolute;
width:183px;
height:159px;
}
.processblock:hover{
cursor:pointer;
}
.questAdd:hover{
  background:url("../img/3-6.png") no-repeat;
  cursor:pointer;
}

.optionHover:hover{
background:url("../img/round2_h.png") no-repeat;
cursor:pointer;
}

#block_1, #block_7{
left: 52px;
}
#block_2, #block_8{
left: 254px;
}
#block_3, #block_9{
left: 458px;
}
#block_4{
left: 358px;
}
#block_5{
left: 458px;
}
#block_6{
left:37px;
font-size:25px;
width:307px;
bottom: -75px;
color: #fff;
font-weight:600;
}
#block_10{
    left: 275px;
    bottom: 238px;
}
#block_11{
    left: 171px;
    bottom: 289px;
}
#block_12{
    left: 21px;
    bottom: -49px;
    position: absolute;
	z-index: 99;
}
#block_13{
    left: 72px;
    bottom: -83px;
}
#block_14{
    bottom: 85px;
}
#peanut{
background:url("../img/Peanut2.png") no-repeat;
width:105px;
height:186px;
}
#breadPlate{
background:url("../img/breadplate.png") no-repeat;
width:261px;
height:151px;
}
#meter{
background:url("../img/proteinMeter.png") no-repeat;
width:635px;
height:121px;
}
#dragArrow{
background:url("../img/down_arrow.png") no-repeat;
width:33px;
height:41px;
cursor:pointer;
position: absolute !important;
top: 30px;
}
.dragarea{
    margin: 0 56px 0 44px;
    position: relative !important;
    height: 100%;
}
#spoons{
/*bottom:97px;*/
width:680px;
height:117px;
}
.round2options{
  background:url("../img/round2_n.png") no-repeat;
  color: #000;
  font-size: 25px;
  font-weight: bold;
  /*padding: 0 5%;*/
  padding: 10px 0px 0px 30px;
  /*text-align: center;*/
  top:127px;
  height:57px;
  width: 121px;
  z-index:99;
  position:absolute;
}

#rnd2op1{

}

#rnd2op2{

}
#ch1{
left:25px;
}
#ch2{
left:70px;
}
#round2Question{
  /*color: #fff;
  font-size: 27px;
  padding: 0 5%;*/
  /*position: absolute;
  text-align: center;*/
  top: 71px;
  /*width: 90%;*/
}


#round4Question{
  color: #000;
  font-size: 27px;
  padding: 0 5%;
  top: 0px;
  line-height: 110%;
  text-shadow: none;
}
.question {
  color: #fff;
  font-size: 25px;
  padding: 0 3%;
  position: absolute;
  text-align: center;
  letter-spacing: 0.5px;
  top: 127px;
  width: 94%;
  text-shadow: 2px 2px black;
}

.questionText{
    /* color: #000;
	font-size: 26px;
	font-family:Arial;
    padding: 0 5%;
    position: absolute;
    text-align: center;
    top: 16px;
    width: 90%;
    line-height: 1.2 */;
	color: #000;
    font-size: 25.5px;
    font-family: Arial;
    position: absolute;
    text-align: center;
    top: 19px;
    width: 100%;
    line-height: 1.2;
}
.options {
  color: #000;
  font-size: 25px;
  font-weight: bold;
  margin-top: 23px;
  padding: 0 5%;
  text-align: center;
  width: 90%;
}

#Rnd3opt1, #Rnd3opt2, #Rnd3opt3{
    margin-top: 117px;
    padding: 0 6%;
    text-align: left;
}
span.val {
  /*background: #ebe0d6 none repeat scroll 0 0;*/
  color: #000;
  font-weight: bold;
  font-size: 27px;
  padding: 9px 17px;
  text-shadow: none;
  margin-left: 10px;
}
#round2Question span.val{ padding: 7px 40px; }
#valRound3 {
    color: #000;
    font-weight: bold;
    padding: 7px 15px;
    margin-left: 280px;
    margin-top: 208px;
    width: 20px;
    position:absolute;
	font-size: 30px;
	background:transparent;
}
span.valQM {
  /*background: #ebe0d6 none repeat scroll 0 0;*/
  color: #000;
  font-weight: bold;
  padding: 7px 15px;
  text-shadow: none;
  margin-left: 424px;
  font-size: 30px;
  margin-top: 208px;
  position:absolute;

}
/*#grade {
  position: absolute;
   top: 206px;
}
#gradeRnd2{
   position: absolute;
   top: 206px;
}*/
.grade{
   position: absolute;
   top: 206px;
}
#gradeRnd2{
 position: absolute;
 top: 316px;
}
.r1ansimg{
 height: 187px;
 width: 124px;
 background:url("../img/correct.png") no-repeat;
 position: absolute;
 z-index: 99;
}

.r1arrow{
  background: url("../img/g_next.png") no-repeat;
  height: 66px;
  left: 531px;
  position: absolute;
  top: 346px;
  width: 141px;
}
/*top:237px*/
.r1arrow:hover{
  background: url("../img/g_next_hover.png") no-repeat;
  cursor:pointer;
}

#round1{
top: 243px;
left: 490px;
}
#round2{
top: 291px;
left: 453px;
}
#round3{
left: 295px;
top: 331px;
}
#round4{
left: 163px;
top: 200px;
}
.wrong{
 background: url("../img/cross.png") no-repeat;
 position:absolute;
 left:100px;
 top: 173px;
 display:block;
 height:40px;
 width:40px;
 z-index:99;
}
.placestars{
 background: url("../img/star.png") no-repeat;
 height: 60px;
 position: absolute;
 width: 64px;
}
#mapNC{
 top: 263px;
 right: 145px;
 cursor:pointer;
}
#mapGA{
 /*top: 312px;
 right: 180px;*/
    top: 315px;
    right: 177px;
	cursor:pointer;
}
#mapAR{
    top: 295px;
    right: 279px;
	cursor:pointer;
}
#mapMS{
    top: 318px;
    right: 250px;
    font-size: 17px;
	cursor:pointer;
}
#mapNM{
    top: 304px;
    right: 415px;
    cursor:pointer;
}
#mapOK{
    top: 289px;
    right: 323px;
    cursor:pointer;
}
#mapMO{
    top: 258px;
    right: 282px;
    font-size: 17px;
	color:#fff;
	cursor:pointer;
}
#mapLA{
    top: 354px;
    right: 269px;
    font-size: 17px;
	color:#fff;
	cursor:pointer;
}
span.mapareaText{
    color: #000;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    /* top: 263px;
    right: 145px; */
}

#mapTX{
   /* top: 354px;*/
    top:359px;
    right: 339px;
	cursor:pointer;
}
#mapAL{
    top: 314px;
    right: 218px;
	cursor:pointer;
}
#mapFL{
    top: 377px;
    right: 151px;
    font-size: 18px;
	cursor:pointer;
}
#mapSC{
    top: 288px;
    right: 158px;
	cursor:pointer;
}
#mapVA{
    top: 232px;
    right: 137px;
	cursor:pointer;
}
#jar1{
left:-350px;
}
#jar2{
left:-205px;
top:167px;
}
#jar3{
left: 61px;
top: 125px;
}
#jar4{
 background:url("../img/Peanut-Butter.png") no-repeat;
 left: 461px;
 top: 459px;
 width: 82px;
 height: 145px;
 position: absolute;
 display:none;
}
.completedRnds{
  background:url("../img/Peanut-Butter.png") no-repeat;
  height: 145px;
  position: absolute;
  top: 215px;
  width: 82px;
}
.rewardScreen{
    position: absolute;
    top: 422px;
    right: -51px;
}
.rewardbtn{
  background:url("../img/reward.png") no-repeat;
  width:142px;
  height: 66px;
  z-index:99;
  top: auto;
  right: -6px;
  position: relative;
  cursor:default;
}
.rewardbtn:hover{
  background:url("../img/reward_hover.png") no-repeat;
  cursor:pointer;
}
.foodbankbtn{
    background:url("../img/find-a-food-bank.png") no-repeat;
    height: 74px;
    top: -73px;
    position: relative;
    right: 290px;
	width:206px;
	cursor:pointer;
}
#pageHeading{
    color: #000;
    font-size: 33px;
    left: 33px;
    top: 32px;
    position: absolute;
    font-weight: bold;
    font-family: arial;
}
#textcontent{
    color: #000;
    font-size: 19px;
    /* left: 62px; */
    top: 92px;
    position: absolute;
    line-height: 130%;
    padding-right: 8px;
    padding-left: 34px;
}
.nextShow{
display:block;
}
.nexthide{
display:none;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

    h2,
    h3 {
        page-break-after: avoid;
    }
}
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled{
	opacity: 1 !important;
}
.start{
	background:url("../img/start.png") no-repeat;
	position:absolute;
	width:220px;
	height:81px;
	display:none;
	top:245px;
	left:230px;
	z-index:99999999;
}
.play{
	background:url("../img/play.png") no-repeat;
	position:absolute;
	width:220px;
	height:81px;
	display:none;
	top:260px;
	left:285px;
	z-index:99999999;
}
