/*generales*/

body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #555;
}

body {
background-image: url(images/top.jpg);
background-repeat: repeat-x;
margin: 0px;
}

a {
text-decoration: none;
}
	
img {
border: 0;
}	

table {
padding-left: 20px
}

td {
border: 1px solid #e2e2e2;
padding: 5px;
}

a:link {
color: #333333;
}

a:visited {
color: #666666;
}

a:hover {
color: #CC0000;
}

a:active {
color: #000000;
}

h1 {
font-size: x-large;
display: none;
}

h2 {
font-size: large;
background-image: url(images/seccion.jpg);
background-repeat: no-repeat;
background-position: left center;
padding-left: 17px;
border-top: 1px solid #e2e2e2;
border-bottom: 1px solid #e2e2e2;
display: block;
}

h3 {
font-size: medium;
background-image: url(images/seccion.jpg);
background-repeat: no-repeat;
background-position: left center;
padding-left: 15px;
display: inline;
margin-left: 5px;
}

ul{
padding-left: 10px;
margin-left: 10px;
list-style-type: none;
}

#cuerpo ul li {
padding-left: 10px;
background: url(images/flecha.jpg) no-repeat;
background-position: left center;
}

#noticias ul li {
margin-left: -20px;
}

/*contenedores*/

#container{
width: 800px;
margin: 0 auto;
}

#cabecera {
height: 90px;
}

#logo {
float: left;
margin-top: 12px;
margin-left: -15px;
}

#fecha{
height: 20px;
font-size: smaller;
padding: 5px 0 0 0;
font-weight: bold;
}

#menu {
float: right;
margin-top: 15px;
}

#menu li  {
float: left;
padding: 7px;
display: block;
}

#menu li a {
color: #CCCCCC;
}

#menu li a:hover {
color: #FFFFFF;
}

#submenu li {
float: left;
margin-right: 10px;
list-style: none;
}

#miga {
padding-top: 4px;
}

#miga ul {
margin: 0;
padding-left: 0px;
display: inline;
	
}

#miga ul li {
display: inline;
}

#cuerpo {
width: 775px;
float: left;
clear: both;
margin-top: 10px;
}

#mainmenu {
float: right;
border-left: 1px solid #e2e2e2;
}

#grupo, #empresas, #participadas, #productos, #servicios {
border-top: 1px solid #e2e2e2;
border-bottom: 1px solid #e2e2e2;
display: block;
width: 160px;
}

#content {
float: left;
width: 600px;
}

#middle {
margin-top: 5px;
}

#spry{
margin-top: 1px;
width: 200px;
float: left;
}

#containernoticias {
float:right;
margin-right: 15px;
margin-top: 2px;
width: 380px;
}

#destacado {
width: 580px;
margin-top: 5px;
padding: 5px;
border: 1px solid #e2e2e2;
text-align: center;
float: left;
}

#banners {
width: 580px;
margin-top: 5px;
padding: 5px;
border: 1px solid #e2e2e2;
text-align: center;
float: left;
}

#seccion{
background-image: url(images/barra.jpg);
padding: 2px;
padding-left: 3px;
width: 590px;
border-left: 2px solid #CC0000;
font-weight: bold;
}

#caja {
margin-top: 5px;
width: 570px;
padding: 10px;
border: 1px solid #e2e2e2;
background-image:url(images/degradado.jpg);
background-position: top;
background-repeat: repeat-x;
}

#sub {

width: 550px;
padding: 2px;
border: 1px solid #e2e2e2;
border-left: 2px solid #CC0000;
background-image:url(images/degradado.jpg);
}

#caja p {
width: 530px;
padding-left: 20px;
}


#pie {
width: 592px;
text-align: center;
font-size: x-small;
font-weight: bold;
float: left;
margin-top: 5px;
}

#anno {
padding-bottom: 5px;
text-align: center;
border-bottom: 1px solid #e2e2e2;
}

.image {
border: 1px solid #e2e2e2;
padding: 5px;
margin: 7px 0px -5px 0px;
}

.titular {
color: #660000;
font-size: 16px;
font-weight: bold;
}


/* galeria*/

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../galeria/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(galeria/prev.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(galeria/next.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}