/* 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: 450px;
	height: 450px;
	margin:0 auto;
	margin-right : 40px;
	padding-top : 0;
	position: relative;
}

#albumWakatu {
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/commercial_wakatu_02.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}

#albumAjax{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/commercial_ajax_04.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumHopeChurch{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/commercial_hopechurch_04.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumNNGirlsGym{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/educational_nngirlsgym_04.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumStillwater{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/commercial_stillwater_01.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumStVincentDayCare{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/educational_stvincentdaycare_01.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumChesterman{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/residential_chesterman_01.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumGlennie{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/residential_glennie_02.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumHarcourt{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/residential_harcourt_02.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumStenning{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/residential_stenning_02.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumTeece{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/residential_teece_01.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumSuburban{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/commercial_suburban_02.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 0;
}
#albumGarin{
	width: 450px;
	height: 450px;
	background: #808080 url(gallery/educational_garin_04.jpg) no-repeat 25px 45px;
	margin:0 auto;
	position: absolute;
	left : 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: 420px 0 0 0;
	list-style-type:none;
	position:relative;
	width: 450px;
}
/* remove the default image border */
.gallery img {
border:0;
}
/* make the list horizontal */
.gallery li {
	float: left;
}
/* 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; 
background:#fff; 
text-align:center; 
width:26px; 
height:26px; 
line-height:24px; 
border:1px solid #444;
margin:2px;
}
/* position the images using an absolute position and hide them from view */
.gallery li a img {
	position:absolute;
	top: -420px;
	left:0;
	visibility:hidden;
	border:0;
}
/* fix the top position for the landscape images */
.gallery li a img.landscape {
	top: -375px;
	border-left : 25px solid #808080;
	border-right : 25px solid #808080;
}
/* fix the left position for the portrait images */
.gallery li a img.portrait {
	left:0;
	border-left: 75px solid #808080;
	border-right : 75px solid #808080;
}
/* style the hover background color for the text boxes */
.gallery li a:hover {
background:#ddd;
}
/* style the active/focus colors for the text boxes (required for IE) */
.gallery li a:active, .gallery li a:focus {
	background: #bf0000;
	color:#fff;
}
/* make the images visible on active/focus */
.gallery li a:active img, .gallery li a:focus img {
visibility:visible;
}

