/*
 * Gallery - a web based photo album viewer and editor
 * Copyright (C) 2000-2007 Bharat Mediratta
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or (at
 * your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 */

/* ********************************************************************************
 * Ajaxian Theme for Gallery 2
 * by Ross Shannon
 * ********************************************************************************/

#gallery {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333;
    background-color: transparent; /* #000000;*/
}

body.gallery .gallerybody {
    margin: 0px;
    padding: 0px;
    background: #000000; /* url(images/starry_bg.png); */
    color: #333;
    font-family: Verdana, Arial, Helvetica, sans-serif;
/*    text-align: center; */
}

div.gallerybody
{
   margin:0px;
   padding:0px;
   background:#000000;
}

/*.gallerybody div.IE {
   width: 640px;
   margin:0px;
   padding:0px;
   background: #FF0000;
}
*/

/* Main Structure */

.gallerybody #white-rap {
    width: 640px;
    background-color: transparent; /* #000000; */
    margin: 0px auto 0px;
}

.gallerybody #header {
    position: relative;
    padding: 0px;    
}

.gallerybody #footer {
    position: relative;
    padding: 5px;
    background-color: #000000;
    border: 0px; 
}

.gallerybody #main {
    margin: 0px;
    padding:0px;
}

.gallerybody #frame {
    position: relative;
    padding: 0px;
    padding-top: 1px;
    background-color: transparent; /* #000; */
    color: #fff;
    min-height: 450px;
    height: auto !important;
    height: 450px;
}

.gallerybody #albumframe {
    position: relative;
    padding: 2px 15px 20px;
    /*background-color: #000;*/
    color: #fff;
}


/* HTML Element Restyles */

.gallerybody a {
    font-weight: bold;
    text-decoration: none;
    color: #6b8cb7;
}
.gallerybody a:hover {
    text-decoration: underline;
    color: #f4560f;
}
.gallerybody a:active {
    text-decoration: none;
    color: #f9c190;
}

.gallerybody a img {
    border: none;
}

.gallerybody h1,.gallerybody  h2,.gallerybody  h3 {
    font-weight: normal;
}

.gallerybody h3 {
    font: 15px "Lucida Sans Unicode";
}

.gallerybody hr {
    height: 1px;
    margin: 1em 0 0.5em;
    border: none;
    background-color: #555;
    color: #555;
}

.gallerybody label {
    font-weight: bold;
}

.gallerybody select {
    margin: 3px 0;
    vertical-align: middle;
    font-size:0.8em;
    /* font: 1em Verdana; */
}

/* Header */

.gallerybody #header h1 {
    margin: 0;
    padding: 0 10px;
}

.gallerybody #header form {
    position: absolute;
    top: 6px;
    right: 6px;
    margin: 0;
    padding: 0;
    text-align: right;
}

.gallerybody #searchCriteria {
    width: 190px;
    padding: 1px 2px 2px;
    background-color: #f6f6ff;
    border: 1px solid #48a;
}
.gallerybody #searchCriteria:hover {
    background-color: #fff;
    border-color: #59d;
}
.gallerybody #searchCriteria:focus {
    background-color: #ffd;
}

.gallerybody .gbBreadCrumb {
    padding: 5px;
    font-weight: bold;
    color: #FFFFFF;
    font-size: 10px;
}

.gallerybody .gbBreadCrumb span, .gbBreadCrumb a {
    padding: 0 0 0 14px;
    background: url('images/icon_path_separator.gif') no-repeat left;
}

.gallerybody .gbBreadCrumb a.BreadCrumb-1 {
    padding-left: 0;
    background-image: none;
    white-space: nowrap;
}

.gallerybody #gbSystemLinks {
    position: absolute;
    top: 1.5em;
    right: 4px;
    margin: 0;
    padding: 0;
}

.gallerybody #gbSystemLinks span {
    display: inline;
    float: left;
    margin-left: 10px;
}

