/* ********************************************************************************
 * Building blocks
 * h2, h3, p, etc        Standard html tags
 * div.gbBlock           Sidebar or content section with style for contained lists
 * ul.gbBreadCrumb       List of links/path elements
 * table.gbDataTable     Table for data/form elements with styles for shading rows
 */


/* ********************************************************************************
 * Sections
 * body.gallery     Page body in G2 standalone (doesn't apply to embedded)
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 */


.gbBlock h4 {
  font-weight: bold;
	margin: 10px 0 3px 0;
}

#content .gbBlock p.giDescription {
  margin: 0;
}

#gallery.rtl {
    direction: rtl;
}

#gsNavBar {
    border-top-width: 1px;
    border-bottom-width: 1px;
}

#gsNavBar div.gbSystemLinks {
    padding: 4px 6px;
}

#gsNavBar div.gbSystemLinks span {
    padding: 0 4px;
}

#gsSidebarCol {
    width: 1%; /* Expand to fit content ("0" bad4 firefox, "1px" bad4 opera) */
	padding-right: 20px;
}

td.giAlbumCell, td.giItemCell {

    text-align: center;
}

#gallery td.giAlbumCell select, #gallery td.giItemCell select {
    margin-top: 0.8em;
}

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

#gsPages span {
    padding: 0 0.3em;
}


/* ********************************************************************************
 * Matrix Theme for Gallery 2
 * by Ross A. Reyman, Jon Huang, and Chad Kieffer
 * updated by Alan Harder
 */

/* ********************************************************************************
 * Building blocks
 * #gallery              Default font/color settings
 * .gcBackground1,2..    Palette of backgrounds
 * .gcBorder1,2..        Palette of borders
 * a, h2, h3, etc        Standard html tags
 * .giTitle, .giSubtitle, .giDescription, .giInfo, .giSuccess, .giWarning, .giError
 *                       Palette of text styles
 * div.gbBreadCrumb      List of links/path elements
 * table.gbDataTable     Table for data/form elements with styles for shading rows
 * div.gbTabBar          UI component for selectable tabs
 * .autoComplete*        Styles for autoComplete popup lists
 */

.gcBackground1 {

}

.gcBackground2 {
    background-color: #e7e7e7;
}

.gcBorder1 {
    border: 0 solid #ccc;
}

.gcBorder2 {
    border: 0 solid #888;
}

#gallery a {
    font-weight: bold;
    text-decoration: none;
    color: #6b8cb7;
}
#gallery a:hover {
    text-decoration: underline;
    color: #f4560f;
}
#gallery a:active {
    text-decoration: none;
    color: #f9c190;
}

#gallery img {
    border-width: 0;
}

#gallery input:focus, #gallery textarea:focus {
    background-color: #ffc;
    color: #000;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  /* No input[type=submit] in IE */
    color: #333;
    background-color: #eee;
    border-width: 2px;
    border-style: solid;
    border-color: #e7e7e7 #666 #666 #e7e7e7;
}

#gallery select {
    font-size: 1em;
}


#gallery pre, #gallery tt {
    font-family: Courier New;
    font-size: 1.2em;
}

.giSubtitle {
    font-size: 0.9em;
    font-weight: normal;
    vertical-align: text-bottom;
}

.gbEmptyAlbum {
    height: 400px;
}

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

.giInfo {
    font-size: 0.9em;
    color: #888;
}

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

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

.giNew, .giUpdated {
    border-width: 2px;
    border-style: ridge;
    padding: 0 6px;
    line-height: 1.9em;
}

#gsNavBar div.gbBreadCrumb {
    font-size: 1.1em;
    font-weight: bold;
}

#gsNavBar div.gbBreadCrumb a, #gsNavBar div.gbBreadCrumb span {
    padding: 0 0 0 14px;
    background: url('images/icon_path_separator.gif') no-repeat left;
}

#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {   /* no :first-child in IE */
    padding-left: 0;
    background-image: none;
    white-space: nowrap;
}

#gsThumbMatrix {
    width: 100%;
}

#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 */
}

