/*	The main container for the Gallery content */
div#gallery
{
	padding: 16px 0 17px 0;
	color: black;
	background-color: white;
	border-color: black;
	border-width: 2px;
	border-style: none solid none solid;
}

div#gsNavBar
{
	position: relative;
	height: 25px;
	color: white;
	background-color: black;
	background-image: url(/img/banner-glass.png);
	background-repeat: repeat-x;
	border-color: rgb(64, 64, 64);
	border-width: 1px;
	border-style: solid none solid none;
	font-size: 0.9em;
	line-height: 1.7em;
	text-transform: lowercase;
	padding: 0 8px 0 8px;
}

div#gsNavBar div.gbSystemLinks
{
	position: absolute;
	width: 240px;
	right: 8px;
	top: 0;
	text-align: right;
	font-size: 90%;
}

div#gsNavBar a:link, div#gsNavBar a:focus
{
	color: white;
	background-color: inherit;
}

div#gsNavBar a:visited
{
	color: rgb(196,196,196);
	background-color: inherit;
}

div#gsNavBar div.gbSystemLinks a:link, div#gsNavBar div.gbSystemLinks a:focus
{
	color: red;
	background-color: inherit;
}

div.db-infoPanel
{
	position: relative;
	display: block;
	padding: 8px 196px 16px 8px;
	font-size: 0.9em;
}

div#db-giItemInfo
{
	position: absolute;
	width: 180px;
	right: 8px;
	top: 8px;
}

div.IE div.db-infoPanel { height: 4em; }
div.gbBlock { margin-bottom: 8px; }
div.IE div.gbBlock { font-size: 0.9em; }

/*	Add an arrow before the nav bar links */
#gsNavBar div.gbBreadCrumb a, #gsNavBar div.gbBreadCrumb span
{
	padding-left: 14px;
	background-image: url(images/icon_path_separator.gif);
	background-repeat: no-repeat;
	background-position: left center;
}

/*	Turn off the arrow before the first link */
#gsNavBar div.gbBreadCrumb a.BreadCrumb-1
{
	padding-left: 0;
	background-image: none;
	white-space: nowrap;
}

#gsNavBar div.gbBreadCrumb span.BreadCrumb-1
{
	padding-left: 0;
	background-image: none;
}

.giInfo
{
	font-size: 0.9em;
	color: rgb(112,112,112);
	background-color: inherit;
}

div.IE div#db-giItemInfo { overflow: hidden; }
span.summary { display: block; }

table#gsThumbMatrix
{
	display: table;
	border-spacing: 6px;
}

table#gsThumbMatrix td
{
	padding: 6px;
	font-size: 0.8em;
	text-align: center;
}

table#gsThumbMatrix td p { margin-bottom: 0.3em; }
td div.block-core-ItemInfo { margin-top: 0.5em; }
div#gallery td.giAlbumCell select, div#gallery td.giItemCell select { margin-top: 0.8em; }
#gallery select { font-size: 0.8em; }

/* So imageframed thumbs can be centered */
td.giAlbumCell table, td.giItemCell table { margin: auto; }

div#gsImageView
{
	text-align: center;
	overflow: hidden;
}

div#gsPages
{
	padding: 4px 8px 4px 8px;
	font-size: 0.8em;
}

div#gsSidebar
{
	position: relative;
	padding-left: 8px;
	margin-bottom: 16px;
	font-size: 0.9em;
}

form#search_SearchBlock div { display: inline; }
form#search_SearchBlock { margin-bottom: 8px; }

a.gbAdminLink
{
	line-height: 1.4em;
	padding-top: 4px;
	padding-bottom: 2px;
}

div.block-core-ItemLinks
{
	font-size: 0.9em;
	margin-bottom: 8px;
}

div.block-core-ItemLinks a { line-height: 2em; }

div#gsFooter
{
	padding-left: 8px;
	text-align: center;
}

div#gsFooter a { margin-right: 16px; }

