@font-face {
	font-family: "SourceSansPro-Bold";
	src:url("../fonts/SourceSansProBold.woff") format("woff"), /* Modern Browsers */
		url("../fonts/SourceSansProBold.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "SourceSansPro-Regular";
	src:url("../fonts/SourceSansPro.woff") format("woff"), /* Modern Browsers */
		url("../fonts/SourceSansPro.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "MergeProCondensedW00-Bold";
	src:url("../fonts/MergeProCondensedW00Bold.woff") format("woff"), /* Modern Browsers */
		url("../fonts/MergeProCondensedW00Bold.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

body {
	background-image: url(../imgs/malla.png);
	background-size: 100%;
	top: 0;
	left: 0;
	margin: 0;
	overflow: hidden;
	font-family: "SourceSansPro-Regular";
	font-size: 24px;
}

.intro_image{
	width: 100%;
	position: relative;
	left: 0%;
	opacity: 0;
	filter: alpha(opacity=0);
}

.logo1{
	width: 250px;
	position: absolute;
	left: 365px;
	top: 90px;
}

.intro_text1{
	font-family: 'MergeProCondensedW00-Bold';
	position: absolute;
	left: 70px;
	top: 240px;
	width: 270px;
	color: #ffcc00;
	font-size: 35px;
	text-align: center;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	line-height : 40px;
	opacity: 0;
	filter: alpha(opacity=0);
}

.description_preintro_text{
	position: absolute;
	left: 190px;
	top: 240px; 
	width: 600px;
	font-family: 'MergeProCondensedW00-Bold';
	color: #fff;
	font-size: 20px;
	line-height: 20px;
	text-align: justify;
}

.intro_text2{
	font-family: 'MergeProCondensedW00-Bold';	
	position: absolute;
	left: 640px;
	top: 240px;
	width: 250px;
	color: #ffcc00;
	font-size: 35px;
	text-align: center;
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	line-height : 40px;
	opacity: 0;
	filter: alpha(opacity=0);
}

.pedestal{
	position: absolute;
	left: 278px;
	top: 432px;
}

#final_light{
	display: none;
}

.opacity0 {
	opacity: 0;
	filter: alpha(opacity=0);
}

.accept_button{
	border-radius: 7px;
	position: absolute;
	top: 620px;
	left: 415px;
	background-color: #ff0000;
	border:none;
	width: 150px;
	height: 45px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 30px;
	cursor: pointer;
}

#accept_preintro_button{
	border-radius: 10px;
	position: absolute;
	left: 365px;
	top: 500px;
	background-color: #ffffff;
	border:none;
	width: 250px;
	height: 65px;
	color: #4b7fbf;
	font-family: 'SourceSansPro-Bold';
	cursor: pointer;
}

#accept_intro{
	opacity: 0;
	filter: alpha(opacity=0);
	border-radius: 7px;
	position: absolute;
	top: 620px;
	left: 415px;
	background-color: #ffcc00;
	border:none;
	width: 150px;
	height: 45px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 30px;
	cursor: pointer;
}

.normal{
	font-family: 'MergeProCondensedW00-Bold';	
	font-size: 25px;
}

.option_class{
	font-family: 'SourceSansPro-Regular';
}

.select_player_title{
	position: absolute;
	width: 400px;
	left: 300px;
	top: 80px;
	color: #ffcc00;
	font-size: 35px;
	text-align: center;
	font-family: 'MergeProCondensedW00-Bold';	
}

.select_player_name{
	position: absolute;
	width: 300px;
	left: 197px;
	top: 517px;
	color: #ffcc00;
	font-size: 28px;
	text-align: center;
	font-family: 'MergeProCondensedW00-Bold';	
}

.select_player_message{
	position: absolute;
	width: 440px;
	left: 285px;
	top: 470px;
	color: #fff;
	font-size: 18px;
	text-align: center;
	display: none;
	font-family: 'MergeProCondensedW00-Bold';	
}

.player_name{
	position: absolute;
	border-radius: 7px;
	padding-left: 10px;
	padding-right: 10px;
	width: 280px;
	height: 30px;
	left: 475px;
	top: 515px;
	color: #000;
	font-family: 'MergeProCondensedW00-Bold';
	font-size: 20px;
	border-color: #ffcc00;
}

.avatar{
	border-radius: 10px;
	width: 120px;
	height: 120px;
	background-color: #fff;
	border: solid;
	border-color: #ffcc00;
	border-width: 2px;
	cursor: pointer;
}

.avatar_finish_screen{
	border-radius: 10px;
	width: 120px;
	height: 120px;
	background-color: #fff;
	border: solid;
	border-color: #ffcc00;
	border-width: 2px;
}

.avatar_default{
	position: relative;
	top: -132px;
	left: 0px;
}

.avatar_border{
	border-radius: 15px;
	position: relative;
	top: -4px;
	left: -4px;
	width: 113px;
	height: 118px;
	background-color: transparent;
	border: solid;
	border-color: transparent;
	border-width: 7px;
}

.avatar_selected{
	border-radius: 10px;
	width: 120px;
	height: 120px;
	background-color: #fff;
	border: solid;
	border-color: #ffcc00;
	border-width: 2px;
	cursor: pointer;
	pointer-events: none;
}

.avatar_disabled{
	border-radius: 10px;
	width: 120px;
	height: 120px;
	background-color: #fff;
	border: solid;
	border-color: #ffcc00;
	border-width: 2px;
	filter: grayscale(100%);
	pointer-events: none;
}

.avatars {
	position: absolute;
	width: 100%;
	left: 240px;
	top: 180px;
	align-items: center;
   	display: grid;
	grid-template-columns: 125px 125px 125px 125px;
	grid-gap: 13px;
}

#medal0{
	position: absolute;
	left: 38px;
	top: -71px;
}

