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


p{color:#333;}
h1{margin-left:20px;}

h2{font-variant:small-caps; font-family:Verdana, Arial, Helvetica, sans-serif; border-width:5px;}

h2, h2.giSuccess{font-size:14px; color:#566877;}

h4{color:#333;padding-left:5px; border-left:2px solid #FD0054; margin:20px 0 12px 0; font-size:11px;}

h3{color:#333;padding-left:5px; border-left:2px solid #FD0054; margin-top:20px; font-size:12px;}

/* Main Structure */

#white-rap {

    /* margin: 0 auto 2.5em; */
    padding: 0 15px;
    border-width: 0 3px;
    text-align: left;
}

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

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

#main {
    margin: 0;
    padding: 12px;
}


#frame {
    position: relative;
    padding: 2px 15px 20px;
    color: #fff;
}

/* HTML Element Restyles */

a {
    font-weight: bold;
    text-decoration: none;
    color:#F80052;
}
a:hover {
    text-decoration: underline;
}
a:active {
    text-decoration: none;
    color: #FD0054;
}

a img {
    border: none;
}




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

/* Header */

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

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

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

.block-core-BreadCrumb{margin:0 26px 0 0; font-size:10px; border-right:3px solid #ccc; padding:0 5px 3px 0;}

.gbBreadCrumb {
    position: absolute;
    top: 40px;
    left: 221px;
    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: 2px 0;
}
#gbSystemLinks span a {
    padding: 3px 5px 4px;
}

/* Photo page navigation */

.gbNavigator {text-align:center;}
	.gbNavigator a{padding: 0 9px; text-decoration:underline; color:#F80052;}
	.gbNavigator a:hover {text-decoration:none;}
	/*navigazione pag tot di tot*/
	.gbNavigator span {color:#666;}


/*Francy*/

div.paginazione{position:relative; background:url(/images/layout/bkg_pag_gall.gif) left top; border:1px solid #f8f8f8; height:60px; padding:10px 0 0 0; margin:0 0 30px 0;}

/*miniature navigazione ingrandimenti*/
 
div.paginazione_miniature{border:1px solid #f8f8f8; margin-bottom:19px; background:url(/images/layout/bkg_pag_gall.gif) left top; padding:10px 0 3px 8px; height:130px; clear:both;}
 

.miniatura, .miniatura_corrente{margin:9px 2px 0 2px; float: left; display:inline; width:64px; height:64px;}
 
.miniatura_corrente{margin:0 6px 0 4px; filter: alpha(opacity=60); -moz-opacity: 0.5; opacity: 0.6; width:78px; height:78px;}
	.miniatura_corrente img{border:2px solid #F80052; padding:1px;}

	.miniatura img{border:2px solid #ccc; padding:1px; background-color:#f8f8f8;}


div.block-core-Pager{width:645px; text-align:center; color:#6A8294; font-weight:bold; position:absolute; top:50px;}
	div.block-core-Pager a{color:#F80052; text-decoration:underline;}
	div.block-core-Pager a:hover{text-decoration:none;}


.first-and-previous{position:absolute; left:5px; top:50px; z-index:300;}
	.first-and-previous img, .next-and-last img {vertical-align: middle;}
	.first-and-previous img{padding-right:10px;}

.goback{text-align:center; margin-bottom:10px;}

.next-and-last{position:absolute; right:5px; top:50px; text-align:right; z-index:300;}
	.next-and-last.no-previous{float: none; text-align: right;}
	.next-and-last img{padding-left:10px;}


div#photoCounter{margin-bottom:10px; text-align:center; color:#666;}

a.backtoalbum {
    margin-top: -1.3em;
    padding-left: 20px;
    padding-right: 20px;
	text-decoration:none;
	margin-bottom:2px;}


a.backtoalbum:hover{color:#6A8294;}

/* Full Photo -foto ingrandimento */

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

#gsImageView img{padding:2px; border:4px solid #ccc;}

.block-core-ItemLinks{text-align:center; margin:20px 0 20px 0;}
.block-core-ItemLinks a{padding:10px 0 10px 0;}

.block-rating-Rating{text-align:center; color:#666666;  padding:5px; margin:0 0 20px 0;}

div.date summary{color:#666; margin:5px 0 5px 0;}

/* Frame Elements */

/*h2 {
    margin: 13px 0;
    text-transform: capitalize;
}*/

#main h2{color:#333; font-family:Verdana, Arial, Helvetica, sans-serif;}

#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: 480px;
    overflow: hidden; border:2px solid #ccc; background-color:#E6E6E6; margin:0 15px 0 15px; padding-top:15px;
}

#main-image {
    position: absolute;
    left: 94px;
    cursor: move;
    z-index: 10;
    border:3px solid #F70051;
	padding:1px;
}

#imagedatablock {
    position: absolute;
    top: 40px;
    left: 370px;
    width: 217px;
    min-height: 160px;
    padding: 10px;
    background-color:#E6E6E6;
    border: 2px solid #ccc;
    text-align: left;
	color:#666;
}

#imagedatablock:hover {
    background-color: #ccc;
    border-color: #888;
}

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

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

/* Controls */

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

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

#slideshow-controls ul {
    position: absolute;
    margin: 0;
    padding: 3px 210px 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 */
}

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

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

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

/* Thumbnails */


#thumbs-container {
    position: relative; /* Opera */
    width: 592px;
    margin: 5px auto 20px;
    padding:10px;
    z-index: 100;
	border:2px solid #888; background-color:#ccc;
}

#gsThumbMatrix {
    min-height: 96px;
    margin: 0 auto;
	position:relative; top:0; left:0;
	width:500px;
}

#gsThumbMatrix td {
    padding: 4px;  color:#616161; line-height:140%; font-size:11px;
}


#gsThumbMatrix a .giThumbnail {
    height: 142px;
    width: 142px;
    padding:1;
    border: 3px solid #ccc;
}

#gsThumbMatrix a:hover .giThumbnail {
    border: 3px solid #F20050;
}

#gsThumbMatrix a:hover:active .giThumbnail {
    border:4px solid #F20050; padding:0;
}

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

/* Subalbums */

#subalbums-container h3 {font-size:12px; margin:0;
}

