/*Configuración general*/
@font-face {
    font-family: 'franciscolucas_llanaregular';
    src: url('fonts/flllana1-webfont.eot');
    src: url('fonts/flllana1-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/flllana1-webfont.woff2') format('woff2'),
         url('fonts/flllana1-webfont.woff') format('woff'),
         url('fonts/flllana1-webfont.ttf') format('truetype'),
         url('fonts/flllana1-webfont.svg#franciscolucas_llanaregular') format('svg');
    font-weight: normal;
    font-style: normal;

    

}
*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body{
	font-family: sans-serif;
	font-size: 1em;
	color: #999;
	
}

form{
	background: #0d3846;
	padding: 1.5em;
	border: groove 0.0625em #999;
	box-shadow: 0.3em 0.3em 0.5em #333;
	border-radius: 0.3125em;
	padding-left: 0.25%;
	width: 60%;	
}



input,select,textarea{
	border:0.0625em solid #007;
	box-shadow: 0 0 0.1875em #ccc, 0 0.625em 0.9375em #ddd inset; 
	border-radius: 0.4em;
	padding: 0.3125em;
	font-size:1.5em;
	color:#999;	
	width: 70%;
}

input:invalid,select:invalid,textarea:invalid{
	border: 0.0625em solid #c30;
}

label{
	padding-right: 1.5em;
}

form h2{
	padding-bottom: 0.8em;
}

form ol{
	list-style: none;
}

form ol li{
	padding-bottom: 0.625em;
}

form ol li label{
	width: 7.5em;
	float: left;
	text-align: left;
}

::-webkit-input-placeholder { font-size:0.8em;
font-style: italic; }
::-moz-placeholder { font-size:0.8em;
font-style: italic; } /* firefox 19+ */
:-ms-input-placeholder { font-size:0.8em;
font-style: italic; } /* ie */
input:-moz-placeholder { font-size:0.8em;
font-style: italic; }

#content{
	width: 65%;
	border: groove 0.0625em #999;
	background: #eee;
	border-radius: 0.3125em;
	padding: 0.8em;
	padding-bottom: 2em;
}



#info{
	border: groove 0.0625em #999;
	border-radius: 0.3125em;
	background: #0d3846;
	box-shadow: 0.3em 0.3em 0.5em #333;
	padding: 0.8em;
	width: 60%;
}



.row95, .row50{
	padding: 0.7em;
}


.row50 input, .row50 select .row50 textarea{
	width: 45%;
	display: inline;
}

.row95 input,.row95 select .row95 textarea{
	width:90% ;
}

.action{
	list-style: none;	
}

.action li{
	display: table-cell;
	padding: 1em;
}


.action input, .action a{
	background: #069;
	width: 100%;
	border:none;
	color:#fff;	
	padding: 0.625em;
}

.action a{
	text-decoration: none;	
	border:0.0625em solid #007;
	box-shadow: 0 0 0.1875em #ccc, 0 0.625em 0.9375em #ddd inset; 
	border-radius: 0.4em;
}

.action input:hover,.action a:hover{
	background: #099;
}

.action a:hover{
	text-decoration: none;
}





.dialogBox{
	width: 60%;
	border: groove 0.0625 #999;
	border-radius: 0.3125em;
	box-shadow:  0.3em 0.3em 0.5em #333;	
	text-align: justify;		
	padding-bottom: 0.8em;
}

.sep{
	padding: 3em;
}

.sep hr{
	border: groove 0.1875 #eee;
	color:#eee;
}

.correct{
	color: #0C0;
}

/*Configuración de header y footer*/
header, footer{
	background: #0d3846;
	padding: 1em;
	width: 100%;
	height: 11em;
}

footer{
	padding-top: 4em;
}

header{
	height: 16em;
}

header nav{
	background: #0d3846;
	z-index: 1000;
	max-width: 1000px;
	width: 95%;
	margin: auto;
	font-family: 'franciscolucas_llanaregular',Arial,sans-serif;
	font-size: 0.9em;
}

header nav ul{
	list-style: none;
}

header nav ul li{
	display: inline-block;
	position: relative;	
}

