* {
    margin:0;
    padding:0;
}

div {
	
/*border:1px solid yellow;*/

}
table {
	/*
	border:1px solid blue;
	*/
}
td { vertical-align:top; }
body {
    font-size: 12px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    /* background-color: #d3c2a4; /* version 1 */
	background-color: #FFFFD1; /* version 2*/
	
}

#pagina {
    width: 960px;
    margin: auto;
}

h2 {
	background: url('../image/fondo_boton.gif');
	color:#fff;
	font-size:25px;
	padding:5px;
}


/* ******************************* CABECERA ************************************ */
#cabecera {
    margin-top:10px;
	margin-left:8px;
}
#cabecera table {
    width: 939px;
}

#cabecera td.espacio {
    width:255px;
}

img {
    border: 0;
}

td.indice {
    background: url(../image/logo_izq.jpg) no-repeat;
}
div.enlacehome {
    width:270px;
    height:131px;
    cursor:pointer;
}
td.cita {
    color:#800080;
    font-weight:bold;
    padding-right:50px;
    padding-top:10px;
    background: url(../image/logo_der.jpg) no-repeat;
}

/*
#fotoSuperior {
    position:relative;
    top:-65px;
    left:0px;

}
*/
#menuSuperior {
	margin-top:5px;
	margin-bottom:5px;
}

#menuSuperior div {
	display:inline;
	
}

#menuSuperior a {
	margin:0 5px;

	/*
	background: url('../image/fondo_boton_superior.png') repeat-x;
	font-weight:bold;
	color:white;
	padding:5px 5px 5px 5px;
	
	margin-top:5px;
	font-size:16px;
		*/	
}
td.menuSuperior {
    height:35px;
}
a {
	text-decoration:none;
}
.tituloSeccion {
	background: url('../image/fondo_boton26.gif');
	color:white;
	font-size:15px;
	font-weight:bold;
	padding:5px 10px 5px 10px;
	text-align:center;
}

#buscador {	 text-align:center; margin-top:5px; }
#buscador input { border:1px solid #999; color:#000; background-color:#f6f6f6; margin-top:2px;}


/* ******************************* CONTENIDO ************************************ */


#principal {
    background: url(../image/fondo_lateral2.jpg) no-repeat;
    height: 558px;
    text-align: left;
}

#principal table.box {
    margin-left: 65px;
}


#lateral {
    margin: 0;
    text-align: left;
 	width: 150px;
}

#lateral ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#lateral li {
    text-align:right;
    padding-bottom:5px;
    padding-right:5px;
}

#lateral a {
    font-weight: bold;
    font-size:12px;
    text-decoration: none;
    color: #800000;
}

#contenido {
    background-color: #fff;
    margin: 0 5px 0 5px;
	border-left:1px solid #800000;
	border-right:1px solid #800000;
    border-bottom:2px solid #800000;
}

/* Titular del menu */
#contenido h1 {
    margin: 0;
	padding:0 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    color: yellow;
    background-color: #800080;
    margin-bottom: 5px;
}

#contenido img {
    margin:0px 10px 5px 5px;
}

#agenda {
    background-color: white;
    /*width: 180px;*/
    height: 100%;
    margin: 0;
	margin-top:5px;
}

#lateral img {
    border: 0;
}
#contenido p {
    margin-left: 5px;
}
#contenido ul {
    margin:5px 5px 5px 20px;
}
#contenido h3 {
    margin-left:5px;
}
#paginador {
    width:200px;
    text-align:center;
    margin:5px auto 5px auto;
}
#paginador a {
    text-decoration:none;
    border:1px solid #800080;
    padding:0 4px 0 4px;
    font-size:1.5em;
    margin-right:2px;
}
#paginador a.activo {
   background-color:#800080;
   color:#ccc;
   font-weight:bold;
}

#paginador a:hover {
   background-color:#800080;
   color:#fff;
}
.elemento h3 {

}
.elemento {
  margin-left:5px;
  margin-right:2px;
  margin-bottom:5px;
  
}

.elemento img {
    text-align: left;
    margin: 3px;
}

.elemento .enlace {
    text-align: right;
    margin-right: 5px;
}

.elemento a {
    text-decoration: none;
}

#pie {
    text-align: center;
    width: 550px;
    background-color: #fff;
    border-top: 5px solid #800080;
}


#videos {
	margin-top:5px;
}
#prensa {
	margin-top:5px;
}
#calendario {	background-color:#99C6DB;	border:1px solid #1C466E; }

#calendario img { text-decoration:none;  border:0px;   margin-left:10px; }

#calendario table {
    margin: 5px auto;
    text-align: center;
    font-family: serif;
    border: 1px solid black;
    width: 150px;
	background-color:#fff;
	margin-top:2px;
}

#calendario table th {
    background-color: #FFD9B5;
    background: url(../image/fondo_calendar.jpg) repeat-x;
    border-bottom: 2px solid black;
    height: 24px;
    font-size: 0.9em;
}

#calendario table td.otroMes {background-color: #FEE4C4; color: #868483; font-weight: bold;}
#calendario table td.hoy { background: yellow; }
#calendario table td.hoyEvento { background-color: #800080; border:1px solid yellow; }
#calendario table td.rango {  background-color: #B0C4DE;   font-weight: bold; }
#calendario table td.evento { background-color: #800080;  font-weight: bold; color: #fff; }
#calendario table td.domingo { color: #ff0000; }
#calendario table tr.dia td { font-weight: bold;  width: 30px; }
#calendario table td.domingo {font-weight: bold; color: #FE4949; }


/* TABLON */
#tablon {
	/*width: 180px;*/
    height: 100%;
    margin: 0;
}
#tablon h2 {
    margin-bottom:5px;
}
#tablon img { width:100%; padding:0;}

#anuncio {
    margin:5% 5px 0 5px;
}
#anuncio h1 {
	margin:0;
	padding:0;
	padding: 5px 10px 5px 10px;
    font-size: 16px;
    font-weight: bold;
    color: yellow;
    background-color: #800080;
    margin-bottom: 5px;
}
#anuncio img { border:0; text-align:center; }


/* GALERIA */
#previoGaleria { height: 230px; margin:auto 0 auto 0;}

#galeria {}
#galeria img { width:146px; height:170px;}
#galeria table td{vertical-align:bottom;text-align:center; }
#galeria .pie { background-color:#800080; color:#fff; padding:0 2px 0 2px;text-align:left;}

/* PREVIO */
#imagenes img {display:none;}

