#tablero {
	position:absolute;
	top:0px;
	left: 350px;
	width: 630px;
	height: 630px;	
}
.boton-casilla {
	/*background:rgba(150,0,0.2);*/
	position:absolute;
	cursor:pointer;
	z-index:10;
}
#fondo-tablero, #casillas-tablero, .fondocasilla, .lineas {
	width: 678px;
	top: -26px;
	position: absolute;
	left: -24px;
}
.fondocasilla, .lineas {
	left: 0;
}
.ficha {
	z-index:2;
	opacity:1;
	filter: grayscale(0%);
}
.ficha.inactiva {
	z-index:1;
	opacity:.5;
	filter: grayscale(100%);
}
.boton {
	border-radius: 20px;
	padding: 10px 20px;
	margin-top:10px;
    box-shadow: inset -2px -2px 3px 1px rgba(250,250,250,.5);
	font-family: 'Bangers';
	font-size: 20px;
	display:inline-block;
}
.boton.oculto {
	display:none;
}
.boton.inactivo {
	background:#999;
}
#controles {
	position:absolute;
	top:0px;
	left: 0px;
	width: 360px;
	height:640px;
}
#marca-agua {
	position:absolute;
	top:390px;
	left: 0px;
	width: 400px;
	opacity:.5;
}
#jugadores {
	position:absolute;
	top:20px;
	left: 20px;
	width: 310px;
	height: 610px;
	text-align:center;
}
.jugador {
	position:relative;
	text-align:left;
}
.jugador-ficha img {
	margin-top:-9px;
}
.jugador-texto p {
	margin-bottom: 2px;
    font-family: 'Bangers';
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}
#jugador-nombre {
	outline: none;
    border: none;
    width: 240px;
    border-radius: 10px;
    padding: 3px 10px;
	color: #333;
}
.caja-quesitos {
	width:242px;
	height:30px;
	border:2px solid #333;
	box-shadow: 0px 0px 3px #fff;
	border-radius:15px;
	overflow:hidden;
}
.caja-quesitos>div {
	width:240px;
}
.quesito {
	margin-right: 1px;
    width: 39px;
    height: 26px;
	display:block;
	opacity:1;
}
.quesito.oculto {
    display:block;
	opacity:.1;
	filter:grayscale(50%);
	box-shadow:none;
}
.icono-dado {
	position: absolute;
	left: -5px;
	top: 30px;
	width: 27px;
}
.separacion-jugador {
	height:6px;
}
#seleccion-ficha {
	display:flex;
	justify-content:center;
}
.carta{
	position: absolute;
	top: 90px;
	left: 365px;
	width: 600px;
	height: 430px;
	z-index: 20;
	transform: scale(1) rotate(0deg);  
	border-radius: 20px;
	opacity:1;
	
	-webkit-transition: all .7s ease-out;
	-moz-transition: all .7s ease-out;
	-ms-transition: all .7s ease-out;
	-o-transition: all .7s ease-out;
	transition: all .7s ease-out;
}
.carta-1 {
	background: url(../img/tarjeta-1.jpg) no-repeat;
	background-size:cover;
}
.carta-2 {
	background: url(../img/tarjeta-2.jpg) no-repeat;
	background-size:cover;
}
.carta-3 {
	background: url(../img/tarjeta-3.jpg) no-repeat;
	background-size:cover;
}
.carta-4 {
	background: url(../img/tarjeta-4.jpg) no-repeat;
	background-size:cover;
}
.carta-5 {
	background: url(../img/tarjeta-5.jpg) no-repeat;
	background-size:cover;
}
.carta-6 {
	background: url(../img/tarjeta-6.jpg) no-repeat;
	background-size:cover;
}
#tarjeta-1.mini{
	left: 287px;
	transform: scale(.15) rotate(150deg);
	top: -40px;
	z-index:-1;
}
#tarjeta-2.mini{
	left: 445px;
    transform: scale(.15) rotate(330deg);
    top: 235px;
	z-index:-1;
}
#tarjeta-3.mini{
	left: 445px;
    transform: scale(.15) rotate(210deg);
    top: -40px;
	z-index:-1;
}
#tarjeta-4.mini{
	left: 285px;
    transform: scale(.15) rotate(30deg);
    top: 235px;
	z-index:-1;
}
#tarjeta-5.mini{
	left: 525px;
    transform: scale(.15) rotate(270deg);
    top: 100px;
	z-index:-1;
}
#tarjeta-6.mini{
	left: 205px;
	transform: scale(.15) rotate(90deg);
	top: 97px;
	z-index: -1;
}
.flip-container {
	perspective: 1000px;
	transform-style: preserve-3d;
}
.flip-container.girado .back {
	transform: rotateY(0deg);
}
.flip-container.girado .front {
   transform: rotateY(180deg);
}