header nav ul li:hover{
	background: #069;
	transition: 4s;
}

header nav ul li a{
	color: #fff;
	display: block;
	text-decoration: none;
	padding: 10px;
	font-family: 'franciscolucas_llanaregular',Arial,sans-serif;
}
header nav ul li a:hover{
	text-decoration: none;
}

header nav ul li a span{
	margin-right: 10px;
}

header nav ul li:hover .children{
	display: block;	
}

header nav ul li .children{
	display: none;
	background: #0d3846;
	position: absolute;
	width: 150%;
	z-index: 1000;
}

header nav ul li .children li{
	display: block;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

header nav ul li .children a{
	display: block;
}

header nav ul li .children a span{
	float:right;
	position: relative;
	top:3px;
	margin-right: 0;
	margin-left: 10px;
}

header nav ul li .caret{
	position: relative;
	top:3px;
	margin-left: 10px;
	margin-right: 0;

}

header h2{
	font-family: 'franciscolucas_llanaregular',Arial,sans-serif;
	color: #fff;
	font-weight: bold;
}

#content{
	width: 95%;
}

.MenuBar{
	display: none;
}	

.copyright{
	font-family: 'franciscolucas_llanaregular', Arial,sans-serif;
	color:#fff;
	font-size: 0.8em;	
}

.search{
	padding: 1em;
	width: 60%;	
}

.search a{
	padding: 0.5em;
	background: #069;
	text-decoration: none;	
	border:0.0625em solid #007;
	box-shadow: 0 0 0.1875em #ccc, 0 0.625em 0.9375em #ddd inset; 
	border-radius: 0.4em;
	color: #fff;
}

.search a:hover{
	background: #099;
}

.search form{
	width: 95%;		
}

.dt{
	padding-bottom: 1em;
}

/*Configuración del section*/
section{
	margin: 0;
	max-height: 4900px;
	padding-bottom: 5em;
	z-index: 1000;	
	padding-left: 1em;
}

a{
	font-family: sans-serif;
	color: #999;
	text-decoration: none;
	font-size: 1.33em
}

a:hover{
	text-decoration: underline;
}

h1{
	font-family: 'franciscolucas_llanaregular',Arial;
	font-size: 2em;
	padding-bottom: 0.625em;
}

h2{
	font-size: 1.5em;
}

article{
	text-align: justify;
	width: 30%;
	padding-right: 1.5em;
	display: table-cell;			
}


#CiaLogo{
	padding-top: 5em;
	padding-bottom: 5em;
}

#NoAllowed,.NoRecord{
	color: #c30;
	width: 95%;	
}

#ModuleResult{
	padding-top: 3em;
}

#Detail textarea{
	width: 95%;
}

#Detail .Main th{
	padding: 0.3125em;
}	

#meter_wrapper{
	border: 0.0625em solid #999;
	margin-left: 38%;
	margin-top: 1.25em; 
	width: 12.5em;
	height: 2.3em;
	border-radius: 0.3125em;
}

#meter{
	width: 0;
	height: 2.3em;

}

#passType{
	font-size: 1.5em;
	margin-top:1.25em;
	margin-left: 45%;
	text-align: center;
	color:#999;
}
.Caption{
	background: #fff;
	max-width: 350px;
	width: 75%;
	padding: 0.5em;
	font-size: 1.7em;
	font-style:bold;
	box-shadow: 0 0 0.8em #333;	
	font-family: 'franciscolucas_llanaregular', Arial, sans-serif;
	position:relative;
	top:-0.5em;	
	color: #000;
}

.FormLinks{
	padding-top: 3em;
	display: table-cell;
}

.ForgetPswd{
	padding-left: 6em;
}

.Menu{
	list-style: none;
	padding-bottom: 1.5em;	
}

.Menu li{
	display: inline;
	padding: 1em;
}

.Menu li a{
	font-family: 'franciscolucas_llanaregular',Arial;
	padding-right: 2em;
	font-size: 1.5em;
	text-decoration: none;
	padding: 0.625em;
}

