body {

	background-color: #65709a;
	font-family: Georgia, "Times New Roman", Times;
	font-size: 10pt;
	height: 100%;
}

a {
	position: relative;
	color: #12176d;
}

a:visited {
	color: #12176d;
}

p {
	margin-bottom: 1em;
}

th {
	font-weight: bold;
}

td {
	padding-top:3px;
	padding-bottom:3px;
}

.noGal{
	background: #D3D6E2 url(img/body_bottom_wide.jpg) no-repeat left bottom !important;
}

#wrapper {
	width: 937px;
	margin: 0 auto;
	text-align: left;
        background:#D3D6E2 url(img/body_bottom.jpg) no-repeat left bottom;
	padding: 0px;
	border-bottom: 1px solid #454d64;
	border-left: 1px solid #454d64;
    border-right: 1px solid #454d64;
	height:100%;
}



#header {
	position:relative;
	height:132px;
	width: 937px;
	background-image: url(img/header.jpg);
}

#logo {
	position: absolute;
	top: 0px;
	left: -41px;
	z-index:100;
}

#menu {
	position: absolute;
	left: 0px;
	bottom: 0px;
	width:937px;
	height: 25px;
	background-image: url(img/menu_background.jpg);
	
}

#header ul li {
	float: left;
}

#header ul {
	height:25px;
}

#header ul a {
	display: block;
	float: left;
	padding: 0 12px;
	padding-top: 0px;
	padding-bottom:0px;
	line-height: 25px;
	height: 25px;
	text-decoration:none;
	background: url( img/menu/divider.jpg ) repeat-y left top;
	scaleMode: "noScale";
}

#header ul .first a {
	background: none;
}

.clear {
	clear: both;
}

#content {
	background: url( img/body_back_top.jpg ) no-repeat left top;
	height:100%;
	min-height:100%;

}

#gallery {
	float: right;
	width: 132px;
	height: 100%;
	background: url( img/gallery_background.png) no-repeat right top;
	text-align: center;
	margin: 0px;
}

#gallery .content {
 background: url( img/gallery_back_top.jpg) no-repeat left top;
 padding-left: 16px;
 padding-right: 10px;
 padding-top: 7px;
 }
 
 #gallery a {
 height: 100px;
 }
 
 #main_content {
  	padding-left: 33px;
 	padding-top: 25px;
 	padding-right: 165px;
 	background: url( img/sliver.png) repeat-y right top;
}

.content_nogal {
	background: none !important;
	padding-right: 33px !important;
}
 
 #main_content p {
 line-height: 1.2em;
 }
 
 #featured {
 	float: left;
 	padding-right: 20px;
 	text-align: center;
 	width:340px;
 	height: 410px;
 }
 
 #slideshow {
 	width: 340px;
 	height: 410px;
 	}
 	
#footer {
	text-align: center;
}

#box {
	background-color: #D3D6E2;
	padding: 5px;
	margin-bottom: 1em;
	border: 1px solid black;
}

#box h1 {
	font-size: 14pt;
	text-align: center;
	background-color: #65709a;
	color: white;
	margin: -5px;
	padding: .1em;
	margin-bottom: .5em;
}

#header_admin {
	text-align: right;
	width: 804px;
	float:right;
	padding-top:3px;
	padding-bottom:4px;
	border-bottom: 1px #65709a solid;
}

#test-list {
	list-style: none;
}

#test-list li {
	display: block;
	height:100px;
	background-color: #D3D6E2;
	margin-bottom: 3px;
	border: 1px solid black;
	cursor: move;
}

#test-list li .handle {
	cursor: move;
}

#test-list h1 {
	font-weight: bold;
	font-size: 14pt;
}

#commission h1 {
	font-size: 18pt;
	font-weight: bold;
}

#commission h2 {
	font-size:14pt;
	font-weight: bold;
	margin-top:30px;
	margin-bottom: 30px;
}

#commission h3 {
	font-size: 12pt;
	font-weight: bold;
}

/* Portfolio styles */
#portfolio_thumbs {
	float: right;
	margin-top:9px;
	padding-top: 3px;
	padding-bottom: 3px;
	text-align: center;
	background: url( img/portfolio_thumb_back.png ) no-repeat;
	height: 668px;
	width: 201px;
}

#portfolio_thumbs ul li {
	padding-bottom: 3px;
}

#portfolio_main {
	width:640px;
}

#portfolio_controls {
	margin-left: 162px;
	margin-top: 15px;
	margin-bottom: 5px;
	width: 315px;
	height:24px;
	background: url( img/portfolio_controls_background.png ) no-repeat;
	position: static;
}

#portfolio_controls ul li {
	float: left;
	display: block;
	padding-left: 4px;
	padding-right: 4px;
	padding-top: 0px;
	padding-bottom:0px;
	line-height: 25px;
	height: 25px;
	text-decoration:none;
	background: url( img/portfolio_divider.png ) repeat-y left top;
	scaleMode: "noScale";
}

#portfolio_controls img {
	padding-top: 7px;
}

.first {
	background: none !important;
}

#portfolio_controls ul {
	height:25px;

}

#portfolio_controls ul a {
	position: relative;
	top: -4px;
}

#portfolio_background_main {
	position: relative;
	text-align: center;
	width: 629px;
	height: 603px;
	margin-left: 20px;
	background: url( img/portfolio_background_main.png ) no-repeat;
        zoom:1;
}

#portfolio_caption {
	width: 629px;
	height: 30px;
	margin-left: 20px;
	background: url( img/portfolio_caption_background.png ) no-repeat;
	text-align: center;
	padding-top:5px;
	font-size: 14pt;
}

#book_main {
	width: 900px;
	height: 447px;
	background: url( img/book_background.png ) no-repeat;
	margin-left: -14px;
	margin-top: -10px;
	padding-top:8px;
	display: block;
}

div.slideshow-container {
	position: relative;
	clear: both;
	height: 429px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 9px;
	left: 0px;
}
div.slideshow a.advance-link {
	display: block;
	width: 900px;
	height: 429px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 429px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
	text-decoration: none;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}

div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
}

div.slideshow-container2 {
    display: inline-block;
	position: relative;
	clear: both;
	height: 495px; /* This should be set to be at least the height of the largest image in the slideshow */
	zoom:1;
}
div.slideshow2 {
display: inline-block;
zoom:1;

}

div.slideshow2 span.image-wrapper {
    display: inline-block;
	position: absolute;
	top: -2px;
	left: 0px;
	zoom: 1;
}

div.slideshow2 a.advance-link {
	display: inline-block;
	width: 629px;
	height: 603px; /* This should be set to be at least the height of the largest image in the slideshow */
	line-height: 603px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
	text-decoration: none;
}

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

div.slideshow2 img {
	vertical-align: middle;
    zoom:1;
}

.prev_click:hover {
	background: url( img/book_prev_corner.png ) top left no-repeat;
}

.next_click:hover {
	background: url( img/book_next_corner.png ) top right no-repeat;
}

.selected img {
	border: 2px #f4cf00 solid;
	margin-top: -2px;
	margin-bottom: -2px;
}

.image-caption {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width:629px;
}