@charset "UTF-8";
/* CSS Document */

ul.portfolioNav {
	padding: 100px 30px 10px 30px;
	margin: 0;
	list-style: none;
}

ul.portfolioNav li {
	padding: 10px 0;
	margin: 0;
	overflow: auto;
}

ul.portfolioNav li a {
	display: block;
	float: right;
	padding-left: 15px;
	background: url(../images/portfolio_nav_left_bg.gif) 0 -49px no-repeat;
	text-decoration: none;
}

ul.portfolioNav li a:focus {
	outline: none;
}

ul.portfolioNav li a span {
	display: block;
	padding-right: 15px;
	background: url(../images/portfolio_nav_right_bg.gif) right -49px no-repeat;
	color: #A84D10;
	font-size: 14px;
	line-height: 26px;
	font-weight: bold;
	text-transform: uppercase;
}

ul.portfolioNav li a.current {
	background: url(../images/portfolio_nav_left_bg.gif) 0 0 no-repeat;
}

ul.portfolioNav li a.current span {
	background: url(../images/portfolio_nav_right_bg.gif) right 0 no-repeat;
	color: #D2976F;
}

ul.portfolioNav li a:hover {
	background: url(../images/portfolio_nav_left_bg.gif) 0 -98px no-repeat;
	text-decoration: none;
}

ul.portfolioNav li a:hover span {
	background: url(../images/portfolio_nav_right_bg.gif) right -98px no-repeat;
	color: #5D87A1;
}

#gallery {
	width: 524px;
	margin: 0 auto;
	min-height: 400px;
	height: auto !important;
	height: 400px;
	overflow: auto;
}

#gallery .thumbnail {
	float: left;
	padding: 2px;
	background-position: 3px 4px;
	background-repeat: no-repeat;
}

#gallery .thumbnail a {
	display: block;
	width: 127px;
	height: 128px;
	background: url(../images/photos/0_thumb_border.gif) 0 0 no-repeat;
}

#gallery .thumbnail a:hover {
	background: url(../images/photos/0_thumb_border.gif) 0 -128px no-repeat;
}

#pages {
	overflow: auto;
	width: 520px;
	margin: 0 auto;
	padding: 4px 2px 15px 0;
}

#pages .prevPage {
	float: left;
	padding: 1px;
}

#pages .nextPage {
	float: right;
	padding: 1px;
}

#pages div {
	padding: 0 90px;
	text-align: center;
}

#pages div a {
	color: #A3BACD;
	font-size: 12px;
	font-weight: bold;
}

#pages div a.selected {
	color: #5D87A1;
}

#pages div a:hover {
	color: #A84D10;
}

.button {
	text-align: center;
	padding-bottom: 20px;
}

#PortfolioPopup {

}

#PortfolioPopup p {
	padding: 0;
}

#PortfolioPopup .popupContent {
	background: #FFFFFF;
	border: 1px solid #A3BACD;
	padding: 2px;
	min-height: 350px;
	height: auto !important;
	height: 350px;
	width: 515px;
}

#PortfolioPopup .popupContent #close {
	position: absolute;
	top: -12px;
	left: -11px;
}

.hasWhiteSpace {
	width: 490px;
	margin-left: auto;
	margin-right: auto;
}

.xofn {
	width: 490px;
	margin: 0 auto;
	padding: 4px 0;
	color: #5D87A1;
	font-size: 10px;
	text-align: right;
}

.links {
	background: #a2bccd;
	height: 30px;
}

.links #prevlink {
	float: left;
}

.links #nextlink {
	float: right;
}