﻿/* layout fixed # 2.1 */
body{
    margin:0;
    padding: 20px 0;
    background-color: #335533;
    background-image:url(img/sfondofogliap.jpg);
    background-size: cover;
    background-position:top center;
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
    font-size: 1em;
    color:#003000; 
}
p {margin: 0 0 10px 0}
h1 { font-size: 20pt; margin: 0px 0 10px 0;}
h2 { font-size: 1.2em; margin: 0px 0 10px 0; }
h2 a, h2 a:visited, h2 a:active { color: white; } 
a, a:visited, a:active { text-decoration: none; color: navy; }
a:hover, h2 a:hover { color: #cc0000; }

b{font-size: 105%;}
em{color: red;}

#maincontainer{
    width: 980px; /*Width of main container*/
    margin: 0 auto; /*Center container on page*/
}

/* Testata */
#topDiv { width: 980px; color: white; font-size: 16px; font-weight: bold; background-image: url(img/top.jpg); }
#topsection { width: 980px; height: 122px; position: relative; }
#sottoTop { width: 980px; height: 122px; position: absolute; }
#topsection td { border-width: 1px 1px 1px 0; border-color: white; border-style:solid; vertical-align:top; }
#sottoTop td { border-width: 1px 1px 1px 0; border-style: none; vertical-align:top;   }
#topsection td > span { color: white; padding: 10px 20px 0 20px; position: absolute; } /*top:10px; */
#sottoTop td > div { padding: 23px 20px 0px 20px; height:98px; background-color: white;  } 
#topsection a { height: 98px; display: block; color: white; text-decoration: none; padding: 10px; }
#topsection a > span { visibility:hidden;display: block; padding: 0 10px; } /* visibility:hidden;*/
.fader { background-color: White;  }

/* Briciole di pane */
.breadcrumb { font-size: 14px; font-weight: bold; margin-bottom:10px; }
.breadcrumb a{
    background: transparent url(img/breadcrumb.gif) no-repeat center right;
    text-decoration: none;
    padding-right: 18px; /*adjust bullet image padding*/
    color: navy;
}
.breadcrumb a:visited, .breadcrumb a:active{color: navy;}
.breadcrumb a:hover{ color: #cc0000;}


#content{ /*involucro*/
    border-color:White; border-style:solid; border-width: 0 1px 1px 1px;
    min-height: 420px;
    /*background-image:url(img/sfondochiaro.jpg);*/

    /* Fallback for web browsers that doesn't support RGBa */
    background-color:#aaccaa;
    /* RGBa with 0.25 opacity */
    background: rgba(255, 255, 255, 0.25);
}

#footer
{
    width: 980px;
    margin: 0 auto;
    font-size: 14px; font-weight: bold;
    color: #FFF;
    padding: 10px 0;
    /*clear: left;
    width: 100%;
    background: black;text-align: center;*/
}

/*Menu Subcatalogo*/
#subcatalogoMenu { width:100%; font-weight:bold;}
#subcatalogoMenu td { width:10%; }
#subcatalogoMenu div { border: 1px solid #cc0000; text-align:center; padding:2px 0; margin-right:5px; }
#subcatalogoMenu a { color:#ffffff; }
#subcatalogoMenu a:hover { color:#cc0000; }

#subcatalogoDiv {  }

