/* ********************************************************************************
 * 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 {
  color: #000;
  background-color: #ccc;
}


#gallery h2, #gallery h3, #gallery h4, #gallery form {
    margin: 0;
    padding: 0;
}

#gallery p {
    margin: 0.6em 0;
    padding: 0;
}

.gbBlock {
    padding: 0.7em;
    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 h1 {
    margin-bottom: 0.5em;
    margin-top: 0.2em;
}

#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;
}

#gallery {
    padding: 8px;
}
#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;
}

#gsSidebar {
   /* border-right-width: 1px;*/
    width: 160px;
    /* overflow: hidden;*/
}
#gsSidebarCol {
    width: 1%; /* Expand to fit content ("0" bad4 firefox, "1px" bad4 opera) */
    border-right: 1px solid #999999; 
}

td.giAlbumCell, td.giItemCell {
    padding: 1em;
    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;
}

#gsPages div{
    text-align: left;
}

#gallery #gsSidebar ul {
    font-size: 1em;
}

/* ********************************************************************************
 * Egbert Theme for Gallery 2
 * A mod by Håkan Ackegård. Based on
* 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
 */

#gallery {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    color: #333;
    background-color: #ffffff;
}

body.gallery {
    background-color: #cccccc;
}

/* Standard backgrounds */
.gcBackground1 {
    background-color: #d9d9d9;
}

.gcBackground2 {
    background-color: #e5e5e5;
}

.gcBackground3 {
    background-color: #d9d9d9;
}

/* Egbert extras */
.egBackground1 {
    background-color: transparent;
}

.egBackground2 {
    background-color: transparent;
}

.gcBorder1 {
    border: 0 solid #999999;
}

.gcBorder2 {
    border: 0 solid #696969;
}

#gallery a {
    font-weight: bold;
    text-decoration: none;
    color: #3333bb;
}
#gallery a:hover {
    text-decoration: underline;
    color: #666666;
}
#gallery a:active {
    text-decoration: none;
    color: #666666;
}

#gallery img {
    border-width: 0;
}

#gallery hr {
	color: #999999;
}

#gallery h1, #gallery h2, #gallery h3, #gallery h4 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#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;
}

.giTitle, #gallery h2, #gallery h3, #gallery h4 {
    font-size: 1.3em;
    font-weight: bold;
}

#gallery h1 {
    font-size: 1.7em;
    font-weight: bold;
}

div.giTitle a {
    font-size: 1.0em !important;
    font-weight: bold;
}

.giThumbTitle {
    font-size: 1.0em;
	color:#666;
    font-weight: bold;
}

#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.0em;
}

.gbEmptyAlbum {
    height: 400px;
}

.giDescription h3.emptyAlbum {
    line-height: 4.0em;
    text-align: center;
}

.giInfo {
    font-size: 0.9em;
    color: #000;
}

.giInfo span.summary {
    display: block;
}

.giSuccess, .giWarning, .giError  {
    font-weight: bold;
}

.giSuccess { color: #190; }
.giWarning { color: #b31; }
.giError { color: #d14; }

.giNew, .giUpdated {
    border-width: 2px;
    border-style: ridge;
    padding: 0 6px;
    line-height: 1.9em;
}

.giNew {
    background-color: yellow;
}

.giUpdated {
    background-color: #ffc;
}

#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: #eee;
}

.gbEven {
    background-color: #eee;
}

.gbOdd {
    background-color: #ddd;
}


div.gbTabBar {
    font-size: 0.9em;
    font-weight: bold;
    margin: 0.8em 0 0;
    padding: 6px;
    background: url('../egbert/images/tab_bg.gif') repeat-x bottom;
    white-space: nowrap;
}

div.gbTabBar span.o {
    padding: 6px 0 5px 8px;
    background: url('../egbert/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('../egbert/images/tab_right.jpg') no-repeat right top;
}

#gallery div.gbTabBar a {
    color: #222;
    text-decoration: none;
}

#gallery div.gbTabBar a:hover {
    color: #333;
}

#gallery div.gbTabBar span.giSelected {
    padding-bottom: 6px;
    background-image: url('../egbert/images/tab_left_on.jpg');
}

#gallery div.gbTabBar span.giSelected span {
    color: #333;
    padding-bottom: 6px;
    background-image: url('../egbert/images/tab_right_on.jpg');
}

.autoCompleteBackground {
    border: 1px solid #ccc;
    border-top-style: none;
    margin: 0;
}

.autoCompleteHighlight {
    text-decoration: underline;
}

