/*/////////////////////////////////////////////////////// OVERALL DEFINITIONS ///////////////////
_______________________________________________________________________________________________________ */

/* reset all block-level elements margins & paggings (1)
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,p,blockquote,th,td { margin: 0; padding: 0; } 
*/

body {
	/* layout
	------------------ */
	margin: 0px;
	padding: 0x;
	/* formatting
	------------------ */
	/*  see references (2) */
	font-family: Arial, Helvetica, Optima, sans-serif;
	font-size: 62.5%;  /* 16px x 62.5% = 10px */
	text-align: left;
	color: #333333;
	background: #FFFFFF url(../img/interface/sidebar_background.gif) repeat-y top left;
	border: none;
	}

h1 {
	/* layout
	------------------ */
	margin: 0px;
	padding: 0px;
	/* formatting
	------------------ */
	font-size: 2.1em;
	line-height: 44px;
	letter-spacing: -1px;
	text-align: left;
	color: #000000;
	}

h2 { 
	/* layout
	------------------ */
	margin: 10px 0px 24px 0px;
	padding: 0px;
	/* formatting
	------------------ */
	font-size: 1.5em;
	/*font-weight: normal;*/
	line-height: 1em;
	letter-spacing: -1px;
	text-align: left;
	color: #000000;
	}

p {
	/* layout
	------------------ */
	margin: 1.0em 0px 0px 0px;
	padding: 0px;
	/* formatting
	------------------ */
	font-size: 1.6em;
	line-height: 1.4em;
	letter-spacing: 0px;
	/* <- locally declared -> */
	}

ul, ol {
	/* layout
	------------------ */
	margin: 0px;
	padding: 0px;
	/* formatting
	------------------ */
	list-style-type: none;
	}

	ul li, ol li {
		/* layout
		------------------ */
		margin: 0px;
		padding: 0px;
		/* formatting
		------------------ */
		/* <- locally declared -> */
	}

form, form fieldset { 
	/* layout
	------------------ */
	margin: 0px;
	padding: 0px;
	/* formatting
	------------------ */
	border: none;	
	}


/*/////////////////////////////////////////////////////// COMMON DEFINITIONS ////////////////////
_______________________________________________________________________________________________________ */


/*............................... CLEARERS ........*/

form br, div.clearer { 
	/* layout
	------------------ */
	height: 0px;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
	clear: both;
	display: block;
	border: none;
	visibility: hidden;
	}

div.spacer { 
	/* layout
	------------------ */
	height: 24px;
	margin: 0px;
	padding: 0px;
	clear: both;
	display: block;
	/*visibility: hidden;*/
	}


/*............................... LINKS ..........*/

a, a:hover, a:active, a:visited {
	/* formatting
	------------------ */
	color: #4192D9;
	}

	/* avoid borders on images contained in links */
	a img, :link img, :visited img { border: none; }


/*............................... CAROUSELS ..........*/


#boxCarousel {
	/* layout
	------------------ */
	position: relative;
	width: 100%;
	height: 255px;
	margin: 25px 0px 40px;
	padding: 0px;
	/* formatting
	------------------ */
	border-top: 1px solid #666666;
	}
	#pageHome #boxCarousel { height: 300px; }

	#boxCarousel img {
		/* layout
		------------------ */
		position: absolute;
		top: 2px;
		left: 0px;
		margin: 0px;
		padding: 0px;
		}

	#boxCarousel div {
		/* layout
		------------------ */
		position: absolute;
		left: 0px;
		width: 100%;
		margin: 0px;
		padding: 9px 0px 0px 0px;
		/* formatting
		------------------ */
		border-top: 1px solid #666666;
		}

		#boxCarousel.home div { top: 274px; }
		#boxCarousel.prod div { top: 229px; }


	#boxCarousel ul {
		/* layout
		------------------ */
		position: absolute;
		right: 0px;
		/*width: 100%;*/
		margin: 0px;
		padding: 0px 0px 0px 130px;
		/* formatting
		------------------ */
		background: url(../img/interface/numgallery.gif) no-repeat top left;
		}

		#boxCarousel ul li {
			/* layout
			------------------ */
			width: 20px;
			height: 18px;
			margin: 0px 0px 0px 3px;
			padding: 0px;
			display: block;
			float: left;
			/* formatting
			------------------ */
			font-size: 12px;
			line-height: 18px;
			text-align: center;
			color: #FFFFFF;
			cursor: pointer;
			background: #4192D9;
		}

		#boxCarousel ul li.selected { background: #0074D9; }



