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

body {
    margin: 0;
    padding: 0;
    background-color: #4F4633;
    background-image: url(images/bgpage.jpg);
    background-position: center top;
    background-repeat: repeat-y;
    border-top: 0px solid #ff6600;
    color: #D7C5AD;
    font: 0.7em 'Lucida Sans Unicode',Helvetica,sans-serif;
    text-align: center;
}

/* Main Structure */

#white-rap {
    width: 930px;
    margin: 0 auto 0;
    padding: 0 15px;
    background-color: transparent;
/*    border-right: 1px solid #E2E1D9;*/
/*    border-bottom: 1px solid #E2E1D9;*/
/*    border-left: 1px solid #E2E1D9;*/
    text-align: left;
/*    -moz-border-radius: 0 0 11px 11px; */
}

#header {
    position: relative;
    padding: 0;
    margin: 10px 0 0 0;
    display: block;
    height: 200px;
}

#footer {
    position: relative;
    padding: 0px;
    text-align: center;
}

#main {
    background-image: url('images/framebg.gif');
    background-repeat: repeat-y;
    background-position: center top;
    margin: 10px 0;
/*    padding: 12px;*/
    background-color: #dfdbdb;
/*    border: 1px solid #C7C6C0;*/
/*    -moz-border-radius: 5px;*/
}

#frame {
    background-image: url('images/framebg.gif');
    background-repeat: repeat-y;
    background-position: center top;
    width: 890px;
    margin: 0 auto;
    position: relative;
    padding: 10px 10px 0 10px;
    background-color: #AB7F58;
    color: #D6C4AD;
/*    -moz-border-radius: 5px;*/
    border-bottom: 1px solid #D8C4AC;
}

#frametop {
    background-image: url('images/frametop.gif');
    background-repeat: no-repeat;
    width: 930px;
    height: 35px;
    line-height: 35px;
    min-height: 35px;
    max-height: 35px;
    font-size: 0;
}

#frametop h2 {
	margin: 0 0 0 12px;	
}

#framebottom {
    background-image: url('images/framebottom.gif');
    background-repeat: no-repeat;
    width: 930px;
    height: 10px;
    line-height: 10px;
    min-height: 10px;
    max-height: 10px;
    font-size: 0pt;
}

/* HTML Element Restyles */

p {
	margin: 0;
	padding: 0;	
}

a, a:link, a:active, a:visited {
    font-weight: bold;
    text-decoration: underline;
    color: #D8C3AE;
}

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

a img {
    border: none;
    text-decoration: none;
}

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

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

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

label {
    font-weight: bold;
}

select {
	font-family:'Trebuchet MS',Helvetica,sans-serif;
	margin: 0 0 10px 0;
	vertical-align: middle;
	font: 1em Verdana;
	background-color: #62372B;
	border: 1px solid #D8C3AE;
	color: #D8C3AE;
}

/* Header */

#header h1 {
    margin: 0;
    padding: 0;
}

#header form {
    position: absolute;
    top: 160px;
    right: 355px;
    margin: 0;
    padding: 0;
    text-align: right;
}

#searchCriteria {
    font-family: 'Lucida Sans Unicode',Helvetica,sans-serif;
    font-size: 8pt;
    background-color: #62372B;
    background-image: url('images/searchbg.jpg');
    background-repeat: repeat-x;
    color: #D7C5AD;
    width: 190px;
    padding: 1px 2px 2px;
    border: 1px inset #62372B;
}
#searchCriteria:hover {

}
#searchCriteria:focus {

}

.gbBlock {
    background-image: url('images/ab7f58.gif');
	background-color: #AB7F58;
	border: 1px solid #D9C5AE;
	padding: 10px;
	margin: 0px 0px 10px 0px;
    font-family: "Lucida Sans Unicode";
}

.gbBlock h1, .gbBlock h2, .gbBlock h3, .gbBlock h4, .gbBlock h5, .gbBlock h6{
	padding: 0px;
	margin: 0px auto;
    font-family: "Trebuchet MS";
    font-size: 12pt;
    color: #D8C3AE;
    font-weight: bold;
    background-color: #62372B;
    -moz-border-radius: 5px;
    text-align: center;
}

.gbBreadCrumb {
    position: absolute;
    top: 9px;
    left: 12px;
    margin: 1px 0;
    font-weight: bold;
}

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

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

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

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

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

/* Photo page navigation */

.gbNavigator {
    position: relative;
    clear: both;
    margin: 0.6em 0;
    padding: 8px 0 8px 2px;
    background-image: url('images/ab7f58.gif');
	background-color: #AB7F58;
    border: 1px solid #D8C4AC;
}

