/* ********************************************************************************
 * 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 {
  margin: 0;
  padding: 0;
}

#gallery p {
  margin: 0.6em 0;
  padding: 0;
}

.gbBlock {
  padding: 0.5em;
  border-width: 0 0 1px 0;
  border-style: dashed;
  border-color: #bbb;
}

.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 .gbBlock h4 { margin-top: 0.5em; }

.gbBreadCrumbBackground {
  height: 20px;
}

#gsNavBar div.gbBreadCrumb {
  margin: 0px;
  height: 20px;
  padding: 0px;
  padding-top: 4px;
  padding-left: 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;
  min-height: 1024px;
}

#gallery { 
  padding: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
#gsHeader{
  height: 58px; 
  text-align: left; 
  padding: 0 0 0 0;
  border: 0 0 0 0; 
  background-image: url('../ice/images/logo.png'); 
  background-repeat: no-repeat;
}

#gallery.rtl { direction: rtl; }

#gsNavBar {
  border-top-width: 0px;
  border-bottom-width: 0px;
}

#gsNavBar div.gbSystemLinks { 
  padding: 0px;
  padding-top: 4px;
  padding-right: 6px;
}

#gsNavBar div.gbSystemLinks span { padding: 0px 2px 0 0; }

#gsSidebar {
  width: 200px;
  overflow: hidden;
  border-right-width: 0px;
  margin: 0 0px 0 0px;
}

#gsSidebarCol {
    width: 1%; /* Expand to fit content ("0" bad4 firefox, "1px" bad4 opera) */
}

div.AlbumCell, div.giItemCell {
  padding-top: 0.5em;
  padding-left: 1.0em;
  padding-right: 1.0em;
  padding-bottom: 1.0em;
  text-align: center;
}

#gallery div.giAlbumCell select, #gallery div.giItemCell select {
  margin-top: 0.8em;
}

/* So imageframed thumbs can be centered */
div.giAlbumCell table, div.giItemCell table { margin: auto; }

td.giAlbumCell, td.giItemCell {
  padding-top: 0.5em;
  padding-left: 1.0em;
  padding-right: 1.0em;
  padding-bottom: 1.0em;
  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; }

#gallery #gsSidebar ul { font-size: 1em; }

/* ********************************************************************************
 * 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;
}

body.gallery {
	height: 100%;
}

.gcBackground1 {
    background-color: #eee;
}

.gcBackground2 {
    background-color: #ddd;
}

.gcBorder1 {
    border: 0 solid #ccc;
}

.gcBorder2 {
    border: 0 solid #888;
}

#gallery a {
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    color: #5b7cb6;
}
#gallery a:hover {
    text-decoration: underline;
    color: #f4560f;
}
#gallery a:active {
    text-decoration: none;
    color: #f9c190;
}

#gallery img {
    border-width: 0;
}

#gallery img.giThumbnail:hover {
   opacity: 0.8;
   filter: alpha(opacity=80); /* IE's opacity*/
}

#gallery img.giThumbnailIce {
	padding: 6px;
	-moz-border-radius: 3px;
}

#gallery img.giThumbnailIce:hover {
	opacity: 0.8;
	filter: alpha(opacity=80); /* IE's opacity*/
}

#gallery h2, #gallery h3, #gallery h4 {
    font-family: "Trebuchet MS", Arial, Verdana, Helvetica, sans-serif;
}

#gallery input, #gallery textarea {
    border-width: 1px;
    background-color: #FFFFFF;
    -moz-border-top-colors: #AAA #EEE ;
    -moz-border-left-colors: #AAA #EEE ;
    -moz-border-bottom-colors: #AAA #EEE ;
    -moz-border-right-colors: #AAA #EEE ;
    -moz-border-radius: 2px;
}
#gallery input:focus, #gallery textarea:focus {
    -moz-border-radius: 2px;
    -moz-border-top-colors: #1E80B8 #e63000;
    -moz-border-left-colors: #1E80B8 #e63000;
    -moz-border-bottom-colors: #1E80B8 #ef6000;
    -moz-border-right-colors: #1E80B8 #ef6000;
    background-color: #C9DCE7;
    border-width: 1px;
    color: #000;
}

#gallery input.inputTypeSubmit, #gallery input.inputTypeButton {  /* No input[type=submit] in IE */
  color: #333;
  background-color: #eee;
  border-width: 1px;
  border-style: solid;
}
#gallery input.inputTypeSubmit:hover, #gallery input.inputTypeButton:hover {  /* No input[type=submit] in IE */
  background-color:  #C9DCE7;
}

