@charset "utf-8";
/* CSS Document */

#gamebox {
	position: relative;
	width: 100%;
    height: 100%;
	min-height: 100%;
    margin: 0;
	padding: 0;
	background-color: #FFD685;
    background-image: url("../img/backgrounds/bk0.png");
    background-repeat: repeat;
	overflow: hidden;
	z-index: 15000;
	background-size: contain;
}

.gamebox-fs{
	position: fixed!important;
	right: 0; left: 0; top: 0; bottom: 0;
}

#btn-fullScreen{
	position: absolute;
	background-image: url("../img/btn-fullscreen.png");
	z-index: 2147483640 !important;
	background-position: -120px 0;
	width: 40px;
	height: 40px;
	right: 2px;
	top: 2px;
	cursor: pointer;
}

#btn-fullScreen:hover{
	background-color: blue;
}


.btn-fullScreen-off{
    background-position: -160px 0!important;
}


div#infoBox {
    /* visibility: hidden; */ /*starts hidden*/
	position: absolute;
	top: 50%;
	height: auto;
	width: 100%;
	background-color: #D6AD99;
	border: .25em solid #663300;
	text-align: center;
	vertical-align: center;
	display: none;
}

p#infoText {
	padding-bottom: 8px;
	font-size: 3em;
	color: #CC33FF;
	font-family: "Comic Sans MS", cursive, sans-serif;
}

div#optionBox {
    display: none;
	position: absolute;
    top: 58px;
    right: 0;
    height: 150px;
    width: 100px;
	background-color: #D6AD99;
	border: .25em solid #663300;
	text-align: center;
	vertical-align: center;
	z-index: 2000;
}

div#xOut {
	position: absolute;
	top: 0;
	right: 0;
	width: 10%;
	height: 10%;
	padding: .1em;
	margin: 3% 3% 0 0;
/* 	border: black .1em solid;
 	border-radius: .75em;
 	background-color: grey; */
	cursor: pointer;
}

p#xClick:hover {
/* 	background-color: white; */
}

p#xClick {
	color: black;
	font-weight: 900;
}

div#checkBoxes {
	position: absolute;
	top: 35px;
    left: 8px;
}

.checkOperator {
	display: block;
}


div#container {
	position: absolute;
	width: 100%;
	height: 100%;
	border-top: 2em solid #663300;
}


div#warning {
	position: absolute;
	width: 600px;
	margin: 0 auto;
	top: 72%;

}

p#operatorWarning {
	color: red;
	font-size: 1.25em;
	font-family: "Comic Sans MS", cursive, sans-serif;
	font-weight: 600;
	text-align: center;
}

div#console {
	position: absolute;
	margin-left: -194px;
	width: 360px;
	height: 160px;
	padding: 10px;
	left: 50%;
	top: 0;
	background-color: #D6AD99;
	border: .25em solid #663300;
}

div#animal {
	position: absolute;
	width: 100px;
	height: 100px;
	margin-right: -50px;
    top: 80%;
    left: 50%;
    transform: translate(-50%);
}

div#sun {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

div#clouds {
	position: absolute;
	top: 15%;
	left: 30%;
	z-index: 10;
}

div#numpad {
	position: absolute;
	width: 160px;
	height: 150px;
	margin-left: auto;
	margin-right: auto;
	background-color: #663300;
	float: right;
	left: 50%;
	border: .25em solid #E0D1C2;
	padding: .25em 0 0 0;
}

.numButton {
	background-color: #FFFFCC;
	cursor: pointer;
}

button {
	background-color: #FFFFCC;
	cursor: pointer;
}

div#form {
	position: absolute;
	width: 350px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	float: left;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	color: purple;
	font-weight: 900;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: none;
}

p {
	padding:0;
	margin:0;
	font-family: Arial, Helvetica, sans-serif;
	color: #666;
}

p.number {
	margin: 0 .5em 0 .5em;
	float: left;
	font-size: 1.5em;
	font-weight: 600;
	color: green;

}

p#topnumber {

}

p#bottomnumber {

}

p#operator {
	float: left;
	padding: .25em 0 0 0;
	color: green;
	font-weight: 600;
}

p#equals {
	float: left;
	padding: .25em .25em 0 0;
	color: green;
	font-weight: 600;
}

div.line {
	width: 3em;
	heigh: 4em;
	border-top: 2px solid purple;
}

button {
	float: left;
	margin: 0 0 2em 1em;
	height: 2em;
}

#answer {
	/* width: 2em;
	height: 1.25em;
	margin-top: .5em;
	text-align: right;
	float: left;
	background-color: #D6AD99;
	color: green;
	font-weight: 900;
	font-size: 1em; */
	/* display: block; */
	color: blue;
	text-align: right;
}

.clear {
	clear: both;
}

p#score {
	display: block;
	text-align: left;
	color: #CC33FF;
	font-weight: bold;
	font-size: 1em;
	padding: .5em 0 0 .5em;
}

p#level {
	display: block;
	text-align: left;
	color: green;
	font-weight: bold;
	font-size: 1em;
	padding: .5em 0 0 .5em;
}

p#answerSpeed {
	display: block;
	text-align: left;
	color: #CC33FF;
	font-weight: bold;
	font-size: 1em;
	padding: .5em 0 0 .5em;
}

p#perLevelAverage {
	display: block;
	text-align: left;
	color: green;
	font-weight: bold;
	font-size: 1em;
	padding: .5em 0 0 .5em;
}