.gbNavigator a {
    padding: 6px 9px;
}

.gbNavigator a:hover {
    background-color: #62372B;
    color: #D7C5AD;
    -moz-border-radius: 5px;
}

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

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

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

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

/* Full Photo */

#gsImageView {
	margin:0 auto;
	text-align:center;
}

/* Frame Elements */

h2 {
    margin: 0;
    color: #D7C5AD;
    font-family: "Trebuchet MS";
    font-weight: bold;
    text-transform: capitalize;
	font-size: 12pt;
	text-transform: capitalize;

}

h2#item-title {
	margin: -29pt 0pt 11pt -10px !important;
	position: relative;
	top: 0pt;
	left: 0pt;
}

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

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

#main-image-container #sliding-frame p {
    position: relative;
    height: auto;
    overflow: hidden;
}

#main-image {
/*    position: absolute;*/
/*    left: 105px;*/
    cursor: pointer;
    z-index: 10;
    background-color: #000;
}

#imagedatablock {
    position: absolute;
    top: 60px;
    left: 380px;
    width: 220px;
    min-height: 160px;
    padding: 10px;
    background: #000 url(images/infobox_bg.png) bottom right no-repeat;
    border: 1px solid #000;
    text-align: left;
    -moz-border-radius: 10px;
}

#imagedatablock:hover {
    background-color: #333;
    border-color: #333;
}

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

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

/* Controls */

#slideshow-controls {
    position: relative;
    height: 30px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 100;
    text-align: center;
    width:120px;
}

#main-image-container > #slideshow-controls {
	margin: 0 auto;
}

#slideshow-controls ul {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none inside;
    background-color: #62372B;
    opacity: 0.5;
    -moz-opacity: 0.5;
    filter: alpha(opacity=40);	/* Lower opacity for IE since the controls don't hide */
    
}

#slideshow-controls ul li {
	display:inline;
    float: left;
    margin: 0;
    padding: 0;
}

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

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

/* Thumbnails */

#thumbs-container {
    position: relative; /* Opera */
    margin: 0 auto 10px;
/*    opacity: 0.50;
    -moz-opacity: 0.50;
    filter: alpha(opacity=50); */
    z-index: 100;
}

#gsThumbMatrix {
    min-height: 120px;
    margin: 0 auto;
    opacity: 0.75;
    -moz-opacity: 0.75;
    filter: alpha(opacity=75);
}

#gsThumbMatrix td {
    padding: 2px;
}

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

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

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

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

/* Subalbums */

#subalbums-container {
    background-image: url('images/ab7f58.gif');
	background-color: #AB7F58;
	border: 1px solid #D9C5AE;
	margin-bottom: 10px;
}

#subalbums-container h3 {
	margin: 10px;
	width: 868px;
    border-bottom: 1px dotted #D7C5AD;
}

#gsSubAlbumMatrix {1
    width: auto;
    margin: 0 auto;
	border-spacing: 10px;
}

#gsSubAlbumMatrix td {
	background: transparent;
	border: 0px solid black;	
}

#gsSubAlbumMatrix td.giAlbumCell {
    width: 150px;
    padding: 7px;
    background-color: #F1F1F1;
    border-right: 1px solid #B9B9B9;
    border-bottom: 1px solid #B9B9B9;
    border-left: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    line-height: 1.4em;
    color: #999999;
    vertical-align: top;
}

#gsSubAlbumMatrix td a {
    font-weight: bold;
    text-decoration: none;
    color: #62372B !important;
}

#gsSubAlbumMatrix td a:hover {
    text-decoration: underline;
    color: #8D4D3D !important;
}

#gsSubAlbumMatrix td a:active, #gsSubAlbumMatrix td a:active a:visited {
    text-decoration: none;
    color: #62372B !important;
}

#gsSubAlbumMatrix td.sahover {
    background-color: #F1F1F1;
    border-right: 1px solid #B9B9B9;
    border-bottom: 1px solid #B9B9B9;
    border-left: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    cursor: pointer;
}

#gsSubAlbumMatrix img.giThumbnail {
    width: 148px;
    height: 111px;
    float: left;
    vertical-align: top;
    margin-right: 0px;
    margin-top: 0;
    border: 1px solid #000;
}

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

/* Photo pages */

#photohead {
    width: 68%;
}

#sidephotodetails {
    padding: 10px;
    border: 1px solid #101010;
}

/* Tables */

.gbDataTable {
    margin: 0.8em 0;
}

.gbDataTable td {
    padding: 0 10px;
}

.gbDataTable td.gbOdd {
    background-color: #7F4737 !important;
}