/*............................... PDF CATALOG LINK ..........*/

div.pdflink {
	/*width: 20px;*/
	/*height: 18px;*/
	margin: 20px 0px 0px 0px;
	padding: 0px;
	display: block;
	/* formatting
	------------------ */
	text-align: right;
	}
	
	div.pdflink a {
		/* layout
		------------------ */
		margin: 0px;
		padding: 2px 6px;
		/* formatting
		------------------ */
		font-size: 14px;
		line-height: 20px;
		font-weight: bold;
		letter-spacing: -1px;
		text-decoration: none;
		color: #FFFFFF;
		background: #4192D9;
		background: #0074D9;
		background: #00305A;
		}

		div.pdflink a:hover { background: #4192D9; }




/*/////////////////////////////////////////////////////// COMMON BOXES DEFINITIONS //////////////
_______________________________________________________________________________________________________ */


#boxRoot {
	/* layout
	------------------ */
	width: 100%;
	margin: 0px;
	padding: 0px;
		}

#boxSidebar {
	/* layout
	------------------ */
	position: absolute;
	top: 0px;
	left: 0px;
	width: 355px;
	height: 400px;
	margin: 0px;
	padding: 0px;
	display: block;
	}


	#boxSidebar h2#boxLogo {
		/* layout
		------------------ */
		position: relative;
		width: 290px;
		height: 80px;
		margin: 60px auto 40px 20px;
		padding: 0px;
		/* formatting
		------------------ */
		text-align: center;
		text-indent: -9999px; overflow: hidden;
		background: url(../img/interface/sidebar_logo.gif) no-repeat top left;
		}

		#boxSidebar h2#boxLogo a { width: 100%; height: 100%; display: block; }

	#boxSidebar #wrpMenu {
		/* layout
		------------------ */
		position: relative;
		width: 355px;
		/*height: 325px;*/
		margin: 0px;
		padding: 20px 0px;
		}

	#boxSidebar ul#boxMenu {
		/* layout
		------------------ */
		position: relative;
		width: 355px;
		margin: 0px;
		padding: 0px;
		overflow: visible;
		/* formatting
		------------------ */		
		text-align: left; /* required by IE, otherwise mess up menu */
		}

		#boxSidebar ul#boxMenu li {
			/* layout
			------------------ */
			position: relative;
			width: 355px;
			/*height: 50px;*/
			margin: 0px 0px 3px 0px;
			padding: 0px;
			overflow: visible;
			/* formatting
			------------------ */
			vertical-align: bottom; /* This fixes the IE Win gap between li elements! */
			}

			#boxSidebar ul#boxMenu li ul {
				/* layout
				------------------ */
				/*position: relative;*/
				width: 325px;
				margin: 0px;
				padding: 3px 0px 0px 0px;
				}
		
			#boxSidebar ul#boxMenu li ul li {
				/* layout
				------------------ */
				width: 325px;
				/*height: 36px;*/
				margin: 0px 0px 2px 0px;
				padding: 0px;
				/* formatting
				------------------ */
				vertical-align: bottom; /* This fixes the IE Win gap between li elements! */
				}
	
				/* moo.fx.slide adds a wrapper div, used to hide/show contained objects */
				#boxSidebar ul#boxMenu li div { position: relative; width: 325px; display: block; }
				#boxSidebar ul#boxMenu li div ul li#subitemB3 { margin-bottom: 0px; }
	

		#boxSidebar ul#boxMenu li a {
			/* layout
			------------------ */
			width: 325px;
			height: 50px;
			margin: 0px;
			padding: 0px;
			display: block;
			overflow: hidden;
		}
		
		#boxSidebar ul#boxMenu li a span {
			/* layout
			------------------ */
			width: 325px;
			height: 50px;
			margin: 0px;
			padding: 0px;
			display: block;
			overflow: hidden;
			/* formatting
			------------------ */
			text-indent: -9999px; overflow: hidden;
			background-repeat: no-repeat;
			background-position: 0px 0px;
			}

			#boxSidebar ul#boxMenu li ul li a {
				/* layout
				------------------ */
				width: 325px;
				height: 36px;
				margin: 0px;
				padding: 0px;
				display: block;
			}

			#boxSidebar ul#boxMenu li ul li a span {
				/* layout
				------------------ */
				width: 325px;
				height: 36px;
				margin: 0px;
				padding: 0px;
				display: block;
				/* formatting
				------------------ */
				background-repeat: no-repeat;
				background-position: 0px 0px !important;
			}

		#boxSidebar ul#boxMenu li a:hover span { background-position: 0px -50px; }
		#boxSidebar ul#boxMenu li ul li a:hover span { background-position: 0px -36px !important; }

		body.ita #boxSidebar ul#boxMenu li#itemA a span { background-image: url(../img/interface/menu/itemA_back.jpg); }
		body.ita #boxSidebar ul#boxMenu li#itemB a span { background-image: url(../img/interface/menu/itemB_back.jpg); }
		body.ita #boxSidebar ul#boxMenu li#itemC a span { background-image: url(../img/interface/menu/itemC_back.jpg); }
		body.ita #boxSidebar ul#boxMenu li#itemD a span { background-image: url(../img/interface/menu/itemD_back.jpg); }

		body.ita #boxSidebar ul#boxMenu li ul li#subitemB1 a span { background-image: url(../img/interface/menu/subitemB1_back.jpg); }
		body.ita #boxSidebar ul#boxMenu li ul li#subitemB2 a span { background-image: url(../img/interface/menu/subitemB2_back.jpg); }
		body.ita #boxSidebar ul#boxMenu li ul li#subitemB3 a span { background-image: url(../img/interface/menu/subitemB3_back.jpg); }
	

		body.eng #boxSidebar ul#boxMenu li#itemA a span { background-image: url(../img/interface/menu/itemA_back_eng.jpg); }
		body.eng #boxSidebar ul#boxMenu li#itemB a span { background-image: url(../img/interface/menu/itemB_back_eng.jpg); }
		body.eng #boxSidebar ul#boxMenu li#itemC a span { background-image: url(../img/interface/menu/itemC_back_eng.jpg); }
		body.eng #boxSidebar ul#boxMenu li#itemD a span { background-image: url(../img/interface/menu/itemD_back_eng.jpg); }

		body.eng #boxSidebar ul#boxMenu li ul li#subitemB1 a span { background-image: url(../img/interface/menu/subitemB1_back_eng.jpg); }
		body.eng #boxSidebar ul#boxMenu li ul li#subitemB2 a span { background-image: url(../img/interface/menu/subitemB2_back_eng.jpg); }
		body.eng #boxSidebar ul#boxMenu li ul li#subitemB3 a span { background-image: url(../img/interface/menu/subitemB3_back_eng.jpg); }


		/* ----- current menu tagging ----- */
		#boxSidebar ul#boxMenu li.active a span { background-position: 0px -100px; }
		#boxSidebar ul#boxMenu li.active a:hover span { background-position: 0px -100px; }

		/* ----- arrow tagging ----- */
		#boxSidebar ul#boxMenu li img#actTagger { 
			/* layout
			------------------ */
			position: absolute;
			top: -10px;
			left: 325px;
			width: 30px;
			height: 70px;
		}

	#boxSidebar #boxLang {
		/* layout
		------------------ */
		position: relative;
		width: 320px;
		margin: 40px 0px 10px;
		padding: 0px;
		/* formatting
		------------------ */
		text-align: center;
		color: #395E7F;
		}

		#boxSidebar #boxLang a { padding: 2px 4px; color: #7ABAF2; text-decoration: none; }
		#boxSidebar #boxLang a:hover { text-decoration: underline; }