#overlayIntro {
     position: absolute;
     left: 0px;
     top: 0px;
     width:100%;
     height:100%;
     text-align:center;
     z-index: 9999; /* added @sayanriju 22/02/17 */
}

#overlayIntro div {
     /* width:332px; */ /* changed below @sayanriju 22/02/17 */
     width: 70%;
     margin: 30px auto; /* changed from 100px @sayanriju 22/02/17 */
     border:1px solid #000;
     padding:15px;
     text-align:left;
	 /* font-size:1.5em; */
   font-size: 19px; /* changed  @sayanriju 22/02/17 */
	 background-color:green;
	 border-radius: 1em;
	 cursor: pointer;
}

#introText {
	color: #ffffff;
	font-family: "Comic Sans MS", cursive, sans-serif;
}



.text-center{
	text-align:center;
	width: 100%;
}


.fence{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 230px;
	background-image: url("../img/woodfence.png");
	background-repeat: repeat-x;
	-moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
   select: none;
}

.controls{
	position: absolute;
	margin-left: -180px;
	width: 360px;
	left: 50%;
	bottom: 4px;
}

.btn{
	background-image: url("../img/board.png");
	text-align: center;
	color: #663300;
	font-family: "Comic Sans MS", cursive, sans-serif;
	overflow: hidden;
}

.btn-question{
	width: 400px;
	height: 55px;
	background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;
	line-height: 55px;
	font-size: 36px;
	margin: 0 auto;
	margin-bottom: 4px;

}

.btncol-left{
	float: left;
	width: 160px;
}

.btncol-right{
	float: left;
	width: 200px;
}

.btn-num{
	width: 28px;
	height: 28px;
	line-height: 28px;
	font-size: 22px;
	margin: 5px;
	float: left;
    background-position: -165px -15px;
	cursor: pointer;
	box-shadow: 2px 2px 1px#663300;
	font-weight: bold;
}

.btn-enter{
	width: 66px;
	height: 28px;
	margin: 5px;
	float: left;
    background-position: -165px -15px;
	line-height: 28px;
	font-size: 22px;
	cursor: pointer;
	box-shadow: 2px 2px 1px#663300;
	font-weight: bold;
}

.btn-info{
	width: 232px;
	height: 32px;
	background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;
	line-height: 32px;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
    margin-top: 3px;
}

.board-question-syms{
	position: absolute;
}


.obtn{
	position: relative;
	bottom: 0;
	width: 131px;
	height: 34px;
	background-image: url("../img/btn-option.png");
	line-height: 34px;
	text-align: center;
    color: #663300;
	font-size: 18px;
    font-weight: bold;
    font-family: "Comic Sans MS", cursive, sans-serif;
	margin-bottom: 4px;
	-moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
   select: none;
   cursor: pointer;
}

.optionsBox{
	position:absolute;
	right: 10px;
	top: 50px;
}


@-ms-keyframes wiggle{0%{-ms-transform:rotate(6deg);}50%{-ms-transform:rotate(-6deg);}100%{-ms-transform:rotate(6deg);}}
@-moz-keyframes wiggle{0%{-moz-transform:rotate(6deg);}50%{-moz-transform:rotate(-6deg);}100%{-moz-transform:rotate(6deg);}}
@-webkit-keyframes wiggle{0%{-webkit-transform:rotate(6deg);}50%{-webkit-transform:rotate(-6deg);}100%{-webkit-transform:rotate(6deg);}}
@keyframes wiggle{0%{transform:rotate(6deg);}50%{transform:rotate(-6deg);}100%{transform:rotate(6deg);}}
.btn-num:active{-ms-animation:wiggle .6s 4;-moz-animation:wiggle .6s 4;-webkit-animation:wiggle .6s 4;animation:wiggle .6s 4;}
.btn-enter:active{-ms-animation:wiggle .6s 4;-moz-animation:wiggle .6s 4;-webkit-animation:wiggle .6s 4;animation:wiggle .6s 4;}
.btn-wiggle{-ms-animation:wiggle .6s 4;-moz-animation:wiggle .6s 4;-webkit-animation:wiggle .6s 4;animation:wiggle .6s 4;}



.top-fence{
	position: absolute;
	min-height:40px;
	top: 0;
	background-image: url("../img/top-fence.png");
	display: none;
}


.top-fence-left{
	left: 0;
	right: 50%;
	margin-right: 180px;
	background-position: right;
}

.top-fence-right{
	right: 0;
	left: 50%;
	margin-left: 180px;
}


.multi{
	display: none;
}

/** @sayanriju 28/02/17 **/
#byeTextBox {
  position: absolute;
	top: 20%;
  left: 25%;
  padding: 15px;
	height: auto;
	width: 50%;
  margin: 0 auto;
	background-color: green;
  color: black !important;
	border: 1px solid black;
	text-align: center;
	vertical-align: center;
	display: none;
}

#byeTextBox p {
  color: black;
}

#selectLevelBox {
  position: absolute;
	top: 20%;
  left: 35%;
  padding: 15px;
	height: auto;
	width: 30%;
  margin: 0 auto;
	background-color: green;
  color: black !important;
	border: 1px solid black;
	text-align: center;
	vertical-align: center;
	display: none;
}
#selectLevelBox button,  #selectLevelBox input{
  float: none;
  margin: 0 auto;
}
#selectLevelBox label {
  font-weight: bolder;
  font-size:14px;
}
