/* ----------
 *  Base 
 * ------- */
html {
    /* Base font-size, defined here to use with rem */
    font-size: 100%; /* user defined, or default 16px */
}

body {
    padding: 0;
    margin: 0;
}

p, table, .vntn {
    font-family: 'sf_cartoonist_handregular', Arial, Helvetica, sans-serif;
    letter-spacing: 0.7px;
    font-size: 25px;
    line-height: 26px;
    text-align: left;
    margin: 0px;
}
th{
    font-family: 'londrina_solidregular', Arial, Helvetica, sans-serif;
    font-size: 24px;
    text-align: center;
}
th.small{
    font-size: 18px;
}

a {
    outline: none;
}

button {
	outline: 0;
	background: none;
	cursor: pointer;
	/*border: solid 1px #333;*/
	border: none;
	min-height: 40px;
}


/* ---------
 *  Modules 
 * --------- */

.oacontext {
    padding: 0;
    margin: 0 auto;
    max-width: 644px;
    min-width: 644px;
    min-height: 548px;
    max-height: 548px;
    background-image: url('img/fondo.jpg');
}

.content {
	position: relative;
}

.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(200, 200, 200, .45);
    z-index: 55;
}

.preloader{
    width: 100px;
    height: 103px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -52px;
    background: url('../img/general/preloader.gif');
    color: transparent;

}

table.solicitudes {
	border: none;
	width: 95%;
	margin: auto;
	border-collapse: collapse;
	empty-cells: show;
}
.solicitudes th{
	border: none;
	border-right: solid 1px lightgray;
	padding: 0px;
	padding-left: 3px;
	margin: 0px;
	padding-right: 8px;
	text-align: center;
}
.solicitudes th.esencial{
    background-color: #4be1a6;
}
.solicitudes th.importante{
    background-color: #4be1d1;
}
.solicitudes th.deseable{
    background-color: #48cbe7;
}

.solicitudes.enOrden td.esencial{
    background-color: #4be1a6;
}
.solicitudes.enOrden td.importante{
    background-color: #4be1d1;
}
.solicitudes.enOrden td.deseable{
    background-color: #48cbe7;
}

.solicitudes td {
	border: solid 1px lightgray;
	height: 35px;
	max-height: 60px;
	padding-left: 10px;
	background: rgba(255,255,255,0.5);
}

.solicitudes > thead th {
	padding-top: 15px;
	padding-bottom: 5px;
}

.solicitudes > tbody th  {
	height: 95px;
}
.solicitudes.enOrden > tbody th {
	height: 59px !important;
}

.solicitudes > tbody tr:nth-child(3),
.solicitudes > tbody tr:nth-child(6),
.solicitudes > tbody tr:nth-child(7){
	/*border-collapse: separate !important;
	border-spacing: 0 1em;
	border-top: 8px solid lightgray;*/
}

.solicitudes .empty-row{
    height: 8px !important;
    max-height: 8px !important;
    border: none;
}


.solicitudes--personaje {
	cursor: pointer;
}

.solicitudes--personth {
	width: 100px;
}

.solicitudes--solicitud{
    cursor: pointer;
}
.solicitudes--solicitud.e-inactivo:hover{
    font-weight: normal;
    cursor: default;
    font-size: 25px;
}
.solicitudes--solicitud:hover{
    font-weight: bold;
    font-size: 24px;
}

/* td palomas cruces */
.importancia{
    text-align: center;
}

/* im‡genes familia */
.foto{
    width: 124px;
    height: 115px;
    cursor: default;
}
.foto:not(.peq){
    cursor: pointer;
}
.solicitudes.enOrden .foto{
    width: 60px;
    height: 60px;
}

.foto.goyo{
    background: url('../img/goyo.png') no-repeat;
}
.foto.goyo.peq{
    background: url('../img/goyo_peq.png') no-repeat;
}
.foto.trini{
    background: url('../img/trini.png') no-repeat;
}
.foto.trini.peq{
    background: url('../img/trini_peq.png') no-repeat;
}
.foto.lucia{
    background: url('../img/lucia.png') no-repeat;
}
.foto.lucia.peq{
    background: url('../img/lucia_peq.png') no-repeat;
}
.foto.tonyo{
    background: url('../img/tonyo.png') no-repeat;
}
.foto.tonyo.peq{
    background: url('../img/tonyo_peq.png') no-repeat;
}