#wrpMain {
	/* layout
	------------------ */
	margin: 0px 0px 0px 355px;
	padding: 0px;
	}
	
	#boxMain {
		/* layout
		------------------ */
		width: 460px;
		margin: 65px 0px 0px 85px;
		padding: 0px;
	}

	#boxMain h1 {
		/* layout
		------------------ */
		margin: 0px;
		padding: 0px;
		width: 460px;
		height: 44px;
		display: block;
		/* formatting
		------------------ */
		text-indent: -9999px; overflow: hidden;
		background-position: 0px 0px;
		background-repeat: no-repeat;
		}

		body#pageHome.ita #boxMain h1 { background-image: url(../img/interface/header_h1/home.gif); }
		body#pageAzienda.ita #boxMain h1 { background-image: url(../img/interface/header_h1/azienda.gif); }
		body#pageProdotti1.ita #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti1.gif); }
		body#pageProdotti2.ita #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti2.gif); }
		body#pageProdotti3.ita #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti3.gif); }
		body#pageCartina.ita #boxMain h1 { background-image: url(../img/interface/header_h1/cartina.gif); }
		body#pageContatti.ita #boxMain h1 { background-image: url(../img/interface/header_h1/contatti.gif); }

		body#pageHome.eng #boxMain h1 { background-image: url(../img/interface/header_h1/home_eng.gif); }
		body#pageAzienda.eng #boxMain h1 { background-image: url(../img/interface/header_h1/azienda_eng.gif); }
		body#pageProdotti1.eng #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti1_eng.gif); }
		body#pageProdotti2.eng #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti2_eng.gif); }
		body#pageProdotti3.eng #boxMain h1 { background-image: url(../img/interface/header_h1/prodotti3_eng.gif); }
		body#pageCartina.eng #boxMain h1 { background-image: url(../img/interface/header_h1/cartina_eng.gif); }
		body#pageContatti.eng #boxMain h1 { background-image: url(../img/interface/header_h1/contatti_eng.gif); }



	#boxFoot {
		/* layout
		------------------ */
		width: 460px;
		margin: 40px 0px 25px 85px;
		padding: 10px 0px 0px 0px;
		clear: both;
		/* formatting
		------------------ */
		font-size: 10px;
		line-height: 14px;
		text-align: center;
		border-top: 1px solid #0074D9;
		}

		#boxFoot span {
			/* layout
			------------------ */
			position: relative;
			width: 100%;
			margin: 10px 0px 0px 0px;
			padding: 10px 0px 0px 0px;
			display: block;
			/* formatting
			------------------ */
			text-align: center;
			border-top: none;
			}

			#boxFoot span em {
				/* layout
				------------------ */
				position: absolute;
				top: 10px;
				right: 0px;
				}


