/**
 * Copyright eLearning Brothers LLC 2012 All Rights Reserved
 */

:focus {outline: 0; }


div.game div.buttons {
    padding-top: 20px;
    text-align: center;
    clear: both;
    width: 100%;
}
div.game {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background: black 50% 50% no-repeat;
    width: 720px;
    height: 540px;
    background-size: cover;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
    padding: 0;
    position: relative;
    overflow: hidden;
}
div.game div.logo3,
div.game div.logo4,
div.game div.logo2,
div.game div.logo1 {
    background: 50% 50% no-repeat;
    width: 0px;
    height: 0px;
    background-size: cover;
    position: absolute;
    z-index: 2;
}

div.game a.button {
    cursor: pointer;
    display: inline-block;
    color: white;
    background: #3787e0;
    border-radius: 8px;
    line-height: 35px;
    height: 35px;
    font-size: 1.5em;
    padding: 4px 50px;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);

    position: relative;
    z-index: 10;

    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7),  0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.10);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7),  0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.10);
    box-shadow: 0 0 10px rgba(0,0,0,0.7),  0 2px 5px rgba(0,0,0,0.15), inset 0 -17px 0 rgba(0,0,0,0.10);

}

div.game a.button:hover {
    color: white;
    background: #3787e0;
}

div.game a.button:active {
    top:1px;
    left:1px;
}

div.game>div {
    display: none;
}

div.game.step-0>div.step-0,
div.game.step-1>div.step-1,
div.game.step-2>div.step-2,
div.game.step-3>div.step-3,
div.game.step-4>div.step-4,
div.game.step-5>div.step-5 {
    display: block;
}

/* STEP 1 */
/* STEP 2 */
div.game div.step-2 {

}
div.game div.step-2-description {
    padding: 0px;
    background: white;
    border: 5px solid #CCC;
    margin: 0 auto;
    width: 600px;
    height: 290px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
}
div.game div.step-2-description>div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 215px;
    min-height: 215px;
}
div.game div.step-2-description>div>div {
    margin: 10px;
}
/* STEp 3*/

div.game div.score {
    font-size: 50px;
    z-index: 100;
    text-align: right;
}

/* STEP 4 */

div.game div.time {
    font-size: 50px;
    z-index: 10;
    position: relative;
}

div.game div.button-keypad {
display: inline-block;
margin: 3px;
border: 2px solid #009fff;
border-radius: 2px;
font-weight: bold;
cursor: pointer;
}

div.game div.button-keypad.up {
border-color: #a5a5a5;
    cursor: default;
}
div.game .error-box {
z-index: 10;
}
div.game .error-box span{

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
   	filter: alpha(opacity=30);
   	opacity: 0.3;
	margin-right: 2px;
   	display: inline-block;
}
div.game .error-box span.errors{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
   	filter: alpha(opacity=100);
   	opacity: 1;

}

div.game div.word-result-block{
    overflow-y: auto;
}

div.game .step-5 div.word-result-block div.correct,
div.game .step-5 div.word-result-block div.incorrect
{
background-position: left center;
padding-left: 25px;
margin: 2px;
background-size: 14px;
background-repeat: no-repeat;
font-size: 14px;
}

div.game .correct-box{
font-size: 20px;
font-weight: bold;
z-index: 99;
}
div.game .word_box{
border: 1px solid #fff;
display: inline-block;
margin: 3px;
z-index: 10;
vertical-align: top;
text-transform: uppercase;
font-size: 30px;
font-family: Times;
}
div.game .field_of_dreams{
z-index: 20;
}
div.game .field_of_dreams span {
margin: 0 auto;
display: block;
}

div.game .letter_space {
width: 32px;
display: inline-block;

}
div.game .step-4.answered .question-choose-wrapper {
    display: none;
}
div.game .step-4 .buttons.buttons-confirm,
div.game .step-4.unanswered .buttons.buttons-continue,
div.game .step-4.unanswered .question-answered-block-wrapper{
    display: none;
}
div.game .step-4.unanswered.type-multiple .buttons.buttons-confirm {
    display: block;
}
div.game .step-4.answered.incorrect .question-answered-block-wrapper h1{
    color: #FF5555;
}
div.game .step-4.answered.correct .question-answered-block-wrapper h1{
    color: #55FF55;
}

div.game .step-4 .result-answer-block{
display: none;
}