/* Bt instrucciones */
.js-btn-instr{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 135px;
    height: 38px !important;
    background-image: url('img/bt_instrucciones.png');
    font-size: 20px !important;
}
.js-btn-instr:hover,.js-btn-instr:active{
    background-image: url('img/bt_instrucciones_over.png');
}

/* Ventanas */
.vntn {
   /* border: 1px solid #000;
    background-color: #FFF;
    box-shadow: 0 2px 3px #666666;*/
    padding: 20px;
    position: absolute;
    margin: auto;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    max-width: 600px;
    min-width: 300px;
    z-index: 50;
}

.vntn--btn-cerrar {
    right: 10px;
    top: 10px;
    position: absolute;
    background-color: #fff;
    z-index: 1;
    color: #000;
    font-weight: bold;
    height: 35px;
    width: 35px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #989694;
}

.vntn--titulo {
    text-transform: uppercase;
    font-size: 22px !important;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.vntn--contenido {
    font-size: 22px !important;
}

.vntn--contenido > p {
    padding-bottom: 10px;
}


.vntn-inst {
	width: 500px !important;
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	bottom: auto;
	right: auto;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	margin: auto;
	z-index: 55;
	background-color: #fff;
	border: 3px solid #9b40db;
}

.vntn-inst > .vntn--btn-cerrar {
	border: none;
	background: none;
	top: 0px;
	right: 0px;
	color: white;
	font-size: 24px;
}
.vntn-inst > .vntn--btn-cerrar::before {
    border-color: #a520db #a520db transparent transparent;
    border-style: solid;
    border-width: 35px;
    content: "";
    height: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    z-index: -1;
}
.vntn-inst > .vntn--btn-cerrar:hover::before, 
.vntn-inst > .vntn--btn-cerrar:active::before{
	border-color: #7e1aa6 #7e1aa6 transparent transparent;
}
.vntn-comentario {
	left: 0;
	right: 0;
	height: auto;
	width: 576px;
	max-width: 616px;
	background-color: #f8eedd;
	border: solid 2px #989694;
}
.vntn-comentario::before {
    content: "";
    height: 20px;
    left: 45px;
    bottom: -12px;
    position: absolute;
    transform: rotate(45deg);
    width: 20px;
    background-color: #f8eedd;
	border: solid 2px #989694;
	
}

.vntn-comentario > .vntn--btn-cerrar {
	border: none;
	background: none;
	top: 0px;
	right: 0px;
	color: white;
	width: 44px;
	height: 44px;
	font-family: sans-serif;
	font-size: 24px;
}

.vntn-comentario > .vntn--btn-cerrar::before {
    border-color: #989694 #989694 transparent transparent;
    border-style: solid;
    border-width: 35px;
    content: "";
    height: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    z-index: -1;
}
.vntn-comentario > .vntn--btn-cerrar:hover::before, 
.vntn-comentario > .vntn--btn-cerrar:active::before{
	border-color: #676767 #676767 transparent transparent;
}


.vntn-comentario--buttons {
	text-align: center;
}

.vntn-comentario[data-personaje="trini"] {
    bottom: 65px;
    padding-top: 40px;
    top: auto;
}
.vntn-comentario[data-personaje="goyo"] {
    bottom: 165px;
    padding-top: 40px;
    top: auto;
}
.vntn-comentario[data-personaje="trini"]::before,
.vntn-comentario[data-personaje="goyo"]::before{
    left: 45px;
    top: -12px;
    bottom: auto;
    border-bottom: none;
    border-right: none;
}
.vntn-comentario[data-personaje="lucia"] {
	top: 120px;
	bottom: auto;
	padding-top: 10px;
}
.vntn-comentario[data-personaje="lucia"]::before,
.vntn-comentario[data-personaje="tonyo"]::before {
    border-top: none;
    border-left: none;
}


.vntn[data-personaje="lucia"] .vntn--titulo{
    padding-top: 15px;
}

.vntn-comentario[data-personaje="tonyo"] {
    bottom: auto;
    padding-top: 10px;
    top: 255px;
	
}

.vntn-feedback {
	border: solid 3px black;
	overflow: hidden;
	min-width: 420px;
	min-height: 230px;
	top:auto;
	bottom: 10px;
	left: 0;
	right: 0;
	z-index: 60;
	background-color: #fff;
	font-size: 24px;
}

.vntn-feedback::before {
    content: "";
    height: 100px;
    position: absolute;
    right: -50px;
    top: -50px;
    transform: rotate(45deg);
    width: 100px;
}
.vntn-feedback[data-correct="true"] {
	border-color: green;
}
.vntn-feedback[data-correct="true"]::before {
	background-color: green;
}
.vntn-feedback[data-correct="false"] {
	border-color: red;
}
.vntn-feedback[data-correct="false"]::before {
	background-color: red;
}
.vntn-feedback > .vntn--btn-cerrar {
	border: none;
	background: none;
	top: 0px;
	right: 0px;
	color: white;
	width: 44px;
	height: 44px;
	font-family: sans-serif;
	font-size: 24px;
}
.vntn-feedback > .vntn--contenido {
	padding: 20px 10px;
}

.btn{
    font-family: 'londrina_solidregular', Arial, Helvetica, sans-serif;
    font-size: 24px;
    text-align: center;
    color: #fff;
    padding: 5px;
}

.btn.js-confirmar{
    width: 120px;
    background-color: #02c277;
    border: none;
    margin-right: 20px;
    margin-top: 15px;
    box-shadow: -4px 4px 0 #c5d2cc;
}
.btn.js-confirmar:hover,.btn.js-confirmar:active{
    box-shadow: -4px 4px 0 #75ddb4;
}

.btn.js-borrar{
    width: 120px;
    background-color: #0099cc;
    border: none;
    margin-top: 15px;
    box-shadow: -4px 4px 0 #c5d2cc;
}
.btn.js-borrar:hover,.btn.js-confirmar:active{
    box-shadow: -4px 4px 0 #50bce0;
}

.js-texto-orig{
    	font-size: 22px !important;
}

/* Wordselector */
.word {
	cursor: url(../img/cursor_frases.ico), pointer;
}
.selWord {
	/*border-bottom: 1px solid cyan;*/
}

.highlightSelection {
	background-color: #86dff5;
}

.highlightFirst {
	border: dashed 1px #aaa;
}

.word.e-inactivo {
	color: #999;
	cursor: default;
}


/* End Modules */



/* ---------
 *  States 
 * --------- */

.esencial.e-correcto{
    background-color: #4be1a6;
}
.desechable.e-correcto{
    background-color: #c3c3c3;
    color: #737373;
}
.e-incorrecto{
    background-color: #f2a6a2;
}
.e-oculto {
	display: none;
}

.e-activo {
	cursor: pointer;
}
.e-inactivo {
	cursor: default;
}
.e-inactivo:hover {
    font-weight: normal !important;
    font-size: 25px !important;
}
.e-seleccionable{
    cursor: pointer;
}
.e-seleccionable:hover{
    background-color: #fff;
}

.e-seleccionado {
	
}
.e-marcado {
	
}


.oacontext{
    box-shadow: 0 0 3px #00f;
}


.solicitudes.enOrden{
    display: none;
}




/* --------------------------
 *   Responsive 
 * ------------------------- */

/* estilos aplican en width < 1280px  (Android 10" landscape) */
@media screen and (max-width: 1280px) {
	
	/* --------------------------------
	 * Incluir aqui los estilos
	 * a los elementos que cambiaran. 
	 * -------------------------------- */

}

/* estilos aplican en width < 1024px  (iPad landscape) */
@media screen and (max-width: 1024px) {

	/* --------------------------------
	 * Incluir aqui los estilos
	 * a los elementos que cambiaran. 
	 * -------------------------------- */

}

/* estilos palican width < 768px (iPad, Android portrait)*/
@media screen and (max-width: 768px) {

	/* --------------------------------
	 * Incluir aqui los estilos
	 * a los elementos que cambiaran. 
	 * -------------------------------- */

}
