/* ----------
 *  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: 24px;
    line-height: 25px;
    text-align: left;
    margin: 0px;
}


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;
	padding-top: 10px;
}

.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 {
	width: 95%;
	border: none;
	width: auto;
	margin: auto;
	border-collapse: collapse;
	empty-cells: show;
}
table.solicitudes th{
	font-family: 'londrina_solidregular', Arial, Helvetica, sans-serif;
	font-size: 20px;
	text-align: center;
	border: none;
	padding: 3px 8px;
	margin: 0px;
	padding-right: 8px;
	text-align: center;
}

table.solicitudes th{
	width: 145px;
}
table.solicitudes th:first-child{
	background-color: #f8efe1;
	border: solid 1px #908f8e;
	width: 280px !important;
}

/**** una sola columna ****/
table.solicitudes.colUn{
    box-shadow: -4px 4px 0 #d2c1ab;
}
table.solicitudes.colUn th:first-child{
    width: 500px !important;
    background-color: #908f8e;
    color: #fff;
    min-height: 50px;
    height: 45px;
    font-size: 22px;
}

/***** 4 dise–os ****/
table.solicitudes.disenyo{
    box-shadow: none;
}

table.solicitudes.disenyo th:first-child{
    width: 425px !important;
    min-height: 45px;
    height: 45px;
    font-size: 22px;
}

table.solicitudes.disenyo tbody > tr > td.importancia{
    border-top: solid 1px #908f8e;
     width: 150px !important;
}

table.solicitudes.disenyo thead > tr > td.importancia{
    width: 150px !important;
    font-family: 'londrina_solidregular', Arial, Helvetica, sans-serif;
    font-size: 22px;
    text-align: center;
}

div.icono{
    display: inline-block;
    width: 46px;
    height: 31px;
    cursor: pointer;
}


/***** dise–o 1 ****/

table.solicitudes.d1{
    border: 3px solid #365cd9;
}
table.solicitudes.d1 th:first-child{
    background-color: #fff;
}
table.solicitudes.d1 tbody > tr > td {
    background-color: #fff;
}
table.solicitudes.d1 tbody > tr > td.importancia,
table.solicitudes.d1 thead > tr > td.importancia{
    background-color: #6be4f1;
    border-left: 2px solid #365cd9;
}

table.solicitudes.d1 div.icono{
    background-image: url('img/icono_d1.png');
}


/***** dise–o 2 ****/

table.solicitudes.d2{
    border: 5px solid #f46161;
}
table.solicitudes.d2 th,
table.solicitudes.d2 > thead > tr > td{
    background-color: #d2d1a5;
}
table.solicitudes.d2 tbody > tr > td {
    background-color: #f6f5d9;
}
table.solicitudes.d2 tbody > tr > td.importancia,
table.solicitudes.d2 thead > tr > td.importancia{
    border-left: 4px solid #f46161;
}

table.solicitudes.d2 div.icono{
    background-image: url('img/icono_d2.png');
}

/***** dise–o 3 ****/

table.solicitudes.d3{
    border: 5px solid #1bc7aa;
}
table.solicitudes.d3 th,
table.solicitudes.d3 > thead > tr > td{
    background-color: #99e4d7;
}
table.solicitudes.d3 tbody > tr > td {
    background-color: #f8f8e6;
}
table.solicitudes.d3 tbody > tr > td.importancia,
table.solicitudes.d3 thead > tr > td.importancia{
    border-left: 4px solid #1bc7aa;
}

table.solicitudes.d3 div.icono{
    background-image: url('img/icono_d3.png');
}

/***** dise–o 4 ****/

table.solicitudes.d4{
    border: 5px solid #9668b9;
}
table.solicitudes.d4 th,
table.solicitudes.d4 > thead > tr > td{
    background-color: #c3ee98;
}
table.solicitudes.d4 tbody > tr > td {
    background-color: #f8f8e6;
}
table.solicitudes.d4 tbody > tr > td.importancia,
table.solicitudes.d4 thead > tr > td.importancia{
    border-left: 4px solid #9668b9;
}

table.solicitudes.d4 div.icono{
    background-image: url('img/icono_d4.png');
}



/******** fase 1 *********/

table.solicitudes th.noImporta{
    background-color: #4be1d1;
}
table.solicitudes th.importa{
    background-color: #4be1a6;
}

table.solicitudes .espacio{
   width: 5px !important;
   border: none;
   margin: 0px;
   padding: 0px;
   border-top: solid 1px #908f8e;
}

table.solicitudes th.espacio {
    border-top: none !important;
}

table.solicitudes > tbody > tr {
    height: 47px;
    min-height: 47px;
}
table.solicitudes.colUn > tbody > tr {
    height: 26px;
    min-height: 26px;
}

table.solicitudes > tbody > tr > td{
    padding: 5px 10px;
}

table.solicitudes tr > td:first-child {
	border: solid 1px #908f8e;
	height: 35px;
	max-height: 60px;
	padding-left: 10px;
	background: rgba(255,255,255,0.5);
}

table.solicitudes tbody > tr > td.clickCell{
	border: none;
	border-top: solid 1px #908f8e;
	cursor: pointer;
	text-align: center;
}

table.solicitudes tbody > tr > td.clickCell.noImporta{
	background-color: #4be1d1;
}
table.solicitudes tbody > tr > td.clickCell.noImporta:hover,
table.solicitudes tbody > tr > td.clickCell.noImporta:active{
    background-color: #8df4e9;
}

table.solicitudes tbody > tr > td.clickCell.importa{
	background-color: #4be1a6;
}
table.solicitudes tbody > tr > td.clickCell.importa:hover,
table.solicitudes tbody > tr > td.clickCell.importa:active{
    background-color: #9cfad5;
}


/* 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;
}


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

.btn.js-btn-listo{
    position: absolute;
    width: 120px;
    background-color: #0099cc;
    border: none;
    right: 10px;
    top: 495px;
    box-shadow: -4px 4px 0 #ceb694;
}
.btn.js-btn-listo:hover,.js-btn-listo:active{
    box-shadow: -4px 4px 0 #ceb694;
}


/* 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 {
}
.e-inactivo {
	opacity: 0.15;
}
.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. 
	 * -------------------------------- */

}
