/*div#container {
	overflow: hidden;
	
}*/
div.gallery-content {
	display: none;
	clear: both;
	background: #002;
	width: 70%;
	padding-bottom: .25em;
	margin: 0 auto;
	overflow:hidden;
}

div.gallery-content a, div.navigation a {
	text-decoration: none;
	}
	
div.gallery-content a:hover, div.gallery-content a:active {
	text-decoration: underline;

}

div.navigation a.pageLink {
	height: 77px;
	line-height: 77px;
}

div.controls {
	margin: 5px;
	height: 23px;
	font-size: small;
}
div.controls a {
	padding: 5px;
	color: #CCC;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
	}

div.slideshow-container,
div.loader,
div.slideshow a.advance-link {
	/*width: 510px;*/
	width: 620px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

/*#home div.slideshow-container {
	width: 1200px;
}
*/

div.loader,
div.slideshow a.advance-link,
div.caption-container {
	
	/*height: 502px;*/
	height: 430px; /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

div.slideshow-container {
	position: relative;
	clear: both;
	margin: 0 auto;
}

div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('images/loader.gif');
	background-repeat: no-repeat;
	background-position: center;
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 30px;
	left: 0;
}
div.slideshow a.advance-link {
	display: block;
	line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow with padding */
	text-align: center;
}

div.slideshow a.advance-link:hover,
div.slideshow a.advance-link:active,
div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow a.advance-link:focus {
	outline: none;
}

div.slideshow img {
	border-style: solid;
	border-width: 1px;
	max-width: 100%;
}

div.caption {
	padding: 0 12px;
}

div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 12px;
	font-size: x-small;

}
div.navigation-container {
	float: left;
	position: relative;
	left: 50%;
	}
div.navigation {
	float: left;
	position: relative;
	left: -50%;
	
}
div.navigation a.pageLink {
	display: block;
	position: relative;
	float: left;
	margin: 2px;
	width: 16px;
	background-position:center center;
	background-repeat:no-repeat;
	
}
div.navigation a.pageLink:focus {
	outline: none;
}

ul.thumbs {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 2px;
	list-style: none;
}

ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
	position: relative;
	left: -50%;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	position: relative;
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid red;
}
div.pagination a:hover {
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}

div.gallery-gutter {
	clear: both;
	padding-bottom: 20px;
}

div.caption-container {
	color: #eee;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.download {
	margin-top: 8px;
}
div.photo-index {
	color: #888;
}
div.navigation a.prev {
	background-image: url(prevPageArrowWhite.gif);
}
div.navigation a.next {
	background-image: url(nextPageArrowWhite.gif);
}
div.loader {
	background-image: url(loaderWhite.gif);
}
div.slideshow img {
	border-color: #333;
}
ul.thumbs li.selected a.thumb {
	background: #fff;
}
div.pagination a:hover {
	background-color: #111;
}
div.pagination span.current {
	background-color: #fff;
	border-color: #fff;
	color: #000;
}

div.album-category {
position: relative;	
font-size: x-small;
padding: 10px;
text-align:center;

}

div.album-category ul{
}

div.album-category li {
	float: left;
	padding: 10px 15px;
	list-style: none;
	text-align: center;
}

.first {
	margin-top: -8px;
	text-align: center;
	}
	
.first_text {
position: relative;
background: #cccccc;
}

#project_gallery ul {
	padding: 2px;
	width: 100%;
	margin: 0 auto;
	text-align:center;
	}
	
#project_gallery li {
	vertical-align:middle;
	display: inline-block;
	display:-moz-inline-box;
	*display:inline;
	zoom:1;
	margin: 10px 10px 7px 10px;
	padding: 0;
	text-align:center;
	font-size:80%;
	color:#cccccc;
	}
	
#project_gallery a { 
	display: -moz-inline-box; 
	color: #cccccc;
	}
	
#project_gallery a:hover {
	color: #cc0000;
	border:none;
	}
	
#project_gallery img { 
width: 200px;
height: 150px;
	padding-right: 8px;
	padding-bottom: 8px; 
	margin: 4px 4px -2px 4px;
	background: url(../images/projects/shadowtrans.png) repeat bottom right;
	border:none;
	}	
	
#project_gallery span li {
	margin-top: -3px;
	}	
	
