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

a { 
  bblr:expression(this.onFocus=this.blur()); /* for ie7 */
  outline: none; /* Firefox */
  }
#gallery h2, #gallery h3, #gallery h4, #gallery form {
  margin: 0;
  padding: 0;
}

#gallery p {
  margin: 0.6em 0;
  padding: 0;
}

.gbBlock {
  padding: 5px;
  border: none;
}

.gbBlock ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.gbBlock li { padding: 6px 0 0 0; }
.gbBlock ul ul { margin: 0 0 0.5em 1.0em; }

#gallery .gbBlock h3 { margin-bottom: 0.5em; }
#gallery #sideBarContents h3.giTitle { margin: 0; font-size: 12px; font-weight: normal;}
#gallery #sideBarContents a:link, #gallery #sideBarContents a:visited, #gallery #sideBarContents a:hover  { font-weight: normal;}
#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: 10px; width: 960px;  margin: 0 auto; position: relative; }
#gallery.rtl { direction: rtl; }

#gsNavBar {
  margin: 10px 0 5px 0;
  border-top-width: 0px;
  border-bottom-width: 0px;
}

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

#gsSidebar {
  width: 175px;
  overflow: hidden;
  margin: 0 5px 0 5px;
}

#gsSidebarCol {
  border: #444 1px solid;
  padding-bottom: 5px;
  width: 1%; /* Expand to fit content ("0" bad4 firefox, "1px" bad4 opera) */
  background: #181818;
}

td.giAlbumCell, td.giItemCell {
  padding: 10px 15px;
}

#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; }

#gallery #gsSidebar ul { margin: 0; padding: 0; font-size: 12px; }
#gallery #gsSidebar ul li { list-style: none; margin: 0; padding: 1px 0;}

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

#gallery {
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 12px;
  color: #777;
  background-color: #202020;
}

body.gallery { background-color: #202020; }

.mainwrap {
  border-top: 1px solid #5f5f5f;
  border-right: 1px solid #1d1d1d;
  border-bottom: 1px solid #0c0c0c;
  border-left: 1px solid #4d4d4d;
  }
  
.mainwrap-inside {
  border: 5px solid #3b3b3b;
  }
  
.mainTable {
  padding: 10px 12px;
  background-color: #161616; 
  border-bottom: 1px solid #5f5f5f;
  border-left: 1px solid #1d1d1d;
  border-top: 1px solid #0c0c0c;
  border-right: 1px solid #4f4f4f; 
  }  
  
.gcBackground1 { 
  background-color: #161616; 
  border-bottom: 1px solid #5f5f5f;
  border-left: 1px solid #1d1d1d;
  border-top: 1px solid #0c0c0c;
  border-right: 1px solid #4f4f4f; 
  }

  .gcBackground2 { background-color: #202020; }

.gcBorder1 { padding: 0; }
.gcBorder2 { border: 0 solid #555; }
.AlbumBorder { padding: 0 12px; }

#gallery a {
  font-weight: bold;
  text-decoration: none;
  color: #777;
}

#gallery a:hover {
  text-decoration: none;
  color: #bbb;
}

#gallery a:active {
  text-decoration: none;
  color: #bbb;
}

#gallery img { border-width: 0; }

#gallery h2, #gallery h3, #gallery h4 {
  font-family: Arial, Trebuchet MS, Verdana, Helvetica, sans-serif;
}

#gallery input, #gallery textarea {  
  color: #888;
  background: #1c1c1c;
  font-size: 12px;
  font-family: arial, sans-serif;  
  border: 1px solid #444;
  padding: 2px;
}

#gallery input:focus, #gallery textarea:focus {
  background-color: #121212;
  border: 1px solid #444;
  color: #888;
  font-family: arial, sans-serif;
  padding: 2px;  
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  /* No input[type=submit] in IE */
  color: #b0b0b0;
  background-color: #383838;
  border-width: 1px;
  border-style: solid;
  border-color: #5f5f5f #1d1d1d #0c0c0c #4d4d4d;
  padding: 1px 2px;
  font-family: arial, sans-serif;
}

select { 
  font-size: 12px; 
  font-family: arial, sans-serif; 
  background: #1c1c1c;
  color: #888; 
  border: 1px solid #444;
  padding: 0;
  margin: 0;
  }
select a { outline: none; }  

#gallery h2 {
  font-size: 14px;
  font-weight: bold;
  color: #999;
}
 
#gallery h3 {
  font-size: 13px;
  }
  
#gallery h4 {
  font-size: 12px;
  }  
  
#gallery h3.viDetails {
  font-size: 12px;
  font-weight: normal;
  margin: 0;
  }  
  
