body {
    margin: 0;
    padding: 0;
	/*background:url(images/sfondoBODY.jpg) top center repeat-y;*/
	background-color:#FFFFFF;
    color: #333;
    font: 74%/1.5em "Trebuchet MS",arial,sans-serif;
    text-align: left;
}

/* Main Structure */

#white-rap {
    width: 760px;
    margin: 0 auto;
    padding: 15px;
    background-color: #fff;
    border-right, border-bottom, border-left,: 2px solid #267FAB;
    text-align: left;
}

#header {
    position: relative;
    padding: 0;
    /*background: #fff3ec url(images/header-curve.png) left bottom no-repeat;*/
}

div.TestataFlash {
    width: 790px;
	height: 180px;
    margin: 0 auto;
    padding: 0;
    background-color: #ffffff;
}

img#main-logo {}

#footer {
    position:relative;
    padding: 4px;
    background-color: #DEDBDE;
    border: 1px solid #CECFCE;
	min-height: 20px;
    height: auto !important;
    height: 20px;
}

div.FooterFlash {
    width: 790px;
	 height: 40px;
    margin: 0 auto;
    padding: 0;
    background-color: #000000;
	min-height: 40px;
    height: auto !important;
    height: 40px;
}

#footer p a img{
 display:none;
}

#main {
    margin: 15px 0;
    padding: 12px;
    background-color: #dfdbdb;
    border: 1px solid #ccc;
}

#frame {
    position: relative;
    padding: 15px;
    background:url(images/sfondoFRAME.jpg) top right;
    color: #fff;
}

div.block-core-ItemLinks {
position:absolute;
left:550px;
top:10px;
}

div.block-core-ItemLinks select{
width:158px
}



/* HTML Element Restyles */

a {
    font-weight: bold;
    text-decoration: underline;
    color:#267FAB;
}
a:hover {
    text-decoration: underline;
    color:#10A7F2;
}
a:active {
    text-decoration: underline;
    color:#10A7F2;
}

a img {
    border: none;
	margin:0
}

h1, h2, h3 {
    font-weight: bold;
	margin:0
}

h1 {
    display:none;
}

/* Frame Elements */

h2 {
    margin: 13px 0;
    color: #eee;
    font-size: 14px;
}

h2#item-title {
    margin: 10px 0 0 14px;
    color: #ffffff;
    font-size: 17px;
}

h3 {
    font: 13px;
}

hr {
    height: 1px;
    margin: 5px 0;
	color:#cccccc
}

label {
    font-weight: bold;
}

select {
    margin: 3px 0;
    vertical-align: middle;
	font-size:10px
}

/* Header */

#header h1 {
    margin: 0;
    padding: 0;
}

#header form {
    position: absolute;
    top: 1px;
    right: 0;
    margin: 0;
    padding: 0;
    text-align: right;
}

#searchCriteria {
    width: 190px;
    padding: 1px 2px 2px;
    background-color: #f5f5f5;
    border: 1px solid #999999;
}
#searchCriteria:hover {
    background-color: #fff;
    border-color: red;
}
#searchCriteria:focus {
    background-color: #ffffff;
}

.gbBreadCrumb {
    /*position: absolute;
    top: 40px;
    left: 221px;*/
    margin:10px 0 0 0;
	padding:0;
    font-weight: bold;
	background-color:#ffffff;
}

.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 */

div.summary-keyalbum, div.size, div.viewCount {
    display:none;
}

.gbNavigator {
    position: relative;
    clear: both;
    margin: 5px 14px;
    padding: 5px 2px;
    background-color: #0f0f0f;
    border: solid #333;
    border-width: 1px;
}

.gbNavigator a {
    padding: 6px 9px;
}

.gbNavigator a:hover {
    background-color: #292929;
    -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 0 1em;
}




/**AMMINISTRAZIONE*/

div.gbBlock h2 {
    margin:0;
    color:#ffffff;
}

div.gbBlock h3 {
    margin:10px 0;
    color:#ffffff;
}

div.gcBackground1 h2{
    margin: 13px 0 0 0;
}

div.gbBlock input {
    margin:2px;
}


