/*----------------GENERAL----------------*/
@font-face{
	font-family: Cambria;
	src: url('../fonts/CAMBRIA.TTC');
}

* {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
	outline: none;
}
sub {
	vertical-align: sub;
	font-size: 0.7em;
}

#OED {
	width: 1024px;
	height: 768px;
	background-color: #333;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('../img/cover_bg.png');
	overflow: hidden;
}

/*----------------OPENING----------------*/
#div-opening {
	position: absolute;
	top: 0px;
	height: 0px;
	width: inherit;
	height: inherit;
}
#div-title {
	width: 987px;
	height: 488px;
	background-image: url('../img/cover_screen.png');
	text-align: center;
	margin: 21px 18px;
}
#div-title-text {
	position: relative;
	top: 107px;
	width: 687px;
	height: 288px;
	background-image: url('../img/cover_title.png');
	margin: 0 auto;
}
#btn-init {
	width: 264px;
	height: 96px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('../img/cover_btn.png');
	margin: 0 auto;
	margin-top: 66px;
	cursor: pointer;
}

/*-----------------MAIN------------------*/
#div-main {
	position: absolute;
	top: 16px;
	left: 15px;
	width: 994px;
	height: 734px;
	background-color: white;
	display: none;
}

#div-graph{
	position: relative;
	margin: 22px 24px;
	border: 3px solid #434343;
	/*height: 410px;*/
	height: 447px;
}
.canvasses {
	position: absolute;
	top: 0px;
	left: 0px;
}
#zoom{
	position: absolute;
	bottom: 65px;
	right: 7px;
	width: 99px;
	height: 69px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url('../img/game_zoomBorder.png');
}
.btns-zoom{
	width: 32px;
	height: 34px;
	margin-top: 25px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
#btn-zoom-plus{
	float: right;
	margin-right: 12px;
	background-image: url('../img/btn_zoomIn.png');
}
#btn-zoom-minus{
	float: left;
	margin-left: 12px;
	background-image: url('../img/btn_zoomOut.png');
}

#legenda{
	position: absolute;
	bottom: 7px;
	right: 7px;
	width: 99px;
	height: 54px;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url('../img/game_reference.png');
}

.blue{
	color: #004b73;
	border: 2px solid #004b73;
}
.red{
	color: #711718;
	border: 2px solid #711718;
}

.div-function {
	position: relative;
	width: 455px;
	/*height: 239px;*/
	height: 203px;
	margin-top: 5px;
}
.div-function.blue{ float: left; margin-left: 24px; }
.div-function.red{ float: right; margin-right: 24px; }

.function-title {
	position: absolute;
	top: -8px;
	left: 100px;
	width: 254px;
	height: 50px;
	color: white;
	text-transform: uppercase;
	border-radius: 13px;
	padding-top: 13px;
	font-family: Arial, sans-serif;
	font-size: 23px;
	font-weight: bold;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.function-title.blue { background-color: #009bc7; }
.function-title.red { background-color: #c91e2d; }

.function-math {
	width: 100%;
	height: 142px;
	background-color: #d1d1d1;
	border-left: none;
	border-right: none;
	border-top: 10px solid;
	border-bottom: 12px solid;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-align: center;
	padding-top: 53px;
}
.function-math > div {
	font-family: Cambria, serif;
	font-size: 32px;
	border: none;
}
.inputs {
	width: 61px;
	height: 46px;
	background-color: white;
	border-width: 2px;
	border-style: solid;
	border-radius: 10px;
	margin-right: 4px;
	font-family: Arial, sans-serif;
	font-weight: bold;
	font-size: 38px;
	display: inline-block;
	cursor: pointer;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding-top: 3px;
}
.inputs.active {
	position: relative;
	width: 61px;
	height: 86px;
	color: white !important;
	border: none;
	border-radius: 0px;
	background-color: transparent;
	background-repeat: no-repeat;
	position: relative;
	top: -20px;
}
.blue .inputs { color: #009bc7; border-color: inherit; }
.blue .inputs.active { background-image: url('../img/slotBG1.png'); }
.blue .inputs.active > p { position: relative; top: 21px; }
.red .inputs { color: #c91e2d; border-color: inherit; }
.red .inputs.active { background-image: url('../img/slotBG2.png'); }
.red .inputs.active > p { position: relative; top: 21px; }

.btn-val-controls {
	position: absolute;
	left: 14px;
	width: 33px;
	height: 29px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
.btn-up { top: -14px; background-image: url('../img/btn_up.png'); }
.btn-down { bottom: -14px; background-image: url('../img/btn_down.png'); }

.function-results {
	width: 100%;
	/*height: 97px;*/
	height: 61px;
	border: none;
	padding-top: 8px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.function-results.blue { background-color: #afe6f8; }
.function-results.red {	background-color: #ffb5bf; }

/*.text-feedback {
	width: 97%;
	height: 44px;
	background-color: white;
	border-radius: 5px;
	margin: 0 auto;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.text-feedback > p{
	font-family: Arial, sans-serif;
	font-size: 16px;
	padding-top: 12px;
}*/

.num-feedback {
	text-align: center;
	font-family: Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: black;
	border: none
}
.num-feedback > div {
	display: inline-block;
	margin: 10px 4px;
}
.num-feedback > div:nth-of-type(2) {
	border-right: 2px dotted;
	border-left: 2px dotted;
	padding: 0 15px;
	margin: 10px 6px;
}
.num-feedback span {
	width: 69px;
	height: 28px;
	color: white;
	border-radius: 5px;
	text-align: center;
	font-family: Cambria, serif;
	font-weight: normal;
	display: inline-block;
	vertical-align: middle;
	padding-top: 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.num-feedback.blue span { background-color: #00304f; }
.num-feedback.red span { background-color: #460006; }