/*	Styles for admin pages */
table td#gsSidebarCol, table td div#gsContent h2 { padding-top: 8px; }
table td div#gsContent h2 { padding-bottom: 16px; }
table td div#gsContent div { padding-left: 8px; }

div#gsContent h4
{
	font-size: 0.9em;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

div.block-core-GuestPreview
{
	font-size: 0.7em;
	text-align: right;
	padding-right: 8px;
}

div.one-image
{
	width: 25%;
	text-align: center;
	padding: 6px;
}

div.one-image h3 { margin-bottom: 8px; }
h4.giDescription { margin-top: 8px; }
table #gsSidebarCol { border-right: gray 1px solid; }
.gbEmptyAlbum { height: 400px; }

/*	Style for the Search module page */
div#db-modules form { text-align: center; }
div#db-modules form input { padding-left: 8px; }
div#db-modules form h2 { padding: 8px 0 16px 0; }
div#db-modules form h4
{
	color: black;
	background-color: rgb(238,238,238);
	padding: 8px;
}
div#db-modules form label, div#db-modules form a { font-size: 0.9em; }

div#db-modules table#gbThumbMatrix ul
{
	text-align: left;
	font-size: 0.9em;
	padding: 8px;
}

div#db-modules table#gbThumbMatrix ul li { margin: 0.3em 0.3em 0.5em 0.3em; }

div#db-modules .gbItemImage
{
	color: rgb(112,112,112);
	background-color: rgb(238,238,238);
	padding-top: 16px;
	vertical-align: top;
}

.giDescription h3.emptyAlbum
{
	line-height: 4.0em;
	text-align: center;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton
{
	color: black;
	background-color: rgb( 251,249,127 );
	border-color: black;
	border-width: 1px;
	border-style: solid;
}

/*	Ensure that IE adds the left-padding to inline elements */
#gallery.IE div.gbTabBar span.o
{
	display: inline-block;
	/* IE loses padding-left on wrapped inline nowrap element */
	margin-bottom: 1px;
	/* ..and then adds padding differently with inline-block.. */
}

#gallery.IE div.gbBreadCrumb span
{
	display: inline-block;
	/* IE loses padding-left on wrapped inline nowrap element */
	padding-right: 4px;
	/* IE has less space at right of each span */
}

#gallery.IE div.gbNavigator a
{
	display: inline-block;
	/* IE loses padding-left on wrapped inline nowrap element */
}

/*	============ Styles for the next and previous buttons ============ */
div.gbNavigator
{
	font-size: 0.8em;
	padding: 8px 0 8px 0;
}

div.gbNavigator div.next-and-last { float: right; }

div.gbNavigator div.next-and-last.no-previous
{
	float: none;
	text-align: right;
}

div.gbNavigator a.first
{
	padding-left: 27px;
	background: url(images/nav_first.gif) left no-repeat;
}

div.gbNavigator a.previous
{
	padding-left: 27px;
	background: url(images/nav_prev.gif) left no-repeat;
}

div.gbNavigator a.next
{
	padding-right: 27px;
	background: url(images/nav_next.gif) right no-repeat;
}

div.gbNavigator a.last
{
	padding-right: 27px;
	background: url(images/nav_last.gif) right no-repeat;
}

div.gbNavigator div.first-and-previous img
{
	vertical-align: middle;
	padding-right: 0.5em;
}

div.gbNavigator div.next-and-last img
{
	vertical-align: middle;
	padding-left: 0.5em;
}

#gallery.rtl div.gbNavigator div.next-and-last { float: left; }

#gallery.rtl div.gbNavigator div.next-and-last.no-previous
{
	float: none;
	text-align: left;
}

#gallery.rtl div.gbNavigator div.first-and-previous { text-align: right; }

#gallery.rtl div.gbNavigator a.first
{
	padding: 0 27px 0 0;
	background: url(images/nav_last.gif) right no-repeat;
}

#gallery.rtl div.gbNavigator a.previous
{
	padding: 0 27px 0 0;
	background: url(images/nav_next.gif) right no-repeat;
}

#gallery.rtl div.gbNavigator a.next
{
	padding: 0 0 0 27px;
	background: url(images/nav_prev.gif) left no-repeat;
}

#gallery.rtl div.gbNavigator a.last
{
	padding: 0 0 0 27px;
	background: url(images/nav_first.gif) left no-repeat;
}

#gallery.rtl div.gbNavigator div.first-and-previous img { padding: 0 0 0 0.5em; }
#gallery.rtl div.gbNavigator div.next-and-last img { padding: 0 0.5em 0 0; }

/*	Appearance only styles */
p.giTitle, h4.giDescription { font-weight: bold; }

.gcBackground1
{
	color: black;
	background-color: rgb(235,235,235);
}

.giItemCell, .gcBackground2, div.one-image
{
	color: black;
	background-color: rgb(242,242,242);
}

/* ========= Tertiary styles from the original default style sheet ======== */
table.gbDataTable th
{
	text-align: left;
	background-color: rgb(231,231,231);
}

.gbEven { background-color: white; }
.gbOdd { background-color: rgb(238,238,238); }

div.gbTabBar
{
	font-size: 0.9em;
	font-weight: bold;
	margin: 0.8em 0 0;
	padding: 6px;
	background: url('../drawingbusiness/images/tab_bg.gif') repeat-x bottom;
	white-space: nowrap;
}

div.gbTabBar span.o
{
	padding: 6px 0 5px 8px;
	background: url('../drawingbusiness/images/tab_left.jpg') no-repeat left top;
}

#gallery.IE div.gbTabBar span.o
{
	display: inline-block;
	/* IE loses padding-left on wrapped inline nowrap element */
	margin-bottom: 1px;
	/* ..and then adds padding differently with inline-block.. */
}

/* IE may clip off the right end of a long set of tabs, so allow IE to wrap them */
#gallery.IE div.gbTabBar
{
	padding-bottom: 0;
	white-space: normal;
}

#gallery.IE div.gbTabBar span.giSelected { margin-bottom: 0; }

#gallery div.gbTabBar span span
{
	padding: 6px 12px 5px 4px;
	background: url('../drawingbusiness/images/tab_right.jpg') no-repeat right top;
}

#gallery div.gbTabBar a
{
	color: rgb(119,119,119);
	text-decoration: none;
}

#gallery div.gbTabBar a:hover { color: rgb(51,51,51); }

#gallery div.gbTabBar span.giSelected
{
	padding-bottom: 6px;
	background-image: url('../drawingbusiness/images/tab_left_on.jpg');
}

#gallery div.gbTabBar span.giSelected span
{
	color: rgb(51,51,51);
	padding-bottom: 6px;
	background-image: url('../drawingbusiness/images/tab_right_on.jpg');
}

.autoCompleteBackground
{
	margin: 0;
	border-color: rgb(204,204,204);
	border-width: 1px;
	border-style: none solid solid solid;
}

.autoCompleteHighlight { text-decoration: underline; }

.autoCompleteNotSelected
{
	color: inherit;
	background-color: rgb(238,238,238);
	padding: 3px 4px 3px 17px;
}

.autoCompleteSelected
{
	color: inherit;
	background-color: rgb(255,255,204);
	padding: 3px 4px 3px 17px;
}

#ProgressBar #progressDone
{
	color: inherit;
	background-color: rgb(253,107,4);
	border: thin solid rgb(221,221,221);
}

#ProgressBar #progressToGo
{
	color: inherit;
	background-color: rgb(238,238,238);
	border: thin solid rgb(221,221,221);
}

.giSearchHighlight
{
	font-weight: bold;
	color: inherit;
	background-color: rgb(255,255,102);
}

#gsSidebar div ul
{
	/* no > in IE */
	font-size: 1.1em;
	font-weight: bold;
}

#gsSidebar div ul ul { font-size: 1.0em; }
#gsSidebar ul span { color: #999; }

.giNew, .giUpdated
{
	border-width: 1px;
	border-style: solid;
	padding: 2px 6px;
	line-height: 2.5em;
	border-color: rgb(64,64,64);
	color: white;
	background-color: rgb(64,64,64);
}