.autoCompleteNotSelected {
    background-color: #eee;
    padding: 3px 4px 3px 17px;
}

.autoCompleteSelected {
    background-color: #ffc;
    padding: 3px 4px 3px 17px;
}


#gallery .gbMarkupBar input {
    font-size: 1.1em;
}


#ProgressBar #progressDone {
    background-color: #fd6704;
    border: thin solid #ddd;
}

#ProgressBar #progressToGo {
    background-color: #eee;
    border: thin solid #ddd;
}

.giSearchHighlight {
    font-weight: bold;
    background-color: #ff6;
}


/* ********************************************************************************
 * Sections
 * #gallery         Page container
 * #gsNavBar   Top bar with breadcrumb and other links
 * #gsSidebar       Sidebar
 * #gsContent       Main content
 * #giFormUsername  Form field for entering a username
 * #giFormGroupname Form field for entering a group name
 */

#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;
}

#giFormUsername, .giFormUsername {
    background: url('../egbert/images/userinfo.png') no-repeat 0 1px;
    padding-left: 17px;
}

#giFormGroupname {
    background: url('../egbert/images/groupinfo.png') no-repeat 0 1px;
    padding-left: 17px;
}

#giFormPassword {
    background: url('../egbert/images/key7-16-bw.gif') no-repeat 0 1px;
    padding-left: 17px;
}

/* Opera ignores padding in form inputs; put icons on right side instead */
#gallery.opera #giFormUsername, #gallery.opera .giFormUsername,
#gallery.opera #giFormGroupname, #gallery.opera #giFormPassword {
    background-position: right center;
}

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-search-SearchBlock input {
  font-size: 100%;
}
/* */
div#egBottomBlock a.gbLink-cart_AddToCart {
	display:inline;
}

div.block-core-ItemLinks {
  margin: 3px 0;
}
div.block-core-ItemLinks a {
  padding: 3px;
}
/*
div#egPhotoContent {
    width: 500px;
}
*/

div#egPhotoContent div.block-core-ItemLinks {
    padding: 6px 10px;
    font-size: 110%;
}

div.egInfoBox {
	float: right;
}
div.egInfoGhostBox {
	float: left;
	visibility:hidden;
}

div.egDescriptionBox {
	width:500px;
	text-align:left;
}
div.egDescriptionBox h2 {
	text-align:center;
}

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: #67b;
}

/* ***************************************************** */
/*                   Dynamic blocks                      */
/* ***************************************************** */

div.block-comment-ViewComments {
  margin: 10px;
  width:500px;
  text-align:left;
  margin-top: 20px !important;
}

div.block-comment-ViewComments div.one-comment {
  border-top: 1px solid #999 !important;
  padding: 3px 0px 3px 0px;
  margin-top: 5px;
}

div.block-comment-ViewComments  h3 {
/*	visibility:hidden; */
display:inline;
	font-size: 1.1em !important;
  margin-top: 0px !important;
  margin-bottom: 0.3em !important;
}

div.one-comment  h3 {
	visibility:visible;
	font-size: 1.1em !important;
  margin-top: 0 !important;
  margin-bottom: 0.3em !important;
}

div.block-comment-ViewComments span {
  padding-right: 5px;
  margin: 0;
  padding: 0;
}

div.one-comment p.comment {
  margin: 0 !important;
}
td.one-commentCell {
  vertical-align: top;
  padding: 3px;
  border-top: 1px solid #aaaaaa;
width: 99%;
}

table.one-commentTable {
  margin: 8px 6px 6px 6px;
	border-spacing: 5px;
width: 100%;
}

div.one-comment p.info {
  font-style: italic;
  text-align: right;
  font-size: 0.9em;
  margin-top: 0.2em !important;
  margin-bottom: 0.2em !important;
}

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 Egbert
 */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}

/* ********************************************************************************
 * Hack's extra hacks
 */

#gallery .block-cart-ShowCart h3 {
	font-size: 100%;
}

#gallery .block-imageblock-ImageBlock h3 {
	font-size: 100%;
}

#gallery .block-imageblock-ImageBlock h4 {
	font-size: 100%;
	font-weight: normal;
}

#gallery .gbAdminLink {
	font-weight: normal;
}

#gallery .block-core-Pager {
	font-size: 110%;
	font-weight: bold;
}

#gallery .block-core-Pager span.a {
	font-weight: bold;
}

td.giAlbumCellFirstPage, td.giItemCellFirstPage {
    padding: 5px;
     text-align: center;
    width: 1%;
    vertical-align: top;
}

