/*********************************************************
   CSS: Peregrinatio.es
	Fecha : 01 de Febrero de 2008
	Autor : Josechu Alvarez
 *********************************************************/

html,
body {
  height: 100%;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: url(img/fndpg.gif) repeat-y top center;
	font: 400 0.7em verdana, arial, sans-serif;
	line-height: 170%;
	color: #555;
}


/* Cabeceras */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px 0;
  padding: 0;
}

h1 {
  padding-bottom: 0.2em;
  font: 400 1.6em arial, sans-serif;
  color: #536C71;
  border-bottom: 12px solid #ddd;
}

h2 {
  font-size: 1.2em;
  color: #586B7A;
}

h3 {
  text-transform: uppercase;
  font-size: 0.9em;
  color: #5D6F73;
}

h4 {
  font-size: 0.85em;
}

h5 {
  font-size: 0.8em;
}

/* Necesario para horizontea pad en el contenedor coloreado */
.horzPad h1,
.horzPad h2,
.horzPad h3,
.horzPad h4,
.horzPad h5,
.horzPad p {
  padding-left: 5px;
  padding-right: 5px;
}

/* Enlaces */
a {
  text-decoration: none;
  color: #3B5D77;
}

a:hover {
  color: #668FA3;
}

a img {
  border: 0;
}

a img.border {  
  border: 1px solid #FC3307;
}

a:hover img.border {  
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 1px solid #668FA3 !important;
  border: 1px solid #FC3307;
}

/* Imagenes */
img.floatRight {
  margin: 5px 0 10px 10px;
}

img.floatLeft {
  margin: 5px 10px 10px 0;
}

/* Imagenes se situan a izquierda o derecha */
.imgizquierda	{ 
	float: left;
	margin-bottom: 6px; margin-top: 6px; margin-right: 20px;
}
.imgderecha		{	
	float: right;
	margin-bottom: 6px; margin-top: 6px; margin-left: 20px;
}
/* Caja con sombra para las imagenes */
.sombra {
	float: left;
	background-color: #A9A9A9;
	margin: 10px 10px 0 10px !important;
	margin: 10px 0 0 5px;
}

.sombra img {
   display: block;
   position: relative;
  	background-color: #fff;
  	border: 1px solid #a9a9a9;
  	margin: -6px 6px 6px -6px;
  	padding: 4px;
}

/* Listas */
ul li {
	list-style-image: url(img/submenu1.gif);
}


/* Blockquote */
blockquote {
  margin: 0;
  padding: 0 20px;
  background: #E7F1F3;
  border-top: 1px solid #AAD3DB;
  border-bottom: 1px solid #AAD3DB;
}

p  {
	font: verdana, arial, sans-serif;
	line-height: 170%;
	color: #555;
	text-indent: 10px;
	text-align: justify;
}

/**************************************************************
/* Elementos de la Cabecera 
**************************************************************/
.fecha, .usuarios {
	position: absolute;
	top: 1px;
	font: bolder 10px Arial, Verdana, Geneva, Helvetica, sans-serif;
	color: #F5F5DC;
	color: #cccccc;
	background-color: transparent;
}

.fecha {
	right: 10px;
}

.fudo{
	position: absolute;
	top: 190px;
	right: 10px;
	font: bold 9px Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: Black;
	background-color: transparent;
}

.usuarios{
	left: 10px;
}

.administrador{
	position: absolute;
	top: 1px;
	left: 350px;
	font: bold 10px Arial, Verdana, Geneva, Helvetica, sans-serif;
	color: #F5F5DC;
}
.administrador a:link, .administrador a:visited {
	font: bold 10px Arial, Verdana, Geneva, Helvetica, sans-serif;
		color: #F5F5DC;
	text-decoration: none;
}

.administrador a:hover {
	color: #F6D200;
	text-decoration: none;
}

/**************************************************************
   Elementos del Formulario
 **************************************************************/