#gsNavBar div.gbBreadCrumb span.BreadCrumb-1 {   /* no :first-child in IE */
    padding-left: 0;
    background-image: none;
}

#gsNavBar div.gbSystemLinks {
  float: right;
}

table.gbDataTable th {
    text-align: left;
    background-color: #e7e7e7;
}

.gbEven {
    background-color: #fff;
}

.gbBusy {
    background-color: #78D478 !important;
}

.gbOdd {
    background-color: #eee;
}


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

div.gbTabBar span.o {
    padding: 6px 0 5px 8px;
    background: url('../matrix/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('../matrix/images/tab_right.jpg') no-repeat right top;
}

#gallery div.gbTabBar a {
    color: #777;
    text-decoration: none;
}

#gallery div.gbTabBar a:hover {
    color: #333;
}

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

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

.autoCompleteShadow {
    background-color: #a0a0a0 !important;
}

.autoCompleteContainer {
    border-color: #404040 #404040 #080;
    background-color: #fff;
}

.autoCompleteContainer li.yui-ac-highlight {
    background-color: #eee;
}

#gallery .gbMarkupBar input {
    font-size: 1.1em;
}

.giSearchHighlight {
    font-weight: bold;
    background-color: #ff6;
}


/* ********************************************************************************
 * Sections
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 */

div.block-search-SearchBlock a.advanced {
  display: block;
  padding: 3px;
}

div.block-core-ItemLinks {
  margin: 3px 0;
}
div.block-core-ItemLinks a {
  padding: 3px;
}
div#gsSidebar div.block-core-ItemLinks a {
  display: block;
}

div#gsSidebar div.block-core-PeerList a {
  display: block;
  padding: 3px;
}

div#gsSidebar div.block-core-PeerList span {
  font-weight: bold;
  display: block;
  padding: 3px;
}

div#gsSidebar div.block-core-PeerList span.current {
  color: #0b6cff;
}

/* ***************************************************** */
/*                   Dynamic blocks                      */
/* ***************************************************** */

div.block-comment-ViewComments {
  margin: 5px;
}

div.block-comment-ViewComments div.one-comment {
  border: 1px solid #e7e7e7;
  padding: 5px;
  margin-bottom: 5px;
}

div.block-comment-ViewComments h3 {
}

div.block-comment-ViewComments span {
  padding-right: 5px;
}

div.block-comment-ViewComments p.info {
  font-style: italic;
  text-align: right;
  font-size: 0.95em;
}

div.block-core-GuestPreview {
  float: right;
}
#gallery.rtl div.block-core-GuestPreview {
  float: left;
}

span.block-core-SystemLink {
}

div.block-exif-ExifInfo {
  margin: 5px;
}

span.bsw_ButtonDisabled {
  color: #999;
}

span.bsw_ButtonEnabled {
  color: #000;
  cursor: pointer;
}

table.bsw_ParamTable {
  width: 100%;
  border: 1px solid #999;
  border-collapse: collapse;
}

tr.bsw_ParamHeaderRow {
  background-color: #EEE;
}

tr.bsw_ParamHeaderRow td {
  font-weight: bold;
  text-align: center;
  border: 1px solid #999;
}

td.bsw_BlockCommands {
  white-space: nowrap;
  text-align: center;
}

#gsFooter {
  padding-top: 4px;
}

/* ********************************************************************************
 * Rating module style fix for Matrix
 */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}



/* ---------- gallery styles start here ----------------------- */

#gsThumbMatrix td a.thumb {
  display: block;
  width: 182px;
  background: url(images/wt/polaroid-bottom.png) 0 bottom no-repeat;
  text-decoration: none;
  padding-bottom: 10px;
  color: #5a1100;
  font-size: 12px;
  font-weight: bold;
  line-height: 16px;
}

#gsThumbMatrix td a span.title {
	padding: 0 10px;
	display: block;
}

span.thumb-top {
	background: url(images/wt/polaroid-top.png) no-repeat;
	height: 8px;
	display: block;
}

#gsThumbMatrix td a.thumb:hover {color: #DA6200;}

#gsThumbMatrix td a.thumb img {
   display: block;
   margin: 0 auto 6px auto; 
}

