/* Comienzo del código web*/
body {
	background-color:#ff0000;
	font: normal small "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #666666;
	font-weight: normal;
	font-variant: normal;
}

h2 {
	font-size:18px;
}

#contenido {
	width: 900px;
	margin-top: 20px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}

/* Menu Arriba */

#nav {
	width: 900px; height: 40px;
	background: url(../imagenes/contenidoarriba.gif) top left no-repeat;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#nav li {
	float: right;
	display: inline;
}

#nav a {
	display: block;
	padding: 15px 40px 0 0;
	text-decoration: none;
	text-align: center;
	font-weight: bold;
	color: #FFFFFF;
}

#nav a:hover {
	color:#FF0000;
	background-color: inherit;
}

#nav ul {
	padding: 0px 0px 10px 0px;
}

/* Encabezado*/

#encabezado {
	width: 900px;
	height: 116px;
	background-color: #FFFFFF;
	background-image:url(../imagenes/contenidoder.png);
	background-repeat: repeat-y;
	background-position:right;
}

#logo {
	width: 300px;
	height: 106px;
	float: left;
	background-image: url(../imagenes/logo.gif);
	margin-top: 5px;
	margin-right: auto;
	margin-left: 15px;
}

#imagenprin {
	width: 550px;
	height: 116px;
	float: right;
	margin-right: 5px;
}

/* Cuerpo */

#cuerpo {
	width: 885px;
	float:left;
	background-color: #FFFFFF;
	background-image:url(../imagenes/contenidoder.png);
	background-repeat: repeat-y;
	background-position:right;
	padding-left: 15px;
}

.volver {
	padding-right: 5px;
	text-align: right;
	font-size:14px;
}

.volver a {
	color:#000000;
}

.volver a:hover {
	color:#FF0000;
	background-color: inherit;
}

/* Columnas */

#colizq{
 	width:500px;
 	float:left; 
 	position:relative;
	margin-top: 5px;
	margin-right: 10px;
}
 
#colder{
 	width:350px; 
 	float:left; 
 	position:relative; 
 	margin: 5px 0 0 0;
}

#unacol{
	width:860px; 
	float:left; 
 	position:relative;
	margin: 5px 15px 15px 0;
}
 
/* Proyectos */

.titulo {
	background: url('../imagenes/titulo.gif') no-repeat;
	margin-top: 10px;
	font-weight: bold;
}

.titulo h2{
	height: 20px;
	padding: 10px 0 0 20px;
	text-transform: uppercase;
	font-size: 1em;
	color: #FFFFFF;
	margin: 0;
}

.caja {
	background-image: url(../imagenes/pieproy.png);
	background-position: bottom;
	background-repeat: repeat-x;
}

.caja .titulon h2{
	height: 20px;
	padding: 0 0 5px 5px;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-size: 1.5em;
	color: #000000;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

.caja .piep {
	clear: both;
	height: 50px;
	text-align:right;
	margin-bottom: 10px;
	color:#000000;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 0;
}

.caja .piep a {
	color: #000000;
	font-weight: bold;
	text-decoration: underline;
}

.caja .piep a:hover {
	color:#FFFFFF;
}

.caja .texto {
	padding: 40px 20px 0 40px;
	border-top: 1px solid #FFFFFF;
	text-align:justify;
	background-color: #ffffff;
	background-image: url(../imagenes/texto.png);
	background-repeat: repeat-x;
	font-size:14px;
	line-height:normal;
}

.caja .textosubir {
	height: 300px;
	padding: 20px 20px 0 20px;
	border-top: 1px solid #FFFFFF;
	text-align:justify;
	background-color: #ffffff;
	background-image: url(../imagenes/texto.png);
	background-repeat: repeat-x;
	font-size:14px;
	line-height:normal;
	color:#000000;
}

.caja .img {
	float: left;
	margin: 20px 10px 10px 10px;
	width: 250px;
}

.caja .img_amp1 {
	float:right;
	margin: 40px 20px 5px 10px;
}

.caja .img_amp2 {
	float: left;
	margin: 40px 10px 5px 40px;
}

/* Noticias */

.noticias{
	clear:both;
	margin-top: -30px;
}

.noticias .titulon h3{
	height: 20px;
	padding: 0 0 5px 5px;
	margin-top: 20px;
	text-transform: uppercase;
	font-size: 1.5em;
	color: #FFFFFF;
	background-color:#000000
}

.noticias .texto {
	padding: 10px 5px 0px 5px;
	text-align:justify;	
	font-size:13px;
	color: #000000;
	line-height:normal;
}

.noticias .fecha {
	background: url('../imagenes/Calendar.gif') no-repeat;
	width:50px;
	height:50px; 
 	float:left; 
 	position:relative;
	text-align:center;
	font-family:Arial, Helvetica, sans-serif;
	text-transform: uppercase;	
	font-weight: bold;
	font-size:9px;
	padding: 20px 0 0 0;
	margin-top: 10px;
	margin-right: 10px;
}

.noticias .pien {
	clear: both;
	font-size:9px;
	text-align:right;
	color:#000000;
	padding: 0px 0px 5px 0;
}

.noticias .pien a {
	color: #000000;
	background-color: inherit;
	font-weight: bold;
	text-decoration: underline;
}

.noticias .pien a:hover {
	color:#FF0000;
	background-color: inherit;
}

 /* Pie de web */
 
#pie{
	width: 900px;
 	height:45px; 
 	background: url('../imagenes/pie.gif') no-repeat;
 	clear:both;
	color:#FFFFFF;
	font-weight: bold;
	text-align:center;
	padding: 10px 0 0 0;
}

 /* Esquinas redondas */
 
