@charset "UTF-8";
/* CSS Document */

/* http://www.cssplay.co.uk/menu/photo_album.html#nogo */


/* default link style - needed to make the :active work correctly in IE */
a, a:visited, a:hover, a:active {
color:#000;
}
/* style the outer cntaining div to fit the landscape, portrait and buttons */
#album {
	width:320px;
	height:410px;
	border:1px solid #ffffff;
	/*background-color: #eee;*/
	background-image: url(../img/grafico/fondo_galeria.jpg);
	background-repeat: no-repeat;
	background-position: 0 50px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
}
/* remove the padding margin and bullets from the list. Add a top margin and width to fit the images and a position relative */
ul.gallery {
	list-style-type:none;
	position:relative;
	width:320px;
	margin-top: 350px;
	margin-right: 0;
	/*	margin-bottom: 0;*/
	margin-left: 0px;
	padding-top: 2px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0px;
}
/* remove the default image border */
ul.gallery img {
	border:0;
}
/* make the list horizontal */
ul.gallery li {
	float:left;
}
/* style the link text to be central in a surrounding box */
ul.gallery li a, .gallery li a:visited {
	font-size:11px;
	float:left;
	text-decoration:none;
	color:#333333;
	text-align:center;
	width:26px;
	height:26px;
	line-height:26px;
	margin-top: 1px;
	margin-right: 2px;
	margin-bottom: 3px;
	*margin-bottom: 5px;
	margin-left: 1px;
	background-color: #DDDDDD;
}
/* position the images using an absolute position and hide them from view */
ul.gallery li a img {
	position:absolute; 
	top:-380px;
	left:0;
	visibility:hidden;
	border:0;
}
/* fix the top position for the landscape images */
ul.gallery li a img.horizontal {
	top:-300px;
	height: 240px;
	width: 320px;
}
/* fix the left position for the portrait images */
ul.gallery li a img.vertical {
	left:0;
	top:-350px;
	border-left:40px solid #fff;
	border-right:40px solid #fff;
	height: 320px;
	width: 240px;
}

/* style the hover background color for the text boxes */
ul.gallery li a:hover {
	background:#DDDDDD none repeat scroll 0 0;
}

/* style the active/focus colors for the text boxes (required for IE) */
ul.gallery li a:active, .gallery li a:focus {
	background:#444; 
	color:#fff;
}
/* make the images visible on active/focus */
ul.gallery li a:active img, .gallery li a:focus img {
	visibility:visible;
}

ul.gallery li a span.cia {
	color:#333333;
	font-size:1.1em;
	margin:0;
	bottom:12px;
	*bottom:65px;
	left: 40px;
	height: 24px;
	display:block;
	position:absolute;	
	visibility: hidden;
}

ul.gallery li a:active span.cia, ul.gallery li a:focus span.cia {
	visibility: visible;
}
ul.gallery li a span.fotog {
	color:#9D8E40;
	display:block;
	font-size:0.9em;
	bottom:-2px;
	*bottom:51px;
	position:absolute;
	left: 39px;
	height: 24px;
	visibility: hidden;
}

ul.gallery li a:active span.fotog, ul.gallery li a:focus span.fotog {
	visibility: visible;
}