form {
  padding: 0;
  margin: 0;
}

legend {
	/* color: #fff;
	background: #4682B4;
	border: 1px solid #00008B; */
	padding: 2px 6px;
}

fieldset {
	/* border: 1px solid #4682B4; */
	width: 95%;
	padding: 4px;
	margin: auto;
}

label {
  	float: left;
  	width: 20%;
  	text-align: right;
  	vertical-align: top;
	/* width: 4em; */
	margin-right: 0.5em;
	display: block; 
	font: 10px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #386C98;
}

p.ayuda {
	display: block;
	color: #708090;
	font-variant: small-caps;
	font-size: 9px;
	font-weight: bolder;
}

input, textarea, select {
  padding: 1px;
  font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
  color: Navy;
  background: #EEE;
  border: 1px solid #CCC;
}

input:focus, input:hover, textarea:focus, textarea:hover, select:focus, select:hover {
  color: #000;
  background: #E7F1F3;
  border: 1px solid #888;
}

input.noBorder, input:focus.noBorder, input:hover.noBorder {
  padding: 0;
  border: 0;
}

input.button {
  padding: 2px 5px;
  font: 400 0.9em verdana, serif;
  cursor: pointer;
  color: #fff;
  background: #FC3307;
  border-width: 1px;
  border-style: solid;
  border-color: #FF7800 #691300 #691300 #FF7800;
}

input.radio {
  background: none;
  border: 0px;
}

/**************************************************************
   Plantillas de diseņo de la pagina
   Contenedor de toda la pagina excepto para el pie
 **************************************************************/
#contenedorPrincipal {
  position: relative;
  height: auto !important;
  height: 100%;
  min-height: 100%;
}

/**************************************************************
   Topbar with newsletter form and theme change buttons
 **************************************************************/

#topbar {
  float: left;
  width: 100%;
  padding: 0.6em 0;

  font-size: 0.9em;
  text-transform: uppercase;

  color: #CFD9DB;
  background: #FFF url(../images/bg/topbar.gif) repeat-x bottom left;
}



/**************************************************************
   Menu de cabecera y logo
 **************************************************************/
#cabecera {
	clear: both;
	position: relative;
	height: 5em;
	margin: 0 auto;
	background: #48525B url(img/header.gif) repeat-x bottom left;
	border-bottom: 2px solid #48525B;
	background-color: #48525B;
}

#cabecera img {
  position: absolute;
  top: 5%;
  left: 10px;
}

#cabecera ul {
  margin: 3.5em 1em 0 0 !important;
  margin: 3.5em 0.5em 0 0;
  padding: 0;
  float: right;
}

#cabecera ul li {
  display: inline;
  list-style: none;
}

#cabecera ul li a {
  float: left;
  padding: 0 1em;

  font: 400 1.1em arial, sans-serif;
  letter-spacing: 0.1em;
  line-height: 0.8em !important;
  line-height: 1em;

  color: #cccccc;
  border-right: 1px solid #4D5760;
}

#cabecera ul li a.last { /* Establece el margen derecha de toda la lista */
  padding-right: 0;
  border-right: 0;
}

#cabecera ul li a:hover {
  color: #3B5D77;
}

/**************************************************************
   Imagen de cabecera o Pelicula Flash
 **************************************************************/
#cabeceraImg {
	margin: 0 auto;
	height: 150px;
	background: url(img/cabecera.jpg) no-repeat top left;
}

/**************************************************************
   Bloque de Menu Horizontal bajo la imagen de cabecera
 **************************************************************/
#menu {
  margin: 0 auto;
}

#menu ul {
	width: 100%;
	float: left;
	margin: 0;
	padding: 0;
	text-align: left;
	background: #3B5D77 url(img/menu.gif) repeat-x top left;
}

#menu ul li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}

#menu ul li a {
  float: left;
  width: 25%;
  height: 4.5em;

  font: 400 1.2em arial, sans-serif;
  letter-spacing: 0.1em;

  color: #fff;

  border-top: 7px solid #41637D;
  border-bottom: 15px solid #FFF;
}

