/*------------------------------------------------------*/
/*            FORMATO GLOBAL DE LAS PAGINAS             */
/*------------------------------------------------------*/
body {
	margin: 0px;
	font-family: "Lucida Sans Unicode", Verdana, Arial, Helvetica;
	font-size: 12px;
	background-color: #5E2423;
	background-image: url(img/fondo_general.gif);
	background-repeat: repeat-y;
	background-position: center top;
	color: #666666;
}
body a:link, body a:visited {
	color: #CC3300;
}
body a:hover {
	color: #FF9900;
	text-decoration: none;
}
form { /*PARA QUITAR BORDES EXTRA QUE INTERNET EXPLORER LE PONE ARRIBA Y ABAJO EN LOS FORMULARIOS*/
	margin-top: 0px;
	margin-bottom: 0px;
}
form input, textarea, select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	padding: 3px;
	border: 1px solid #F4F4F4;
	background-color: #F4F4F4;
	color: #666666;
	width: 350px;
	background-image: url(img/fondo_forms.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
input#enviar, #borrar {
	height: 22px;
	width: 60px;
	background-image: url(img/imagen_botones.gif);
	background-position: 0px 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
}
input#enviar:hover, #borrar:hover {
	background-image: url(img/imagen_botones.gif);
	background-position: 0px -22px;
	color: #666666;
	background-repeat: no-repeat;
}
input#buscar {
	height: 21px;
	width: 21px;
	background-image: url(img/btn_buscar.gif);
	background-position: 0px 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	cursor: pointer;
	cursor: hand;
	background-repeat: no-repeat;
	background-color: #FAF9F6;
}
input#buscar:hover {
	background-image: url(img/btn_buscar.gif);
	background-position: 0px -21px;
	background-repeat: no-repeat;
}
input#q, input#strcaptcha {
	width: 100px;
}
select#orden {
	width: 150px;
	padding: 0px;
}
.fondo_top { /*BORDE BISELADO DE ARRIBA*/
	width: 790px;
	margin-right: auto;
	margin-left: auto;
	height: 0px;
}
.cabecera { /*CABECERA, VA  JUSTO DEBAJO DEL BORDE BISELADO DE ARRIBA*/
	width: 760px;
	height: 120px;
	background-image: url(img_cab/fondo.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	overflow:hidden;
	position:relative;
}
/*HACK IE*/
html>/**/body .cabecera {
 display:table;
 position:static;
}
.cabecera .celda {
 position:absolute;
 top:50%;
}
/*HACK IE*/
html>/**/body .cabecera .celda {
 display:table-cell;
 position:static;
 vertical-align:middle;
}
.t {
	position:relative;
	top:-50%;
	padding-right: 10px;
	padding-left: 10px;
	width: 740px;
}
.cabecera_logo {
	width: 300px;
	margin-right: auto;
	margin-left: auto;
	margin-top: auto;
	margin-bottom: auto;
}
.intermedio { /*DONDE VA EL FORMULARIO DE BUSQUEDA (DEBAJO DE LA CABECERA)*/
	margin-top: 5px;
	margin-bottom: 5px;
}
.contenedor { /*CONTENEDOR PRINCIPAL DE LA PAGINA*/
	width: 760px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}
.menu_botones { /* CONTENEDOR DE MENU DE BOTONES DE LINKS DE LA IZQUIEDA*/
	width: 170px;
	float: left;
	margin-bottom: 20px;
}
.titulo_pagina { /*TITULO DE LA PAGINA (LETRAS GRANDES)*/
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;
	font-size: 22px;
	font-weight: bold;
	color: #8C8DA6;
	margin-top: 5px;
}
.enviapag {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
.enviapag a:link, .enviapag a:visited {
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}
.enviapag a:hover {
	text-decoration: underline;
}

.principal { /*VA DENTRO DE CONTENEDOR, SOSTIENE EL CONTENIDO DINAMICO DE LA PAGINA*/
	width: 580px;
	margin-right: 5px;
}
.txtfecha {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #666666;
	font-style: italic;
}

.pie { /*PIE DE PAGINA, DODNE SE MUESTRA LA INFO DE LA PAGINA*/
	clear: both;
	background-color: #F4F4F4;
	padding: 2px;
	text-align: center;
	margin-top: 20px;
	color: #8C8DA6;
}
.fondo_bottom { /*BORDE BISELADO DE ABAJO*/
	width: 790px;
	margin-right: auto;
	margin-left: auto;
	height: 10px;
}
.pagresultados { /*BARRA QUE MUESTRA NUM. DE PAGINAS EN BUSQUEDA, LIBRO VISITAS Y NOTICIAS*/
	background-image: url(img/fondo_pagresultados.gif);
	background-repeat: no-repeat;
	color: #FFFFFF;
	height: 23px;
	padding-top: 2px;
	padding-right: 5px;
	padding-left: 5px;
}
.pagresultados a:link, .pagresultados a:visited {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	font-weight: bold;
	color: #F90;
	text-decoration: none;
}
.pagresultados a:hover {
	color: #FFFFFF;
	font-weight: bold;
}
/*FIN FORMATO GLOBAL*/

/*------------------------------------------------------*/
/*FORMATO PARA FONDO DE LINKS Y SUB-LINKS MENU PRINCIPAL*/
/*------------------------------------------------------*/
.bgnivel0 { /*fondo para links raiz*/
	padding-bottom: 1px;
}
.bgnivel10 { /*fondo para sub-links nivel 1*/
	padding-left: 16px;
	background-image: url(img/nivel10.gif);
	background-repeat: no-repeat;
	background-position: 10px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel20 { /*fondo para sub-links nivel 2*/
	padding-left: 22px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 16px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel30 { /*fondo para sub-links nivel 3*/
	padding-left: 28px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 22px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel40 { /*fondo para sub-links nivel 4*/
	padding-left: 34px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 28px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel50 { /*fondo para sub-links nivel 5*/
	padding-left: 40px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 34px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel60 { /*fondo para sub-links nivel 6*/
	padding-left: 46px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 40px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel70 { /*fondo para sub-links nivel 7*/
	padding-left: 52px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 46px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel80 { /*fondo para sub-links nivel 8*/
	padding-left: 58px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 16px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel90 { /*fondo para sub-links nivel 9*/
	padding-left: 64px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 16px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
.bgnivel100 { /*fondo para sub-links nivel 10*/
	padding-left: 70px;
	background-image: url(img/nivel20ymas.gif);
	background-repeat: no-repeat;
	background-position: 16px 50%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #EEEADF;
}
/*FIN*/

/*-------------------------------------------------------------*/
/*FORMATO PARA LINKS Y SUB-LINKS MENU PRINCIPAL (HASTA NIVEL 2)*/
/*-------------------------------------------------------------*/
.nivel0:link, .nivel0:visited { /*formato para links raiz*/
	font-family: "Trebuchet MS", Verdana, Arial;
	font-size: 12px;
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
	display: block;
	background-color: #780d0d;
	padding-right: 2px;
	padding-left: 2px;
	padding-top: 1px;
	padding-bottom: 1px;
}
.nivel0:hover {
	color: #FFFFFF;
	background-color: #b60909;
}
.nivel10:link, .nivel10:visited {  /*formato para sub-links nivel 1*/
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #8C8DA6;
	font-weight: bold;
	text-decoration: none;
	display: block;
	padding-top: 3px;
	padding-bottom: 3px;
}
.nivel10:hover {
	color: #ff9900;
	background-color: #F0F0F0;
}
.nivel20:link, .nivel20:visited {  /*formato para sub-links nivel 2*/
	font-family: Verdana, Arial, Helvetica;
	font-size: 10px;
	color: #8C8DA6;
	text-decoration: none;
	display: block;
	padding-top: 3px;
	padding-bottom: 3px;
}
.nivel20:hover {
	color: #ff9900;
	background-color: #ECE2D7;
}
/*FIN*/

/*--------------------------------------------------------------*/
/*FORMATO PARA SUB-LINKS DEL MENU PRINCIPAL, NIVELES DEL 3 AL 10*/
/*--------------------------------------------------------------*/
.nivel30:link, .nivel40:link, .nivel50:link, .nivel60:link, .nivel70:link, .nivel80:link, .nivel90:link, .nivel100:link {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #A49277;
	font-weight: normal;
	text-decoration: none;
	display: block;
	padding-top: 3px;
	padding-bottom: 3px;
}
.nivel30:visited, .nivel40:visited, .nivel50:visited, .nivel60:visited, .nivel70:visited, .nivel80:visited, .nivel90:visited, .nivel100:visited {
	font-family: Verdana, Arial, Helvetica;
	font-size: 10px;
	color: #A49277;
	font-weight: normal;
	text-decoration: none;
	display: block;
}
.nivel30:hover, .nivel40:hover, .nivel50:hover, .nivel60:hover, .nivel70:hover, .nivel80:hover, .nivel90:hover, .nivel100:hover {
	font-family: Verdana, Arial, Helvetica;
	font-size: 10px;
	color: #ff9900;
	font-weight: normal;
	text-decoration: none;
	background-color: #ECE2D7;
}
/*FIN*/

/*------------------------------------------------------*/
/*FORMATO PARA PESTAŅAS (TABS) DE LINKS, UBICADOS ARRIBA*/
/*------------------------------------------------------*/
#tabs img {
	border: none;
	vertical-align: middle;

}
    #tabs {
	float:left;
	line-height:normal;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #E0DCDC;
	width: 570px;
	margin-top: -5px;
      }
    #tabs ul {
          margin:0;
          padding:10px 10px 0px 5px;
          list-style:none;
      }
    #tabs li {
	display:inline;
	margin:0;
	padding:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: bold;
	color: #666666;
      }
    #tabs a {
      float:left;
      background:url("img/tableft4.gif") no-repeat left top;
      margin:0;
      padding:0 0 0 7px;
      text-decoration:none;
      }
    #tabs a span {
      float:left;
      display:block;
      background:url("img/tabright4.gif") no-repeat right top;
      padding:5px 9px 4px 0px;
      color:#666666;
      }
    #tabs a span {float:none;}
    #tabs a:hover span {
	color:#ff9900;
      }
    #tabs a:hover {
      background-position:0% -42px;
      }
    #tabs a:hover span {
      background-position:100% -42px;
      }

      #tabs #current a {
              background-position:0% -42px;
      }
      #tabs #current a span {
              background-position:100% -42px;
      }