#gallery h3.viDetails a:link, #gallery h3.viDetails a:visited { 
font-weight:normal; 
text-decoration: underline;
}

#gallery h3.viDetails a:hover { 
font-weight:normal; 
text-decoration: underline;
}

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

#gsHeader {
width: 100%;
height: 60px;
}

#logo {
float: left;
width: 200px;
height: 50px;
margin: 10px 0 0 8px;
}

#topad { width: 468px; height: 60px; float:right; margin: 0 10px 0 0; }

.giSubtitle {
  font-size: 12px;
  font-weight: normal;
  vertical-align: text-bottom;
}

.giDescription {
  font-size: 12px;
  line-height: 1.4em;
}

.gbEmptyAlbum { height: 400px; }

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

#gallery p.giInfo {
  font-size: 12px;
  color: #777;
  margin: 0;
}

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

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

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

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

*:first-child+html #gsNavBar div.gbBreadCrumb, 
*:first-child+html #gsNavBar div.gbSystemLinks {
  font-family: Lucida Grande, Verdana, sans-serif;
  font-weight: normal;
}

#gsNavBar div.gbBreadCrumb a, #gsNavBar div.gbBreadCrumb span {
  padding: 0 2px 0 2px;
  white-space: nowrap;
}

#gsNavBar div.gbBreadCrumb a.BreadCrumb-1 {   /* no :first-child in IE */
  padding-left: 0;
  white-space: nowrap;
}
#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;
}

#gsNavBar div.gbSystemLinks { float: right; }
#slideBarButton { position: absolute; top: 133px; right:-9px; width: 20px; height: 54px;}

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

.gbEven { background-color: #3f3f3f; color: #888}
.gbOdd { background-color: #393939; color: #888 }
.gbBusy { background-color: #000 !important; }

div.gbTabBar {
  font-size: 12px;
  font-weight: bold;
  margin: 0.8em 0 0;
  padding: 6px;
  white-space: nowrap;
}

div.gbTabBar span.o {
  padding: 6px 0 5px 16px;
  background: url('images/table_left.gif') 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 16px 5px 4px;
  background: url('images/table_right.gif') 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 {
  background-image: url('images/table_left_on.gif');
}

#gallery div.gbTabBar span.giSelected span {
  color: #333;
  background-image: url('images/table_right_on.gif');
}

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

.autoCompleteContainer {
    border: 1px solid #404040;
    background-color: #fff;
}

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

#gallery .gbMarkupBar input { font-size: 12px; }

#ProgressBar #progressDone {
  background-color: #666;
  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
 */

#gsNavBar div {
  margin-top: 0.1em;  /* Align system links with breadcrumb */
  font-weight: bold;
}

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

#gsSidebar div ul ul { font-size: 12px; }

#gsSidebar ul span { color: #999; }

#giFormUsername, .giFormUsername, #giFormGroupname, #giFormPassword {
  background-color: #fff
}

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

div.block-search-SearchBlock {
clear: both;
margin-top: 5px;
}

form#search_SearchBlock {
margin: 0;
padding: 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#sideBarContents div.block-core-ItemLinks { float: left; padding: 15px 0 5px 0; }

*:first-child+html div#sideBarContents div.block-core-ItemLinks { padding: 0; margin: 0;}

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

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

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

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

div.block-comment-ViewComments { 
width: 100%; 
margin: 5px 0;  
float: left;
clear: both;
  }
#gallery div.block-comment-ViewComments a { font-weight: normal; }

div.block-comment-ViewComments div.one-comment {
  padding: 7px 10px 0 10px;
  margin: 5px 0 10px 0;
}

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

div.block-comment-ViewComments p.info {
  color: #666;
  text-align: right;
  font-size: 12px;
}

div.block-core-GuestPreview { float: right; }

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

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

#gallery .block-exif-ExifInfo h3 { font-size: 12px; margin: 5px 0; }

span.bsw_ButtonDisabled { color: #999; }

span.bsw_ButtonEnabled {
  color: #ccc;
  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 {
  color: #555;
  height: 40px;
  margin-top: 5px;
  padding: 5px 10px;
}

#gsFooter a:link, #gsFooter a:visited {
  color: #555;
  font-weight: normal;
  text-decoration: underline;
  }
#gsFooter a:hover {
  color: #888;
  font-weight: normal;
  text-decoration: underline;
  }
  
#credits {
  width: 40%;
  float: left;
  }
#credits p {
  margin: 0;
  }  
  
#credits-right {
  width: 50%;
  float: right;
  text-align: right;
  } 
    