li.gbAdminLink a, tr.gbOdd td a, tr.gbEven td a {
	font-size:11px;
	font-weight:normal
}

 
input {
	font-size:10px;
	font-weight:normal;
	padding:2px;
	background-color: #f5f5f5;
}
 
 p.emptyAlbum {
   display:block;
	font-size:12px;
	font-weight:bold;
   margin:10px 0 0 14px;
   padding:0
} 

 div.block-core-GuestPreview {
   display:block;
	font-size:12px;
	font-weight:normal;
   margin:10px 0 0 14px;
   padding:0
} 


#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: 1em 15px Arial;
    opacity: 0.6;
    -moz-opacity: 0.6;
    filter: alpha(opacity=60);
}

#main-image-container {
    position: relative;
    overflow: hidden;
    text-align: center;
}

#main-image-container #sliding-frame p {
    position: relative;
    height: 280px;
    overflow: hidden;
	margin-top:10px;
	padding:0
}

#main-image {
    position: absolute;
    left: 105px;
    cursor: nw-resize;
    z-index: 10;
    background-color: #111;
}

#imagedatablock {
    position: absolute;
    top: 60px;
    left: 380px;
    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;
}

#imagedatablock:hover {
    background-color: #0f0f0f;
    border-color: #fff;
}

#fullsizelink {
    padding: 0 0 0 23px;
    background: transparent url(images/new-window.png) left no-repeat;
}

.emptyAlbum {
    margin: 2em 0 0;
    font-size: 1.4em;
}

/* Controls */

#slideshow-controls {
    position: static;
    height: 30px;
    margin: 0;
	padding:0;
    /*overflow:hidden;*/
    z-index: 90;
    text-align:left;
}

/*#main-image-container > #slideshow-controls {
    margin-bottom:0;
}*/

#slideshow-controls ul#control-buttons {
    /*position: absolute;
	top:5px;
	right:10px;*/
    margin: 0;
    padding: 0;
    list-style: none inside;
    background-color: #000;
    opacity: 0.4;
    -moz-opacity: 0.4;
    filter: alpha(opacity=20);	/* Lower opacity for IE since the controls don't hide */
}

#slideshow-controls ul li {
    float: left;
    margin: 0 0 0 140px;
    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: 100%px;
height: 100%px
    margin: 0 auto;
    padding: 4px;
    /*background-color: #000;
    opacity: 0.85;
    filter: alpha(opacity=85);*/
    z-index: 100;
}

#gsThumbMatrix {
    min-height: 120px;
    margin: 0 auto;
}

#gsThumbMatrix td {
    padding: 2px;
}

#gsThumbMatrix a .giThumbnail {
    background-color: #666;
    border: 1px solid #cccccc;
}

#gsThumbMatrix a:hover .giThumbnail {
    background-color: #666;
    border: 1px solid #60060A;
}

#gsThumbMatrix a:hover:active .giThumbnail {
    
}

#gsThumbMatrix a .currentImage, #gsThumbMatrix a:hover .currentImage {
    border-color: #60060A;
}

/* Subalbums */

#subalbums-container h3 {
    width: 100%;
    border-bottom: 1px solid #cccccc;
	display:none
}

table#gsSubAlbumMatrix {
    width: 100%;
    margin: 0 auto 20px auto;
	/*border-collapse: separate;
	border-spacing:13px;
	 for IE 
    border-spacing:expression (cellspacing:13);*/
}

table#gsSubAlbumMatrix td {
    padding: 0;
	margin: 0;
    line-height: 0em;
	width:160px
}

table#gsSubAlbumMatrix td.giAlbumCell {
    padding: 3px;
    line-height: 1.5em;
    border-top: 1px solid #ffffff;
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #ffffff;
	background:url(images/sfondoANTEPRIMA.jpg) top left repeat-x;
	width:160px
}



#gsSubAlbumMatrix td.sahover {
    background-color: #AD060E;
    border:1px solid #AD060E;
    cursor: pointer;
}
div.anteprimaALBUM {
    text-align:center;
	margin:0;
	padding:0
}
div.titoloALBUM {
   text-align:center;
	margin:0 2px 2px 2px;
	padding:2px;
	background-color:#2C88B6;
	color:#ffffff;
	font-weight:bold
}