#medal1{
	position: absolute;
	left: 180px;
	top: -71px;
}

#medal2{
	position: absolute;
	left: 318px;
	top: -71px;
}

#medal3{
	position: absolute;
	left: 460px;
	top: -71px;
}

.avatars_finish {
	position: absolute;
	width: 100%;
	left: 230px;
	top: 240px;
	align-items: center;
   	display: grid;
	grid-template-columns: 130px 130px 130px 130px;
	grid-gap: 12px;
}

.fitToHeight {
	height: 100%;
	width: auto !important;
}

#preintro_container{
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	background-color: #4b7fbf;
}

#mc_circle{
	position: absolute;
	left: 390px;
	top: 30px;
}

.preintro_logobar{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 130px;
	background-color: #fff;
}

.preintro_logos{
	right: 0;
	bottom: 0;
	position: absolute;
}

.stage_container_center {
	position: relative;
	margin: 0 auto;
}

.stage_container {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.preintro_area{
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.preintro_subarea{
	position: relative;
	margin: 0 auto;
}

.time_over{
	position: absolute;
	width: 500px;
	left: 0px;
	top: 60px;
	color: #fff;
	font-size: 30px;
	text-align: center;
}

.win_window_text1{
    position: absolute;
    width: 480px;
    height: 300px;
    left: 0px;
    top: 50px;
    color: #fce266;
    font-size: 33px;
    text-align: center;
    font-family: 'MergeProCondensedW00-Bold';
}

.win_window_text2{
    position: absolute;
    width: 480px;
    height: 300px;
    left: 0px;
    top: 90px;
    color: #fce266;
    font-size: 33px;
    text-align: center;
    font-family: 'MergeProCondensedW00-Bold';
}


.accept_timer_over_text{
	position: absolute;
	width: 260px;
	left: 0px;
	top: 7px;
	color: #fff;
	font-size: 30px;
	text-align: center;
}

.background,
#backgroundFlag {
	width: 100%;
	position: absolute;
	z-index: -10;
}

.background {
	width: 980px;
}

.audience {
	background-image: url(../imgs/publico.png);
	width: 4000px;
	top: 630px;
	height: 90px;
	background-size: 980px;
	background-position: 0 -1px;
	left: -1000px;
	position: absolute;
}

.hidden-avatar .player_avatar,
.hidden-name .name,
.hidden-points .points {
	opacity: 0;
}

/* Atriles */
.player {
	top: 330px;
}

.player * {
	left: 0;
}

.player,
.player span {
	width: 180px;
}

.player .name {
	top: 24px;
	left: 30px;
	width: 120px;
	font-size: 15px;
	text-align: center;
}

.player .points {
	top: 67px;
	left: 30px;
	width: 120px;
	font-size: 32px;
	text-align: center;
}

.player .player_avatar {
	width: 105px;
	top: -110px;
	left: 36px;
}

.player .lectern {
	width: 156px;
	left: 12px;
}

.player .lecternhalo {
	width: 233px;
	top: -319px;
	left: -31px;
}

.player .lecternhalofinal {
	width: 210px;
	top: -160px;
	left: -20px;
}

.player .starthalo {
	width: 210px;
	top: -297px;
	left: -19px;
}

.player .lecternhalofinal,
.player .lecternhalo,
.player .starthalo {
	top: -850px;
}

/* 4 jugadores */
.player.n4.p0 {
	left: 160px;
}

.player.n4.p1 {
	left: 320px;
}

.player.n4.p2 {
	left: 480px;
}

.player.n4.p3 {
	left: 640px;
}

/* 3 jugadores */
.player.n3.p0 {
	left: 210px;
}

.player.n3.p1 {
	left: 395px;
}

.player.n3.p2 {
	left: 580px;
}

/* 2 jugadores */
.player.n2.p0 {
	left: 300px;
}

.player.n2.p1 {
	left: 500px;
}

/* Luces laterales izquierda */
.sidelight1.iz {
	width: 120px;
	left: 6px;
	top: 6px;
}

.sidelight2.iz {
	width: 119px;
	left: 63px;
	top: 47px;
}

.sidelight3.iz {
	width: 132px;
	left: 126px;
	top: 81px;
}

/* Luces laterales derecha */
.sidelight1.de {
	width: 120px;
	left: 854px;
	top: 6px;
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

.sidelight2.de {
	width: 119px;
	left: 797px;
	top: 47px;
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";

}

.sidelight3.de {
	width: 132px;
	left: 722px;
	top: 81px;
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

/* Luces del escenario */
.centralLight {
	width: 50px;
    top: 255px;
}

.centralLight1 {
	left: 123px;
}

.centralLight2 {
	left: 195px;
}

.centralLight3 {
	left: 264px;
}

.centralLight4 {
	left: 327px;
}

.centralLight5 {
	left: 395px;
}

.centralLight6 {
	left: 465px;
}

.centralLight7 {
	left: 533px;
}

.centralLight8 {
	left: 601px;
}

.centralLight9 {
	left: 664px;
}

.centralLight10 {
	left: 733px;
}

.centralLight11 {
	left: 805px;
}

/* tops */
.centralLight2,
.centralLight10 {
    top: 248px;
}

.centralLight3,
.centralLight9 {
    top: 242px;
}

.centralLight4,
.centralLight8 {
    top: 244px;
}

.centralLight5,
.centralLight7 {
    top: 252px;
}
.central-light-final {
	width: 980px;
	left: 6px;
}

#current-players {
	height: 510px;
    overflow: hidden;
    width: 980px;
}

.intro-player{
	position: absolute;
	top: 165px;
	left: 410px;
	opacity: 0;
	filter: alpha(opacity=0);
	height: 330px;
	width: auto;
}

.intro-lectern{
	position: absolute;
	top: 330px;
	left: 402px;
	width: 156px;
	opacity: 0;
	filter: alpha(opacity=0);
}

#game * {
	position: absolute;
}

#writtenAnswerWrapper button:focus,
#answersWrapper button:focus,
#optionsWrapper button:focus {
	outline: none;
	overflow: visible;
	-webkit-filter: brightness(125%);
}

