/* ********************************************************************************
 * 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
 */

#gallery h2, #gallery h3, #gallery h4, #gallery form {
    font-family: Georgia;
    margin: 0;
    padding: 0;
}

#gallery p {
    margin: 0.6em 0;
    padding: 0;
}

.gbBlock {
    /*padding: 0.7em;*/
    padding-left: 15px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-top: 0px;
    border-width: 0 0 1px 0;
    border-style: inherit;
    border-color: inherit;
    /* IE can't inherit these */
    border-style: expression(parentElement.currentStyle.borderStyle);
    border-color: expression(parentElement.currentStyle.borderColor);
}

.gbBlock ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.gbBlock ul ul {
    margin: 0 0 0.5em 1.0em;
}

.gbBlock li {
    padding: 6px 0 0 0;
}

#gallery .gbBlock h3 {
    margin-bottom: 0.5em;
}

#gallery .gbBlock h4 {
    margin-top: 0.5em;
}

#gsNavBar div.gbBreadCrumb {
    margin: 0;
    padding: 4px 8px;
}

table.gbDataTable {
    padding-bottom: 4px;
}

table.gbDataTable th, table.gbDataTable td {
    padding: 4px;
}


.giBlockToggle {
    padding: 0 0.4em 0.1em;
}
.giBlockToggle:hover {
    cursor: pointer;
}


.gbMarkupBar {
    margin: 4px 0;
}

#gallery .gbMarkupBar input {
    margin: 0;
    padding: 0;
}


/* ********************************************************************************
 * 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
 */



body.gallery {
    margin: 0;
    padding: 0;
    background: url(images/shadow_bg.jpg) center repeat-y #5b656b;

}

#gallery {
    
    width: 1000px;
    margin-left: auto ;
    margin-right: auto ;

}
#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;
}

#gsNavBar1 {
    border-top-width: 1px;
    border-bottom-width: 1px;
}

#gsNavBar1 div.gbSystemLinks {
    padding: 4px 11px;
}

#gsNavBar1 div.gbSystemLinks span {
    padding: 0 4px;
}


#gsContent {

    width: 700px;
}


#gsSidebar {

    padding-top: 0px;
    width: 270px;
    overflow: hidden;
	border: 2px solid #2A3237;
	background: #4C5459;

}
#gsSidebarCol {
    width: 1%; /* Expand to fit content ("0" bad4 firefox, "1px" bad4 opera) */
}

td.giAlbumCell, td.giItemCell {
    /*padding: 1em;*/
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0px;
    padding-right: 0px;
    height: 180px;
    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;
}

#gallery #gsSidebar ul {
    font-size: 1em;
}

/* ********************************************************************************
 * Photo.am 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
 */

#gallery {
    font-family: Trebuchet MS;
    font-size: 10pt;
    line-height: 130%;
    /*
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    */
    color: #fff;
    
}

.gcBackground1 {

}

.gcBackground2 {

}

.gcBorder1 {
    border: 0;
}

.gcBorder2 {
    border: 0;
}

#gallery a {
    /*font-weight: bold;*/
    outline: none;
    text-decoration: none;
    color: #ffc000;
}
#gallery a:hover {
	  outline: none;
    text-decoration: underline;
    color: #ffc000;
}
#gallery a:active {
	  outline: none;
    text-decoration: none;
    color: #ffc000;
}

a:active {
outline: none;
text-decoration: none;
}

a {
outline: none;
text-decoration: none;
}

#gallery img {
    border-width: 0;
}

#gallery h2, #gallery h3, #gallery h4 {
    font-family: Georgia;
}

#gallery input:focus, #gallery textarea:focus {
    background-color: #ffc;
    color: #000;
}
/*
#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  
  color: #acb5ba;
  background: #4c5359;
  border: 0px solid #4c5359;
}


#gallery input.inputTypeSubmit:hover, #gallery input.inputTypeButton:hover {
  color: #FFF;
  background: #7b8084;
}
*/