/* Catalogo */
.Pattern { margin: 5px 5px 0 0; border: solid 1px #000000; }
.PatternImg { margin: 5px 5px 0 0; border: solid 1px #cc0000; cursor:pointer; }
#imgGrande { vertical-align:bottom;border:1px solid #cc0000; }

/* carusel di foto */
.prevOld, .nextOld { width:140px; height:26px; border: 1px solid #cc0000; background-color: Transparent; 
               color: #cc0000; font-weight:bold; }
.prevOld {-moz-border-radius: 10px 10px 0 0; -webkit-border-radius: 10px 10px 0 0; border-radius: 10px 10px 0 0; }
.nextOld {-moz-border-radius: 0 0 10px 10px; -webkit-border-radius: 0 0 10px 10px; border-radius: 0 0 10px 10px; }
.imgCarusel { background-position:top left; background-repeat:no-repeat; width:138px; height:122px;
      font-family: courier; font-size: 9pt; font-weight: bold; text-align:right;}
    
/*Archivio*/
.tblArchivio { margin-bottom:10px; border-style:none; border-color: #cc0000; border-width: 1px; border-collapse:collapse; }
.tblArchivio caption { text-align:left; font-size: 1.2em; font-weight: bold; padding-bottom:5px;  }
.tblArchivio td { vertical-align:top; text-align:center; padding: 0 10px 5px 0; width:176px;
	border-style:none; border-color: #cc0000; border-width: 1px; }
.tblArchivio img { vertical-align:bottom; border-style:none; }

/*
    ************************************* SCROLLABLE *******************************
	root element for the scrollable.
	when scrolling occurs this element stays still.
*/
.scrollable {
	/* required settings */
	position:relative;
	overflow:hidden;
	width: 890px;
	height:102px;	
}
/* active item */
.scrollable .active {
	border:2px solid #000;
	position:relative;
	cursor:default;
}

/*
	root element for scrollable items. Must be absolutely positioned
	and it should have a extremely large width to accomodate scrollable items.
	it's enough that you set the width and height for the root element and
	not for this element.
*/
.scrollable .items {
	/* this cannot be too large */
	width:20000em;
	position:absolute;
	clear:both;
}

.items > div {
	float:left;
	width:890px;
}

/* single scrollable item */
.item {
	float:left;
	margin:0 6px 0 5px;
	border:1px solid #cc0000;
	width:165px;
	height:100px;
	cursor:pointer;
	border-radius: 4px 4px 4px 4px;
    box-shadow: inset 0px 0px 100px #fff;/*rgba(255,255,255,.8)*/
}

/* position and dimensions of the navigator */
.navi {
	padding-top:10px;
    /*width:200px;clear:both;margin: 0 0 0 430px; */
}

/* items inside navigator */
.navi a {
	width:8px;
	height:8px;
	float:left;
	margin:3px;
	background:url(img/Scrollable_navigator.png) 0 0 no-repeat;
	display:block;
	font-size:1px;
}

/* mouseover state */
.navi a:hover {
	background-position:0 -8px;      
}

/* active state (current page state) */
.navi a.active {
	background-position:0 -16px;     
}

/* prev, next, prevPage and nextPage buttons */
a.browse {
	display:block;
	width:18px;
	height:18px;
	float:left;
	margin:45px 0;
	cursor:pointer;
	font-size:1px;
}

/* right */
a.right         { background: url(img/Scrollable_right.png) no-repeat; clear:right; margin-right: 0px;}
a.right:hover   { background-position: 0px -18px; }
a.right:active 	{ background-position: 0px -18px; } 


/* left */
a.left				{ background: url(img/Scrollable_left.png) no-repeat; margin-left: 0px; } 
a.left:hover  		{ background-position: 0 -18px; }
a.left:active  	    { background-position: 0 -18px; }

/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
} 	

/****************   the overlayed element   ***********************/
/* the overlayed element */
.overlay {	
	/* must be initially hidden */
	display:none;
	
	/* place overlay on top of other elements */
	z-index:10000;
	
	/* styling 
	width:675px;	*/
	background-color:#fff;
	min-height:200px;
    border-style: solid;
    border-color: White;
    border-width: 5px 5px 5px 5px;  
	
	/* CSS3 styling for latest browsers */
	 box-shadow:0 0 20px 5px #000;
}
.overlay img { vertical-align:top; border:none; }

/* close button positioned on upper right corner */
.overlay .close {
	background-image:url(img/overlay/close.png);
	position:absolute;
	right:-25px;
	top:-25px;
	cursor:pointer;
	height:35px;
	width:35px;
}
