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

}



/********* ELEMENTOS PROPIOS **********/

.activity{
    position: absolute;
    width: 640px;
    top: 45px;
    margin: 0px auto;
}
.activity .textSegment{
    display: inline-block;
    margin: 0px;
    margin-left: 25px;
    height: auto;
    padding-left: 10px;
    vertical-align: top;
}

.textSegment.madre{
    text-align: right;
    width: 295px;
}
.textSegment.hija{
    text-align: left;
    width: 255px;
}


.intercambio{
    display: inline-block;
   /* min-width: 60px; */
    width: auto !important;
    height: 36px;
    border-radius: 20px;
    margin-bottom: 12px;
    padding: 4px 15px 2px 15px;
    font-size: 24px;
    line-height: 28px;
    text-wrap: normal;
}
.intercambio > span{
    width: auto;
}

.intercambio.madre{
    position: relative;
    background-color: rgba(255,255,255,1);
}
.intercambio.madre::before{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    left: -14px;
    top: -2px;
    border: 12px solid;
    border-color: rgba(255,255,255,1) rgba(255,255,255,1) transparent transparent;
    -ms-transform: rotate(15deg); /* IE 9 */
    -webkit-transform: rotate(15deg); /* Chrome, Safari, Opera */
    transform: rotate(14deg);
}

p.intercambio.hija{
    position: relative;
    background-color: rgba(139,237,234,.8);
}
p.intercambio.hija:first-child{
    margin-top: 14px;
}
.intercambio.hija::before{
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: -14px;
    top: -2px;
    border: 12px solid;
    border-color: transparent transparent rgba(139,237,234,.8) rgba(139,237,234,.8);
    -ms-transform: rotate(75deg); /* IE 9 */
    -webkit-transform: rotate(750deg); /* Chrome, Safari, Opera */
    transform: rotate(75deg);
}

.intercambio.madre.e-incorrecto,
.intercambio.hija.e-incorrecto{
    background-color: #eb473d;
    color: #fff;
}
.intercambio.madre.e-incorrecto::before{
    border-color: #eb473d #eb473d transparent transparent;
}
.intercambio.hija.e-incorrecto::before{
    border-color: transparent transparent #eb473d #eb473d;
}

.intercambio.madre.e-correcto,
.intercambio.hija.e-correcto{
    background-color: #61a814;
    color: #fff;
}
.intercambio.madre.e-correcto::before{
    border-color: #61a814 #61a814 transparent transparent;
}
.intercambio.hija.e-correcto::before{
    border-color: transparent transparent #61a814 #61a814;
}


.intercambio.e-seleccionable:hover,
.intercambio.e-highlight{
    background-color: #f9d65f;
}
.intercambio.madre.e-seleccionable:hover::before,
.intercambio.madre.e-highlight::before{
    border-color: #f9d65f #f9d65f transparent transparent;
}
.intercambio.hija.e-seleccionable:hover::before,
.intercambio.hija.e-highlight::before{
    border-color: transparent transparent #f9d65f #f9d65f;
}

.info{
    display: inline-block;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    padding: 1px 5px;
    margin-right: 10px;
    background-color: #eb8909;
}


/********* ELEMENTOS FIJOS **********/

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

.js-btn-sig{
    position: absolute;
    top: 508px;
    left: 509px;
    width: 135px;
    height: 40px;
    background-image: url('img/next.png');
}
.js-btn-sig:hover,.js-btn-sig:active{
    background-image: url('img/next_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: 500;
}

.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: 24px !important;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.vntn--contenido {
    font-size: 24px;
}

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

.vntn-inst {
	width: 500px !important;
	height: auto;
	min-height: 200px;
	position: absolute;
	top: 100px;
	left: 0px;
	right: 0px;
	margin: 0px 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-feedback {
	border: solid 3px black;
	overflow: hidden;
	min-width: 250px;
	min-height: 100px;
	top: auto;
	bottom: auto;
	left: 0;
	right: 0;
	width: 90%;
	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: #02c277;
}
.vntn-feedback[data-correct="true"] > .vntn--btn-cerrar::before {
	border-color: #02c277 #02c277 transparent transparent;
}
.vntn-feedback[data-correct="true"] > .vntn--btn-cerrar:hover::before,
.vntn-feedback[data-correct="true"] > .vntn--btn-cerrar:active::before{
	border-color: #14a27e #14a27e transparent transparent;
}

.vntn-feedback[data-correct="false"] {
	border-color: #cc4940;
}
.vntn-feedback[data-correct="false"] > .vntn--btn-cerrar::before {
	border-color: #cc4940 #cc4940 transparent transparent;
}
.vntn-feedback[data-correct="false"] > .vntn--btn-cerrar:hover::before,
.vntn-feedback[data-correct="false"] > .vntn--btn-cerrar:active::before{
	border-color: #b3362e #b3362e transparent transparent;
}

.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--btn-cerrar::before {
    border-color: #cc4940 #cc4940 transparent transparent;
    border-style: solid;
    border-width: 35px;
    content: "";
    height: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    z-index: -1;
}



.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;
}



/* End Modules */



/* ---------
 *  States 
 * --------- */
/*color de signos resaltados */
.e-resaltado{
    font-weight: bold;
    font-size: 27px;
    color: #61a814;
}
.intercambio.e-correcto .e-resaltado,
.intercambio.e-incorrecto .e-resaltado{
    color: #fff;
    font-size: 28px;
}
.e-resaltado-white{
    font-weight: bold;
    font-size: 28px;
    color: #fff;
}
.e-resaltado-brown{
    font-weight: bold;
    font-size: 27px;
    color: #bc710f;
}

.e-highlighted{
    background-color: rgba(100,155,245,0.5);
    padding: 0px 4px;
}

.e-seleccionable{
    cursor: pointer;
}
.e-seleccionable:hover{
    /*background-color: #fff;*/
}

.e-correcto{
    /*background-color: rgba(2,194,119,0.4);
    padding: 0px 4px;*/
}

.e-incorrecto{
    /*background-color: rgba(232,100,91,0.6);
    padding: 0px 4px;*/
}
.e-oculto {
	display: none;
}

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

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


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



/* --------------------------
 *   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. 
	 * -------------------------------- */

}