#menu ul li a span {
  display: block;
  padding: 2px 7px;
}


#menu ul li a span.desc {
  font-size: 0.8em;
  color: #8C8D94;
}


#menu ul li a:hover,
#menu ul li a.here {
  background: #4A5C6A;
  border-top: 7px solid #455660;
}

#menu ul li a:hover span.desc,
#menu ul li a.here span.desc {
  color: #FFF;
}

/**************************************************************
   Contenedor de la Pagina
 **************************************************************/

#page {
  clear: both;
  float: left;
  width: 100%;
  margin-bottom: 6em;
  text-align: left;
}

#columnas {
  margin: 0 auto;
}

/* Tamaņo de las columnas */
.width {
  width: 776px;
}

.widthPad {
  width: 746px;
}

.width25 {
  width: 24%;
}

.width50 {
  width: 48%;
}

.width73 {
  width: 73%;
}

.width75 {
  width: 75%;
}

.width100 {
  width: 100%;
}


/**************************************************************
   Pie
 **************************************************************/
#pie {
	clear: both;
	float: left;
	width: 100%;
	height: 5em;
	margin-top: 10px;
	color: #F0E68C;
}

#pie #bg {
  position: relative;
  height: 5em;
  margin: 0 auto;
  background: #49525B url(img/header.gif) repeat-x bottom left;
}

#pie #bg a {
	align: center;
	padding: 0 1em;
	font: 400 1em arial, sans-serif;
	letter-spacing: 0.1em;
	line-height: 0.8em !important;
	line-height: 1em;
	color: #F0E68C;
}

#pie #bg a:hover {
  color: #6C0;
}

.fudo {
	text-align: right;
	margin-right: 20px;
}

/**************************************************************
   Thumbnail Lists
 **************************************************************/

ul.thumbs,
ul.thumbs li {
  margin: 0;
  padding: 0;
}

ul.thumbs li {
  margin: 0 0 15px 0 !important;
  margin: 0;
  padding: 0px;
  list-style: none;
}

a.thumb img {
  
  border: 5px solid #ccc;
}

a:hover.thumb img {
  background: #8EB4C6;
  border: 5px solid #668FA3;
}

a:hover.thumb {
  background: none;
}

a.thumb span {
  display: block;
  margin-top: -5px !important;
  margin-top: -2px;
}


/**************************************************************
   Estilos del submenu vertical
 **************************************************************/

ul.submenu1 {
  margin: 0 0 20px 0;
  padding: 0;
}

ul.submenu1 li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: url(foo.gif); /* because IE is balls */
}

ul.submenu1 li a {
  display: block;
  height: auto !important;

  /* Start hide from IE Mac \*/
  height: 1%;
  /* End hide from IE Mac */

  padding: 1px 5px 1px 20px;
}

ul.submenu1 li a {
  background: url(img/submenu1.gif) no-repeat 5px 50%;
}

ul.submenu1 a:hover {
  color: #426F85;
  background: #B3C6C4 url(img/submenu1.gif) no-repeat 5px 50%;
}

/**************************************************************
   Display Generico
 **************************************************************/
.block {
  display: block;
}

.clear {
  clear: both;
}

.marginRight {
  margin-right: 15px;
}

.paddingLeft {
  padding-left: 5px;
}