/*................ CONTACTS ..........*/

ul#contactlist {
	/* layout
	------------------ */
	margin: 20px 0px 30px 20px;
	padding: 0px;
	/* formatting
	------------------ */
	list-style-type: none;
	}

	ul#contactlist li {
		/* layout
		------------------ */
		height: 18px;
		margin: 0px 0px 5px 0px;
		padding: 0px 0px 0px 25px;
		/* formatting
		------------------ */
		font-size: 1.4em;
		line-height: 16px;
		}

		ul#contactlist li#contactlist_home { background: url(../img/interface/icons/bullet_home.gif) no-repeat 0px 0px; }
		ul#contactlist li#contactlist_tele { background: url(../img/interface/icons/bullet_tele.gif) no-repeat 0px 0px; }
		ul#contactlist li#contactlist_facs { background: url(../img/interface/icons/bullet_facs.gif) no-repeat 0px 0px; }
		ul#contactlist li#contactlist_mail { background: url(../img/interface/icons/bullet_mail.gif) no-repeat 0px 0px; }

		ul#contactlist li#contactlist_home a { font-size: 12px; }






#formContacts { 
	width: 380px;
	margin: 20px auto;
	padding: 15px 15px 25px 20px;
	border: 1px solid #CCCCCC;
	}	

	#formContacts fieldset {
		display: block;
		margin: 0px;
		padding: 0px;
		font-weight: bold;
		font-size: 11px;
	}

	#formContacts label{
		float: left;
		display: block;
		margin: 1em 1em 0 0;
		font-weight: bold;
		font-size: 10px;
	}

	#formContacts input {
		display: block;
		width: 176px;
	}
	
	#formContacts textarea {
		display: block;
		width: 365px;
	}
	
	#formContacts fieldset.checklist {
		margin: 0px;
		padding: 10px 0px;
		clear: both;
		}
	
		#formContacts fieldset.checklist p { font-size: 11px; }
		#formContacts fieldset.checklist p span { display: block; margin-bottom: 3px; }
	
		#formContacts fieldset.checklist input {
			width: 14px;
			margin-left: 20px;
			display:inline;
		}
	
	#formContacts div.submit {
		margin: 0px;
		padding: 20px 0px 0px;
		clear: both;
		text-align: center;
	}
	
	#formContacts div.submit input { width: 70px; margin: 0px 10px; display:inline; }




/*................ GOOGLE MAP (API) ..........*/

#boxMap {
	/* layout
	------------------ */
	width: 410px;
	height: 350px;
	margin: 25px;
	/* formatting
	------------------ */
	border: 1px solid #4192D9;
}



/*####################################################### FOOTNOTES ###################
_______________________________________________________________________________________________________

(1)	http://developer.yahoo.com/yui/reset/
(2) http://www.robertnyman.com/2007/04/12/how-to-clear-css-floats-without-extra-markup-different-techniques-explained/
(3) http://tetlaw.id.au/view/javascript/really-easy-field-validation/

*/