/* ********************************************************************************
 * Rating module sytles
 * Extends and/or overrides moduels/rating/rating.css
 * Uncomment and edit the following classes to change rating image interface
 */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}

/* ********************************************************************************
 * ebony Theme for Gallery 2
 * by Jesse Lee (http://gallery.zzvo.com/, http://www.zzvo.com/)
 */

.gsPages span { padding: 0 0.3em; }

.gsContentAlbum { margin: 5px 0 5px 0; clear: both; }

.gsContentPhoto {
  padding: 10px 0 10px 0;
  text-align: center;
}

.gsContentDetail {
  padding: 5px 5px 0 5px;
  float: left;
  margin: 10px 0 0 0;
  width: 227px;
  border: 1px solid #2e2e2e;
}

#gallery .gsContentDetail h2 { font-size: 12px; color: #888}

td.gsActionIcon {
  text-align: center;
  padding: 0 5px 0 0;
}

td.giTitleIcon { padding-right: 10px; }

td.gbNavigatorPhoto { padding: 0 5px; }

.gbNavigator { margin: 5px 0; }

.gbNavigatorMicroThums {
  padding: 5px;
  margin: 0;
  border-bottom: 1px solid #5f5f5f;
  border-left: 1px solid #1d1d1d;
  border-top: 1px solid #0c0c0c;
  border-right: 1px solid #4f4f4f; 
}

.gbBlockTop {
  padding: 5px 0 0 0;
  margin: 5px 0 2px 0;
}

.gcPopupBackground { background-color: #444;}

a .alt { display: none; }

.MicroThumbs { padding-left: 10px; }

#microThumbCurrent img {
  border: 1px solid #ddd;
  filter: alpha(opacity=40); /* IE's opacity*/
  opacity:.4;
}

.buttonClose a {
  display: block;
  width: 15px;
  height: 15px;
  background: url('images/close.gif') no-repeat;
  margin: 1px;
}
.buttonClose a:hover { background-position: -15px 0; }

.buttonFirst a {
  display: block;
  width: 16px;
  height: 16px;
  background: url('images/arrow.png') 0 -32px no-repeat;
}
.buttonFirst a:hover { background-position: 0 -96px; }

.buttonLast a {
  display: block;
  width: 16px;
  height: 16px;
  background: url('images/arrow.png') 0 -48px no-repeat;
}
.buttonLast a:hover { background-position: 0 -112px;}

.buttonPrev { margin-left: 5px; }
.buttonPrev a {
  display: block;
  width: 16px;
  height: 16px;
  background: url('images/arrow.png') 0 0 no-repeat;
}
.buttonPrev a:hover { background-position: 0 -64px; }

.buttonNext { margin-right: 5px; }
.buttonNext a {
  display: block;
  width: 16px;
  height: 16px;
  background: url('images/arrow.png') 0 -16px;
}
.buttonNext a:hover { background-position: 0 -80px; }

.buttonExif a {
  display: block;
  width: 90px;
  height: 24px;
  background: url('images/buttons-en.png') 0 -144px no-repeat;
}
.buttonExif a:hover { background-position: 0 -168px; }

#exif h2 { margin: 2px 0; }

.buttonPopup a {
  display: block;
  width: 90px;
  height: 24px;
  background: url('images/buttons-en.png') 0 -192px no-repeat;
}
.buttonPopup a:hover { background-position: 0 -216px; }

.buttonAddComment a {
  display: block;
  width: 90px;
  height: 24px;
  background: url('images/buttons-en.png') 0 -96px no-repeat;
}
.buttonAddComment a:hover { background-position: 0 -120px; }

.buttonViewComments a {
  display: block;
  width: 90px;
  height: 24px;
  background: url('images/buttons-en.png') 0 -48px no-repeat;
}
.buttonViewComments a:hover { background-position: 0 -72px; }

.buttonViewSlideshow a {
  display: block;
  width: 90px;
  height: 24px;
  background: url('images/buttons-en.png') 0 0 no-repeat;
}
.buttonViewSlideshow a:hover { background-position: 0 -24px; }

.buttonCart a {
  display: block;
  width: 16px;
  height: 15px;
  background: url('images/cart.gif') no-repeat;
}
.buttonCart a:hover { background-position: -16px 0; }

.buttonShowSidebar a {
  display: block;
  width: 15px;
  height: 15px;
  background: url('http://gallery.andyramblings.co.uk/themes/ebony/images/showsidebar.gif') no-repeat;
}
.buttonShowSidebar a:hover { background-position: -15px 0; }