td.giDescriptionCellFirstPage {
    padding-left: 15px;
     text-align: left;
    width: 200px;
    vertical-align: top;
}

td.tree {
    padding-left: 15px;
     text-align: left;
     vertical-align: top;
}

#gallery td.tree ul {
    list-style-type: none;
    margin: 0 0 0 8px;
    padding: 0;
}
* html #gallery td.tree ul ul { margin-top: -1em; } /* Why does IE need this? */

#gallery td.tree li {
    padding: 0;
}

#gsBottomBar div.gbSystemLinks {
 }
 
#gsBottomBar div.gbGuestLinks {
	float: right;
 }

#gsBottomBar {
    border-top-width: 1px;
    border-bottom-width: 1px;
}

#gsBottomBar div.gbSystemLinks {
    padding: 4px 6px;
}

#gsBottomBar div.gbSystemLinks span {
    padding: 4px 0;
}


a.gbLink-cart_AddToCart {
	display: none;
}

a.gbLink-rss_SimpleRender {
	display: none;
} /* this removes RSS from bottom links. To remove from sidebar use !important */

a.gbLink-comment_ShowAllComments {
	display: none;
} /* this removes RSS from bottom links. To remove from sidebar use !important */

a.node {
	font-weight: normal !important;
}

td.tree a {
	font-weight: normal !important;
}

div#gsImageView  {
	text-align: center !important;
}
div#gsImageView  table {
	text-align: center !important;
}
div.dTreeNode {
	overflow: hidden;
	font-family: verdana,sans-serif;
	font-size: 0.9em;
	min-height: 1.6em;
}
div.dTree {
	width: 150px;
	overflow: hidden;
	font-family: verdana,sans-serif;
	font-size: 0.9em;
	min-height: 1.6em;
}
div.one-image  {
	color: #666666 !important;
	margin-left: 3px;
}
div.egPageHeaderText {
	font-family: verdana,sans-serif;
	font-size: 225%; 
}
.egStatic {
	padding-left: 1.1em
}

td.egTable {
	padding: 6px;
	border-top: 1px  solid;
}

td.egTableImgCell {
	padding-left: 0;
}

td.egTable h4 {
	margin-top: 0 !important;
}

div.donateBorder{
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #aaa;
}

div.donateBlock {
	color: #886666 !important;
	margin-left: 3px;
}

div.donationMeter {
	color: #886666 !important;
	margin-left: 3px;
}

table.donationMeter {
	color: #886666 !important;
}

div.progressBar {
    border-width: 1px;
    border-style: solid;
    border-color: #090;
	background-color: #fff;
	text-align: left;
}
div.progressFill {
	background-color: #0f0;
}

div.scoreLine {
	overflow:hidden;
}

div.scoreLeft {
	display:inline;
    border-left: 1px solid #999999; 
    border-right: 1px solid #999999; 
}

div.scoreRight{
	display:inline;
    border-right: 1px solid #999999; 
}

div.donVoteBox1{
	width:160px;
	height:180px;
	margin: 4px 4px 6px 0;
	text-align:center;
	padding: 4px;
    border: 1px solid #999999; 
}

div.donVoteBoxMulti{
	height:180px;
	margin: 4px 4px 6px 0;
	text-align:center;
	padding: 4px;
    border: 1px solid #999999; 
}

img.donTeaserImage{
    border: solid #ba9  !important;  
	border-width: 1px 4px 4px 1px  !important; 
}

img.donVotingImage{
    border: solid #ba9  !important;  
	border-width: 1px 3px 3px 1px  !important; 
}

.donVoteBoxMulti img  {
	margin: 0 3px 0 3px;
	border: solid #ba9 !important;
	border-width: 0px 3px 3px 0px !important;
}

.donVoteBox1 img  {
	margin: 0 3px 0 3px;
	border: solid #ba9 !important;
	border-width: 0px 3px 3px 0px !important;
}

.donCandidateBox img  {
	margin: 0 3px 0 3px;
	border: solid #ba9 !important;
	border-width: 0px 3px 3px 0px !important;
}

div.donVoteBox{
	width:140px;
	height:200px;
	display:inline;
	margin: 4px 4px 6px 0;
	text-align:center;
	padding: 0;
    border: 1px solid #999999; 
}


div.donCandidateBox{
	margin: 4px 4px 6px 0;
	text-align:center;
	padding: 0;
    border: 1px solid #999999; 
}