.Menu li a:hover{
	color: #fff;
	background: #0d3846;
	border-radius: 0.3125em;
	transition:3s;
}

.modal{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(13,56,70,0.8);
	z-index: 99999;
	opacity: 0;
	-webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition:opacity 400ms ease-in;
    pointer-events: none;
}

.modal:target{
	opacity: 1;
	pointer-events: auto;
}

.modalbox{
	width: 25em;
	position: relative;
	padding: 0.3125em 1.25em 0.8125em 1.25em;
	background: #fff;
	border-radius: 0.3125em;
	-webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    transition: all 500ms ease-in; 
}

.rotate{
	margin: 10% auto;
	-webkit-transform: scale(-5,-5); 
	transform: scale(-5,-5);
}

.modal:target .rotate{
	transform: rotate(360deg) scale(1,1);
	-webkit-transform: rotate(360deg) scale(1,1);
} 

.Grid{
	width: 95%;
	border: 0.0625em solid #0d3846;
}

.Main{
	background: linear-gradient(0deg,#0d3846 ,#069) ;
	color: #fff;
	padding: 0.625em;
	height: 2.5em;
	border: 0;
}

.Data{
	padding-top: 0.8em;
	padding-bottom: 0.8em;
}

.Grid tbody tr:nth-child(odd){
	background: #eee;
}

.Grid tr:nth-child(even){
	background: #fff;
}

.Grid tbody tr:nth-child(even):hover,.Grid tbody tr:nth-child(odd):hover{
	background: #069;
	color: #fff;
	transition:3s;
}

.Foot{
	background: linear-gradient(0deg,#0d3846 ,#069);
	color: #999;
	padding: 0.625em;
	height: 2.5em;
}

.Error{
	background: #fcc;
	width: 60%;
	padding-bottom: 1.5em;
	border-radius:0.3125em;
}

.data{
	display: table;
}






/*Configuración en otros dispositivos*/

@media screen and (max-width: 800px) {
	body{
		padding-top: 80px;
	}

	header nav{
		width: 80%;
		height: calc(100% - 80px);
		position: fixed;
		right: 100%;
		margin: 0;
		overflow: auto;
		opacity: 0.8;
	}

	header nav ul li{
		display: block;
		border-bottom: 1px solid rgba(255,255,255,0.2);
		padding: 0.8em;
	}

	header nav ul li a{
		display: block;
		font-size: 2em;
	}

	header nav ul li:hover .children{
		display: none;
	}

	header nav ul li .children{
		width: 100%;
		position: relative;
	}

	header nav ul li .children li a{
		margin-left: 20px;
	}

	header nav ul li .caret{
		float: right;
	}

	article{
		display: block;
		width: 100%;
	}

	form{
		width: 95%;
	}

	
	#info{
		width: 95%;
	}



	.MenuBar{
		display: block;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background: #0d3846;
	}

	.MenuBar .MenuBtn{
		display: block;
		padding: 20px;
		color: #fff;
		overflow: hidden;
		font-size: 25px;
		font-weight: bold;
		text-decoration: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.MenuBar span{
		float: right;
		font-size: 40px;
	}

	.FormLinks .ForgetPswd{
		padding-left: 1em;	
	}

	.row50 input{
		width: 95%;
	}

	.action li, .action a{
		display: block;
	}

	.Menu li{
		display: block;
	}

	.Grid table, tbody, th, td, tr,tfoot{
		display: block;
	}

	.Grid thead tr{
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.Grid tr{
		border: 1px solid #ccc;
	}

	.sep{
		padding-top: 4em;
	}
	
	.search{
		width: 95%;
		display: block;
	}

	.search div,.btn{
		display: block;
	}

	.search div{
		width:95%;
		padding-bottom: 1em;
	}

	.search div input{
		width: 95%;
	}
	
	.modalbox{
		width: 80%;
		position: relative;
		padding: 15% 30%em 20% 15%;
		background: #fff;
		border-radius: 0.3125em;
		-webkit-transition: all 500ms ease-in;
	    -moz-transition: all 500ms ease-in;
	    transition: all 500ms ease-in; 
	}
}