/* default link style - needed to make the :active work correctly in IE */
a, a:visited, a:hover, a:active {
color:#000000;
}
/* style the outer cntaining div to fit the landscape, portrait and buttons */
#album {
	width:600px;
	height:550px;
	margin:0px 0px 0px -15px;
}
/* remove the padding margin and bullets from the list. Add a top margin and width to fit the images and a position relative */
.gallery1 {
	padding:0;
	margin:-30px 0px 0px 126px;
	list-style-type:none;
	position:relative;
	width:250px;
}
/* remove the default image border */
.gallery1 img {
	border:0;
}
/* make the list horizontal */
.gallery1 li {
	float:none;
}
/* style the link text to be central in a surrounding box */
.gallery1 li a, .gallery1 li a:visited {
	font-size:65%;
	float:none;
	text-decoration:none;
	color:#000;
	background:#fff;
	text-align:center;
	width:26px;
	height:26px;
	line-height:12px;
	/*border:1px solid #444;*/
	margin:2px;
}
/* position the images using an absolute position and hide them from view */
.gallery1 li a img {
	position:absolute;
	top:-471px;
	left:-127px;
	border:0;
	background:#fff;
	visibility: hidden;
}
/* fix the top position for the landscape images */
.gallery1 li a img.landscape {
	top:-483px;
}
/* fix the left position for the portrait images */
.gallery1 li a img.portrait {
	left:-193px;
	border-left:60px solid #eee;
	border-right:60px solid #eee;
}
/* style the hover background color for the text boxes */
.gallery1 li a:hover {
	background:#ddd;
}
/* style the active/focus colors for the text boxes (required for IE) */
.gallery1 li a:active, .gallery li a:focus {
	background:#444; 
	color:#fff;
}
/* make the images visible on active/focus */
.gallery1 li a:active img, .gallery1 li a:focus img {
	visibility:visible;
}