.gallerybody #photohead .block-core-ItemInfo .summary {
    padding: 2px 0;
}
.gallerybody #gbSystemLinks span a {
    padding: 3px 5px 4px;
}

/* Photo page navigation */

.gallerybody .gbNavigator {
    position: relative;
    clear: both;
    margin: 5px 0 3px;
    padding: 8px 0 8px 2px;
    height: 14px;
    /* background-color: #0f0f0f; */
    /* border: solid #333;
    border-width: 1px 0; */
}

.gallerybody .gbNavigator a {
    background-color: #292929;
    padding: 6px 9px;
    margin: 1px;
    -moz-border-radius: 5px;
}

.gallerybody .gbNavigator a:hover {
    background-color: #292929;
    -moz-border-radius: 5px;
}

.gallerybody .first-and-previous img,.gallerybody  .next-and-last img {
    vertical-align: top;
    padding: 0 3px;
}

.gallerybody .goback {
    position: absolute;
    top: 8px;
    left: 40%;
}

.gallerybody .next-and-last {
    float: right;
}
.gallerybody .next-and-last.no-previous {
    float: none;
    text-align: right;
}

.gallerybody a.backtoalbum {
    margin-top: -1.3em;
    padding-left: 20px;
    padding-right: 20px;
}

/* Full Photo */

.gallerybody #gsImageView {
    margin: 0 0 1em;
    text-align:center;
}

/* Frame Elements */

.gallerybody h2 {
    margin: 13px 5px;
    color: #eee;
    font: 22px "Lucida Sans Unicode";
    text-transform: capitalize;
}

.gallerybody #loading {
    position: absolute;
    top: 200px;
    left: 35%;
    width: 160px;
    z-index: 1000;
    padding: 10px 0 10px 28px;
    background: #000 url(images/working-hard-trans.gif) 8px 4px no-repeat;
    text-align: center;
    color: #eef;
    font: italic 15px "Trebuchet MS";
    -moz-border-radius: 10px;
    opacity: 0.4;
    -moz-opacity: 0.4;
    filter: alpha(opacity=40);
}

.gallerybody #main-image-container {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallerybody #main-image-container #sliding-frame p {
    position: relative;
    height: 470px;
    overflow: hidden;
}

.gallerybody #main-image {
    position: absolute;
    left: 2px; /* 105px */
    cursor: nw-resize;
    z-index: 10;
    background-color: #111;
}

.gallerybody #imagedatablock {
    position: absolute;
    top: 40px;
    left: 310px;
    width: 220px;
    min-height: 160px;
    padding: 10px;
    background: #050505 url(images/infobox_bg.png) bottom right no-repeat;
    border: 1px dotted #999;
    text-align: left;
}

.gallerybody #imagedatablock:hover {
    background-color: #0f0f0f;
    border-color: #fff;
}

.gallerybody #fullsizelink {
    padding: 0 0 0 23px;
    background: transparent url(images/new-window.png) left no-repeat;
}

.gallerybody .emptyAlbum {
    margin: 2em 0 0;
    font-size: 1.4em;
}

/* Controls */

.gallerybody #slideshow-controls {
    position: relative;
    height: 40px;
    margin: 0px 0 -40px;
    overflow: hidden;
    z-index: 100;
    text-align: left;
}

.gallerybody #main-image-container > #slideshow-controls {
    margin-bottom: -50px;
}

.gallerybody #slideshow-controls ul {
    position: absolute;
    margin: 0;
    padding: 3px 235px 3px 250px;
    list-style: none inside;
    background-color: #000;
    opacity: 0.6;
    -moz-opacity: 0.6;
    filter: alpha(opacity=40);	/* Lower opacity for IE since the controls don't hide */
}

.gallerybody #slideshow-controls ul li {
    float: left;
    margin: 0;
    padding: 0;
}

.gallerybody #slideshow-controls button {
    width: 40px;
    margin: 0;
    padding: 0;
    background-color: #000;
    border: none;
    text-align: center;
    cursor: pointer;
}