#writtenAnswerWrapper span,
#answersWrapper span {
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	height: 60%;
	margin: auto;
	font-size: 26px;
}

#optionsWrapper span {
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	height: 50%;
	margin: auto;
	font-size: 24px;
	margin-left: -8px;
}
#optionsPreviewWrapper span {
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	height: 50%;
	margin: auto;
	font-size: 24px;
	margin-left: -8px;
}

#writtenAnswerWrapper,
#questionWrapper,
#optionsWrapper,
#optionsPreviewWrapper,
#answersWrapper,
#gameWatch,
.opacity0 {
	opacity: 0;
	filter: alpha(opacity=0);
	pointer-events: none;
}

#popup_time_over{
	opacity: 0;
	filter: alpha(opacity=0);
	display: none;
    top: 410px;
	left: 240px;
	z-index: 3;
}

#popup_win{
    opacity: 0;
    filter: alpha(opacity=0);
    display: none;
    top: 180px;
    left: 245px;
    z-index: 3;
}

#optionsWrapper {
	top: 550px;
	left: 115px;
	display: none;
}

#optionsPreviewWrapper {
	top: 530px;
	left: 115px;
}

#optionsWrapper img {
	height: 80px;
	position: relative;
	margin: -10px -15px;
}

#optionsPreviewWrapper img {
	height: 80px;
	position: relative;
	margin: -10px -15px;
}