/*FIN*/

/*-------------------------------------*/
/*FORMATO PARA PANEL SCROLL DE NOTICIAS*/
/*-------------------------------------*/
#marqueecontainer{
	position: relative;
	overflow: hidden;
	visibility: visible;
	width: 165px;
	height: 100px;
	z-index: 2;
}

#vmarquee {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
	position: absolute;
	width: 95%;
	left: 5px;
	top: 2px;
}
#vmarquee a:link, #vmarquee a:visited {
	font-size: 10px;
	font-weight: bold;
	text-decoration: none;
}
#vmarquee a:hover {
	text-decoration: underline;
}
.flecha_noticias {
	float: right;
	background-image: url(img/colaps_noticias.gif);
	background-repeat: no-repeat;
	background-position: center center;
	cursor: hand;    /*para ie*/
	cursor: pointer; /*para firefox*/
	width: 16px;
	height: 14px;
	margin-top: 3px;
}
/*FIN*/

/*-------------------------*/
/*FORMATO PARA noticias.php*/
/*-------------------------*/
.noticia_cont {
	margin-top: 10px;
	margin-bottom: 20px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 20px;
	background-image: url(img/fondo_noticia_cont.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
.noticia_titulo {
	font-size: 16px;
	font-weight: bold;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;
	color: #FF9900;
}
/*FIN*/

/*-----------------------*/
/*FORMATO PARA buscar.php*/
/*-----------------------*/
.busq_titulo a:link, .busq_titulo a:visited, .busq_titulo a:hover{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #00C;
	text-decoration: underline;
}
.busq_titulo a:active{
	color: #FF0000;
	text-decoration: underline;
}
.busq_cuerpo {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.busq_link {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: green;
	margin-bottom: 20px;
}
/*FIN*/

/*---------------------*/
/*FORMATO PARA MENSAJES*/
/*---------------------*/
.ok {
	background-color: #FFEE91;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #999999;
	background-image: url(img/ok.gif);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 35px;
}
.info {
	background-color: #FFEE91;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #999999;
	background-image: url(img/info.gif);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 35px;
}
.error {
	background-color: #FFEE91;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #999999;
	background-image: url(img/error.gif);
	background-repeat: no-repeat;
	background-position: 10px 5px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 35px;
}
/*FIN*/
.cab_librovisitas {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;
	font-size: 12px;
	padding: 2px;
	background-image: url(img/fondo_cabecera_libro_visitas.gif);
	background-position: bottom;
	background-repeat: no-repeat;
	color: #336600;
}
.cuerpo_librovisitas {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;
	font-size: 12px;
	background-color: #F4F4F4;
	padding: 4px;
}
.resp_admin { 
/*estilo para el div de la respuesta de admin a alguna firma del libro de visitas*/
	background-color: #FFCC99;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}


/*-----------------*/
/*FORMATO PARA HOME*/
/*-----------------*/
.home_cont_dest {
	border: 1px solid #333333;
}
.home_cabec_dest {
	font-weight: bold;
	font-size: 16px;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica;
	color: #666666;
}
.home_destacados {
	margin-bottom: 20px;
	padding: 5px;
	background-image: url(img/fondo_destacados.gif);
	background-repeat: no-repeat;
	background-position: right 0px;
}
.home_foto_dest {
	padding: 2px;
	border: 1px solid #CCCCCC;
	margin-right: 10px;
	float: left;
}
.home_clearboth {
	clear: both;
}
/*FIN*/

/*otros*/
@media screen
{
.flotante {
position: fixed;
z-index: 1;
}
* html .flotante {
position: absolute;
z-index: 1;
}
}