#gallery .divTypeLargeBtn{
  padding-top:1px;
  text-align:center;
  color: #ffffff;
  width:180px;
  height:30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent url(images/btnLarge.png) no-repeat center top;

}

#gallery .divTypeLargeBtn:hover{
	color: #acb5ba;
}

#gallery .divTypeNormBtn{
  padding-top:0px;
  text-align:center;
  color: #ffffff;
  width:87px;
  height:26px;
  line-height:26px;
  margin: 0px;
  padding: 0px;
  border: 0px;
  background: transparent url(images/button_bg.png) no-repeat center top;

}

#gallery .divTypeNormBtn:hover{
	color: #acb5ba;
	text-decoration: none;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  
  color: #ffffff;
  width: 87px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent url(images/button_bg.png) no-repeat center top;

}

#gallery input.inputTypeSubmit_big, #gallery input.inputTypeButton_big {  
  color: #ffffff;
  width: 87px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent url(images/button_big_bg.png) no-repeat center top;

}

#gallery input.inputTypeSubmit:disabled, #gallery input.inputTypeButton:disabled {
  color: #acb5ba;
}

#gallery input.inputTypeSubmit:hover, #gallery input.inputTypeButton:hover {
  color: #acb5ba;
}

#gallery select {
    font-size: 1em;
}

#gallery h2 {
    font-size: 1.6em;
    font-weight: bold;
    padding-top: .1em;
    padding-bottom: .5em;
    line-height: 1.5em;

}

.giTitle {
    font-size: 1.0em;
    font-weight: bold;

}


#gallery h3{
    font-size: 1.3em;
    font-weight: bold;
    padding-top: .1em;
    padding-bottom: .5em;
    line-height:125%;
}

#gallery h4 {
    font-size: 1.3em;
    font-weight: bold;
    padding-top: .1em;
    padding-bottom: .4em;
}


#gallery pre, #gallery tt {
    font-family: Courier New;
    font-size: 1.2em;
}

.giSubtitle {
    font-size: 0.9em;
    font-weight: normal;
    vertical-align: text-bottom;
}

.giDescription {
    font-size: 1.1em;
    line-height: 1.4em;
}

.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: #ffc000; }
.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: 0.9em;
    line-height: 0.9em;
    background:  #4c5359;
    display: table;
    margin-left: 15px;
    margin-top: 4px;
    margin-bottom: 2px;
    margin-right: 0px;
}

#gsNavBar div.gbBreadCrumb a, #gsNavBar div.gbBreadCrumb span {
    padding: 0 0 0 10px;
    background: url('images/separator.png') no-repeat left;

}

#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {   /* no :first-child in IE */
    padding-left: 0px;
    background: url('images/spacer.gif') no-repeat left;
    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: 0px;
    background: url('images/spacer.gif')  no-repeat left;
}

#gsNavBar div.gbSystemLinks {
  float: right;
}

#gsNavBar1 div.gbSystemLinks {
	font-size: 1.1em;
  float: right;
  font-weight: bold;
  color: #ffffff;
}

#gsNavBar1 div.gbSystemLinks a {

  color: #ffffff;
}

#gsNavBar1 div.gbSystemLinks a:hover {
	text-decoration: none;
  color: #ffc000;
}

table.gbDataTable th {
    text-align: left;

}

.gbEven {

}

.gbBusy {
    background-color: #78D478 !important;
}

.gbOdd {
    background-color: #2A3237;
}


span.giTabActive
{
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 1px;
	background: #7b8084;
	color: #ffffff;
	white-space: nowrap;
}



div.gbTabBar {
    font-size: 0.9em;
    font-weight: bold;
    margin: 0.8em 0 0;
    padding: 6px;
    background: #4c5359;
    color: #ffffff;
    white-space: nowrap;
}

