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

/* ********************************************************************************
 * LK Custom Theme for Gallery 2
 * by Maxwell Planck
 * ********************************************************************************/

body {
	margin: 0px;
	padding: 0px;
	border-top: 5px solid #222;
	color: #222;
	font: 0.8em "Palatino", "Times Bold", serif;
	text-align: center;
	background: #fff;
}


/* Main Structure */

#background-container {	
	height: 100%;
	background: #fff url(images/lk-oliver-faded-bg.jpg) no-repeat top right;
	min-height: 800px;
	z-index:0;
}

#background-full-container {  
	height: 100%;
	z-index:5;
}
	
#theme-main-container {
	min-width: 800px;
	margin: 0 auto 2.5em;
	padding: 0 15px; 
	text-align: left;
	background-color: transparent;
	z-index:10;
	border: 1;
}

/* main module containers */

#lk-gallery-main {
	padding: 12px;
	padding-top: 2px;
	padding-left: 20px;
	background-color: transparent;
	min-height: 700px;
	z-index:10;
	-moz-border-radius: 1px;
}

/* Header */

#header {
	position: relative;
	padding: 5px 5px 4px;
	background-color: transparent;
}

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

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

#admin-header {
	position: absolute;
	right: 600px;
	top: 10px;
}

#headerSystemLinks {
	position: absolute;
	right: 10px;
	top: 7px;    
	margin: 5px 0 10px 10px;
}

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

#headerSearchBar {
	position: absolute;
	right: 10px;
	top: 25px;
}

/* Footer */

#footer {
	position: relative;
	// padding: 7px; 
	width: 100%;
	top: 5px;
	border-bottom: none;
	background-color: transparent;
}

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

/* HTML Element Restyles */


a {
	font-weight: bold;
	text-decoration: none;
	color: #6b8cb7;
}

a:hover {
	text-decoration: underline;
	color: #f4560f;
}
a:active {
	text-decoration: none;
	color: #f9c190;
}

a img {
	border: none;
}

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

h2 {
	margin: 13px 0;
	color: #222;
	font: 22px "Lucida Sans Unicode";
	text-transform: capitalize;
}

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 {
    margin: 3px 0;
    vertical-align: middle;
    font: 1em Verdana;
}


/* Search Stuff */

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

/* Bread Crumbs */

.gbBreadCrumb {
    position: absolute;
    top: 20px;
    left: 110px;
    margin: 1px 0;
    font-weight: bold;
	color: #222;
}

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

.gbBreadCrumb a.BreadCrumb-1 {
    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: 2px 0;
}
#gbSystemLinks span a {
    padding: 3px 5px 4px;
}

/* Photo navigation */

.gbNavigator {
	position: relative;
	clear: both;
	margin-top: 0px;
	margin-bottom: 5px;
	padding: 5px 2px 5px 2px;
	background-color: #f0f0f0;
	border: solid #333;
	border-width: 1px 0;
}

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

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

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

.current {
	position: absolute;
	top: 5px;
	left: 45%;
}

.goback {
	position: absolute;
	top: 5px;
	left: 40%;
	right: 40%;
	padding-left: 20px;
	padding-right: 20px;
	text-align: center;
}

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


/* Full Photo */

#gsImageView {
    margin: 0 0 1em;
	z-index: 3;
}

#gsImageDesc {
	float: right;
    margin: 0 0 1em;
}

/* Frame Elements */

#loading {
	position: absolute;
	top: 150px;
	left: 120px;
	width: 160px;
	z-index: 1000;
	padding: 10px 0px 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);
}

#sliding-frame {
	overflow: hidden;
	text-align: left;
}

#album-main-container {
	overflow: hidden;
	text-align: left;
	width: 100%;
	z-index:3;
}

#album-table {
	width: 100%;
	vertical-align: top;
	text-align: left;
	min-height: 640px;
}

#nav-images-td {
	vertical-align: top;
	text-align: left;
}

#nav-images-table {
	vertical-align: top;
	text-align: left;
}

#nav-images-table td {
	vertical-align: top;
	text-align: left;
}

#next-image-td {
	background: transparent;
	text-align: right;
}
#next-image-td p {
	background: transparent;
	text-align: right;
}


#prev-image-td {
	background: transparent;
}

#next-prev-images-table {
	width: 100%;
}

#thumb-images-table {
	vertical-align: center;
	text-align: center;
}

#main-image-td {
	vertical-align: top;
	text-align: left;
	width: 200px;
	min-width: 427px;
	min-height: 640px;
}

#main-image {
	position: relative;
	z-index: 3;
	background-color: #111;
	border: 1px solid #333;
	width: 427px;
	height: 640px;
}

#prev-image {
	background-color: transparent;
	width: 150px;
	z-index: 3;
	padding: 1px;
	border: 1px solid #333;
}

#prev-image:hover {
	border: 1px solid #ff0099;
	cursor: pointer;
}

#next-image {
	background-color: transparent;
	width: 150px;
	z-index: 3;
	padding: 1px;
	border: 1px solid #333;
}

#next-image:hover {
	border: 1px solid #ff0099;
	cursor: pointer;
}

#empty-sat-image {
	width: 150px;
	z-index: 3;
}

#imagedatablock {
	visibility: hidden;
	position: absolute;
	top: 670px;
	width: 15%;
	min-height: 20px;
	min-width: 160px;
	padding-right: 15px;
	padding-left: 15px;
	z-index: 10;
	background: #050505; // url(images/infobox_bg.png) bottom right no-repeat;
	border: 1px dotted #999;
	text-align: right;
	right: 10px;
}