.flipper {
	transform-style: preserve-3d;
	position: relative;
	height:100%;
	border-radius: 20px;
}

.flipper .front, .flipper .back {
	backface-visibility: hidden;
	transition: 1s;
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border-radius: 20px;
	box-shadow: 10px 10px 10px 20px rgba(0,0,0,.5);
	
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;

	padding: 10px;
	display: flex;
	justify-content: center;
	align-content: center;
	flex-direction: column;
}

.flipper .front {
	transform: rotateY(0deg);
	color: #fff;
}
.flipper .back {
	transform: rotateY(-180deg);
	background-color: #fff;
	border-style: solid;
	border-width:40px;
}
.titulo-carta {
	font-family: 'Bangers';
	font-size:24px;
	text-align:center;
	color:#fff;
	margin-top:10px;
}
.feedback-wrapper {
	position:absolute;
	top: -40px;
    left: -40px;
    width: 600px;
    height: 430px;
	overflow:hidden;
}
#pregunta-wrapper {
	position:absolute;
    top: 130px;
    left: 405px;
    width: 520px;
    height: 350px;
	padding: 20px;
	background: transparent;
	border-radius: 20px;
	z-index:20;
	overflow: hidden;
}
#pregunta {
	width:100%;
	height:100%;
	display:flex;
	flex-flow: wrap;
	align-items: center;
	justify-content: left;
}
.enunciado {
	width: 100%;
	font-size: 14px;
	line-height: 16px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #aaa;
}
.opcion {
    background: #f9f9f9;
	color:#333;
    border: 2px solid #fff;
    box-shadow: 0px 0px 3px 1px rgba(0,0,0,.3);
    padding: 5px 10px;
    font-size: 12px;
    width: 320px;
    border-radius: 10px;
}
.opcion.inactiva {
	cursor: not-allowed;
}
.opcion.correcta {
    background: #20ba10;
	color:#fff;
}
.opcion.incorrecta {
    background: #e02e0b;
	color:#fff;
}
.feedback, .feedback-ko, .feedback-ok  {
	position:absolute;
	bottom:-10px;
	right:0px;
	width:220px;
}
.feedback-quesitos {
	position:absolute;
	top:0;
	left:0;
	width:990px;
	height:630px;
	z-index:40;
}
.feedback-quesitos img {
	position:absolute;
	top:260px;
	left:700px;
	width:290px;
}
.popup {
	position:absolute;
	top: 245px;
    left: 470px;
    width: 400px;
	min-height:140px;
	overflow:hidden;
	background: rgba(255,255,255,.98);
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,.3);
	border-radius:20px;
	padding:20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index:100;
}
.popup.oculto {
	display:none;
}
.popup-cerrar {
	position:absolute;
	top:5px;
	right:10px;
	font-size:20px;
	color:#333;
	cursor: pointer;
}
.selector-categoria {
	text-align: center;
	font-size:10px;
}
.selector-categoria p {
	margin-top:10px;
}
.categoria.inactiva {
	cursor: not-allowed;
}
.categoria.inactiva img {
	opacity: .2 !important;
}
.categoria.acierto:before {
	content: '\f058';
	font-family: 'Font Awesome 5 Pro';
	color: #0f0;
	font-size: 50px;
	font-weight: 600;
	position: absolute;
	top: 20px;
	left:25px;
}
.categoria.fallo:before {
	content: '\f057';
	font-family: 'Font Awesome 5 Pro';
	color: #f00;
	font-size: 50px;
	font-weight: 600;
	position: absolute;
	top: 20px;
	left:25px;
}