.buttonHideSidebar a {
  display: block;
  width: 15px;
  height: 15px;
  background: url('http://gallery.andyramblings.co.uk/themes/ebony/images/hidesidebar.gif') no-repeat;
}
.buttonHideSidebar a:hover { background-position: -15px 0; }

#gallery #sideBarContents { 
position: absolute;
top: 114px;
right: 16px;
background: #3B3B3B; 
padding: 0; 
overflow: hidden;
z-index: 1;
}

#gallery #sideBarContents .gcBackground2 {
background: #131313;
border: 1px solid #3B3B3B;
border-top: none;
border-right: 1px solid #4f4f4f;
}

#gallery #sideBarContents h2 {
  font-size: 12px;
  padding: 2px 0;
  color: #888;
  }
  
#description {
  margin: 5px 0;
  }
  
#description .gbBlock  {
  padding: 0;
  }
  
#tagwrap { clear: both; }  
#tagwrap h3 {
  margin: 0;
  }  

#description, #folksonomy, .gcBorder3 #toolbar, .BlockTitle {
  color: #888;  
  background: #333;
  border-top: 1px solid #4b4b4b;
  border-right: 1px solid #141414;
  border-bottom: 1px solid #111;
  border-left: 1px solid #444;
  padding: 5px 10px;
}

#textBanner #description {
  color: #555;
  border: 0px;
  background: #161616;
  }

#gallery #sideBarContents .BlockTitle {
  padding: 2px 5px;
  }

/* SlideShow */
.gcBorder3 { 
  padding: 10px 0; 
  background: #161616; 
  text-align: center;
  border-bottom: 1px solid #5f5f5f;
  border-left: 1px solid #1d1d1d;
  border-top: 1px solid #0c0c0c;
  border-right: 1px solid #4f4f4f; 
}
.gcBorder3 .gcBackground1 { backgorund: #333; margin-bottom: 15px; }
.gcBorder3 #toolbar { background:#333; margin: 10px 10px 0 10px; padding: 6px 0; }
#slideCtrl { float: left; margin: 0 0 0 10px; }
#photo { }
#folksonomy {
  margin: 5px 0 10px 0;
  clear: both;
  background: #333;
  border-top: 1px solid #4b4b4b;
  border-right: 1px solid #141414;
  border-bottom: 1px solid #111;
  border-left: 1px solid #444;
  }
  
.PhotoThumb {
  clear: both;
  }  
  
.PhotoThumb a {
  display: block;
  cursor: hand;
  }  
  
.AlbumTitle,
.PhotoTitle {
 margin-top: 5px;
 clear: both;
  }   
  
#gallery .AlbumTitle h3.giTitle, #gallery .PhotoTitle h3.giTitle {
  font-size: 12px;
  font-weight: bold;
  color: #aaa;
  margin: 0;
  padding: 0;
  } 
  
.AlbumTitle h3.giTitle a {
  padding-left: 22px;
  background: url(images/album.gif) 0 0 no-repeat;
  }
  
*:first-child+html .AlbumTitle h3.giTitle a {
  background: url(images/album.gif) 0 -2px no-repeat;
  }
  
.one-comment {
  margin: 8px 0 8px 0;
  padding: 6px 6px 0 6px;
  background: ;
  border: 1px solid #303030; 
  }  
#gallery .one-comment a:link, #gallery .one-comment a:visited {
font-weight: normal;
text-decoration: underline;
}

#gallery .one-comment a:hover {
font-weight: normal;
text-decoration: underline;
}
  
.InputBg {
  background: #1c1c1c;
  border: 1px solid #333;
  font-family: arial, sans-serif;
  }  
.block-imageblock-ImageBlock {
  width: 100%; 
  float: left;
  clear: both;
  }

.block-imageblock-ImageBlock .one-image {
  width: 152px;
  float: left;
  margin-bottom: 12px;
  padding: 0 16px;
  }  
  
#gallery #sideBarContents .block-imageblock-ImageBlock {
  width: 165px;
  clear: both;
  }  
  
#gallery #sideBarContents .block-imageblock-ImageBlock .one-image {
  margin: 0;
  padding: 0;
  }  
    
.BlockTitle {
  margin-bottom: 10px;
  clear: both;
  }  
  
#gallery #sideBarContents .BlockTitle {
  margin-bottom: 5px;
  }
  
#gallery #sideBarContents .gbBlock {
  padding: 5px 5px 0 5px; 
  }  
    
#gallery .BlockTitle h3 {
  margin: 0;
  padding: 0;
  }  
#gallery #sideBarContents h3, #gallery .one-comment h3 {
  font-size: 12px;
  }  
#gallery .one-image h3 { font-size: 12px; }