div.gbTabBar span.o {
		
    padding: 6px 0 5px 8px;
    
}
#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;
    
}

#gallery div.gbTabBar a {
    color: #acb5ba;
    text-decoration: none;
}

#gallery div.gbTabBar a:hover {
    color: #ffffff;
}

#gallery div.gbTabBar span.giSelected {
    padding-bottom: 6px;
    background: #7b8084;
		color: #ffffff;
}

#gallery div.gbTabBar span.giSelected span {
    
    padding-bottom: 6px;
    background: #7b8084;
		color: #ffffff;
}

.autoCompleteShadow {
    background-color: #a0a0a0 !important;
}

.autoCompleteContainer {
    border-color: #404040 #404040 #080;
    background-color: #fff;
}

.autoCompleteContainer li {
    background-color: #666;
}

.autoCompleteContainer li.yui-ac-highlight {
    background-color: #000;
}

#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
 */

#gsNavBar div {
    margin-top: 0.1em;  /* Align system links with breadcrumb */
    font-weight: bold;
}

#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;
}

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;
}
/* Both IE and Gecko have bugs with omitting padding on rtl inline content */
#gallery.IE.rtl div.gbNavigator a {
  display: inline-block;
}
#gallery.gecko.rtl div.gbNavigator a {
  display: -moz-inline-box;
}

#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;
}

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-top: 5px;
  margin-bottom: 5px;
  margin-left: 15px;
  margin-right: -15px;
}

div.block-comment-ViewComments div.one-comment {
  border: 1px solid #5a656b;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
}

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-comment-AddComment {
  margin: 15px;
}


div.block-core-GuestPreview {
  float: right;
}
#gallery.rtl div.block-core-GuestPreview {
  float: left;
}

span.block-core-SystemLink {
  background: url('images/head_separator.png')  no-repeat left;
}

span.block-core-SystemLink a {
	padding-left: 10px;
  
}

div.block-exif-ExifInfo {
  margin: 15px;
}

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;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #c2c2c2;
  background-color: #3e4448;
  font-family: Georgia;

}

/* ********************************************************************************
 * Rating module style fix for Matrix
 */
.giRatingUI {
		text-align:center;
		width: 85px;
    margin-left: auto;
    margin-right: auto;
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}

/* ********************************************************************************
* Misc stuff here
*/

.giItemCell {
max-width: 160px;
}            

.giThumbnail  {     

	background-color:#FFFFFF;

	border:1px solid #A9A9A9;

	padding:4px;

	margin:-4px;

	position:relative;

}



.giThumbnail:hover {

	background-color: #A9A9A9;

}

.block-imageblock-ImageBlock
{
  padding: 5px;
  width: 100% ;
  margin-left: auto ;
  margin-right: auto ;
  text-align: center;
}

#gsImageView
{
	padding: 5px;
	width: 100% ;
  margin-left: auto ;
  margin-right: auto ;
  text-align: center;
}

span.giTab
{
	padding-left: 5px;
	padding-right: 5px;
	background: #4c5359;
	color: #acb5ba;
	white-space: nowrap;
}

span.giTab:hover
{
	padding-left: 5px;
	padding-right: 5px;
	background: #5a6368;
	color: #ffffff;
	text-decoration:none;
	white-space: nowrap;
}

.giTab a:hover
{
	text-decoration:none;
	
}

span.giTabActive
{
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 1px;
	background: #7b8084;
	color: #ffffff;
	white-space: nowrap;
}

.more-link
{
font-family: Georgia;
font-style: italic;
}

textarea {
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #ffffff;
background-color: #666d71;
border-width: 1px;
border-color: #9ca8ae;
border-style: solid;
}

input {
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
color: #ffffff;
background-color: #666d71;
border-width: 1px;
border-color: #9ca8ae;
border-style: solid;
}

input.imginput {
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
background: none;
border-width: 0px;
}

select {
color: #ffffff;
background-color: #666d71;
border-width: 1px;
border-color: #9ca8ae;
border-style: solid;
}