#gsSubAlbumMatrix img.giThumbnail {
    width: 120px;
    height: 80px;
    margin: 3px 6px 3px 3px;
    border: 1px solid #cccccc;
}

#gsSubAlbumMatrix a.giMissingThumbnail img {
    width: 120px;
    height: 80px;
    margin: 3px 6px 3px 3px;
    border: 1px solid #cccccc;
}


img.giThumbnail {
    width: 120px;
    height: 80px;
}

#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;
}

.gbDataTable td {
    padding: 2px 6px;
}

.gbDataTable td.gbOdd {
    background-color: #191919;
}

.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:0;
}

#footerSystemLinks {
    position: absolute;
    right: 10px;
    top: 7px;
}

#footerSystemLinks .block-core-SystemLink a {
    margin:0;
	font: 72%/1.5em Arial, Helvetica, sans-serif;
}

/* Admin pages */

#gsSidebarCol {
    width: 150px;
    padding: 10px 0 0 0;
}

#gsSidebarCol ul {
    margin: 0;
    padding: 0;
    list-style: none inside;
    line-height: 1.8em;
}

/*MENU LATERALE ADMIN*/
#gsSidebar {
    padding: 8px;
    background-color:#313131;
    max-width: 290px;
    overflow: hidden;
	border:1px solid #666666;
}

#gsSidebar h2, #gsSidebar h3{
    font-size:12px;
    margin:5px 0
}

#gsSidebar a:link, #gsSidebar a:visited {
    color:#FEA7AB
}
#gsSidebar a:hover, #gsSidebar a:active {
    color:#ffffff
}

#gsContent {
    padding: 0 12px;
}



.gbTabBar {
    margin-top: 20px;
    padding-bottom: 3px;
    border-bottom: 1px solid #333;
    line-height: 1.5em;
}

.gbTabBar .giSelected {
    margin: 0 2px 0 0;
    padding: 3px 4px 4px;
    background-color: #cccccc;
    border: 1px solid #333;
    border-bottom: none;
    font-weight: bold;
    color: #666666;
	font-size:11px
}

.gbTabBar span a {
    margin: 0 2px 0 0;
    padding: 3px 4px 4px;
    background-color: #000;
    border: 1px solid #333;
    border-bottom: none;
    line-height: 1.2em;
	font-size:11px
}

.gbTabBar span a:hover {
    margin-bottom: -1px;
    background-color: #0f0f0f;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
	font-size:11px
}

#gsContent .gbDataTable {
    border-spacing: 0;
}

#gsContent .gbDataTable th {
    padding: 3px 6px;
	margin:2px 0;
    background-color: #333;
    border-bottom: 1px solid #444;
}

#gsContent .gbDataTable td {
    padding: 4px 3px;
}

#gsContent .gbDataTable th:first-child {
    margin:2px 0;
}

#gsContent .gbDataTable th:last-child {
    margin:2px 0;
}

#gsContent .gbDataTable .gbOdd {
    background-color: #111;
}

#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 {
    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;
}


/*** username, groupname and password form fields ***/

#giFormUsername, .giFormUsername {
    color:#f5f5f5
}

#giFormGroupname {
    color:#f5f5f5
}

#giFormPassword {
    color:#f5f5f5
}


/*** pagina PRODOTTI ***/

table.prodotti {
    background-color:#ffffff;
	 border: 1px solid #f5f5f5;
	 margin:15px 0 25px 0;
	 width:99%
}

table.prodotti caption {
    font-size:14px;
	 font-weight:bold;
}

table.prodotti th {
    background-color:#000000;
    padding:5px;
	 font-size:11px;
	 font-weight:bold;
	 color:#ffffff;
}

table.prodotti td {
    padding:5px;
	 font-size:11px;
	 color:#000000;
	 vertical-align: top;
}
table.prodotti tr.grigia {
    background-color:#f5f5f5;
}

div.inizio {
    text-align:right;
	 color:#ffffff
}
div.inizio a {
	 color:#ffffff
}