div.game .question-answered-block-wrapper {
    background: white;
    width: 300px;
    height: 232px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    float: left;
    margin-top: 0px;
}
div.game .vertical .question-answered-block-wrapper {
    margin: 0 auto;
    margin-top: 0px;
    float: none;
}

div.game .question-choose-wrapper {
    float: left;
    margin-top: 0px;
}
div.game .vertical .question-choose-wrapper {
    float: none;
    margin: 0 auto;                
    margin-top: 0px;
    text-align: center;
}
div.game .vertical .question-choose {
    text-align: center;
    margin: 0 auto;
}
div.game .vertical .question-choose .variant {
    float: none;
    display: inline-block;
    text-align: left;
    margin: 5px;
}
div.game .question-choose .variant {
    padding-left: 10px;
    background: white;
    line-height: 60px;
    height: 60px;
    width: 300px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,1);
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,1);
    cursor: pointer;
}

div.game .question-block-wrapper {
    margin-top: 00px;
    margin-left: 25px;
    margin-right: 25px;
    float: left;
}
div.game .vertical .question-block-wrapper {
    float: none;
}
div.game .question-block-wrapper.transparent {
    background: transparent;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
div.game .question-block-wrapper.transparent>div>div {
    /*display: none;*/
}
div.game .question-block-wrapper.transparent>div.question-block-wrapper-inner {
    background: transparent;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
div.game .question-block-wrapper>div.question-image {
    background-size: cover;
    position: absolute;
}
div.game .question-block-wrapper>div.question-image,
div.game .question-block-wrapper>div.question-block-wrapper-inner {
    background:  0 0 no-repeat;
    width: 300px;
    height: 262px;
}
div.game .question-block-wrapper.vertical>div.question-image,
div.game .question-block-wrapper.vertical>div.question-block-wrapper-inner {
    width: 600px;
    height: 100px;
    margin: 0 auto;
}

div.game .question-block-wrapper>div.question-block-wrapper-inner {
    background-size: cover;
    padding-top: 50px !important;
}
div.game .question-block-wrapper>div.question-block-wrapper-inner>div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 90px;
    min-height: 90px;
}
div.game .question-block-wrapper>div.question-block-wrapper-inner>div>div {
    margin: 10px;
}
/* STEP 5 */
div.game .result-block-wrapper {
    background: white;
    width: 600px;
    margin: 0 auto;
    height: 290px;
    border: 5px solid #ccc;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    margin-top: 50px;
}
div.game .result-block-wrapper>div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 340px;
    min-height: 340px;
    margin-right: 198px;
    /*z-index: 10000;*/
    /*position: relative;*/
}
div.game .result-block-wrapper>div>div {
    margin: 10px;
}
div.game div.result-block div.score-description {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    padding-top: 50px;
}
div.game .progressbar {
    position: absolute;
	z-index: 99;
	font-size: 30px;
	letter-spacing: 3px;
}
div.game .progressbar>div {
    float: left;
}


/* GOLF */
div.game div.scoreboard {
    position: absolute;
    padding-top: 20px !important;    
    /* display: none; */
}

/* ANIMATION */
div.game #animation {
    width: 700px;
    height: 420px;
    position: absolute;
    z-index: 3;
    background-size: auto auto;
}
div.game #animation {
    bottom: 105px;
    right: 10px;
}


div.game #animation {
    display: block;
}

div.game #animationCanvas {
    position: absolute;
    z-index: 1;
}
.game>div {
    position: relative;
    z-index: 3;
}

div.game .vertical .question-choose-wrapper,
div.game .vertical .question-answered-block-wrapper,
div.game .vertical .question-block-wrapper {
    overflow: hidden;
    width: 557px;
    margin-left: 10px;
}
div.game .vertical .question-choose-wrapper,
div.game .vertical .question-answered-block-wrapper {
    width: 689px;
}

div.game .result-block-wrapper {
    margin-top: 0;
}

div.game div.score {
    z-index: 4;
}

body.gamebody {
    margin: 0 auto;
    width: 720px;
    height: 540px;
    /*padding: 50px;
    padding-top: 0px;*/
}

div.game #error {
    background: url('../config/images/bad.png') 0 0 no-repeat;
    background-size: cover;
    z-index: 10;
    position: absolute;
}
div.game .word_wrapper{
    display: inline-block;
}