.paddingRight {
  padding-right: 5px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignTop {
  vertical-align: top;
}

.alignMiddle {
  vertical-align: middle;
}

.alignBottom {
  vertical-align: bottom;
}

.lightBlueBg {
  background-color: #EAF2F5;
}

.dark {
  color: #353E47;
}

.resalta {
	color: #353E47;
	font-weight: bold;
}

.firma {
	color: Olive;
	font-size: 0.8em;
	text-align: right;
}

/* Formato para las Tablas de presentacion de datos */
table.tbtabla {
	border: 1px solid #4682B4;
	border-right: 2px solid #4682B4;
	border-bottom: 2px solid #4682B4;
	width: 100%;
	margin: 10px auto auto;
}
table.tbtabla caption {
	font: bold 10px "Trebuchet MS", Tahoma, Arial, sans-serif;
	color: #5F9EA0;
	text-align: center;
	margin: 10px auto 5px auto;
}

table.tbtabla th {
	font: bold 11px Verdana, Tahoma, Arial, sans-serif;
	color: White;
	background: #4682B4 url(img/menu.gif);
	text-align: left;
	padding: 3px; /*border: 1px solid Navy;*/
}

table.tbtabla tbody {
	font: bold 10px;
	color: #fff;
	background: #5F9EA0;
	text-align: left;
	padding: 3px;
	border: 1px solid #5F9EA0;
}

table.tbtabla tbody tr.cabecera {
	font: bold 10px;
	color: #DC4503;
	background: #FEFFF1;
	text-align: left;
	padding: 3px;
	border-top: 1px solid #eee;
}

table.tbtabla tbody td {
	font: 11px "Trebuchet MS", Tahoma, Arial, sans-serif;
	text-align: left;
	padding: 2px;
	color: Black;
}

table.tbtabla tbody td.par {
	background: #F5F5F5;
}
table.tbtabla tbody td.impar {
	background: #E6E6FA;
}

td.baja {
	background: #F08080;
}

table.tbtabla td.noactivo {
	background: #FFE4C4;
}

table.tbtabla a:link, table.tbficha a:visited {
	color: Navy;
}

table.tbtabla a:hover {
	color: #A52A2A;
	text-decoration: underline;
}

/* Cajas especificas */
/* Caja para presentar posibles errores en la toma de datos de los formularios */
#boxerrores {
	width: 90%;
	padding: 5px;
	margin: 50px auto 10px auto;
	background-color: #F0E68C;
	border: 1px solid Maroon;
	border-right: 2px solid Maroon;
	border-bottom: 2px solid Maroon;
	font: bold 10px Geneva, Arial, Helvetica, sans-serif;
	color: Maroon;
}

#boxerrores H2{
	font: bold 14px Geneva, Arial, Helvetica, sans-serif;
	color: Maroon;
	text-align: center;
}


#boxerrores p{
	font: bold 11px Geneva, Arial, Helvetica, sans-serif;
	color: Maroon;
	text-align: center;
}

.notivermas{
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #A4D9FA;
	text-align: right;
	padding-right: 5px;
}

/* Textos particulares */
.minirojo{
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: Maroon;
}
.miniazul{
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #4169E1;
}
.mininegro{
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: Black;
}

/* Panel de Control Listas */
ul#mantlist{
	margin-left: 0;
	padding-left: 0;
	white-space: nowrap;
	border: 1px solid Black;
	padding: 2px;
	margin-top: 5px;
	padding-bottom: 5px;
	background-image: url(img/header.gif);
}

#mantlist li{
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #FFFACD;
	text-decoration: none;
	display: inline;
	list-style-type: none;
}

#mantlist a {
	padding: 5px 5px;
}

#mantlist a:link, #mantlist a:visited {
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: #F0E68C;
	text-decoration: none;
}

#mantlist a:hover {
	text-decoration: none;
	font: 9px Verdana, Arial, Geneva, Helvetica, sans-serif;
	color: Orange;
}

#mantlist .separador {
	color: #F0E68C;
	font-weight: 100;
	height: 10px;
}

/* Listas para presentacion de los boletines */
#boletin {
	list-style-type: none;
}
#boletin li {
	float: left;
	margin-right: 5px;
	margin-bottom: 10px;
	font: bold 10px Arial, Helvetica, sans-serif;
	color: Maroon;
	text-align: center;
}
#boletin img {
	display: block;
	border: 1px solid #333300;
}