#optionsWrapper a {
	overflow: visible;
	border-radius: 100%;
	width: 22px;
	height: 22px;
	text-align: center;
	line-height: 18px;
	color: #808080;
	background-color: white;
	margin-top: 34px;
	cursor: pointer;
	border: 1px solid #808080;
}

#optionsWrapper a:hover {
	color: white;
	background-color: #808080;
}

#optionsWrapper .option0 {
	top: -20px;
	left: 0px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#optionsPreviewWrapper .option0 {
	top: -20px;
	left: 0px;
	background-color: transparent;
	border: none;
	z-index: 1;
	pointer-events: none;
}

#optionsWrapper .option1 {
	top: -20px;
	left: 253px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#optionsPreviewWrapper .option1 {
	top: -20px;
	left: 253px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

#optionsWrapper .option2 {
	top: -20px;
	left: 505px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#optionsPreviewWrapper .option2 {
	top: -20px;
	left: 505px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

#optionsWrapper a.option0 {
	margin-left: 148px;
}

#optionsWrapper a.option1 {
	margin-left: 151px;
}

#optionsWrapper a.option2 {
	margin-left: 151px;
}

#optionsWrapper a.option3 {
	margin-left: 135px;
}


#answersWrapper {
    top: -520px;
    left: 110px;
	font-size: 15px;
	display: table;
	
	
}

#answersWrapper span {
    height: 45%;
	color: black;
    font-size: 15px;
	top: 5px;
	left: -2px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#answersWrapper img {
    height: 60px;
    position: relative;
    margin: -5px -7px;
}

#answersWrapper .answer0 {
    left: 0;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#answersWrapper .answer1 {
    left: 375px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#answersWrapper .answer2 {
    top: 50px;
    left: 18px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

#answersWrapper .answer3 {
    top: 50px;
    left: 376px;
	background-color: transparent;
	border: none;
	z-index: 1;
	overflow: hidden;
	cursor: pointer;
}

.flipH{
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

#questionWrapper {
	left: 90px;
	top: 440px;
	display: table;
	width: 800px;
	height: 85px;
	font-size: 16px;
}

#questionWrapper img {
	width: 800px;
}

#questionWrapper span {
	position: relative;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding: 0 40px;
}

#gameWatch {
	top: -527px;
	left: 446px;
	z-index: 3;
}


#gameWatch img {
	margin: -20px;
	width: 130px;
	position: relative;
}

#gameWatch span {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 52%;
	margin: auto;
	text-align: center;
	font-size: 30px;
}

