/*
	Castle Studios Gallery 2 Theme
	Copyright 2006-2007 Castle Studios
*/


/* -- Main layout definitions ------------- */

* {
	margin: 0;
	padding: 0;
	border: none;
}

body,html {
	height: 100%;
}

html, body.gallery, form, fieldset, table, th, td, select {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
}

body.gallery {
	background: #dfdedf;
	color: #b9c3cb;
	font: normal 62.5%/1.35 Arial, Helvetica, sans-serif; /* reset 1em to 10px */
}
a {
	color: #b9c3cb;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-size: 1.9em;
	font-weight: bold;
}
h2, div.breadcrumb, div.backlink {
	font-size: 1.1em;
	font-weight: bold;
}
h3 {
	font-size: 1.5em;
	font-weight: bold;
}
h4 {
	font-size: 1.3em;
	font-weight: bold;
}
img {
	display: block;
	border: none;
}
/*p {
	font-size: 1.1em;
}*/
/********************************************************************** =outer */

div.outer {
	background: #414b56 url("/_img/repeat.gif");
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	min-height: 100%; /* IEwin does not support min-height */
	height: 100%;
}

html>body div.outer {
	height: auto;
}

/********************************************************************** =inner */

div.inner {
	padding-top: 45px;
}

/******************************************************************** =castlecontent */

div.inner div.castlecontent {
	background: #414b56;
	height: 580px;
}

html>body div.inner div.castlecontent {
	height: auto;
	min-height: 580px;
}

/*********************************************************************** =topleft */
div.topleft {
	background: url('/_img/trans_topleft.gif') top left no-repeat;
}
			
/*********************************************************************** =topright */
div.topright {
	background: url('/_img/trans_topright.gif') top right no-repeat;
}
			
/*********************************************************************** =bottomright */
div.bottomright {
	background: url('/_img/trans_bottomright.gif') bottom right no-repeat;
}
			
/*********************************************************************** =bottomleft */
div.bottomleft {
	background: url('/_img/trans_bottomleft.gif') bottom left no-repeat;
}

div.topleft, div.topright, div.bottomright, div.bottomleft {
	position: relative;	
}

/*********************************************************************** div.gallery-albums */
div.gallery-albums, div.gallery-items {
	margin: 10px auto 10px auto;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;	
}

	div.gallery-albums div.gallery-album, 
	div.gallery-items div.gallery-thumb {
		width: 200px;
		margin: 10px 0 10px 0;
		padding-left: 20px;
		padding-right: 20px;
		display: block;
		float: left;
		overflow: hidden;
	}
	
		div.gallery-albums div.gallery-thumb, 
		div.gallery-items div.gallery-thumb {
			width: 200px;
		}
	
		div.gallery-albums div.gallery-album *, 
		div.gallery-items div.gallery-thumb * {
			overflow: hidden;
		}
		
		div.gallery-albums div.gallery-album div.meta, 
		div.gallery-albums div.gallery-album h2,
		div.gallery-items div.gallery-thumb div.meta, 
		div.gallery-items div.gallery-thumb h2 {
			text-align: center;
		}

/*********************************************************************** div.content */
div.content {
	padding: 5px 10px 10px 10px;
	width: 780px;
}

/*********************************************************************** div.lhsControls */
div.lhsControls {
	float: left;	
}
	div.lhsControls div {
		display: inline;	
	}

/*********************************************************************** div.rhsControls */
div.rhsControls {
	float: right;	
}

/*********************************************************************** div.clear */
div.clear {
	clear: both;
}

/*********************************************************************** gallery thumbnails? */
.gallery-thumb a:hover img {
	border-width: 2px;
	border-color: #38c;
	margin: 0;
	-moz-border-radius: 5px;
}

/*********************************************************************** div.block-core-Navigator */

div.block-core-Navigator {
	margin: 0.5em 0;
}

	div.block-core-Navigator .current,
	div.block-core-Navigator .first-and-previous,
	div.block-core-Navigator .next-and-last {
		display: inline;
	}
	
	div.block-core-Navigator .current {
		margin: 0 0.3em;
	}

/* -- Gallery Photo (detail page) --------- */