#imagedatablock:hover {
    background-color: #f0f0f0;
    border-color: #222;
}

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

/* Front page containers */

#titles-container {
	text-align: center;
	position: absolute;
	height: 650px;
	left: 20px;
}

#titles-table {
	width: 500px;
}

#titles-table td {
	text-align: left;
	padding-right: 10px;
	padding-left: 20px;	
	padding-top: 0px;
	padding-bottom: 0px;
	white-space: nowrap;
}

/* Subalbums / Front Page / Web links */

.giAlbumCell {
	text-align: center;
	vertical-align: bottom;
}

#subalbums-container {
	text-align: left;
	position: relative;
	top: 10px;
}

#subalbum-table {
	width: 100%;
}

#subalbum-table td {
	text-align: left;
	vertical-align: middle;
	padding-right: 10px;
	padding-left: 10px;	
	padding-top: 5px;
	padding-bottom: 5px;
	line-height: 1.4em;
	white-space: nowrap;
	width: 50px;
}

#subalbum-table img.giThumbnail {
	width: 150px;
	height: 150px;
	text-align: center;
	vertical-align: middle;
	margin-right: 6px;
	margin-top: 2%;
	padding: 1px 2px 4px 5px;
}

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

/* Thumbnails */

#thumb-images-table {
	min-height: 120px;
	margin: 0 auto;
	vertical-align: middle;
	text-align: center;
}

#thumb-images-table a .giThumbnail {
	height: 50px;
	width: 50px;
	background-color: #ddd;
	border: 1px solid #222;
	padding: 1px;
}

#thumb-images-table a:hover .giThumbnail {
	height: 58px;
	width: 58px;
	margin: -4px;
	background-color: #222;
	border: 1px solid #0df;
}

#thumb-images-table a:hover:active .giThumbnail {
	height: 54px;
	width: 54px;
	margin: -4px;
}

#thumb-images-table a .currentImage, 
#thumb-images-table a:hover .currentImage, 
#thumb-images-table a:hover:active .currentImage {
	border: 2px solid #ff0099;	
	background-color: #222;	
	height: 50px;
	width: 50px;
	padding: 1px;
	margin: -1px;
}

/* Photo pages */

#photocontainer {
	vertical-align: top;
	padding: 2px;
	border: 1px solid #222;
	background-color: #ddd;
}

#photohead {
	vertical-align: top;
	padding: 2px 0 5px 10px;
}

#sidephotodetails {
	vertical-align: bottom;
	padding: 5px 0 5px 10px;
	margin-right: 10px;
	height: 20px;
	width: 100%;
	border: 1px solid #ccc;
}

#gallery-actions {
	position: relative;
	top: 10px;
}

/* Tables */

.gbDataTable {
    margin: 0.8em 0;
}

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

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

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



/* Contact/Services/About Page */

#contact-image,
#services-image,
#about-image {
	position: relative;
	z-index: 3;
	background-color: #ccc;
}

#contact-image-container,
#services-image-container,
#about-image-container {
	overflow: hidden;
	text-align: left;
}

#contact-image-container #sliding-frame p,
#services-image-container #sliding-frame p,
#about-image-container #sliding-frame p {
	min-height: 550px;
	height: 60%;
	overflow: hidden;
	text-align: center;
}

#contact-datablock,
#services-datablock,
#about-datablock {
	position: absolute;
	top: 100px;
	left: 480px;
	width: 40%;
	min-height: 100px;
	min-width: 300px;
	padding: 3px;
	padding-right: 15px;
	padding-left: 15px;
	z-index: 10;
	background: #ddd;
	border: 1px dotted #aaa;
	text-align: left;
	right: 10px;
}

/* 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: #f0f0f0;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

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

/* Admin pages */

.gbAdminLink {
	position: relative;
	white-space: nowrap;
}

#gsSidebarCol {
    width: 150px;
    padding: 10px 0 0 0;
}

#giFormUsername {
	background-color: #bbb;
}

.giFormUsername {
	background-color: #bbb;
}

#giFormPassword {
	background-color: #bbb;
}

#giFormGroupname {
	background-color: #bbb;
}

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

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

#gsContent {
    padding: 0 12px;
}

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

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

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

.gbTabBar span a:hover {
    margin-bottom: -1px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #333;
    text-decoration: none;
}

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

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

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

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

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

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

#gsContent textarea {
    width: 475px;
}

/* Messages */

.summary {
    white-space: nowrap;
}

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


/* Comments */

.commentEvenRow {
	background-color: #EEE;
	-moz-opacity: 0.8;
	filter: alpha(opacity=80);
}
.commentOddRow {
	background-color: #FFD6EC;
	-moz-opacity: 0.8;
	filter: alpha(opacity=80);
}

.commentText {	
	padding: 2px;
	-moz-opacity: 1.0;
	filter: alpha(opacity=100);
}

/* Checkout */

.checkoutPaymentOptions {
	background-color: #FFD6EC;
}

.checkoutProductPricePostage {
	background-color: #DDD;
}

.checkoutProductPriceTotal {
	background-color: #CCC;
}
.checkoutEvenRow {
	background-color: #EEE;
}

.checkoutOddRow {
	background-color: #FFD6EC;
}

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

.autoCompleteShadow {
    background-color: #a0a0a0;
}

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

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