#gsSubAlbumMatrix {
    width: 600px;
    margin: 0 auto 0 auto; font-size:11px;
}

/*cella miniature album*/
#gsSubAlbumMatrix td {
    width: 50%;
    padding: 5px 8px 10px 8px;
    border:3px solid #ccc;
    line-height: 130%;
	color:#666;
	background-color:#E6E6E6;
}

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

p.giTitle
{
font-size: 1.3em;
font-weight: bold; color:#F40151; font-size:12px; margin:5px 0 5px 0;
}

/*td.giItemCell{color:#616161; line-height:140%; font-size:11px; }*/


/*thumb*/
#gsSubAlbumMatrix img.giThumbnail {
    width: 90px;
    height: 90px;
    float: left;
    vertical-align: middle;
    margin-right: 6px;
    border: 3px solid #ccc;
}

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



/* Photo pages */

#photohead {
    width: 68%;
}

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

/* Tables */

.gbDataTable {
    margin: 0.8em 0; color:#666;
}

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

.gbDataTable td.gbOdd {
    background-color: #E6E6E6; border:2px solid #ccc; color:#333;
}

.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: 5px 1em 1.6em;
}

/* Admin pages */

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

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

#gsSidebar {
    padding: 10px 8px 10px 10px;
    background-color: #191919;
    -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: #393333;
    border: 1px solid #333;
    border-bottom: none;
    -moz-border-radius: 4px;
    font-weight: bold;
    color: #fe9;
}

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

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

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

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

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

#gsContent textarea {
    width: 475px;
}

/* Messages */

.summary {
    white-space: nowrap;
	color: #666;
}

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

/*ecard emi aggiunte*/
/*msg errore invio ecard*/
textarea{font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; width:460px;}

input.inputTypeSubmit{border: 3px double #999;border-top-color: #ccc;border-left-color: #ccc;padding: 2px;background-color: #f5f5f5;color: #333;font-size: 10px;font-weight: bold;font-family: Verdana, Helvetica, Arial, sans-serif;margin:15px 5px 0 0;}


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

td.gbEven{background-color:#ccc;}

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 {
    border: 1px solid #404040;
    background-color: #000;
}

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

#gsSubAlbumMatrix td a:hover{color:#F20050; text-decoration:none;}

/*---------------------*/

img.ImageFrame_none{border:2px solid #F80052; padding:1px; margin-left:1px;}

a.first, a.previous, a.last, a.next{color:#6A8294; text-decoration:none;}

a.first:hover, a.previous:hover, a.last:hover, a.next:hover{color:#FD0054;}


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