.gallerybody #slideshow-controls button:hover {
    background: url(images/controls-hover-effect.png) 50% 50% no-repeat;
    border: none;
}

/* Thumbnails */

.gallerybody #thumbs-container {
    position: relative; /* Opera */
    width: 540px;
    margin: -0px auto 0;
    padding: 6px 40px;
    /* background-color: #000; */
    opacity: 0.85;
    -moz-opacity: 0.85;
    filter: alpha(opacity=85);
    z-index: 100;
}

.gallerybody #gsThumbMatrix {
    min-height: 120px;
    margin: 0 auto;
}

.gallerybody #gsThumbMatrix td {
    padding: 2px;
}

.gallerybody #gsThumbMatrix a .giThumbnail {
/*    height: 40px;
    width: 40px; */
    background-color: #666;
    border: 1px solid #333;
}

.gallerybody #gsThumbMatrix a:hover .giThumbnail {
/*    height: 48px;
    width: 48px; */
    margin: -4px;
    background-color: #fff;
    border: 1px solid #fb2;
}

.gallerybody #gsThumbMatrix a:hover:active .giThumbnail {
/*    height: 44px;
    width: 44px; */
    margin: -2px;
}

.gallerybody #gsThumbMatrix a .currentImage,.gallerybody  #gsThumbMatrix a:hover .currentImage {
    border-color: #fff;
}

/* Subalbums */

.gallerybody #subalbums-container h3 {
    width: 75%;
    border-bottom: 1px solid #fff;
}

.gallerybody #gsSubAlbumMatrix {
    width: 450px;
    margin: 0 auto 1em;
    border-collapse: separate;
}

.gallerybody #gsSubAlbumMatrix td {
    width: 50%;
    padding: 1px 2px 4px 5px;
    border: 1px solid #222;
    line-height: 1.4em;
}

.gallerybody #gsSubAlbumMatrix td.sahover {
    background-color: #302f2f;
    border-color: #888;
    cursor: pointer;
}

.gallerybody #gsSubAlbumMatrix img.giThumbnail {
/*    width: 80px;
    height: 60px; */
    float: left;
    vertical-align: middle;
    margin-right: 6px;
    margin-top: 2%;
    border: 1px solid #6b8cb7;
}

.gallerybody #warning {
    margin: 1em 0;
    background-color: #fe9;
    border: 1px solid #c95;
    color: #c00;
}

/* Photo pages */

.gallerybody #photohead {
    width: 68%;
}

.gallerybody #sidephotodetails {
    padding: 10px 0 5px 10px;
    border: 1px solid #101010;
}

/* Tables */

.gallerybody .gbDataTable {
    margin: 0.8em 0;
}

.gallerybody .gbDataTable td {
    padding: 2px 6px;
}

.gallerybody .gbDataTable td.gbOdd {
    background-color: #191919;
}

.gallerybody .gbBusy {
    background-color: #114499 !important;
}

/* Exif data */

.gallerybody .block-exif-ExifInfo div {
    margin: 0 0 0 -8px;
    padding: 0 8px;
    font-weight: bold;
}

.gallerybody .block-exif-ExifInfo div a {
    margin: 0 15px 0 0;
    padding: 3px 10px;
    border: 1px solid #333;
    border-bottom: none;
    -moz-border-radius: 4px 4px 2px 2px;
}

.gallerybody .block-exif-ExifInfo div a:hover {
    background-color: #0f0f0f;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

.gallerybody .block-exif-ExifInfo .gbDataTable {
    width: 100%;
    margin: 2px 0;
    border: solid #333;
    border-width: 1px 0;
}

/* Footer elements */

.gallerybody #footer p {
    margin: 5px 0 10px 10px;
}

.gallerybody #footerSystemLinks {
   text-align: right;
   width: 100%;
}

.gallerybody #footerSystemLinks .block-core-SystemLink a {
    padding: 5px 1em 1.6em;
}

