/*
 * Gallery - a web based photo album viewer and editor
 * Copyright (C) 2000-2008 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{
	margin: 0;
	padding: 0;
	color: #333;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/* Main Structure */

.gallery #white-rap {
    width: 760px;
    margin: 0 auto 2.5em;
    padding: 0 15px;
    background-color: #fff;
    border: solid #815CB4;
    border-width: 0 3px;
    border-bottom: 2px solid #74627a;
    text-align: left;
    -moz-border-radius: 0 0 11px 11px;
}

.gallery #header {
    position: relative;
    padding: 0 5px 4px;
    background: #fff3ec url(images/header-curve.png) left bottom no-repeat;
}

.gallery #footer {
    position: relative;
    padding: 5px;
    background-color: #fff3ec;
    border: 1px solid #e9e9e9;
    border-bottom: none;
    -moz-border-radius: 4px 4px 0 0;
}

.gallery #main {
	padding: 12px;
	background-color: #dfdbdb;
	border: 1px solid #ccc;
	-moz-border-radius: 8px;
	width: 700px;
	margin-top: 15px;
	margin-right: auto;
	margin-bottom: 15px;
	margin-left: auto;
}

.gallery #frame {
	/*background-color: #FFFFFF;
	color: #333333;
	-moz-border-radius: 8px;*/
	width: auto;
	margin-right: auto;
	margin-left: auto;	
}

/* HTML Element Restyles */

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

.gallery a img {
    border: none;
}

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

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

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

.gallery label {
    font-weight: bold;
}

.gallery select {
    margin: 3px 0;
    vertical-align: middle;
    font: 1em Verdana;
}

/* Header */

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

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

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

.gallery .gbBreadCrumb {
	left: 221px;
	font-weight: bold;
}

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

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

.gallery .gbBreadCrumb .BreadCrumb-2 {
	color: #666666;
}

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

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

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

/* Photo page navigation */

.gallery .gbNavigator {
	position: relative;
	clear: both;
	background-color: #FFFFFF;
	border: solid #333;
	border-width: 1px 0;
	margin-top: 0.6em;
	margin-right: 0;
	margin-bottom: 0.6em;
	margin-left: 0;
	padding-top: 3px;
	padding-right: 0;
	padding-bottom: 3px;
	padding-left: 2px;
}

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

.gallery .gbNavigator a:hover {

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

.gallery .goback {
	position: absolute;
	top: 1px;
	left: 235px;
}

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

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

/* Full Photo */

.gallery #gsImageView {
    margin: 0px;
}

#gsImageView img{
    margin: 0px;
	width:586px;
	border:none;
}

/* Frame Elements */

.gallery h2 {
	color: #333333;
	text-transform: capitalize;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 4px;
	margin-left: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}

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

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

.gallery #main-image-container #sliding-frame p {
	#top:-3px;
	_top:-13px;
    position: relative;
    height: 405px;
    overflow: hidden;
}

.gallery #main-image {
	#top:-4px;
	position: absolute;
	left: -4px;
	cursor: nw-resize;
	z-index: 10;
	background-color: #111;
	border:none;
}

.gallery #imagedatablock {
	position: absolute;
	top: 50px;
	left: 360px;
	width: 200px;
	min-height: 160px;
	padding: 10px;
	border: 1px dotted #999;
	text-align: left;
	background-color: #E2E2E2;
	/*background-image: url(images/infobox_bg.png);*/
	background-repeat: no-repeat;
	background-position: right bottom;
}

.gallery #imagedatablock:hover {
	background-color: #CCCCCC;
	border-color: #fff;
}

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

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

/* Controls */

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

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

.gallery #slideshow-controls ul {
	position: absolute;
	#top: 0px;
	margin: 0;
	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 */
	left: 0px;
	padding-top: 3px;
	padding-right: 220px;
	padding-left: 220px;
	padding-bottom: 3px;
	#padding-right: 232px;
	#padding-left: 232px;
}

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

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

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


/* Thumbnails */

.gallery #thumbs-container {
	position: relative; /* Opera */
	width: auto;
	opacity: 0.85;
	-moz-opacity: 1.00;
	z-index: 100;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	padding-top: 6px;
	padding-bottom: 6px;
	background-image: none;
}

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

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

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

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

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

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

/* Subalbums */

.gallery #subalbums-container h3 {
	width: 100%;
	margin: 1em 0 !important;
}

.gallery #gsSubAlbumMatrix {
    width: auto;
    overflow: hidden;
    margin: 0 auto 1em;
}

.gallery #gsSubAlbumMatrix td {
	width: 50%;
	padding: 1px 2px 4px 5px;
	border: 1px solid #999;
	line-height: 1.4em;
	text-align: left;
}

.gallery #gsSubAlbumMatrix td.sahover {
	background-color: #CCCCCC;
	border-color: #888;
	cursor: pointer;
}

.gallery #gsSubAlbumMatrix img.giThumbnail {
	float: left;
	vertical-align: middle;
	margin-right: 6px;
	margin-top: 2px;
	border: 1px solid #6b8cb7;
}

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

/* Photo pages */

.gallery #photohead {
    width: 68%;
}

.gallery #sidephotodetails {
	padding-right: 0;
	padding-left: 5px;
}

/* Tables */

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

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

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

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

/* Exif data */

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

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

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

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

/* Footer elements */

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

.gallery #footerSystemLinks {
    position: absolute;
    right: 10px;
    top: 7px;
}

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

/* Admin pages */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Messages */

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

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

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

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

.gallery .giNew {
    color: #f90;
}

.gallery .giUpdated {
    color: #db0
}

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

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

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

.gallery .autoCompleteShadow {
    background-color: #503344 !important;
}

.gallery .autoCompleteContainer {
    border-color: #830 #830 #f60;
    background-color: #000;
}

.gallery .autoCompleteContainer li.yui-ac-highlight {
    background-color: #eee;
    color: #111;
}
.gallery .block-core-Navigator {
	height: 15px;
}
.block-core-ItemLinks {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	filter: alpha(opacity=40);
	#filter: alpha(opacity=80);
	background-color: #f7f7fa;
	width: 586px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 5px;
	padding-bottom: 5px;
}
.gallery .hidden_stuff{
	/*display: none;*/
	display:none;
}

