/* Typography 
=================================== */
* {margin: 0; padding: 0;}

a {	
	color: #232936;	
	text-decoration: none;
	border-bottom: 1px dotted; 
}
	
a:hover, a:active {border-bottom-style: solid;}

#gsSidebar a, #gsHeader a, .block-core-navigator div a, .gbAdminLink {border: none;}

h1 { padding: 0 1em; }

ul, ol {
	list-style: inside;
	padding: 0;
}

/* EXCEPTION: non-semantic HTML, clears floated elements*/
p.clear { font-size: .2em; }	
p.clear, #gsNavBar { clear: both; }

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

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

.gbEmptyAlbum { height: 400px; }

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

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

.giInfo .summary {
    display: inline;
    margin-right: 2.0em;
}

.giAlbumCell .summary, .giItemCell .summary {
    display: block;
    margin-right: 0;
}

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

/* Borders and Backgrounds
=================================== */
.gcBackground1 {background-color: #f7f3eb;}
.gcBackground2 {background-color: #e7e7e7;}
.gcBackground3 {background-color: #e7e7e7;}

.gcBorder1 {border: 0 solid #ccc;}
.gcBorder2 {border: 0 solid #888;}

.gbBlock {
    clear: both;
    padding: 0.7em 0.7em 0.7em 3.0em;
    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);
}

.giBlockToggle { padding: 0 0.4em 0.1em; }
.giBlockToggle:hover { cursor: pointer; }

.gbMarkupBar { margin: 4px 0; }

#gallery.rtl { direction: rtl; }

/* General Layout 
=================================== */
img {border: none;}

body {
	font-family: Calibri, Geneva, Arial, Helvetica, sans-serif;
	font-size: .8em;
}

#gallery {
    color: #333;
	 position: relative;
}

#gsHeader {
	border-bottom: #232936 5px solid;
	position: relative;
}

#gsContent {
    margin: 0;
    padding: 0;
}

#gsFooter {
	border-top: #b0a99b 2px solid;
	padding: 4px;
	text-align: center;
	clear: both;
	color: #232936;
}

/* photos 
=================================== */
#gbTitleBar img {
	position: absolute;
	top: 40px;
	left: 10px;
}

#gbTitleBar {
	padding: 10px 0 10px 220px;
	border-width: 1px 0;
}

#gallery.rtl #gbTitleBar h2 {
    margin-right: 2em;
}

div.giAlbumCell, div.giItemCell {
    float: left;
    clear: none;
    margin: 0.2em;
    padding: 1em;
    text-align: center;
    overflow: hidden;
}

div.giAlbumCell table, div.giItemCell table {
    margin: auto;
}

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

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

#gsThumbMatrix {
    width: auto;
    clear: both;
}

#gsImageViewContainer {
   margin: 0 auto;
	padding: 10px;
}

#gsPages { clear: both; }
#gsPages span { padding: 0 0.3em; }


/* Sidebar 
=================================== */
.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; }
.gbBlock h3 { margin-bottom: 0.5em; }
.gbBlock h4 { margin-top: 0.5em; }

#gsSidebar, #showSidebarTab, #hideSidebarTab, #gsSidebarCol { display: none; }

/* Drop Shadows ydnar@sixapart.com - http://www.sixapart.com
=================================== */
.dropshadow {
    display: block;
    position: relative;
    margin: 4px -10px -4px 4px;
    background: url('images/shadow-grid.gif') repeat;
}

/* ie6 ignores this selector */
html>body .dropshadow {
    z-index: 100; /* to avoid overlap of images on sidebar in Safari */
    margin: 10px -15px -15px 0px;
    background: url('images/shadow.png') right bottom no-repeat;
}

/* shadow corners */
.dropshadow:before, .dropshadow:after {
    content: " ";
    display: block;
    width: 15px;
    height: 10px;
    background: inherit;
}

.dropshadow:before {
    position: absolute;
    top: 0;
    right: 0;
    margin: -10px 0 0 auto;
    background-position: right top;
}

.dropshadow:after {
    margin: -10px 0 0 -10px;
    background-position: left bottom;
}

.dropshadow .inner {
    display: block;
    position: relative;
    overflow: hidden; /* prevents margin leakage from child elements */
    left: -4px;
    top: -4px;
}

/* ie6 ignores this selector */
html>body .dropshadow .inner {
    left: -15px;
    top: -15px;
    margin: 0;
}

/* Navbar 
=================================== */
#gallery.IE #gsNavBar { display: inline-block; }

#gsNavBar div.gbBreadCrumb {
    margin: 0;
    padding: 4px 8px;
}

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

#gsNavBar div.gbSystemLinks, #gbSearch { display: none; }

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

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

/* Table with shaded rows
=================================== */
table.gbDataTable th {
    text-align: left;
    background-color: #e7e7e7;
}

.gbEven { background-color: #fff; }
.gbBusy { background-color: #ae9 !important; }
.gbOdd { background-color: #eee; }

table.gbDataTable { padding-bottom: 4px; }
table.gbDataTable th, table.gbDataTable td { padding: 4px; }


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

div.gbTabBar span.o {
    padding: 6px 0 5px 8px;
    background: url('../floatrix/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('../floatrix/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('../floatrix/images/tab_left_on.jpg');
}

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

/* Auto Complete
=================================== */
.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;
}

/* VCR Buttons (Prev, Next)
=================================== */
#gsNavBar div {
    margin-top: 0.1em;  /* Align system links with breadcrumb */
    font-weight: bold;
}

div.gbNavigator { display: none; }

.block-core-ItemInfo { margin-top: 1.2em; }
div.floatrix-userLinks, div.block-core-ItemLinks, div.block-core-PhotoSizes { display: none; }

/* 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;
  clear: both;
}
#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;
}

#gbAlbumBlocks {
    margin: 0 1.0em 1.0em 2.0em;
    clear: both;
}


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


/* Rating Module Fix
=================================== */
.giRatingUI {
    margin: 10px auto; /* Required to center default rating module star images */
}
#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}
