body {
	margin:0;
	padding:0 0 50px 0;
	text-align:center;
	background:#efefef url(../images/tpl_bg_tile.gif) repeat-x 0 0;
}

p, div, td, th {
	color:#666;
	font-size:12px;
	font-family:'Lucida Sans Unicode','Lucida Grande',Tahoma,sans-serif;
}
h1,h2,h3,h4,h5,h6 {
	color:#333;
	margin:0;
	padding:0;
}
h1 {
	font-size:20px;
	line-height:20px;
	margin-bottom:8px;
	text-transform:uppercase;
}
h2 {
	font-size:16px;
	line-height:16px;
	margin-bottom:6px;
	text-transform:uppercase;
}
h3 {
	font-size:14px;
	line-height:14px;
	margin-bottom:4px;
	text-transform:none;
}
h1 span, h2 span {
	color:#646464;
	font-weight:normal;
}

a:link, a:visited {
	color:#18bee4;
	text-decoration:underline;
}
a:hover, a:active {
	text-decoration:none;
}
a.logout_link {
	color:#CC0000;
}
#wrapper {
	width:916px;
	margin:0 auto;
	text-align:left;
}

#header {
	height:100px;
	font-size:11px;
	position:relative;
	text-transform:uppercase;
}	
	#logospace {
		position:absolute;
		left:0;
		top:20px;
	}
	#topnav {
		position:absolute;
		right:0;
		top:30px;
	}
		#topnav ul li a {
			color:#fff;
			text-decoration:none;
		}
	#header ul {
		margin:0;
		padding:0;
		list-style-type:none;
	}
		#header ul li {
			display:inline;	
			padding:0 6px;
		}
		#header ul li.last {
			padding-right:0;
			background-image:none;
		}
		#header ul li a:hover {
			text-decoration:underline;
		}
		
		
	#mainnav {
		position:absolute;
		right:0;
		top:66px;
	}
		#mainnav ul li {
			padding:0 14px 0 10px;
			background:transparent url(../images/tpl_nav_divider.gif) no-repeat right center;
		}
		#mainnav ul li a {
			color:#787878;
			text-decoration:none;
		}

#content-w {
	background:transparent url(../images/tpl_bg_repeat.gif) repeat-y 0 0;
}
	#content-t {
		background:transparent url(../images/tpl_bg_top.gif) no-repeat 0 0;
	}
		#content-b {
			padding:22px;
			background:transparent url(../images/tpl_bg_bottom.gif) no-repeat 0 bottom;
		}
			#main {
				width:100%;
				min-height:300px;
			}
			
			
/** Input Tables **/
table.input {
	border-collapse:collapse;
}
table.input th {
	color:#585858;
	font-weight:bold;
	padding-right:8px;
}	
table.input table th {
	color:#666;
	font-weight:normal;
}	

table.input th, table.input td {
	padding-top: 6px;
	padding-bottom:6px;
	border-bottom:1px solid #efefef;
}
table.input table th, table.input table td {
	padding-top:0;
	padding-bottom:6px;
	border-bottom:none;
}	

/** Search Tips **/
.search_tips, .search_tips p {
	color:#999;
	font-size:12px;
}
	.search_tips blockquote {
		color:#666;
		margin:8px 0 18px 0;
		padding:6px 14px;
		background-color:#efefef;
		border:1px dotted #ccc;
	}

/** Gallery Listing Page **/
ul.thumbs {
	width:auto;
}
	ul.thumbs td {
		font-size:10px;
	}
	ul.thumbs li {
		width:162px;
		text-align:center;
	}
	ul.thumbs li:hover {
		/*background-color:#efefef;*/
		/*border:1px solid #18bee4;*/
	}
		ul.thumbs li a {
			color:#999;
			text-decoration:none;
		}
		ul.thumbs li a:hover {
			text-decoration:underline;
		}
		ul.thumbs li table {
			margin:6px auto;
		}
	
/** Details Page **/

#sg-pagination {
	width:872px;
	padding:2px;
	margin-top:8px;
	margin-bottom:20px;
	border-top:1px solid #e0e0e0;
	border-bottom:1px solid #e0e0e0;
}
.pager-left {
	float:left;
	line-height:24px;
}
.pager-left span {
	font-weight:bold;
}
.pager-right {
	float:right;
}
.sg-viewing {
	float:left;
	line-height:24px;
	padding-right:14px;
}
#sg-mainwrapper {
	width:872px;
}
#sg-mainleft {
	float:left;
	width:650px;
}
#sg-mainright {
	float:right;
	width:200px;
}
#sg-mainright ul {
	margin:0;
	padding:0;
	list-style-type:none;
}

#sg-actions, #sg-caption {
	margin-bottom:18px;
}	

#sg-copyright {
	padding-top:10px;
	font-size:11px;
}

/** Overrides **/
#psMainCustom {
	border:none;
	padding:0;
}
#wrapper h2.divider {
	/*border-bottom:1px solid #e0e0e0;*/
}


/* Clearfixins */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}


/*** HACK PHOTOSHELTER PSCROP TOOLS LACKING CSS DECLARATIONS ***/
/** PS Crop Nees the .canvas image to align left, but does not explicity say so **/
.PSCropTool .canvas {
	text-align:left !important;
}
/** Color Conflict with body text color **/
.PSCropTool .psctToolOpt {
	color:#fff !important;
}
