/**
 * Copyright eLearning Brothers LLC 2012 All Rights Reserved
 */
div.game :focus {outline: 0; }
div.game ::selection {background: rgba(0,0,0,0);}

div.game div.buttons {
    padding-top: 20px;
    text-align: center;
    clear: both;
    width: 100%;
}
div.game {
	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 a.button {
    cursor: pointer;
    display: inline-block;
    color: white;
    background: #3787e0;
    border-radius: 8px;
    line-height: 27px;
    height: 27px;
    font-size: 1.5em;
    padding: 4px 15px;
    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{
    display: block;
}
div.game a#replaybutton {
    width: 81px;
	text-align: center;
}

/* STEP 1 */

div.game div.step-1-description {
    padding: 0px;
    background: #edeacf;
    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.step-1-description>div {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    min-height: 100%;
}
div.step-1-description>div>div {
    margin: 10px 10px 0 10px;
}

div.game div.variant,
div.game div.answer{
    position: absolute;
    display: block;
}
div.game div.dotted-square{
    position: absolute;
    display: block;
    background: url("../config/images/square.png") no-repeat;
    width: 25px;
    height: 25px;
    left: 290px;
    top: 115px !important;
}
div.game div.variant{
    cursor: pointer;
    z-index:10;
}

div.game div.variant:hover{
    z-index:11;
}

div.game.no_drag div.variant:hover{
    cursor:default;
}

div.game div.variant div.table,
div.game div.answer div.table{
    display: table;
    height: 100%;
    text-align: left;
    margin: 0px auto;
}
div.game div.answer div.table{
    float: right;
}
div.game div.variant div.table>div,
div.game div.answer div.table div{
	display: table-cell;
	vertical-align: middle;
	padding-right: 5px;
	padding-left: 7px;
}
div.game div.variant div.table>div{
    font-weight: bold;
}
div.game div.answer_placeholder{
    display: table-cell;
    vertical-align: middle;
}

div.game div.res_table{
    display: table;
    position: absolute;
    height: 100%;
}

div.game div.result_icon{
    display: table-cell;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size:auto !important;
    position: absolute;
    z-index: 15;
    height: 100%;
}

div.game div.answer_table{
    display: table;
    position: absolute;
    height: 100%;
}


div.game div.variant div.animation_container div.animation{
    position: absolute;
    background: url("../config/images/move.png");
    width: 32px;
    height: 32px;
    top:0px;
    right: 0px;
}
div.game div.variant div.animation_container{
    position: absolute;
    top:0px;
    right: 0px;
}
div.game div.variant.not_animate div.animation_container{
    display:none;
}

div.game div.variant div.animation_container div.arrow{
    position: absolute;
    background: url("../config/images/arrow.png");
    width: 13px;
    height: 21px;
    top:17px;
    right: 0px;
}

div.game>div {
    position: relative;
    z-index: 3;
}


body.gamebody {
    margin: 0 auto;
    width: 720px;
    height: 540px;
    /*padding: 50px;
    padding-top: 0px;*/
}

#drawingCanvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 720px;
    height: 540px;
}