div.gallery-photo, div.gbItemImage {
	margin: 10px auto;
	overflow: hidden;
}

	div.gallery-photo * {
		overflow: hidden;
	}

#prevArrow img, #nextArrow img {
	border-style: none;
}

/* -- ExifInfo ---------------------------- */

.block-exif-ExifInfo div {
	font-size: 0.8em;
	color: #999;
	margin: 1em 0;
}

/* -- System- / Item-Links ---------------- */

.gbSystemLinks, .block-core-ItemLinks {
	clear: both;
	margin: 1.5em 0;
	padding: 0.5em;
}

.block-core-SystemLink { font-weight: bold; }

.gbSystemLinks .block-core-SystemLink a,
.block-core-ItemLinks a {
	display: block;
	padding: 0.3em;
}

/* -- Admin ------------------------------- */

.gallery-admin {
	font-size: 0.9em;
}

.gallery-admin h2 {
	font-size: 1.2em;
	margin-top: 2em;
	overflow: hidden;
}

.gallery-admin h4 {
	margin-bottom: 0.5em;
}

.giSuccess, .giWarning, .giError  {
	font-weight: bold;
}

.giSuccess { color: #5c0; }
.giWarning { color: #c50; }
.giError { color: #a44; }

.gallery-admin .gbBlock {
	margin: 1.5em 0 2em 0;
}

#gsSidebar {
	width: 13em;
	overflow: hidden;
	padding-right: 1em;
}

#gsSidebarCol {
	width: 1%;
}

#gsSidebar ul {
	padding: 0.2em 0 1.5em 0;
	margin: 0;
	font-weight: bold;
}

#gsSidebar ul ul {
	font-weight: normal;
}
#gsSidebar li.gbAdminLink {
	background: none;
	list-style: none;
	padding: 0.2em 0;
	margin: 0;
}

.gbTabBar {
	padding: 0.2em 0;
	border-bottom: 1px solid #ccc;
}

.gbTabBar a {
	color: #111;
	border: 1px solid #ccc;
	padding: 0.2em 1em;
	background: #eee;
	margin: 0 0.2em;
}

.gbTabBar .giSelected {
	color: black;
	margin: 0 0.2em;
	padding: 0.2em 1em;
	border: 1px solid #ccc;
	border-bottom: 1px solid #fff;
	font-size: 1.2em;
	font-weight: bold;
	background: #fff;
}

.giUpdated, .giNew {
	font: normal 9px Arial;
	text-transform: uppercase;
	color: #222;
	background: #ffea88;
	padding: 0 3px;
	margin-left: 3px;
}

#giFormUsername, .giFormUsername {
	background: url('../castlestudios/images/userinfo.png') no-repeat 0 1px;
	padding-left: 17px;
}

#giFormGroupname {
	background: url('../castlestudios/images/groupinfo.png') no-repeat 0 1px;
	padding-left: 17px;
}

#giFormPassword {
	background: url('../castlestudios/images/key7-16-bw.gif') no-repeat 0 1px;
	padding-left: 17px;
}

table.gbDataTable {
	margin: 5px 0 5px 0;
	width: 100%;
	border-collapse: collapse;
}

.gbDataTable, .gbDataTable td, .gbDataTable th {
	border: 1px solid white;
}

.gbDataTable td, .gbDataTable th {
	padding: 2px;
}

table.gbDataTable td.gbEven {
	font-weight: bold;
}

/********************************************************************** =toolbar */

div#toolbar {
	text-align: center;
}

/********************************************************************** =breadcrumb */

div.breadcrumb {
	float: left;
}

/********************************************************************** =backlink */

div.backlink {
	float: right;
	height: 20px; 
	line-height: 20px;
}

div.backlink a#textlink {
	height: 20px;
	vertical-align: top;
}

div.backlink a#textlink span {
	height: 20px;
	display: inline;
}

div.backlink a#imglink img#backlink {
	display: inline; 
	height: 20px; 
	width: 134px;
}

/******************************************************************** =footer */

div.inner div.footer {
	top: 58px;
	padding-left: 130px;
	padding-top: 3px;
}

/******************************************************************** =checkout-photo */

div.checkout-photo {
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}

/******************************************************************** =td.checkoutItems */

td.checkoutItems {
	text-align: center;
}