/* Admin pages */

/*
.gallerybody #gsSidebarCol {
    width: 150px; 
    padding: 10px 0 0 0;
}
*/
.gallerybody #gsSidebarCol ul {
    margin: 0;
    padding: 0;
    list-style: none inside;
    line-height: 1.8em;
}

.gallerybody #gsSidebar {
    padding: 10px 8px 10px 10px;
    background-color: #191919;
    -moz-border-radius: 10px 0 0 10px;
    max-width: 250px;
/*    overflow: hidden; */
}

.gallerybody #gsContent {
    padding: 0 12px;
}

.gallerybody .gbTabBar {
    margin-top: 20px;
    padding-bottom: 3px;
    border-bottom: 1px solid #333;
    line-height: 1.7em;
}

.gallerybody .gbTabBar .giSelected {
    margin: 0 4px 0 0;
    padding: 3px 10px 3px;
    background-color: #393333;
    border: 1px solid #333;
    border-bottom: none;
    -moz-border-radius: 4px;
    font-weight: bold;
    color: #fe9;
}

.gallerybody .gbTabBar span a {
    margin: 0 4px 0 0;
    padding: 3px 6px 6px;
    background-color: #000;
    border: 1px solid #333;
    border-bottom: none;
    -moz-border-radius: 4px 4px 0 0;
    line-height: 1.2em;
}

.gallerybody .gbTabBar span a:hover {
    margin-bottom: -1px;
    background-color: #0f0f0f;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

.gallerybody #gsContent .gbDataTable {
    border-spacing: 0;
}

.gallerybody #gsContent .gbDataTable th {
    padding: 3px 6px;
    background-color: #333;
    border-bottom: 1px solid #444;
}

.gallerybody #gsContent .gbDataTable td {
    padding: 4px 3px;
}

.gallerybody #gsContent .gbDataTable th:first-child {
    -moz-border-radius: 10px 0 0 0;
}

.gallerybody #gsContent .gbDataTable th:last-child {
    -moz-border-radius: 0 10px 0 0;
}

.gallerybody #gsContent .gbDataTable .gbOdd {
    background-color: #111;
}

.gallerybody #gsContent textarea {
    width: 475px;
}

/* Messages */

.gallerybody .summary {
    white-space: nowrap;
}

.gallerybody .giSuccess {
    font-size: 1.3em;
    font-weight: bold;
    color: #7c4;
}

.gallerybody .giError {
    font-weight: bold;
    color: #c73;
}

.gallerybody h2.giError {
    font-size: 1.3em;
    color: #c30;
}

.gallerybody .giNew {
    color: #f90;
}

.gallerybody .giUpdated {
    color: #db0
}

/* Debug Only */
.gallerybody #msgarea {
    display: none;
    width: 150px;
    position: absolute;
    z-index: 10;
    top: 60px;
    left: 10px;
    background-color: #fdf;
    color: #060;
    text-align: left;
    font: 11px "Lucida Sans Unicode";
    -moz-opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-border-radius: 12px;
}

.gallerybody #msgarea h4 {
    margin: 5px 0 -5px 20px;
    font: bold 12px "Lucida Sans Unicode";
}

.gallerybody #msgarea p {
    padding: 0 3px 0 8px;
    background-color: #fdf;
}

.gallerybody .autoCompleteShadow {
    background-color: #a0a0a0;
}

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

.gallerybody .autoCompleteContainer li.yui-ac-highlight {
    background-color: #eee;
    color: #111;
}

.gbAdminLink {
   display:block;
   padding: 2px;
   border-top: 1px solid #3399CC;
}

.gbAdminLink:hover {
   background: #3399CC;
   color: #333333;
   text-decoration: none;
}

.gallerybody .block-rating-Rating
{
	margin-left: 10px;
}

.gallerybody #addCommentForm
{
	margin-left: 10px;
}

.gallerybody .block-comment-ViewComments
{
	margin-left: 10px;
}
