/* style the outer cntaining div to fit the landscape, portrait and buttons */
#album {
width:500px; 
height:360px;
background: url(../gallery/photos/thecottage.jpg) 95px 45px no-repeat ;
border:2px solid #006600;
margin:0 auto 20px auto;
}

/* positioning of headers*/
#gallerytitles{float:right; margin: 8px 264px 0 0;}

/* remove the padding margin and bullets from the list. Add a top margin and width to fit the images and a position relative */
.gallery {
padding:0; 
margin:48px 0 0 5px; 
list-style-type:none; 
position:relative; 
width:50px;
}
/* remove the default image border */
.gallery img {
border:0;
}

/* style the link text to be central in a surrounding box */
.gallery li a, .gallery li a:visited {
font-size:11px;
float:left; 
text-decoration:none; 
color:#000; 
opacity:.60;
text-align:center; 
width:46px; 
height:46px; 
line-height:24px; 
border:1px solid #006600;
margin:2px;
}
/* position the images using an absolute position and hide them from view */
.gallery li a img {
position:absolute; 
top:-350px; 
left:88px; 
visibility:hidden; 
border: solid 2px #006600;

}
/* fix the top position for the landscape images */
.gallery li a img.landscape {
top:-4px;
}
/* fix the left position for the portrait images */
.gallery li a img.portrait {
left:0;
border-left:40px solid #eee;
border-right:40px solid #eee;
}
/* style the hover background color for the text boxes */
.gallery li a:hover {
opacity:1;
}
/* style the active/focus colors for the text boxes (required for IE) */
.gallery li a:active, .gallery li a:focus {
background:#444; 
color:#fff;
opacity:1;
}
/* make the images visible on active/focus */
.gallery li a:active img, .gallery li a:focus img {
visibility:visible;

}