.accept_options{
	border-radius: 10px;
	position: absolute;
	top: 60px;
	left: 273px;
	background-color: #3d4047;
	border-color: #ffcc00;
	border-width: 3px;
	width: 200px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 20px;
	cursor: pointer;
	-webkit-appearance: none;
}

.accept_final_round{
	border-radius: 10px;
	position: absolute;
	top: 620px;
	left: 390px;
	background-color: #3d4047;
	border-color: #ffcc00;
	border-width: 3px;
	width: 200px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 20px;
	cursor: pointer;
	-webkit-appearance: none;
}

#finish_rings{
	display: none;
}

.accept_answer{
	border-radius: 10px;
	position: absolute;
	top: 120px;
	left: 295px;
	background-color: #3d4047;
	border-color: #ffcc00;
	border-width: 3px;
	width: 170px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 20px;
	cursor: pointer;
	-webkit-appearance: none;
}

.accept_button{
	border-radius: 10px;
	position: absolute;
	top: 630px;
	left: 360px;
	background-color: #0081c7;
	border:none;
	width: 250px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 30px;
	cursor: pointer;
}

.accept_timer_over_button{
	border-radius: 10px;
	position: absolute;
	top: 180px;
	left: 120px;
	background-color: #ffcc00;
	border:none;
	width: 250px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 30px;
	cursor: pointer;
}

.reset_button{
	border-radius: 10px;
	position: absolute;
	top: 550px;
	left: 375px;
	background-color: #ffcc00;
	border:none;
	width: 250px;
	height: 50px;
	color: #fff;
	font-family: 'SourceSansPro-Bold';
	font-size: 30px;
	cursor: pointer;
}

.finish_screen_title{
	position: absolute;
	width: 400px;
	left: 300px;
	top: 70px;
	color: #ffcc00;
	font-size: 35px;
	text-align: center;
	font-family: 'MergeProCondensedW00-Bold';
}

.team_name{
	border-radius: 5px;
	position: relative;
	left: 0px;
	top: -120px;
	color: #000;
	font-size: 18px;
	text-align: center;
	background-color: #fff;
	font-family: 'MergeProCondensedW00-Bold';
	border-width: 5px;
	border: solid;
	border-color: #ffcc00;
}

.points_team{
	position: relative;
	left: 0px;
	top: -110px;
	color: #ffcc00;
	font-size: 25px;
	text-align: center;
	font-family: 'MergeProCondensedW00-Bold';
}

.rings{
	position: absolute;
	pointer-events: none;
	top: 0px;
	left: 0px;
	opacity: 0;
	filter: alpha(opacity=0);
}

.stage_central_light{
	position: absolute;
	top: -50px;
	left: 140px;
	width: 690px;
	height: 500px;
}

#writtenAnswerWrapper {
	width: 770px;
	top: 0px;
	left: 110px;	
}

#writtenAnswerWrapper span {
	height: 50%;
}

#writtenAnswerButton{
	margin-top: 1px;
	background-color: transparent;
	border: none;
	cursor: pointer;
}

#writtenAnswerWrapper input {
	background-image: url(../imgs/maestro.png);
	background-color: transparent;
	background-size: contain;
	width: 500px;
	text-align: center;
	height: 80px;
	font-size: 20px;
	border: none;
}

#writtenAnswerWrapper input.ok {
	border: none;
	background-image: url(../imgs/maestrook.png);
	background-color: transparent;
	color: #000;
}

#writtenAnswerWrapper input.ko {
	border: none;
	background-image: url(../imgs/maestroko.png);
	background-color: transparent;
	color: white;
}

#writtenAnswerWrapper input.ok,
#writtenAnswerWrapper input.ko {
	font-weight: bold;
}

#writtenAnswerWrapper input:focus {
	outline: none;
}

#writtenAnswerWrapper button {
	right: 0;
}

#writtenAnswerWrapper img {
	position: relative;
	height: 77px;
}