.esquinas_box {
   	background: #ffffff url(../imagenes/esquinas_grad.png) repeat-x top left;   
	border-top: 1px solid #FFFFFF;
}
.esquinas_top div {
   background: url(../imagenes/esquinas_tl.gif) no-repeat top left;
}
.esquinas_top {
   background: transparent url(../imagenes/esquinas_tr.gif) no-repeat top right;
}
.esquinas_top div, .esquinas_top {
   width: 100%;
   height: 30px;
   font-size: 1px;
}
.esquinas_content { margin: 0 30px; }


 /* Banners */

.banner {
	width:350px;
	float:left;
	height: auto;
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
 
.banner .imagenbanner {
	width: 170px;
	height: 50px;
	margin-top: 15px;
	margin-right: 5px;
	float:left;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}


/* Admin */

.cajaadmin {
	width: 500px;
	background-image: url(../imagenes/pieproy.png);
	background-position: bottom;
	background-repeat: repeat-x;
}

.cajaadmin_not {
	float:right;
	width: 350px;
	background-image: url(../imagenes/pieproy.png);
	background-position: bottom;
	background-repeat: repeat-x;
}

.cajaadmin .piep {
	clear: both;
	height: 50px;
	text-align:right;
	margin-bottom: 10px;
	color:#000000;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 0;
}

.cajaadmin .piep a {
	color: #000000;
	font-weight: bold;
	text-decoration: underline;
}

.cajaadmin .piep a:hover {
	color:#FFFFFF;
}

.cajaadmin .texto {
	padding: 40px 20px 0 40px;
	border-top: 1px solid #FFFFFF;
	text-align:justify;
	background-color: #ffffff;
	background-image: url(../imagenes/texto.png);
	background-repeat: repeat-x;
	font-size:14px;
	line-height:normal;
}

.cajaadmin .img {
	float: left;
	margin: 20px 10px 10px 10px;
	width: 250px;
}

.relacion {
	padding: 20px 10px 20px 10px;
	background-color: #ffffff;
	background-image: url(../imagenes/texto.png);
	background-repeat: repeat-x;
	font-size:14px;
	line-height:normal;
}

.relacion .t50 {
	width: 50%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.relacion .t35 {
	width: 35%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.relacion .t25 {
	width: 25%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.relacion .t20 {
	width: 20%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.relacion .t15 {
	width: 15%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.relacion .t10 {
	width: 10%;
	height: 25px;
	float:left;
	border:1px;
	border-bottom-color:#FF0000;
	border-bottom-style:double;
	padding: 10px 0 10px 0;
}

.input {
	padding: 10px;
	text-align:center;
	clear: both;
}

/* Tablas */

table,td,th{
	border:1px solid #000;
	border-collapse:collapse;
	margin:auto;
	padding:0;
}
td,th{
	padding:.2em .5em;
	vertical-align:top;
	font-weight:normal;
	color:#000000;
	text-align:center;
}
thead th{
	text-transform:uppercase;
	background:#666;
	color:#000000;
}
tbody td{
	background:#fff;
}
tbody th{
	background:#ff0000;
}

caption{
	text-align:left;
	font-size:140%;
	text-transform:uppercase;
	letter-spacing:-1px;
}
table th a:link{
	color:#030;
}
table th a:visited{
	color:#003;
}
table td a:link{
	color:#369;
}
table td a:visited{
	color:#000;
}
table a:hover{
	text-decoration:none;
}
table a:active{
	color:#000;
}
