@charset "utf-8";


body {
	border:0;
	margin:0;
	padding:0;
}



#test_container {
	background: url('imgs/fondoEvaluacion.jpg');
	/*background-position: center center;*/
	display: block;
	

	box-sizing:border-box;
	width:760px;
	height:520px;

	border: 0;
	padding: 10px;
	margin: 0;

	padding-top: 30px;
	margin-left: auto;
	margin-right: auto;

	position: relative;

	font-family: arial;
	font-size: 16px;
	color: #404040;

	overflow: auto;
}

#test_container .questions_container{
	width: 100%;
	height: 100%;
	
	box-sizing: border-box;
}

#test_container .question-container{
	position: absolute;
	
	left 	: 0px;
	right 	: 0px;
	top 	: 30px;
	bottom 	: 30px;
	padding-left: 10px;
	padding-right: 10px;
    box-sizing: border-box;
    overflow: auto;
}

#test_container .question-container .options{
	margin-bottom: 10px;
}
#test_container p{
	padding: 0;
	margin: 0px;
	margin-bottom: 5px;
}


#test_container > h1 {
	position: absolute;
	top: 10px;
	left: 10px;
	font-family: arial;
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 10px;
	margin-bottom: 0px;
}



/**
***************************************************************
*Layout*
***************************************************************
*/
.options {
	text-align: center;
}



.options > div{
	width: 45%;
	margin: 10px;
	display: inline-block;
	padding: 5px;	
}




.options.list-align > div{
	display: block;
	width: auto;
	margin: 10px 5px 0px 0px;
	padding: 0px;
}



.question-container .options{
	border-top: 2px solid #666;
}

.question-container .options > div > label{
	padding: 2px 5px 5px 30px;
	cursor: pointer;
	border: 1px solid transparent;
	border-radius: 6px;
}


.question-container:not(.answered) .options > div > label{
	
}

.question-container:not(.answered) .options > div >label:hover{
	background-color: white;
}



.question-container.answered .options > div >label{
	cursor: auto;
}

.question-container.answered.answered_wrong .options div.selected >label{
	border-color: red;
	background-color: rgba(255, 102, 102, 0.50);
	text-shadow:0px 0px 2px white;
}


.question-container.answered .options > div.opt0 >label{
	border-color: green;
	background-color: rgba(0, 128, 0, 0.46);
	text-shadow:0px 0px 2px white;
}





div.navigation {
	position 	: absolute;
	right 		: 10px;
	bottom 		: 5px;
	margin 		: 0px;
	padding 	: 0px;
}

span.contador{
	font-size: 18px;
	font-weight: bold;
	font-family: arial;
}



.nav-btn {

	display: inline-block;
	width: 20px;
	height: 20px;

	background: -webkit-linear-gradient(top, rgb(95, 197, 178) 0%, rgb(42, 175, 150) 4%, rgb(11, 123, 112) 48%, rgb(7, 106, 99) 100%);
	background: -o-linear-gradient(top, rgb(95, 197, 178) 0%, rgb(42, 175, 150) 4%, rgb(11, 123, 112) 48%, rgb(7, 106, 99) 100%);
	background: -ms-linear-gradient(top, rgb(95, 197, 178) 0%, rgb(42, 175, 150) 4%, rgb(11, 123, 112) 48%, rgb(7, 106, 99) 100%);
	background: -moz-linear-gradient(top, rgb(95, 197, 178) 0%, rgb(42, 175, 150) 4%, rgb(11, 123, 112) 48%, rgb(7, 106, 99) 100%);
	background: linear-gradient(to bottom, rgb(95, 197, 178) 0%, rgb(42, 175, 150) 4%, rgb(11, 123, 112) 48%, rgb(7, 106, 99) 100%);

	
	border-radius: 5px;
	color: white;
	font-size: 25px;
	font-weight: bolder;
	font-family: Arial;
		
	box-sizing: border-box;
	border: 0;
	padding: 1px 4px 0px 3px;
	line-height: 0px;
	vertical-align: top;
	cursor: pointer;
}


.nav-btn:hover {
	background: -webkit-linear-gradient(top, rgb(43, 177, 152) 0%, rgb(48, 139, 131) 45%);
	background: -o-linear-gradient(top, rgb(43, 177, 152) 0%, rgb(48, 139, 131) 45%);
	background: -ms-linear-gradient(top, rgb(43, 177, 152) 0%, rgb(48, 139, 131) 45%);
	background: -moz-linear-gradient(top, rgb(43, 177, 152) 0%, rgb(48, 139, 131) 45%);
	background: linear-gradient(to bottom, rgb(43, 177, 152) 0%, rgb(48, 139, 131) 45%);
}

