HTML {
	width: 100%;
	height: 100%;
}

BODY {
	width: 100%;
	height: 100%;
	background-color: #000000;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	font-family: Nunito-Bold, Nunito-Regular;
}

.header{
	position: relative;
	height: 6%;
	background-image: url('../assets/images/header_top.png');
	background-repeat: repeat-x;
	background-position: top center;
	background-size: auto 100%;
}

.button{
	position: absolute;
	top: 5%;
	width: auto;
	min-width: 30%;
	max-width: 60%;
	height: 90%;
	margin: auto auto;
	padding: 0;
	background-image: url('../assets/images/back_to_game.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
}

.button .buttonBorderLeft{
	position: absolute;
	top: 0;
	left: -15px;
	margin: 0;
	padding: 0;
	min-width: 25px;
	height: 100%;
	background-image: url('../assets/images/header_button_left.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
	background-clip: padding-box;
}
.button .buttonBorderRight{
	position: absolute;
	top: 0;
	right: -15px;
	margin: 0;
	padding: 0;
	min-width: 25px;
	height: 100%;
	background-image: url('../assets/images/header_button_right.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 100%;
	background-clip: padding-box;
}
.button .buttonStyle{
	height: 100%;
	margin: auto auto;
	padding: 2% 2%;
	font-size: 80% !important;
	white-space: nowrap;
	color: #ffffff; 
	background-color: transparent;
	border: none;
}

.button_disabled .buttonStyle{
	height: 100%;
	margin: 0;
	padding: 0 1em;
	font-family: "Nunito-Bold";
	font-size: 80% !important;
	font-weight: bold;
	white-space: nowrap;
	color: #ffffff; 
	background-color: transparent;
	border: none;
}

.button_disabled .buttonBorderLeft{
	background-image: url('../assets/images/header_button_left_disabled.png');
}
.button_disabled .buttonBorderRight{
	background-image: url('../assets/images/header_button_right_disabled.png');
}
.button_disabled .buttonStyle{
	background-image: url('../assets/images/header_button_center_disabled.png');
}

.button_red .buttonBorderLeft{
	background-image: url('../assets/images/header_button_left_red.png');
}
.button_red .buttonBorderRight{
	background-image: url('../assets/images/header_button_right_red.png');
}
.button_red .buttonStyle{
	background-image: url('../assets/images/header_button_center_red.png');
}

.keypadModuleTest{
	position: absolute;
	top: 97%;
	left: 0;
	height: 3%;
	width: 100%;
	z-index: 10005;
	display: none;
}

.keypadModuleTestButton{
	float: left;
	width: 7.5%;
	margin: 0 0.05%;
}

.keypadModuleTestButton .buttonStyle{
	margin-left: 50%;
	font-size: 80%;
	white-space: nowrap;
}

.infoManagerGlass {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	z-index: 140000;
	background-color: rgba(0,0,0,0.75);
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
}

.centeredX{
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
}
.centeredY{
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	vertical-align: top;
}
.centeredXY{
	left: 50%;
	top: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	vertical-align: top;
}

.relativeDiv{
	position: relative;
}

.absoluteDiv{
	position: absolute;
}

.transparentDiv{
	opacity: 0.6;
}

@font-face {
	font-family: 'leanderPrimaryFont';
	src: url('./fonts/leanderPrimaryFont.eot');
	src: url('./fonts/leanderPrimaryFont.ttf') format('truetype'),
		url('./fonts/leanderPrimaryFont.eot?#iefix') format('embedded-opentype'),
		url('./fonts/leanderPrimaryFont.woff') format('woff'),
		url('./fonts/leanderPrimaryFont.woff2') format('woff2'),
		url('./fonts/leanderPrimaryFont.svg#leanderPrimaryFont') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'DsDigitalItalic';
	src: url('./fonts/DsDigitalItalic.eot');
	src: url('./fonts/DsDigitalItalic.ttf') format('truetype'),
		url('./fonts/DsDigitalItalic.eot?#iefix') format('embedded-opentype'),
		url('./fonts/DsDigitalItalic.woff') format('woff'),
		url('./fonts/DsDigitalItalic.woff2') format('woff2'),
		url('./fonts/DsDigitalItalic.svg#DsDigitalItalic') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'DsDigitalBoldlItalic';
	src: url('./fonts/DsDigitalBoldlItalic.eot');
	src: url('./fonts/DsDigitalBoldlItalic.ttf') format('truetype'),
		url('./fonts/DsDigitalBoldlItalic.eot?#iefix') format('embedded-opentype'),
		url('./fonts/DsDigitalBoldlItalic.woff') format('woff'),
		url('./fonts/DsDigitalBoldlItalic.woff2') format('woff2'),
		url('./fonts/DsDigitalBoldlItalic.svg#DsDigitalBoldlItalic') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto-Regular';
	src: url('./fonts/Roboto-Regular.eot');
	src: url('./fonts/Roboto-Regular.ttf') format('truetype'),
		url('./fonts/Roboto-Regular.eot?#iefix') format('embedded-opentype'),
		url('./fonts/Roboto-Regular.woff') format('woff'),
		url('./fonts/Roboto-Regular.woff2') format('woff2'),
		url('./fonts/Roboto-Regular.svg#Roboto-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto-Bold';
	src: url('./fonts/Roboto-Bold.eot');
	src: url('./fonts/Roboto-Bold.ttf') format('truetype'),
		url('./fonts/Roboto-Bold.eot?#iefix') format('embedded-opentype'),
		url('./fonts/Roboto-Bold.woff') format('woff'),
		url('./fonts/Roboto-Bold.woff2') format('woff2'),
		url('./fonts/Roboto-Bold.svg#Roboto-Bold') format('svg');
	font-weight: normal;
	font-style: normal;
}

.main {
	position: fixed;
	top: 0;
	left: 0;

	filter: url('#grayscale'); /* Versión SVG para IE10, Chrome 17, FF3.5, Safari 5.2 and Opera 11.6 */
	-webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-ms-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	filter: grayscale(0%); /* Para cuando es estándar funcione en todos */
	filter: Gray(); /* IE4-8 and 9 */

	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;

	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}

.title {
	position: relative;
	width: 90%;
	margin: 0.5em auto;
	background-color: #008CBA;
	color: #ff3344;
	font-size: 1.5em;
	text-align: center;
}

.playerButtonsTop{
	height: 100%;
	margin: 0 1em;
	border-radius: 0.3em;
	color: #ffffff;
	font-size: 100%;
	font-weight: bold;
	white-space: nowrap;
	color: #fff; 
	background-color: #404040;
	border-color: #AAAAAA;
}

.playerButtonsTopDisabled{
	background-color: #999999;
	color: #666666;	
}

.popupChangeGameModalFrameTop{
	position: absolute;
	width: 100%;
	height: 22px;
	top: 0;
	left: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_top.png');
	background-position: top left;
	background-repeat: repeat-x;
}

.popupChangeGameModalFrameBottom{
	position: absolute;
	width: 100%;
	height: 22px;
	bottom: 0;
	left: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_bottom.png');
	background-position: top left;
	background-repeat: repeat-x;
}

.popupChangeGameModalFrameLeft{
	position: absolute;
	width: 22px;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_left.png');
	background-position: left center;
	background-repeat: repeat-y;
}

.popupChangeGameModalFrameRight{
	position: absolute;
	width: 22px;
	height: 100%;
	top: 0;
	right: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_right.png');
	background-position: right center;
	background-repeat: repeat-y;
}

.popupChangeGameModalFrameDecorationTop{
	position: absolute;
	width: 77px;
	height: 82px;
	top: -22px;
	left: -13px;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_decoration_top.png');
	background-position: top left;
	background-repeat: no-repeat;	
}

.popupChangeGameModalFrameDecorationBottom{
	position: absolute;
	width: 77px;
	height: 82px;
	bottom: -22px;
	right: -13px;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_decoration_bottom.png');
	background-position: top right;
	background-repeat: no-repeat;
}

.popupChangeGameModalFrameDecorationTopRight{
	position: absolute;
	width: 22px;
	height: 32px;
	top: 0;
	right: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_top_right.png');
	background-position: top right;
	background-repeat: no-repeat;
}

.popupChangeGameModalFrameDecorationBottomLeft {
	position: absolute;
	width: 22px;
	height: 32px;
	bottom: 0;
	left: 0;
	margin: 0;
	background-image: url('../assets/images/dialog_frame_bottom_left.png');
	background-position: top left;
	background-repeat: no-repeat;
}

.popupChangeGameClose {
	position: relative;
	width: 40%;
	margin: 0 auto;
	padding: 0.3em;
	font-family: "Nunito-Bold";
	font-size: 1.8em;
	font-weight: bold;
	white-space: nowrap;
	color: #02010e;
	text-align: center;
	background-color: #fbe892;
	border: 1px solid #02010e !important;
	border-radius: 3px;
	background: -moz-linear-gradient(180deg, rgba(251,232,146,1) 0%, rgba(232,197,105,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(251,232,146,1) 0%, rgba(232,197,105,1) 100%);
	background: linear-gradient(180deg, rgba(251,232,146,1) 0%, rgba(232,197,105,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fbe892",endColorstr="#e8c569",GradientType=1);
	-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.75);
}

.buttonGrey {
	background-color: #666666; /* Green */
	border: none;
	color: white;
	width: 250px;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	font-family: 'leanderPrimaryFont';
}

.buttonGreen {
	background-color: #4CAF50; /* Green */
	border: none;
	color: white;
	width: 250px;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	font-family: 'leanderPrimaryFont';
}
.buttonBlue {
	background-color: #008CBA; /* Green */
	border: none;
	color: white;
	width: 250px;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	font-family: 'leanderPrimaryFont';
}
.buttonYellow {
	background-color: #ffff00; /* Green */
	border: none;
	color: white;
	width: 250px;
	padding: 15px 32px;
	color: #000000;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	font-family: 'leanderPrimaryFont';
}

.button_link{
	color: #ffffff;
	font-family: 'leanderPrimaryFont';
	font-size: 1em;
	text-align: center;
	text-decoration: none;
}

.button-disabled{
	color: #666666;	
	background-color: #999999;
}

.prize_button {
	position: relative;
	top: 0px;
	left: 0px;
	width: 8%;
	margin: 0 1%;
	background-color: #999999;
	color: #ffffff;
	font-family: 'leanderPrimaryFont';
	font-size: 2em;
	text-align: center;
	float: left;
}

.section_separator{
	height: 1em;
}

.clear{
	clear: both;
	height: 1em;
}

.black{
	color: #000000;
}

.white{
	color: #ffffff;
}

.red{
	color: #AA2222;
}

.grises{
	position: fixed;
	top: 0;
	left: 0;
}

.grises img {
	position: fixed;
	top: 0;
	left: 0;
	filter: url('#grayscale'); /* Versión SVG para IE10, Chrome 17, FF3.5, Safari 5.2 and Opera 11.6 */
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%); /* Para cuando es estándar funcione en todos */
	filter: Gray(); /* IE4-8 and 9 */

	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

/*.grises img:hover { 
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(0%);
filter: none;

-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}*/

.tournamentClock{
	position: absolute;
	width: 50%;
	height: 10%;
	left: 25%;
	top: 1%;
	background-color: #333333;
	display: none;
}

.tournamentInternalClock{
	position: relative;
	width: 94%;
	height: 90%;
	top: 5%;
	left: 3%;
	margin: 0;
	padding: 0;
	background-color: #220000;
}

.clockDigit{
	position: relative;
	height: 90%;
	top: 5%;
	margin: 0;
	padding: 0;
	background-color: #220000;
	text-align: center;
	display: inline-block;
	font-size: 10px;
	font-family: 'DsDigitalBoldlItalic';
	line-height: 1;
	color: #ff0000;
	overflow: hidden;
}

.clockDigitNumber{
	width: 15%;
}

.clockDigitSeparator{
	width: 5%;
}

.buttonIframe {
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1em;
	font-family: 'leanderPrimaryFont';
}
