@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);
@font-face {
	font-family: "Trajan Pro";
	src: url(../fonts/trajan_pro/trajan_pro.ttf) format("truetype");
	src: url('../fonts/trajan_pro/trajan_pro.eot') format('embedded-opentype'), 
	   url('../fonts/trajan_pro/trajan_pro.woff') format('woff'), 
	   url(../fonts/trajan_pro/trajan_pro.ttf) format("truetype"), 
	   url('../fonts/trajan_pro/trajan_pro.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
	font-size: 100%;
}

body {
	
	color: #222;
	padding: 0;
	margin: 0;
	font-family: "Lato",Helvetica,sans-serif;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5;
	position: relative;
	cursor: auto;
	
    background-position: center top;
    background-repeat: no-repeat;
}

header{
	background-color: #e0d373;
	border-bottom: #e0d373 solid;
}
header p{
	margin:0;
}

h3, h1, h2, h4, h5 {
	font-family: 'Trajan Pro', sans-serif;
	line-height: 1.4;
	font-weight: normal;
	font-style: normal;
	color: #222;
	text-rendering: optimizeLegibility;
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
}

h2 {
	font-size: 250%;
}

footer {
	background: #18386b;
    border-bottom: #d2a92d solid 18px;
	color: rgb(255 255 255);
	padding-bottom: 1em;
	padding-top: 1em;
	margin-bottom: 0;
	text-align: center;
	width: 100%;
}

.indice{
	
	width: 100%;
	margin-top: 25px;
	margin-bottom: 25px;
}

.indice tr td a{
	text-decoration: none;
	cursor: pointer;
	color: #008cba;
	width: 100%;
	padding: 10px;
	display: block;
}

.indice tr:nth-child(odd){ background-color:#F9F9F9;}
.indice tr:nth-child(even){ background-color:#FFFFFF;}
.indice tr:hover{background: #F2F9FF;}

.row {
	width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 75rem;
}

.depe_name {
	text-align: center;
}

#contenedor {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
    padding-left: 7rem;
}

#contenido{
    margin-left: 0.1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.4);
	padding: 10px;
}

.column, .foto, .datos{float: left;}
.column {width: 50%;}

.datos{ max-width: calc(100% - 130px);}
.foto img{width: 100px; margin-right: 15px;}

.formulario{clear:both;}

.frm_texto, .frm_caja{
	float: left;
}

.frm_texto{ width: 250px; height: 40px;}

.frm_caja{ max-width: 632px; min-width: 290px; margin-bottom: 5px;}
.frm_caja input, .frm_caja select{ height: 25px; min-width: 240px; max-width: 632px; padding:0; margin: 0; border: 1px solid #C6D5E1;}
.frm_caja textarea{ min-width: 240px; max-width: 632px; padding:0; margin: 0; border: 1px solid #C6D5E1;}

.w632{ width: 48vw;}

.tools img{width: 16px;}
.tools a{text-decoration: none;}

#info{
	margin-top: 30px;
}


/* CSS LOGIN */

.login {
	position: relative;
	margin: 18.5vh auto;
	padding: 20px 20px 20px;
	max-width: 310px;
	background: white;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 200px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.h1 {
	display:block;
	margin: -20px -20px 21px;
	line-height: 40px;
	font-size: 15px;
	font-weight: bold;
	color: #022B4B;
	text-align: center;
	text-transform: uppercase;
	background: #E1DBCC;
	border-bottom: 1px solid #cfcfcf;
	border-radius: 3px 3px 0 0;
	background-image: -webkit-linear-gradient(top, whiteffd, #eef2f5);
	background-image: -moz-linear-gradient(top, whiteffd, #eef2f5);
	background-image: -o-linear-gradient(top, whiteffd, #eef2f5);
	background-image: linear-gradient(to bottom, whiteffd, #eef2f5);
	-webkit-box-shadow: 0 1px whitesmoke;
	box-shadow: 0 1px whitesmoke;
}
.login p {
	margin: 20px 9px 22px;
}
.login input[type=text], .login input[type=password] {
	min-width: 220px;
}

.login p.submit {
	text-align: center;
}


input {
	font-family: 'Lucida Grande', Tahoma, Verdana, sans-serif;
	font-size: 14px;
}

.login_centrar{
	margin: 0 auto;
	max-width: 240px;
}

input[type=text], input[type=password] {
	margin: 5px auto;
	padding: 0 14px;
	height: 34px;
	color: #404040;
	background: white;
	border: 1px solid;
	border-color: #c4c4c4 #d1d1d1 #d4d4d4;
	border-radius: 2px;
	-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
}

input[type=text]:focus, input[type=password]:focus {
	border-color: #7dc9e2;
}
input[type=submit] {
	cursor: pointer;
	padding: 0 27px;
	height: 29px;
	font-size: 12px;
	font-weight: bold;
	color: #022B4B;
	text-shadow: 0 1px #e3f1f1;
	background: #cde5ef;
	border: 1px solid;
	border-color: #b4ccce #b3c0c8 #9eb9c2;
	border-radius: 16px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background-image: -webkit-linear-gradient(top, #edf5f8, #cde5ef);
	background-image: -moz-linear-gradient(top, #edf5f8, #cde5ef);
	background-image: -o-linear-gradient(top, #edf5f8, #cde5ef);
	background-image: linear-gradient(to bottom, #edf5f8, #cde5ef);
	-webkit-box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
	box-shadow: inset 0 1px white, 0 1px 2px rgba(0, 0, 0, 0.15);
}
input[type=submit]:hover {
	background: #cde5ef;
	border-color: #9eb9c2 #b3c0c8 #b4ccce;
	-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}
.login #msj_error {
	color: #8C8457;
	font-size: 15px;
	text-align: center;
	padding-top: 0px;
	margin-top: 0px;
}

/* FIN CSS LOGIN */

/* MENU CSS */

.menu{background: #2F2F2F; }
.menu ul{list-style: none; margin: 0; padding: 0;}
.menu ul li{display: inline-block;}
.menu ul li a{text-decoration:none; color: white; display: inline-block; padding: 12px;}
.menu ul li a:hover{font-weight: bold; background:#222;}

/* FIN MENU CSS */

@media only screen and (max-width: 1024px){
	#contenedor {
	    padding-left: 0;
	}
}

@media only screen and (max-width: 840px){
	h2{font-size: 8vw;}
	.depe_name{font-size: 3vw;}
	.foto{margin-bottom: 25px; }
	.foto img{width: 12vw;}
	.datos{font-size: 2vw;}
}

@media only screen and (max-width: 520px){
	.column{float: none; clear: both; width: 100%; }
	.foto{margin-bottom: 25px; }
	.foto img{width: 75px;}
	.datos{font-size: 11px;}
	.indice img{width:15px;}
}

@media only screen and (max-width: 340px){
	.menu ul li{display: inline-block; font-size:3.5vw;}
}