.gbDataTable td.gbEven {
    background-color: #985643 !important;
}

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

/* Exif data */

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

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

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

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

/* Footer elements */

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

#footerSystemLinks {
/*    position: absolute;*/
/*    right: 10px;*/
/*    top: 7px;*/
}

#footerSystemLinks .block-core-SystemLink a {
    padding: 0px 3px;
}

/* Admin pages */

.gbAdminLink a {
	padding-left: 15px;	
}

#gsSidebarCol {
    width: 200px;
    padding: 0;
}

#gsSidebarCol ul {
    margin: 0 5px 0 5px;
    padding: 0;
    list-style: none inside;
/*    line-height: 1.8em;*/
}

#gsSidebarCol ul li {
    margin: 0;
    padding: 0;	
    color: #3F3828;
    font-weight: bold;  
    font-family: "Trebuchet MS";
}

#gsSidebarCol ul li a, #gsSidebarCol ul li a:link, #gsSidebarCol ul li a:active, #gsSidebarCol ul li a:visited {
    font-weight: normal;
    font-size: 9pt;  
    font-family: "Lucida Sans Unicode";
}

#gsSidebarCol ul li a:hover {
    font-weight: normal;
    font-size: 9pt;  
    font-family: "Lucida Sans Unicode";
}

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

#gsContent {
    padding: 0 0 0 10px;
}

.gbTabBar {
    margin-top: 20px;
    padding-bottom: 3px;
    line-height: 1.7em;
}

.gbTabBar .giSelected {
    margin: 0 4px 0 0;
    padding: 3px 10px 3px;
    background-color: #D7C5AD;
    border: 1px solid #D7C5AD;
    border-bottom: none;
    -moz-border-radius: 5px;
    font-weight: bold;
    color: #61372B;
}

.gbTabBar span a {
    margin: 0 4px 0 0;
    padding: 3px 6px 6px;
	background-image: url('images/ab7f58.gif');
    background-color: #AB7F58;
    border: 1px solid #D9C5AE;
    border-bottom: none;
    -moz-border-radius: 5px 5px 0 0;
    line-height: 1.2em;
}

.gbTabBar span a:hover {
    margin-bottom: -1px;
	background-image: url('images/ab7f58.gif');
    text-decoration: none;
}

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

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

#gsContent .gbDataTable th[colspan="6"] {
    background-image: url('images/ab7f58.gif');
    background-color: #AB7F58;
    border-bottom: 0px solid #D9C5AE;
}

#gsContent .gbDataTable td {
    padding: 0px 10px;
}

#gsContent .gbDataTable th:first-child {
    -moz-border-radius-topleft: 5px;
}

#gsContent .gbDataTable th:last-child {
    -moz-border-radius-topright: 5px;
}

#gsContent .gbDataTable .gbOdd {
    background-color: #7F4737 !important;
}

#gsContent .gbDataTable .gbEven {
    background-color: #985643 !important;
}

#gsContent textarea {
/*    width: 475px;*/
}

/* Messages */

.summary {
    white-space: normal;
}

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

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

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

.giNew {
    color: #f90;
}

.giUpdated {
    color: #db0
}

/* Debug Only */
#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;
}

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

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

.autoCompleteShadow {
    background-color: #a0a0a0;
}

.autoCompleteContainer {
	background-image: url('images/searchbg.jpg');
	background-repeat: repeat-x;
	background-position: center top;
    border: 0px solid #62372B;
    background-color: #62372B;
    color: #D8C3AE;
}

.autoCompleteContainer li.yui-ac-highlight {
    background-color: #8D4D3D;
    color: #EAE2D7;
}

.inputTypeSubmit, .inputTypeButton {
	background-image:url(images/searchbutton.jpg);
	background-repeat:repeat-x;
	border:1px outset #62372B;
	color:#D7C5AD;
	font-family:'Trebuchet MS',Helvetica,sans-serif;
	font-size:8pt;
}

#gsContent textarea {
	background-color:#62372B;
	background-image:url(images/searchbg.jpg);
	background-repeat:repeat-x;
	border:1px inset #62372B;
	color:#D8C4AC;
	font-family: 'Trebuchet MS',Helvetica,sans-serif;
	font-size: 8pt;
	margin: 0px auto 10px;
	padding: 0pt;
	width: 100%;	
}

input {
	background-image:url(images/searchbg.jpg);
	background-repeat:repeat-x;
	border:1px inset #62372B;
	color:#D7C5AD;
	font-family:'Trebuchet MS',Helvetica,sans-serif;
	font-size:8pt;
	margin-bottom:10px;
}