.nav-btn:disabled{
	background: -webkit-linear-gradient(top, rgb(151, 200, 191) 0%, rgb(104, 157, 151) 43%, rgb(101, 148, 144) 100%);
	background: -o-linear-gradient(top, rgb(151, 200, 191) 0%, rgb(104, 157, 151) 43%, rgb(101, 148, 144) 100%);
	background: -ms-linear-gradient(top, rgb(151, 200, 191) 0%, rgb(104, 157, 151) 43%, rgb(101, 148, 144) 100%);
	background: -moz-linear-gradient(top, rgb(151, 200, 191) 0%, rgb(104, 157, 151) 43%, rgb(101, 148, 144) 100%);
	background: linear-gradient(to bottom, rgb(151, 200, 191) 0%, rgb(104, 157, 151) 43%, rgb(101, 148, 144) 100%);

	cursor: not-allowed;
} 



.prev::before{
	content:'￩';
}

.next::after{
	content:'￫';
}



.verificar{
	font-size: 16px;
	padding :5px;
	line-height: auto;
	
	width: 120px;
	height: 30px;
	position: absolute;
	left: 50%;
	bottom:10px;
	transform: translate(-50%,0px);
	
}





input[type=checkbox]:not(old),
input[type=radio   ]:not(old){
  width   : 28px;
  margin  : 0;
  padding : 0;
  opacity : 0;
  width: 1px;

  display: none;
}


input[type=checkbox]:not(old) + label,
input[type=radio   ]:not(old) + label{
	cursor			: pointer;
	position		: relative;
	padding-left	: 30px;
	display			: inline-block;
	text-align: left;
	
}


input[type=checkbox]:not(old) + label::before,
input[type=radio   ]:not(old) + label::before{
	position		: absolute;
	display			: block;
	
	background-image: url('imgs/checks.png');
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: transparent;
	
	top: 50%;
	left: 0px;
	width: 28px;
	height: 28px;
		
	line-height: 	: 24px;
	content: ' ';
	transform: translate(0px, -50%);
}



input[type=checkbox]:not(old):checked + label::before{
  background-position : 0 -24px;
}

input[type=radio]:not(old):checked + label::before{
  background-position : 0 -48px;
}



div.loading{
	position: absolute;
	width: 100%;
	height: auto;
	margin: 0px;
	
	top: 50%;
	left: 0px;
	transform: translate(0px, -50%);

	text-align: center;
}

div.loading::after{
	content: url(imgs/loader.gif);
}


.question-container.result-brief {
	top:10px !important;
}

.result-brief *{
	color:#000000;
}


.result-brief h2{
	color:#239784;
	margin: 0;
	margin-bottom: 10px;
}


.result-brief table {
	width: 60%;
	margin-right: auto;
	margin-left: auto;

	text-align: center;

	border: 2px solid #DDD;
	background-color: white;
	margin: 20px auto 20px auto;

}

.result-brief table tr > th{
	padding: 10px;
	background-color: #DDD;
}

.result-brief table tr > td{
	border: 1px solid #DDD;
}


.result-brief table tr > td span.right,
.result-brief table tr > td span.wrong {
	font-size: 0px;
}

.result-brief table tr > td span.right:before,
.result-brief table tr > td span.wrong:before {
	content: url('imgs/bien.png');
	width:20px;
	height: 20px;
	display: inline-block;
}

.result-brief table tr > td span.right:before {
	content: url('imgs/bien.png');
}

.result-brief table tr > td span.wrong:before {
	content: url('imgs/mal.png');
}


.result-retro-text *{
	text-align: center;
	text-shadow :0px 0px 2px white;
}


.result-retro-text.bien-0 * {
	color: #9f0000;
}

.result-retro-text.bien-1 * {
	color: #9f0000;
}

.result-retro-text.bien-2 *{
	color: #9f0000;
}

.result-retro-text.bien-3 *{
	color: #3a963a;
}

.result-retro-text.bien-4 *{
	color:  #3a963a;
}

.result-retro-text.bien-5 *{
	color: #3a963a;
}





/* fórmulas matemáticas */
.formula{
  font-family: serif;
  font-size: 19px;
  font-style: italic; 
}