#addcomment, #addcomment h2, #addcomment h3, #addcomment h4, #addcomment p, #addcomment form, #addcomment table,
#comments, #comments h2, #comments h3, #comments h4, #comments p, #comments form, #comments table,
#info, #info h2, #info h3, #info h4, #info p, #info form, #info table

{
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
}

#addcomment h2, #addcomment h3, #addcomment h4, #comments h2, #comments h3, #comments h4, #info h2, #info h3, #info h4
{
	font-size: 1.1em;
}

.avatar-80  {     
padding: 2px; background-color:#586264;
}

.avatar-80:hover  {     
padding: 2px; background-color:#2a3237;
text-decoration:none;
}

.author-list {
    padding-left: 15px;
    padding-right: 5px;
 }
 
li.gbAdminLink
{
	background: url('images/admin_link_bg.jpg')  repeat left;
	padding-left: 5px;
	padding-top: 5px;
	padding-bottom: 0px;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: -5px;
	margin-bottom: 0px;
	height: 25px;
	vertical-align: middle;
}

.gbAdminLink a {
margin-top:5px;
padding-top:5px;
}

#gbSiteAdminLinks span
{
	vertical-align: middle;
	line-height: 200%;
}


.nohover
{
	color: #ffffff;
}
.nohover:hover
{
	color: #ffffff;
	text-decoration:none;
}

.nohover:hover span
{
	color: #ffffff;
	text-decoration:inherit;
}

.ProfileItemActive
{
	background: url('images/menu_active_tab.png')  no-repeat center;
	padding-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	height: 34px;
	width: 87px;
	vertical-align: middle;
	text-align: center;
	float: left;
	line-height: 32px;
	font-weight: bold;
	color: #ffffff;
}

.ProfileItem
{
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	height: 34px;
	width: 87px;
	vertical-align: middle;
	text-align: center;
	float: left;
	line-height: 32px;
	font-weight: normal;
	color: #b7b8b9;
}

.ProfileItemSeparator
{
	background: url('images/profile_menu_separator.png')  no-repeat center;
	margin-right: 0px;
	margin-left: 0px;
	margin-top: 0px;
	height: 34px;
	width: 1px;
	vertical-align: middle;
	text-align: center;
	float: left;
	line-height: 26px;
}

#nav li a:hover, #nav li a.selected {
color: #FFBA00;
background: #000;
}
#nav li a:hover {
color: #FFBA00;
display: block;
background: #6f6f6f;
}
#nav li a {
width: 270px;
height: 12px;
/*background-image: url(images/sidebar_bg.jpg);*/
background: #4f4f4f;
display: block;
color: white;
font-weight: bold;
text-decoration: none;
/*border-top: 1px solid #AAA896;*/
/*border-bottom: 1px solid #AAA896;*/
border-bottom: 1px solid #000000;
padding: 9px 0 9px 15px;
font: 12px Arial;
font-weight: bold;
margin: 0px;
}
#nav li
{
	padding: 0px;
	margin: 0px;
}
#nav, #nav ul {
list-style: none;
margin: 0px;
padding: 0px;
}
.current_entry_td
{
	text-align: right;
	margin:0;
	padding: 0;
	border-bottom: 1px solid #3f4448;
}

.current_entry_div
{
	padding: 5px;
	border: solid 1px #5c676d;
}

.entry_link:hover
{
	color: #ffffff;
	text-decoration: none;
}

.other_entry_td
{
	margin:0;
	padding: 0;
	background: #3f4448;
	border-right: 1px solid #3f4448;
	border-top: 1px solid #3f4448;
	border-bottom: 1px solid #3f4448;
	text-align: right;
}
.other_entry_div
{
	padding: 5px;
	border-right: solid 1px #5c676d;
	border-top: solid 1px #5c676d;
	border-bottom: solid 1px #5c676d;
}