#gallery select { 
    -moz-border-top-colors: #AAA #EEE ;
    -moz-border-left-colors: #AAA #EEE ;
    -moz-border-bottom-colors: #AAA #EEE ;
    -moz-border-right-colors: #AAA #EEE ;
    -moz-border-radius: 2px;
    font-size: 1em;
    border-width: 1px;
}
#gallery select:focus { 
    -moz-border-radius: 2px;
    -moz-border-top-colors: #1E80B8 #e63000;
    -moz-border-left-colors: #1E80B8 #e63000;
    -moz-border-bottom-colors: #1E80B8 #ef6000;
    -moz-border-right-colors: #1E80B8 #ef6000;
}
#gallery select:hover { 
    background-color: #C9DCE7;
}

.giTitle, #gallery h2, #gallery h3, #gallery h4 {
  font-size: 1.1em;
  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.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;
}

.giInfo span.summary { 
  display: block;
}

.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;
}

#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; }

table.gbDataTable th {
  text-align: left;
  background-color: #e7e7e7;
}

.gbEven {
    background-color: #fff;
}

.gbOdd {
    background-color: #eee;
}

div.gbTabBar {
  font-size: 0.9em;
  font-weight: bold;
  margin: 0.8em 0 0;
  padding: 6px;
  background: url('../ice/images/tab_bg.gif') repeat-x bottom;
  white-space: nowrap;
}

div.gbTabBar span.o {
    padding: 6px 0 5px 8px;
  background: url('../ice/images/tab_left.png') 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('../ice/images/tab_right.png') no-repeat right top;
}

#gallery div.gbTabBar a {
  color: #777;
  text-decoration: none;
}

#gallery div.gbTabBar a:hover { color: #f4560f; }

#gallery div.gbTabBar span.giSelected {
  padding-bottom: 6px;
  background-image: url('../ice/images/tab_left_on.png');
}

#gallery div.gbTabBar span.giSelected span {
  color: #333;
  font-weight: normal;
  padding-bottom: 6px;
  background-image: url('../ice/images/tab_right_on.png');
}

.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: #eee;
  padding: 3px 4px 3px 17px;
}

#gallery .gbMarkupBar input { font-size: 1.1em; }

#ProgressBar #progressDone {
  background-color: #666;
  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; }

/* 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.first-and-previous { float: left; }
div.gbNavigator div.next-and-last { float: right; }

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: #ccc; }

/* ********************************************************************************
 * Dynamic blocks
 */

div.block-comment-ViewComments { margin: 5px; }

div.block-comment-ViewComments div.one-comment {
  border: 1px solid #ccc;
  padding: 5px;
  margin-bottom: 5px;
}

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; }

div.block-exif-ExifInfo { margin: 0 5px 0 5px; }

span.bsw_ButtonDisabled { color: #aaa; }

span.bsw_ButtonEnabled {
  color: #333;
  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 {
  margin: 5px;
  padding: 5px;
}

/* ********************************************************************************
 * 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;
}
/*
.giRatingUI img {}
.giRatingUnit {}
.giRatingHidden {}
.giRatingVotes {}
.giRatingEmpty {}
.giRatingEmptyUserYes {}
.giRatingHalfUserNo {}
.giRatingHalfUserYes {}
.giRatingFullUserNo {}
.giRatingFullUserYes {}
.giRatingAverage {}
*/

/* ********************************************************************************
 * ice Theme for Gallery 2
 * by Boner
 */

.gsPages span { padding: 0 0.3em; }

.gsContentAlbum { 
  padding: 0 0 0 0;
}


.gsContentPhoto {
  padding: 0 0 10px 0;
  text-align: center;
}
#photoframe {
        margin: 1px 1px 0 1px;
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	padding: 6px;
	-moz-border-radius: 3px;
}
	
.gsContentDetail {
  padding: 0 5px 0 5px;
  float: left;
}

td.gsActionIcon {
  text-align: center;
  padding-left: 1px;
  padding-right: 1px;
}

td.giTitleIcon { padding-right: 10px; }

td.gbNavigatorPhoto { padding-top: 0px; }

.gbNavigator {
 padding-top: 6px; 
 margin-left: 5px; 
 margin-right: 5px; 
}

.gbNavigatorBottom {
 padding-top: 0px; 
 margin-left: 5px; 
 margin-right: 5px; 
}

.gbNavigatorMicroThums {
  padding: 4px;
  margin: 4px;
  border-width: 1px; 
  border-style: inherit;
  border-color: inherit;
  /* IE can't inherit these */
  border-style: expression(parentElement.currentStyle.borderStyle);
  border-color: expression(parentElement.currentStyle.borderColor);
  -moz-border-radius: 3px;
}

#microThumb img.giThumbnailIce {
  margin: 1px;
  padding: 3px;
}

