/* ********************************************************************************
 * EXiMiOUS Theme for Gallery 2
 * by Karl Giesing
 */

/* ********************************************************************************
 * Layout Section
 * 
 * #gallery              Page container
 * #gsNavBar             Top bar with breadcrumb and other links
 * #gsSidebar            Sidebar
 * 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
 * div.gbNavigator       Navigation
 */

/* #gallery */

#gallery {
    margin: 0;
    padding: 0;
    width: 100%;
    clear:both;
    overflow: visible;
}

#gallery h2,
#gallery h3,
#gallery h4,
#gallery form {
    margin: 0;
    padding: 0;
    left: 0;
}

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

#gallery > table {
	width: 100%;
}

/* #gallery RTL */

#gallery.rtl {
    direction: rtl;
}

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

/* #gsNavBar */

#gsNavBar {
	width: 65.7%;
    margin: 1em 0 0 0 0;
}

#gsNavBar div.gbBreadCrumb {
    margin: 0;
    padding: 0.25em 0.5em;
}

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

#gsNavBar div.gbSystemLinks {
    padding: 0.25em 0.3em;
}

#gsNavBar div.gbSystemLinks span {
    padding: 0 0.25em;
}

/* #gsContent */

#gsContentCol {
    width: 66%;
    min-width: 23em;
}

/* #gsSidebar */

#gsSidebarCol {
    width: 10em;
    padding: 0 1em;
    overflow: visible;
	margin-top: 0;
}

#gsSidebar {
    border-right-width: 1px;
    overflow: visible;
}

#gsSidebar ul {
    padding-left: 0;
}

#gsSidebar li {
    list-style: none;
}

/* #gsFooter */

#gsFooter {
    padding-top: 0.25em;
}

/* div.gbBlock */

.gbBlock {
    padding: 0.7em;
    border-width: 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: 0.375em 0 0 0;
}

#gallery .gbBlock h3 {
    margin-bottom: 0.5em;
}

#gallery .gbBlock h4 {
    margin-top: 0.5em;
}


table.gbDataTable {
    padding-bottom: 0.25em;
}

table.gbDataTable th,table.gbDataTable td {
    padding: 0.25em;
}

.giBlockToggle {
    padding: 0 0.4em 0.1em;
}

.giBlockToggle:hover {
    cursor: pointer;
}

.gbMarkupBar {
    margin: 0.25em 0;
}

#gallery .gbMarkupBar input {
    margin: 0;
    padding: 0;
}

/* div.gbNavigator */

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

/* Dynamic blocks */

div.block-comment-ViewComments {
    margin: 5px;
}

div.block-comment-ViewComments div.one-comment {
    padding: 5px;
    margin-bottom: 5px;
}

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


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

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

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

table.bsw_ParamTable {
    width: 100%;
    border-collapse: collapse;
}

td.bsw_BlockCommands {
    white-space: nowrap;
    text-align: center;
}

/* Rating module style fix for Matrix */
.giRatingUI {
    margin: 10px auto;
    /* Required to center default rating module star images */
}

#gsThumbMatrix .giRatingAverageContainer {
    margin: auto;
}

/* Blocks */

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

.gbEmptyAlbum {
    height: 400px;
}

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

#gallery #gsSidebar ul {
    font-size: 1em;
}

/* ********************************************************************************
 * Colors, fonts, and borders
 * 
 * #gallery              Page container
 * #gsNavBar             Top bar with breadcrumb and other links
 * #gsContent            Main content
 * #gsSidebar            Sidebar
 * 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 */

#gallery {
    /* background: transparent url("images/bg-ffc.png") repeat scroll 0% 0%; */
    color: #000;
    font-size: 80%;
	/* border: 1px solid #c00; */
}

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

#gallery a:hover,
#gallery a:active{
    color: #c00;
    text-decoration: none;
}

#gallery img {
    border-width: 0;
}

.giTitle,
#gallery h2,
#gallery h3,
#gallery h4 {
    font-size: 1.3em;
    font-weight: bold;
}

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

/* #gallery forms */

#gallery input:focus,
#gallery textarea:focus {
    background-color: #FFC;
    color: #000;
}

#gallery input.inputTypeSubmit,
#gallery input.inputTypeButton {
    /* No input[type=submit] in IE */
    background-color: #ff6;
    background-image: none;
    border: 2px #C00 solid;
}

#gallery select {
    font-size: 1em;
}

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

/* #gallery tabs */

#gallery div.gbTabBar span span {
    padding: 6px 12px 5px 0.25em;
    background: url('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('images/tab_left_on.jpg');
}

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

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

div.gbTabBar span.o {
    padding: 6px 0 5px 0.5em;
    background: url('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;
}

/* Tiger stripes */

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

.gbEven {
    background-color: #fff;
}

.gbBusy {
    background-color: #78D478;
}

.gbOdd {
    background-color: #eee;
}

/* General colors */

.gcBackground1 {
    /* background: transparent url("images/bg-ffc.png") repeat scroll 0% 0%; */
}

.gcBackground2 {
    background-color: transparent;
}

.gcBorder1 {
    /* border: 1px solid #c00; */
	border: hidden;
}

.gcBorder2 {
    border: 0;
}


/* #gsNavBar */

#gsNavBar {
	border: 1px solid #c00;
	border-right: 2px solid #c00;
}

#gsNavBar div.gbBreadCrumb {
    background-color: #FF6;
    font-size: 1.1em;
    font-weight: bold;
}

#gsNavBar div.gbBreadCrumb a,
#gsNavBar div.gbBreadCrumb span {
    padding: 0 0 0 1em;
    background: #FF6 url('images/icon_path_separator.gif') no-repeat left;
}

#gsNavBar div.gbBreadCrumb span.BreadCrumb-1,
#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: 0.25em; /* IE has less space at right of each span */
}

#gsNavBar div.gbSystemLinks {
    float: right;
}

/* #gsContent */

#gsContent {
    background: transparent url("images/bg-ffc.png") repeat scroll 0% 0%;
	border: 2px solid #393;
}

/* #gsSidebar */

/* Override sidebar styling in WordPress theme */
#gsSidebarCol #sidebar {
    width: 100%;
    font-size: 100%;
}

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

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


/* Information elements */

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

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

.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: #5c0;
}

.giWarning {
    color: #c50;
}

.giError {
    color: #a44;
}

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

/* Dynamic blocks */

div.block-comment-ViewComments p.info {
    font-style: italic;
    text-align: right;
    font-size: 0.95em;
}

span.bsw_ButtonDisabled {
    color: #999;
}

span.bsw_ButtonEnabled {
    color: #000;
    cursor: pointer;
}

tr.bsw_ParamHeaderRow {
    background-color: #EEE;
}

tr.bsw_ParamHeaderRow td {
    font-weight: bold;
    text-align: center;
    border: 1px solid #999;
}