#leftCol {
  width: 600px!important;
  padding-left: 0!important;
}

#leftCol h2.heading {
   margin-left: 0!important; 
}

#rightCol {
  width: 255px!important;
  padding-left: 35px!important;
}

#rightCol p {
  
}

#content-banner {
   margin: 0 0 25px 0; 
}

#header-banner {
  position: absolute;
  left: 280px;
  z-index: 99;
  top: 0px;
}

/*tmp*/

img#tmp {
  margin: -5px 0 15px 64px;
}

#gsContent .gbBlock textarea {
	height: 25px;
	width: 240px;
}

#gsContent .gbBlock .gbMarkupBar {display: none;}

#gTooltip img {width: 164px; height: 164px;}
#gTooltip {z-index: 999;}

#gsContent .gbBlock input[type=text] {
	width: 240px;
}

.block-core-Navigator a.previous {
	background: url(images/wt/prev.png) no-repeat;
	width: 74px;
	float: left;
	padding-left: 7px;
}

.block-core-Navigator a.next {
	background: url(images/wt/next.png) no-repeat;
	width: 56px;
	float: right;
}

.block-core-Navigator {
	overflow: hidden;
	height: 1%;
	background: none;
}

.gbNavigator {
	position: absolute;
	bottom: 8px;
	width: 538px;
	background: none;
}

.block-core-Navigator a {
	display: block;
	height: 15px;	
	color: #ae8b88!important;
	text-decoration: none;
	padding: 5px 0 0 0;
	text-align: center;
	text-transform: uppercase;
	font-size: 11px;
}

.block-core-Navigator a:hover {
	color: #ae4b42!important;
	background-position: 0 -20px;
}

#gsImageView {
	width: 538px;
	text-align: center;
}

#gsImageView img {
	border: 1px solid #e7e7db;
	background: #fff;
	padding: 4px;
}

#gsImageView img:hover {
	border-color: #dbdbd0;
}

#image-header {
	width: 538px;
	position: relative;
	text-align: center;
	overflow: hidden;
	padding-bottom: 8px;
	padding-top: 10px;
}

#leftCol #image-header h2 {
	margin: 0;
}

#leftCol h2.heading {
	font-size: 11px;
	color: #db6300;
	line-height: 16px;
}

#leftCol h2.heading a {
	color: #64200f;
}

#leftCol h2.heading b {
	font-size: 14px;
	color: #64200f;	
}

.caption {
	text-align: center;
	width: 478px;
	color: #898b84;
	font: 12px/21px arial, sans-serif;
	padding: 0 30px;
}

#leftCol .block-core-Pager a, .block-core-Pager span.current {
	display: block;
	float: left;
	padding: 3px 5px!important;
	text-decoration: none;
	color: #adada7;
	margin-right: 3px;
	background: #fff;
	border: 1px solid #d4d4ce;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.block-core-Pager span.current {
	background: #da8a49;
	color: #fff;
	border: 1px solid #a86a38;
}

.block-core-Pager span.pages {
	display: block;
	float: left;
	padding: 3px 5px 0 0!important;
}

#leftCol .block-core-Pager a:hover {
	color: #da6200;
}


/* ads */

#sidebar-ads img {
	float: left;
	margin: 0 4px 4px 0;
}

#sidebar-ads {
	width: 248px;
	padding: 5px 1px 1px 5px;
	background: #fff;
	border: 1px solid #e7e7db;
	overflow: hidden;
	height: 1%;
	margin: 15px 0 15px 0;
}

#content .gbBlock ul {
	padding-left: 0;
	list-style: none;
}

#content .gbBlock ul ul {
	padding-left: 8px;
	margin: 0;
}



#admin {
	padding: 10px 10px 5px 10px;
	background: #fff;
	border: 1px solid #e7e7db;
	margin-bottom: 20px;
}

#admin-links {
	overflow: hidden; height: 1%;
}

#content #admin-links a {
	text-decoration: none;
	border: 1px solid #e7e7db;
	padding: 2px 5px;
	margin-right: 5px;
	float: left;
	color: #5a1100;
	display: block;	
}

#admin-links span {
	
}