#microThumbCurrent img.giThumbnailIce{
  margin: 1px;
  padding: 3px;
  opacity: 0.4;
  filter: alpha(opacity=40); /* IE's opacity*/
}

.gbBlockSysTop {
 margin-left: 5px; 
 margin-bottom: 10px; 
}

.gbBlockTop {
  padding: 2px;
  margin: 2px;
  margin-left: 5px;
  margin-right: 5px;
  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);
}
.gbBlockNavTop {
 margin-left: 10px; 
 margin-right: 10px; 
 margin-bottom: 5px; 
}
.gbBlockBottom {
  margin-top: 5px; 
  margin-bottom: 5px; 
  margin-left: 10px; 
  margin-right: 10px; 
  border-width: 1px 0 0 0;
  border-style: inherit;
  border-color: inherit;
  /* IE can't inherit these */
  border-style: expression(parentElement.currentStyle.borderStyle);
  border-color: expression(parentElement.currentStyle.borderColor);
}

a .alt { display: none; }

.downloadItem {
  width: 40px;
  height: 40px; 
  background: url('../ice/images/download.png') no-repeat;
  background-position: center center;
}

.spacerItemLinks {
  float: left;
  margin-top: 1px;
  margin-left: 3px;
  height: 20px;
  margin-right: 3px; 
  border-width: 0 1px 0 0;
  border-style: inset ;
}
      
.buttonItemLinks {
  float: left;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  margin-right: 1px; 
  margin-bottom: 1px; 
  height: 22px;
  background-position: center center !important;
}

.buttonItemLinks:hover {
  -moz-border-radius: 2px;
  border-color: #ccc;
  opacity: 0.8;
}

.buttonAction a {
  float: left;
  margin-top: 1px;
  margin-left: 4px;
  padding-right: 3px;
  height: 16px;
  width: 16px;
}
.buttonAction a:hover { 
  opacity: 0.8;
}

.buttonActionPhoto a {
  float: left;
  margin-left: 5px;
}

.iconAlbum {
  display: block;
  width: 16px;
  height: 16px; 
  background: url('../ice/images/album.png') no-repeat;
  background-position: center center;
}

.iconEmergency {
  display: block;
  width: 20px;
  height: 20px; 
  background: url('../ice/images/emergency.png') no-repeat;
  background-position: center center;
}

.buttonClose a {
  float: right;
  margin-left: 0px;
  padding-right: 0px;
  background: url('../ice/images/close.png') no-repeat;
  background-position: center center;
}

.buttonFirst a {
  padding-right: 0px;
  margin-left: 0px;
  background: url('../ice/images/first.png') no-repeat;
  background-position: center center;
}

.buttonLast a {
  padding-right: 0px;
  margin-left: 0px;
  background: url('../ice/images/last.png') no-repeat;
  background-position: center center;
}

.buttonPrev a {
  padding-right: 0px;
  margin-left: 0px;
  background: url('../ice/images/prev.png') no-repeat;
  background-position: center center;
}

.buttonNext a {
  padding-right: 0px;
  margin-left: 0px;  
  background: url('../ice/images/next.png') no-repeat;
  background-position: center center;
}

.buttonExif a {
  height: 16px;
  width: 16px;
  margin-top: 5px;
  background: url('../ice/images/exif.png') no-repeat;
  background-position: center center;
}

.buttonPopup a {
  height: 16px;
  width: 16px;  
  margin-top: 5px;
  background: url('../ice/images/fullsize.png') no-repeat;
  background-position: center center;
}

.buttonAddComment a {
  margin-top: 5px;
  background: url('../ice/images/add_comment.png') no-repeat;
  background-position: center center;
}

.buttonViewComments a {
  margin-top: 5px;
  margin-bottom: 3px;  
  background: url('../ice/images/view_comment.png') no-repeat;
  background-position: center center;
}

.buttonViewSlideshow a {
  margin-top: 6px;
  margin-bottom: 2px;  
  background: url('../ice/images/view_slideshow.png') no-repeat;
  background-position: center center;  
}

.buttonCart a {
  margin-top: 5px;
  background: url('../ice/images/add_cart.png') no-repeat;
  background-position: center center;
}

.buttonShowSidebar a {
  margin-top: 6px;
  margin-bottom: 3px;  
  background: url('../ice/images/showsidebar.png') no-repeat;
  background-position: center center;
}

/* -- Gallery floating thumbnails ------------------ */

.gallery-album {
    	padding-top: 10px;
    	padding-bottom: 10px;
	width: 98%; /* Change to 96% if you want 1 Album per line */
    	margin-left: 20px;
	display: block;
	float: left;
	overflow: hidden;
}

.gallery-album p {
	font-size: 1em;
}

.gallery-thumb {
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	float: left;
	text-align: center;
}
