/* ----------------------------- STILI GENERALI ----------------------------- */
* {
	 margin: 0;
	 padding: 0;
}

body {
	 margin: 0px 0;
	 font: normal small Tahoma, Arial, Helvetica, sans-serif;
	 	 background-color: #000045;

	 color: #333333;
	 /*background-image: url(../Images/sfondosfumatura.jpg);
	 background-repeat: repeat-x;*/
}

#portal{
	 background-color: #ededed;
	 width: 920px;
	 margin-left:auto;
	 margin-right:auto;
}

h1, h2, h3 {
	 color: #333333;
}

h3 {
	 font-size: 1em;
}

p, blockquote, ul, ol {
	 margin-bottom: 1.5em;
	 line-height: 1.65em;
	 text-align: justify;
}

blockquote {
	 margin-left: 2em;
	 margin-right: 2em;
	 font-style: italic;
}

ul {
	 margin-left: 3em;
}

ol {
	 margin-left: 3em;
}

a {
    text-decoration: underline;
    color: #476679;
}

a:hover {
	text-decoration: none;
	color: #476679;
}

a:visited {
	text-decoration: none;
	color: #476679;
}

img {
	border: none;
}

img.left {
	float: left;
	margin: 5px 20px 0 0;
}

img.right {
	float: right;
    margin: 5px 0 0 20px;
}

/* ---------------------------------------------------------------------------- */
/* Post */

.post {
}

.post .title {
	/*background: url(../Images/block_title_bg.jpg) repeat-x;*/

	text-transform: uppercase;
	color: #000066;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: normal;
	font-weight: 100;
	padding-top: 5px;
}

.post .title span {

	padding: 5px 0 0 5px;
}

.post .date {
	margin-top: -25px;
	padding-bottom: 10px;
	padding-right: 20px;
	text-align: right;
	font-size: x-small;
	color: #FFFFFF;
}

.post .meta p {
	margin: 0;
	padding: 10px 20px 40px 20px;
	border-top: 1px dotted #CCCCCC;
	line-height: normal;
	font-size: x-small;
}

.post .cms_content {
    float: left;
	padding: 20px;
	padding-top: 5px;
	min-height:250px;
	margin-top: 10px;
	background-color: #FFFFFF;
}

/*==============================================================================*/

/* -----SEZIONE TESTATA IN ALTO (LOGO, MENU)----- */

/* Stili applicati alla testata in alto che contiene logo e menu */
#header {
	width: 890px;
	height: 120px;
	margin-top: -10px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
/* Immagine logo */
#logo {
	float: left;
	margin-top: 20px;
	margin-left: 5px;
}
/* Titolo logo */
#logo h1 {
	float: left;
}
/* Titolo logo */
#logo h2 {
	float: left;
	margin-top: -5px;
	font-size: 1em;
}
/* Stile collegamento collegato al logo */
#logo a {
	text-decoration: none;
	color: #000000;
}

/* ----STILI MENU SERVIZIO --- */
#menu_servizio {
    margin: 0 auto;
	padding-top: 10px;
	width: 890px;
	text-align: right;
}
#smenu, #smenu ul {
    padding:0; 
	margin:0; 
	list-style-type: none;
	float: right;
}
#smenu li {
    float:left;
	position:relative;
	text-align: center;
	font-size: 12px;
	margin-left: 10px;
}
#smenu a, #smenu a:visited {
	color:#589ace;
	height:20px;
	line-height:15px;
	text-decoration:underline;
	text-align: center;
	padding-top: 10px;
}



/* ----------- CONTENITORE DELLE COLONNE DI SINISTRA, CENTRALE, DESTRA ---------- */
#container {
	width: 890px;
	margin: 0 auto;
	padding: 0px;
	background-color: #ededed;
	margin-top: 5px;
}

/*============================================================================*/

/* -----SEZIONE DEFINIZIONE REGOLE PER LE COLONNE LATERALI----- */
/* div contenitore della colonna di sinistra */
#modarea_1 {
	float: left;
	width: 210px;
	padding-top: 0px;
	display: none;
}
/* div contenitore della colonna di destra */
#modarea_2 {
	float: right;
	width: 245px;
	padding-left: 0px;
	padding-top: 0px;
}

/*============================================================================*/

/* -----SEZIONE DEDICATA ALLA COLONNA CENTRALE----- */
#main {
	float: left;
	width: 530px;
	padding-left: 0px;
	padding-top: 0px;
	background-color: #FFFFFF;
	display: inline;
}
#contenuto {
    width: 635px;
	min-height:500px;
	background-color: #FFFFFF;
}
.object {
    margin-bottom:10px;
}
.object .title {
	display:none;
}
.object .title h2 {
	display:none;
}
.object .content {
	padding: 20px 0 20px 0;
}

#IdObjectPage {
    margin-top:15px;
}
#contenuto a {
    text-decoration: none;
}
#contenuto ul {
    list-style-type: square;
    margin-left: 20px;
}
#contenuto #IdObjectPage .object ul {
    list-style-type: square;
    margin-left: 20px;
}
#contenuto #IdObjectPage .object ul li img {
    vertical-align: middle;
}
#contenuto #IdObjectPage .object ul ul {
    list-style-type: none;
    margin-left: 0px;
}
#contenuto #IdObjectPage .object ul ul li.titolo {
	font-weight: bold;
}
#contenuto #IdObjectPage .object ul ul li.testo {
}

/* ============================================================================== */

/* -----STILI DEGLI OGGETTI----- */

/* Stili dell'oggetto, form di contatto */
#contact table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 5px;
	margin-top: 5px;
}
#contact input  {
    font-size: 0.9em;
}

/* Stili dell'oggetto conferma rimozione dalla mailing list */
#mailremove table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 5px;
	margin-top: 5px;
}
#mailremove input  {
    font-size: 0.9em;
}
/* -----Stili documentazioni----- */ 
#documentazioni li.documenti {
    margin-left: -5px;
	list-style:none;
	text-decoration: none;
	background-image: url(../Images/puntorisultati.gif);
	background-repeat: no-repeat;
	background-position: 2px 8px;
	padding-left: 15px;
}
#documentazioni li.categoria {
    list-style:none;
	text-decoration: none;
	background-image: url(../Images/puntointris.gif);
	background-repeat: no-repeat;
	background-position: 2px 6px;
	padding-left: 15px;
	margin-left: -20px;
}



#archiverassegne table {
   width: 100%;
}
#archiverassegne table tr.grosso {
   font-weight: bold;
}
#archiverassegne table tr td {
   height: 30px;
   padding-left: 2px;
   padding-right: 2px;
}
#archiverassegne table tr td.allegato {
   height: 30px;
   width: 5%;
}
#archiverassegne table tr td.link {
   height: 30px;
   width: 5%;
}
#archiverassegne table tr td img {
   vertical-align: middle;
}
#archiverassegne table ul {
   margin: 0px;
   padding: 0px;
   list-style-type: none;
}
#archiverassegne table ul li {
   list-style-type: none;
   margin: 0px;
   padding: 0px;
}
#archiverassegne table ul li {
   list-style-type: none;
}
a.linkarchiviorassegna {
   margin-top: 10px;
}

/*===========================================================================*/

/* -----SEZIONE DEL FOOTER----- */
#footer {
	margin: 0 auto;
	width: 890px;
	height: 80px;
	padding: 20px 0;
	margin-top: -25px;
	#margin-top: -50px;
}
#footer p {
	margin: 0;
	text-align: left;
	line-height: normal;
	font-size: x-small;
	float: left;
	width: 350px;
}
#footer a {
	text-decoration: underline;
	color: #666666;
}
#footer a:hover {
	text-decoration: none;
}
/* Footer > Legal */
#legal {
}
/* Footer > Links */
#links {
}

/*============================================================================*/

/* -----SEZIONE DEL FOOTER POPUP----- */
#footerpopup {
	clear: both;
	width: 570px;
	height: 80px;
	margin: 0 auto;
	padding: 20px 0;
	background: url(../Images/img02.jpg) no-repeat;
}
#footerpopup p {
	margin: 0;
	text-align: center;
	line-height: normal;
	font-size: x-small;
}
#footerpopup a {
	text-decoration: underline;
	color: #666666;
}
#footerpopup a:hover {
	text-decoration: none;
}
/* div contenitore del POPUP*/
#containerpopup {
	width: 570px;
	margin: 0 auto;
	padding: 20px;
	border-top: 1px solid #FFFFFF;
	background-color: #eaeaea;
}

/*============================================================================*/

/* -----STILI ASSOCIATI AL TEMPLATE PER LE MAIL----- */
#headerpopup {
	width: 570px;
	height: 130px;
	background-repeat: no-repeat;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 20px;
	background-color: #FFFFFF;
}
.mail_content {
    background-color:#FFFFFF;
    padding:10px;
}

/*===========================================================================*/

/* -----STILI SOTTOMENU PRIMARIO----- */
#menprisubmenu{
	background-image: url(../Images/SubMenuSfondo.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom:2px;
	margin-top:-10px;
	padding-top:10px;
	color:#FFFFFF;
	margin-bottom:10px;
}
#menprisubmenu a{
	color:#FFFFFF;
}
#titlesubmenupri{
    display:none;
}
#mensecsubmenu{
	background-image: url(../Images/SubMenuSfondo.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	padding-bottom:2px;
	margin-top:-10px;
	padding-top:10px;
	color:#FFFFFF;
	margin-bottom:10px;
}
#mensecsubmenu a{
	color:#FFFFFF;
}
#titlesubmenusec{
    display:none;
}

/*===========================================================================*/

/* -----STILI OGGETTO GALLERIA FOTOGRAFICA----- */
#OBJ_gallery {
}
#OBJ_gallery a {
   text-decoration: none;
   color: #000000;
}
#OBJ_Box_Gallery {
   height:220px;
   float:left;
   width:153px;
   #width:153px;
   position:relative;
   border: 1px dotted #000000;
   background-color:#FFFFFF;
   margin-right:10px;
   margin-top:10px;
}
#OBJ_DettagliGallery{
	position:absolute;
	height:55px;
	width:143px;
	#width:143px;
	bottom:0px;
	left:0px;
	padding-left:5px;
	padding-right:5px;
	background: url(../Images/block_content_top.jpg) repeat-x;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-top-color: #cacaca;
	border-right-color: #cacaca;
	border-bottom-color: #cacaca;
	border-left-color: #cacaca;
	overflow: auto;
}
#OBJ_Box_Gallery img{
   display:block; 
   margin-left:auto;
   margin-right:auto;
   margin-top: 5px;
}
a.indietro {
   border: 1px solid #dedfde;
}
a:hover.indietro {
   border: 1px solid #dedfde;
   font-weight: bold;
}

/*===========================================================================*/

/* -----STILI PAGINE POPUP----- */
body.bodypopup {
     background-color: #ffffff;
     padding: 10px;
}
#logopopup {
     min-height: 60px;
	 margin-bottom: 10px;
	 padding: 5px;
	 vertical-align: middle;
	 padding-top: 20px;
	 padding-left: 15px;
	 /*border: 1px solid #cacaca;
	 background-image: url(../Images/header_block_border_top.jpg);
	 background-repeat: repeat-x;*/
}

#logopopup img {
     vertical-align: middle;
     
}
#contentpopup fieldset{
     min-height: 230px;
	 padding: 10px;
	 background-color:#FFFFFF;

}
#detail {
}
#detail a {
     text-decoration: none;
     color: #00000;
}
#detail a:hover {
	 text-decoration: none;
	 color: #000000;
}
#detail ul {
	 margin: 0px;
	 padding: 0px;
	 list-style-type: none;
	 margin-left: 15px;
}
#detail li.titolo{
     font-size: 15px;
     font-weight: bold;
}
#detail ul li.sottotitolo{
     font-size: 14px;
}
#detail ul li.testo{
     margin-top: 10px;
}
#detail ul li.data{
     margin-bottom: 10px;
}
#detail ul li.allegato{
}
#detail ul li.link{
}
#detail .centro {
     vertical-align: middle;
}

/*===========================================================================*/

/* -----STILI PER IL BOX RICERCA NELLE PAGINE WEB, STILI PAGINA RISULTATI----- */
#search{
	float: right;
	color: #85a1b2;
	/*background-color: #FFFFFF;*/
	margin-right: 0px;
	margin-top: 60px;
	height: 34px;
	padding: 5px;
}
#search #frmsearchpage{
    margin-top: 7px;

}
#search #frmsearchpage span{
    display:none;
}
#search #searchtext{
    width:130px;
}
#searchbutton{
}
#searchresults{
	margin-top:20px;
}
#searchresults .intes {
	list-style:none;
	text-decoration: none;
	background-image: url(../Images/puntointris.gif);
	background-repeat: no-repeat;
	background-position: 2px 6px;
	padding-left: 15px;
	margin-left:-15px;
}
#searchresults > ul > li {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #006600;
	border-right-color: #006600;
	border-bottom-color: #006600;
	border-left-color: #006600;
}
#searchresults li .tit {
	list-style:none;
	text-decoration: none;
	background-image: url(../Images/puntorisultati.gif);
	background-repeat: no-repeat;
	background-position: 2px 8px;
	padding-left: 15px;
	margin-left:-15px;
	margin-bottom:2px;
}
#searchresults ul{
	margin-bottom:2px;
}
#searchresults  li ul li ul li{
	list-style:none;
	padding-left: 0px;
	margin-left:-40px;
	margin-bottom:2px;
}
.MN{
	cursor:pointer;
	font-weight: bold;
}
#contenuto .highlight { 
    background-color: yellow;
    display:inline; 
}
#contentpopup .highlight { 
    background-color: yellow;
    display:inline; 
}

/* ============================================================================== */

/* -----STILI APPLICATI AI BOX----- */
.boxed {
    margin-bottom:10px;
	background-color: #FFFFFF;
}
/* Titolo del box */
.boxed .title {
	/*background: url(../Images/block_title_bg.jpg) repeat-x;*/
	min-height: 42px;
}
.boxed .title .imgtitleleft {
    float: left;
	margin-left: 10px;
	margin-right: 5px;
    /*display: none;*/
	vertical-align: middle;
	padding-top: 11px;
}
.boxed .title .imgtitleleft img {
	vertical-align: middle;
}
.boxed .title .imgtitleright {
    float: right;
	margin-right: 5px;
	display: none;
}
.boxed .title .imgtitleright img {
    height: 25px;
	vertical-align: middle;
}
/* Titolo del box utilizzati nella gestione layout */
.boxed .title .titolo {
    /*float: left;*/ /*abilitare se l'immagine e' a destra*/
}
.boxed .title .titolo h2 {
	padding: 3px 0 0 3px;
	text-transform: uppercase;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #383838;
	padding-top: 17px;
}
/* Contenuto del box */
.boxed .content {
    margin-top: 1px;
	padding: 20px;
	/*background: url(../Images/block_content_top.jpg) repeat-x;
	background-color: #FFFFFF;*/
	border-top: 1px solid #cacaca;
	color: #476679;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 11px;
}
/* Stile dei collegamenti del box*/
.boxed .content a {
    text-decoration: none;
	color: #476679;
}
/* Stile delle liste del box*/
.boxed .content ul {
	font-size: 12px;
	margin-left: 0px;
	list-style-type: none;
	margin-bottom: 0px;
	color: #476679;
}
.boxed .content ul li {
    margin-bottom: 5px;
	margin-top: 5px;
	margin-left: 0px;
	color: #476679;
}
.boxed .content ul ul {
    list-style-type: none;
	text-align:center;
	margin-left:-20px;
	color: #476679;
}
.boxed .content ul li h3 {
	font-size: 11px;
	color: #476679;
}
.boxed .content ul li h3 img {
    vertical-align: middle;
}
.boxed .content ul li h4 {
	font-size: 11px;
	font-weight: normal;
	color: #476679;
}
.boxed .content ul li p {
	font-size: 11px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	border-bottom: 1px solid #999;
	padding-bottom: 5px;
	margin-left: 0px;
	padding-left: 0px;
	font-weight: normal;
}
.boxed .content ul ul li a {
    color: #6A9738;
}

/* Personalizzazione box dedicato al login utente */
#login {
}
#login .content {
   padding-top: 10px;
   padding-bottom: 10px;
}
#login form {
}
#login fieldset {
	border: none;
}
#login legend {
	display: none;
}
#login label {
	display: block;
}
#login input {

}
#inputtext1 {
    margin-left: 18px;
}
#inputtext1, #inputtext2 {
	width: 65%;
}
#inputsubmit1 {
	margin: 0;
	padding: 0;
	margin-top: 10px;
	font-size: 11px;
}
#login .content p {
    margin-top: 5px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#login .content p br {
}

/* Personalizzazione del box dedicato alle news, modalita grafica */
#newsgraf {
}
#newsgraf ul {
	margin: 0;
	list-style: none;
	text-align: center;
}
#newsgraf h3 {
	font-size: .8em;
}
#newsgraf p {
	line-height: normal;
	font-size: .8em;
}
#newsgraf a {
	text-decoration: none;
}

/* ============================================================================== */

/* -----SEZIONE STILI USATI DAI JAVASCRIPT----- */

/* -----STILI APPLICATI ALLA GALLERY USATA NEGLI OGGETTI E NEI POPUP----- */
div.contentgal {
	display: none;
	float:right;
	width:530px; 
}
div.contentgal a, div.navigationgal a {
	text-decoration: none;
	color: #777;
}
div.contentgal  a:focus, div.contentgal  a:hover, div.contentgal  a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
div.loader {
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 530px;
	height: 330px
}
div.slideshow {
	clear: both;
}
div.slideshow span.image-wrapper {
	float: left;
	padding-bottom: 12px;
}
div.slideshow a.advance-link {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
div.slideshow img {
	border: none;
	display: block;
}
div.download {
	float: right;
}
div.embox {
	clear: both;
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigationgal {
}
ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
	margin-right: 15px;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigationgal div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}

/* Minimal Gallery Styles */
#thumbs-min ul.thumbs li {
	float: none;
	padding: 0;
	margin: 0;
	list-style: none;
}

#thumbs-min a.thumb {
	padding: 0px;
	display: inline;
	border: none;
}

#thumbs-min ul.thumbs li.selected a.thumb {
	background: inherit;
	color: #000;
	font-weight: bold;
}

div.navigationgal {
    width:535px;
}

div.contentgal {
    display:block;
}

#thumbs-adv {
	text-align:center;
}

/* STILI UTILIZZATI DAL JAVASCRIPT PER LO SLIDESHOW DEI BOX E DELLE FOTO */

.glidecontentwrapper{
position: relative; /* Do not change this value */
/*background-color: #fff;*/
width: 100%;
height: 160px; /* Set height to be able to contain height of largest content shown*/
/*border: 1px solid #006699;*/
overflow: hidden;
/*background-color: #FFFFFF;
background: #eaeaea url(../Images/img07_new.gif) repeat-x;*/
}
/*
	Total wrapper width: 350px+5px+5px=360px
	Or width of wrapper div itself plus any left and right CSS border and padding
	Adjust related containers below according to comments
*/


.glidecontent{ /*style for each glide content DIV within wrapper.*/
position: absolute; /* Do not change this value */
background: white;
/*padding: 10px;*/
visibility: hidden;
width: 100%;
height: 125px;
text-align: center;
background-color: #FFFFFF;
background: #eaeaea url(../Images/img07_new.gif) repeat-x;
}

.glidecontent2{ /*style for each glide content DIV within wrapper.*/
position: absolute; /* Do not change this value */
background: white;
/*padding: 10px;*/
visibility: hidden;
width: 100%;
height: 125px;
text-align: center;
background-color: #FFFFFF;
background: #eaeaea url(../Images/img07_new.gif) repeat-x;
}

.glidecontent3{ /*style for each glide content DIV within wrapper.*/
position: absolute; /* Do not change this value */
background: white;
/*padding: 10px;*/
visibility: hidden;
width: 100%;
height: 160px;
text-align: center;
background-color: #eaeaea;
/*background: #eaeaea url(../Images/img07_new.gif) repeat-x;*/
}

.glidecontent4{ /*style for each glide content DIV within wrapper.*/
position: absolute; /* Do not change this value */
background: white;
/*padding: 10px;*/
visibility: hidden;
width: 100%;
height: 150px;
text-align: center;
background-color: #FFFFFF;
background: #eaeaea url(../Images/img07_new.gif) repeat-x;
}

/*
 Total glidecontent width: 330px+10px+10px=350px
	Or width of wrapper div itself (not counting wrapper border/padding)
*/

.glidecontent img {
                   
} 

.glidecontenttoggler{ /*style for DIV used to contain toggler links. */
display: none;
visibility: hidden;
width: 0px;
height: 0px;
margin-top: 6px;
text-align: center; /*How to align pagination links: "left", "center", or "right"
background: white; /*always declare an explicit background color for fade effect to properly render in IE*/
}
/*
 Total contenttoggler width: 350px+5px+5px=360px
	Or total width of wrapper div (counting wrapper border/padding)
*/

.glidecontenttoggler a{ /*style for every navigational link within toggler */
display: -moz-inline-box;
display: inline-block;
border: 1px solid black;
color: #2e6ab1;
padding: 1px 3px;
margin-right: 3px;
font-weight: bold;
text-decoration: none;
}

.glidecontenttoggler a.selected{ /*style for selected page's toggler link. ".selected" class auto generated! */
background: #E4EFFA;
color: black;
}

.glidecontenttoggler a:hover{
background: #E4EFFA;
color: black;
}

.glidecontenttoggler a.toc{ /*style for individual toggler links (page 1, page 2, etc). ".toc" class auto generated! */
}

.glidecontenttoggler a.prev, .glidecontenttoggler a.next{ /*style for "prev" and "next" toggler links. ".prev" and ".next" classes auto generated! */
}

.glidecontenttoggler a.prev:hover, .glidecontenttoggler a.next:hover{
background: #1A48A4;
color: white;
}

/*============================================================================*/

/* -----STILI GENERALE INTESTAZIONE: GALLERY INTESTAZIONE, MENU SECONDARIO----- */

/* -----STILI PER LA GALLERY INTESTAZIONE----- */
#gallery_page {
	width: 635px;
	height:295px;;
	line-height: 156px;
	padding-top: 0px;
	margin-left: 0px;
	text-align:center;
	margin-bottom: 10px;
	z-index: 10;
}
#gallery_page img {
	vertical-align:middle;
}
#gallery_page_small {
	width: 635px;
	height:120px;;
	padding-top: 0px;
	margin-left: 0px;
	text-align:center;
	margin-bottom: 10px;
	z-index: 10;

}
#gallery_page_small img {
	vertical-align:middle;
}
/*============================================================================*/

/* -----STILI PER LA PAGINAZIONE----- */
div.pagination {
    padding: 3px;
    margin: 3px;
	text-align:left;
}

div.pagination a {
	border: 1px solid #dedfde;
	margin-right:3px;
	padding:2px 6px;
	background-position:bottom;
	text-decoration: none;
	color: #476679;
}
div.pagination a:hover, div.pagination a:active {
	border: 1px solid #000;
	background-image:none;
	background-color:#777777;
	color: #fff;
}
div.pagination span.current {
	margin-right:3px;
	padding:2px 6px;
	font-weight: bold;
	color: #476679;
}
div.pagination span.disabled {
	margin-right:3px;
	padding:2px 6px;
	color: #adaaad;
}

/*==============================================================================*/

/* -----STILI E-COMMERCE----- */

/* Stili del box dedicato al carrello espanso, con piu informazioni */
#BoxCarrelloExpanded table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 2px;
}
#BoxCarrelloExpanded td.totale {
    border-top: 1px solid #888;
}
#BoxCarrelloExpanded a {
	text-decoration: none;
}

/* Personalizzazione box ricerca semplice*/
#BoxSearchsimple .content {
    margin-bottom: 0px;
	padding-bottom: 0px;
}
#BoxSearchsimple ul li p {
    display: none;
}

/* Stili per il box categorie dinamico*/
#slide {
	 padding: 0px; 
	 margin: 0px; 
	 width: 181px; 
	 position: absolute
	 height: auto;
	 color: #7b0e0e;
}
#slide DT {
	 padding: 0px; 
	 margin: 0px; 
	 width: 181px; 
	 cursor: pointer; 
	 line-height: 25px; 
	 height: 25px; 
	 text-align: center
}
#slide DT.slide {
}
#slide DT A {
	 display: block; 
	 line-height: 37px; 
	 height: 37px; 
	 text-decoration: none
}
#slide DT A:hover {
	 color: #E58C24;
}
#slide DD {
	 padding: 0px; 
	 margin: 0px; 
	 overflow: hidden; 
	 width: 181px; 
	 position: relative; 
	 text-align: center
}
#slide DD UL {
	 padding: 0px; 
	 text-align: center;
	 left: 0px; 
	 margin: 0px; 
	 bottom: 0px; 
	 list-style-type: none; 
	 position: absolute; 
}
#slide DD UL LI {
	 width: 181px; 
	 line-height: 25px; 
	 border-bottom: #aaa 1px solid; 
}
#slide DD UL LI A {
	 display: block; 
	 color: #666; 
	 text-decoration: none
}
#slide DD UL LI A:hover {
	 color: #E58C24;
}

/* Personalizzazione box categorie */
#BoxCategories ul li p {
    display: none;
}

#BoxCategories ul ul {
    display: none;
}

#BoxCategories ul ul li {
    display: none;
}

/* Personalizzazione box carrello semplice */
#BoxCarrellosimple ul li h4 {
    display: none;
}

#BoxCarrellosimple ul li p {
    border-bottom: 0px;
}

#BoxCarrellosimple ul ul {
    display: none;
}

#BoxCarrellosimple ul ul li {
    display: none;
}

/* Stili dell'oggetto lista prodotti */
#listproducts table {
    width: 100%;
	border-collapse: collapse;
}
#listproducts td {
    border-bottom: 1px solid #888; 
	padding: 5px 5px 5px 0px;
	vertical-align:top;
}
#listproducts td.descell {
    border-bottom: 0px solid #888; 
}
#listproducts td.image {
    width: 80px;
}
#listproducts img {
    border: 1px dashed #888;
}
#listproducts a {
    text-decoration: none;
	font-weight: normal;
}
#listproducts ul {
    margin: 0px;
}
#listproducts li {
    list-style: none;
	font-size: 0.85em;
}
#listproducts li.price {
    font-weight: normal;
}
#listproducts li.oldprice {
    text-decoration: line-through;
}
#listproducts input.trova {
    height:20px;
	font-size:0.7em;
}

/* Stili dell'oggetto archivio news */
#listcategories table {
    width: 100%;
	border-collapse: collapse;
}
#listcategories td {
    padding-bottom: 20px;
}
#listcategories a {
    text-decoration: none;
}
#listcategories ul {
    margin: 0px;
	text-align: center;
}
#listcategories li {
    list-style: none;
}
#listcategories li.desc {
    font-size: 0.85em;
}
#listcategories li img {
    width: 90px;
}
#OBJ_Box_Cat {
   height:180px;
   float:left;
   width:148px;
   #width:153px;
   position:relative;
   border: 1px dotted #cacaca;
   background-color:#FFFFFF;
   margin-right:10px;
   margin-top:10px;
}
#OBJ_Box_Cat img{
	margin-top:5px;
   display:block; 
   margin-left:auto;
   margin-right:auto;
}
#OBJ_Dettagli_Cat{
	position:absolute;
	height:60px;
	width:138px;
	#width:143px;
	bottom:0px;
	left:0px;
	padding-left:5px;
	padding-right:5px;
	padding-top:5px;
	background: url(../Images/block_content_top.jpg) repeat-x;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-top-color: #cacaca;
	border-right-color: #cacaca;
	border-bottom-color: #cacaca;
	border-left-color: #cacaca;
	text-align:center;
}
#OBJ_Dettagli_Cat h3 {
    font-weight: normal;
}
#numprodcat{
	display:block;
}

/* Stili dell'oggetto carrello */
.carrello{
	width:100%;
}
#cart table {
    width: 100%;
	border-collapse: collapse;
}
#cart tr.intestazionecart {
    font-weight: bold;
}
#cart td {
    border-bottom: 0px solid #888;
	padding-right: 5px;
	vertical-align: top;
	padding-bottom: 10px;
}
#cart td.campo1 {
    width: 50px;
}
#cart td.campo2 {
    width: 50px;
}
#cart td.campo3 {
    width: 215px;
}
#cart td.campo4 {
    width: 70px;
}
#cart td.campo5 {
    width: 95px;
}
#cart td.checkbox {
    text-align: center;
}
#cart td.price {
    text-align: right;
}
#cart ul {
    margin: 0px;
}
#cart li {
    list-style: none;
}
#cart a {
    text-decoration: none;
}
#cart input {
    font-size: 0.9em;
}
#cart ul.riepilogocart {
    text-align: right;
	font-size: 0.9em;
}	
#cart li.tot {
    text-decoration: underline;
}	

/* Stili procedure ordine passaggio 1 */
#orderstep1 table {
    width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
}	
#orderstep1 .title{
display:none;
}
#orderstep1 td {
    vertical-align: top;
	padding-bottom: 10px;
}	
#orderstep1 ul {
    margin: 0px;
}
#orderstep1 li {
    list-style: none;
}
#orderstep1 li.desc {
    margin-bottom: -5px;
}		
#orderstep1 input {
    font-size: 0.9em;
	margin-left: 5px;
}
#orderstep1 select {
    font-size: 0.9em;
	margin-left: 5px;
} 
#orderstep1 span.cap {  
    margin-right: 24px;
}
#orderstep1 span.citta {  
    margin-right: 92px;
}
#orderstep1 table#selspedizione {
    width: 100%;
	margin-left: 40px;
}

/* Stili procedure ordine passaggio 2 */
#orderstep2 table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 5px;
}
#orderstep2 .title {
	display:none;}
#orderstep2 tr.intestazionecart {
    font-weight: bold;
}
#orderstep2 td {
    border-bottom: 0px solid #888;
	padding-right: 15px;
	vertical-align: top;
	padding-bottom: 10px;
}
#orderstep2 td.campo2 {
    width: 50px;
}
#orderstep2 td.campo3 {
    width: 260px;
}
#orderstep2 td.campo4 {
    width: 70px;
}
#orderstep2 td.campo5 {
    width: 100px;
}
#orderstep2 td.price {
    text-align: right;
}	
#orderstep2 td.campodescriepilogo {
    width: 300px;      
}
#orderstep2 table#selpagamento {
    width: 100%;
	margin-left: -20px;
	margin-top: 10px;
}
#orderstep2 ul {
    margin: 0px;
}
#orderstep2 li {
    list-style: none;
}
#orderstep2 input {
    font-size: 0.9em;
} 

#orderstep2 table tr td ul {
    list-style-type: none
	margin: 0px;
	padding:0px;
}

#orderstep2 table tr td ul li {
    list-style-type: none
	margin: 0px;
	padding:0px;
}

/* Stili procedure ordine passaggio 3 */
#orderstep3 table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 5px;
}
#orderstep3 .title {
	display:none;
}
#orderstep3 a {
    text-decoration: none;
}
#orderstep3 tr.intestazionecart {
    font-weight: bold;
}
#orderstep3 td {
    border-bottom: 0px solid #888;
	padding-right: 15px;
	vertical-align: top;
	padding-bottom: 10px;
}
#orderstep3 td.campo2 {
    width: 50px;
}
#orderstep3 td.campo3 {
    width: 260px;
}
#orderstep3 td.campo4 {
    width: 70px;
}
#orderstep3 td.campo5 {
    width: 100px;
}	
#orderstep3 td.price {
    text-align: right;
}
#orderstep3 td.campodescriepilogo {
    width: 250px;      
}
#orderstep3 td.campovalriepilogo {
    text-align: left;      
}
#orderstep3 table#selpagamento {
    width: 100%;
	margin-left: -20px;
	margin-top: 10px;
}
#orderstep3 ul {
    margin: 0px;
}
#orderstep3 li {
    list-style: none;
}
#orderstep3 input {
    font-size: 0.9em;
} 

/* Stili procedure ordine passaggio 4 */
#orderstep4 table {
    width: 350px;
	border-collapse: collapse;
	margin-top: 20px;
	margin-bottom: 10px;
}
#orderstep4 span.logopaypal {
    float: left;
	vertical-align: middle;
}
#orderstep4 span.descpaypal {
    float: right;
	text-align: justify;
	vertical-align: middle;
}


/* Stili dell'oggetto modifica dati anagrafici cliente/agente */
#usermod table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	margin-top: 5px;
}
#usermod td.campo {
    width: 200px;
}
#usermod td.privacy {
    border: 1px solid #888;
}
#usermod input {
    font-size: 0.9em;
}


/* Stili dell'oggetto storico degli ordini utente */
#archiveorders table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	margin-top: 5px;
} 
#archiveorders td.campo1 {
    width: 25%;
}
#archiveorders td.campo2 {
    width: 25%;
}
#archiveorders td.campo3 {
    width: 25%;
}
#archiveorders td.campo4 {
    width: 25%;
	text-align: right;
}
#archiveorders td.price {
    text-align: right;
}
#archiveorders a {
    text-decoration: none;
}


/* Stili dell'oggetto storico degli articoli acquistati dall'utente */
#archiveproducts table {
    width: 100%;
	border-collapse: collapse;
	margin-bottom: 5px;
}
#archiveproducts tr.intestazionecart {
    font-weight: bold;
}
#archiveproducts td {
    border-bottom: 0px solid #888;
	padding-right: 15px;
	vertical-align: top;
	padding-bottom: 10px;
}
#archiveproducts td.campo0 {
}
#archiveproducts td.campo1 {
}
#archiveproducts td.campo2 {
}
#archiveproducts td.campo3 {
}
#archiveproducts td.campo4 {
}
#archiveproducts td.price {
    text-align: right;
}	
#archiveproducts ul {
    margin: 0px;
}
#archiveproducts li {
    list-style: none;
}
#archiveproducts a {
    text-decoration: none;
}

/* Stili dell'oggetto lista prodotti in offerta */
#OBJ_content {
    border: 1px dotted #cacaca;
}
#OBJ_Box_Offerta {
   height:220px;
   float:left;
   width:148px;
   #width:153px;
   position:relative;
   border: 1px dotted #cacaca;
   background-color:#FFFFFF;
   margin-right:10px;
   margin-top:10px;
}
#OBJ_Box_Offerta img{
   display:block; 
   margin-left:auto;
   margin-right:auto;
}
#OBJ_Dettagli{
	position:absolute;
	height:100px;
	width:138px;
	#width:143px;
	bottom:0px;
	left:0px;
	padding-left:5px;
	padding-right:5px;
	background: url(../Images/block_content_top.jpg) repeat-x;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: dotted;
	border-top-color: #cacaca;
	border-right-color: #cacaca;
	border-bottom-color: #cacaca;
	border-left-color: #cacaca;
	font-weight: normal;
}
#OBJ_Dettagli h3 {
    font-weight: normal;
}

/* Stili dell'oggetto dettaglio prodotto */
#dettArticolo {
   margin-top:20px;
}
#imgArticolo img {
   display:block;
   margin-left:auto;
   margin-right:auto;
}
#formaddproduct {
   margin-top:20px;
   text-align:right;
	background: url(../Images/block_content_top.jpg) repeat-x;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #cacaca;
	border-right-color: #cacaca;
	border-bottom-color: #cacaca;
	border-left-color: #cacaca;   
	padding:10px;
}
#detailproduct table {
   width: 60%;
   margin-right:0px;
   margin-left:auto;
}
#detailproduct td {
   vertical-align: top;
}
#detailproduct ul {
	margin-left:0px;
	margin-top:15px;
}
#detailproduct li {
    list-style: none;
}
#detailproduct span input {
    vertical-align: middle;
}
#detailproduct span.cart {
    margin-left: 15px;
}
#detailproduct span img {
    vertical-align: middle;
	margin-right: 5px;
}
#detailproduct a {
    text-decoration: none;
}
#detailproduct #col1{
    text-align:right;
    margin-right:10px;
}
.OriginalPrice{
	font-weight: normal;
}
.discount{
	font-weight: normal;
	color: #990000;
}
.FinalPrice{
	font-weight: normal;
}
#conta {
	margin:0; 
	padding:0; 
	height:95px; 
	overflow:auto;
}
#conta ul {
	margin:0; 
	padding:0; 
	list-style:none; 
	white-space:nowrap; 
	display:table-row;
}
#conta ul li {
	display:table-cell; 
	padding:0 15px; 
	background:#fff; 
	border-bottom:1px solid #888; 
	vertical-align:top;
}
#conta ul li img {
	border:1px solid #555; 
	margin: 30px 0 10px 0;
}
#tabellaprezzidettaglio{
	margin-top:10px;
	margin-bottom:15px;
}



/* Galleria fotografica dettaglio prodotto */
/*#thumbs {
   padding:0px; 
   text-align:left; 
   float:left; 
   display:inline;
}
#thumbs img {
   margin-right: 5px;
   margin-bottom: 5px;
   border:solid 1px #000000; 
   max-width:90px; 
   max-height:90px;
}
#big {
   padding:0 0 50px 25px; 
}
#big img{
   max-width: 340px; 
   max-height: 340px; 
   border: solid 1px #000000;
}*/
#galleryproductsin {
                    margin: 0px;
					padding: 0px;
					width: 100%;
					text-align: center;
}
#thumbs {
   padding:10px; 
   border-top:solid 0px #000000;
   /*text-align: center;*/
}
#thumbs img {
   margin:2px; 
   margin-right: 15px;
   border:solid 1px #000000; 
   max-width:90px; 
   max-height:90px;
}
#big {
	padding: 10px;
	/*text-align: center;*/

}
#big img{
   max-width: 340px; 
   max-height: 340px; 
   border: solid 1px #000000;
   cursor: pointer; 
}

/* -----ALTRO----- */
#DettOrder {
   background-color:#FFFFFF;
   width:100%;
}
#hrefstampaordine {
   font-weight: bold;
}

#primopiano {
   padding: 10px;
   width: 247px; 
   height: 230px;
   float: left;
   background-color: #ededed;
   margin-left: 15px; 
   margin-top: 10px;
}
#primopiano .titles {
}
#primopiano .titles h2 {
   font-size: 18px;
   font-weight: normal;
   color: #ff6600;
   text-transform: uppercase;
   padding-top: 5px;
}
#primopiano .content {
   margin: 0px;
   padding: 0px;
}
#primopiano .content ul {
   margin: 0px;
   padding: 0px;
   list-style-type: none;
   margin-top: 10px;
}
#primopiano .content ul li {
   margin: 0px;
   padding: 0px;
   list-style-type: none;
   margin-left: -20px;
}
#primopiano .content ul ul {
   margin: 0px;
   padding: 0px;
}
#primopiano .content ul ul li {
   margin: 0px;
   padding: 0px;
   margin-left: 0px;
}
#primopiano .content ul li ul li.titolo a {
   color: #333333;
   font-weight: normal;
}

/* oggetto player audio */
#player_container {
	position: relative;
	background-color:#eee;
	width:418px;
	height:80px;
	border:1px solid #009be3;
}
#player_container  ul#player_controls {
	list-style-type:none;
	padding:0;
	margin: 0;
}
#player_container  ul#player_controls li {
	overflow:hidden;
	text-indent:-9999px;
}
#player_play,
#player_pause {
	display: block;
	position: absolute;
	left:48px;
	top:20px;
	width:40px;
	height:40px;
	cursor: pointer;
}
#player_play {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 0 no-repeat;
}
#player_play.jqjp_hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -41px 0 no-repeat;
}
#player_pause {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -42px no-repeat;
}
#player_pause.jqjp_hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -41px -42px no-repeat;
}

#ctrl_prev {
	position: absolute;
	left:20px;
	top:26px;
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -112px no-repeat;
	width:28px;
	height:28px;
	cursor: pointer;
}

#ctrl_prev:hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -29px -112px no-repeat;
}

#ctrl_prev.disabled {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -58px -112px no-repeat;
	cursor:default;
}

#ctrl_next {
	position: absolute;
	left:88px;
	top:26px;
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -141px no-repeat;
	width:28px;
	height:28px;
	cursor: pointer;
}

#ctrl_next:hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -29px -141px no-repeat;
}

#ctrl_next.disabled {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -58px -141px no-repeat;
	cursor:default;
}


#player_stop {
	position: absolute;
	left:126px;
	top:26px;
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -83px no-repeat;
	width:28px;
	height:28px;
	cursor: pointer;
}
#player_stop.jqjp_hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -29px -83px no-repeat;
}
#player_progress {
	position: absolute;
	left:164px;
	top:32px;
	background-color: #eee;
	width:122px;
	height:15px;
}
#player_progress_load_bar {
	background: url("/Template/_Common_Images_Sample/bar_load.gif")  top left repeat-x;
	width:0px;
	height:15px;
	cursor: pointer;
}
#player_progress_load_bar.jqjp_buffer {
	background: url("/Template/_Common_Images_Sample/bar_buffer.gif")  top left repeat-x;
}
#player_progress_play_bar {
	background: url("/Template/_Common_Images_Sample/bar_play.gif") top left repeat-x ;
	width:0px;
	height:15px;
}
#player_volume_min {
	position: absolute;
	left:296px;
	top:32px;
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -170px no-repeat;
	width:18px;
	height:15px;
	cursor: pointer;
}

#player_volume_max {
	position: absolute;
	left:368px;
	top:32px;
	background: url("/Template/_Common_Images_Sample/spirites.jpg") 0 -186px no-repeat;
	width:18px;
	height:15px;
	cursor: pointer;
}

#player_volume_min.jqjp_hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -19px -170px no-repeat;
}

#player_volume_max.jqjp_hover {
	background: url("/Template/_Common_Images_Sample/spirites.jpg") -19px -186px no-repeat;
}

#player_volume_bar {
	position: absolute;
	left:314px;
	top:37px;
	background: url("/Template/_Common_Images_Sample/volume_bar.gif") repeat-x top left;
	width:46px;
	height:5px;
	cursor: pointer;
}
#player_volume_bar_value {
	background: url("/Template/_Common_Images_Sample/volume_bar_value.gif") repeat-x top left;
	width:0px;
	height:5px;
}

#play_time,
#total_time {
	position: absolute;
	left:164px;
	top:49px;
	width:122px;
	font-size:.8em;
	font-style:oblique;
}

#total_time {
	text-align: right;
}

#playlist_list {
	width:418px;
}

#playlist_list ul{
	list-style-type:none;
	padding:10px 20px 20px 20px;
	margin:0 0 10px 0;
	background-color:#ccc;
	border:1px solid #009be3;
	border-top:none;
	width:378px;
	font-size:.9em;
}

#playlist_list li{
	padding:4px 0 4px 20px;
	border-bottom:1px solid #eee;
	cursor: pointer;
}

#playlist_list li.playlist_current{
	color:#0d88c1;
	list-style-type:square;
	list-style-position:inside;
	padding-left:6px;
	cursor: default;
}

#playlist_list li.playlist_hover {
	color:#0d88c1;
}

.miaow {
	font-size:.8em;
	color:#999;
}

.miaow a:link, a:visited, a:hover, a:focus, a:active {
	color:#009be3;
}

#archivevideo .content table td {
   padding: 5px;
}
#detailvideo .content ul {
   list-style-type: none;
}
#detailvideo .content ul li {
   list-style-type: none;
}

#archivevideo table {
    width: 100%;
}
#archivevideo table .archivevideo_intest {
    font-weight: bold;
}

#detailvideo ul li {
    list-style-type: none;
}
#detailvideo ul li {
    padding-top: 10px;
}

#archivevideo table .archivevideo_thumb, .archivevideo_play {
    width: 10%;
}
#archivevideo table .archivevideo_titolo {
    vertical-align: top;
}
#archivevideo table .archivevideo_titolo ul, li {
    list-style-type: none;
	margin: 0px;
	padding: 0px;
	margin-left: -20px;
}
#archivevideo table .archivevideo_play img {
    margin-left: 20px;
}

.testodescrizionevideo {
    font-size: 14px;
}


/* -----STILI DEL MENU ORRIZONTALE----- */
#menu_primary_content {
	background-repeat: no-repeat;
	width: 890px;
	height: 32px;
	margin: 0 auto;
	padding: 0px;
	float:none;
	margin-top: -5px;
	padding-top: 1px;
	margin-bottom:15px;
	z-index: 10;
}

#menu_primary {
	float:none;
	padding: 0px;
	margin-top: 5px;
	width: 890px;
    margin-left: 1px;
	height: 32px;
	background-image: url(../Images/barra_menu_2.png);
	background-repeat: repeat-x;
	z-index: 100;
}
#menu_primary ul {
	margin: 0;
	padding-top: 0px;
	list-style: none;
	width: 890px;
}
#menu_primary li {
	display: inline;
}
#menu_primary a {
}
#menu_primary a:hover {
}
#menu_primary .active a {
}
/* Author: Craig Erskine Description: Dynamic Menu System - Horizontal/Vertical */ 
ul#pmenu { 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    position: relative; 
    text-align: center;
    z-index: 100;
	margin-left: auto;
	margin-right: auto;
	width: 890px;
} 
ul#pmenu ul { 
    width: 159px; 
    /* Sub Menu Width */ 
    margin: 0; 
    list-style: none; 
    display: none; 
	position: absolute; 
    top: 100%; 
    left: 0; 
} 
ul#pmenu ul ul,ul#pmenu ul ul ul { 
    top: 0; 
    left: 100%; 
} 
ul#pmenu li { 
    float: left; 
    /*display: inline;*/ 
    position: relative; 
	width: 126px;
	margin-left: 0px;
} 
ul#pmenu ul li { 
    width: 159px; 
    display: block; 
} 

/* Root Menu */ 
ul#pmenu a { 
    /*float: left; */
    display: block;
    font-size: 11px;
    color: #e5e5e5; 
    text-decoration: none; 
    height: 1%; 
    width: 126px;
    margin-top: 1px;
    padding-top: 3px;
    padding-bottom: 4px;
    text-transform: uppercase;
    background-image: url(../Images/sfondolimenu.png);
    background-repeat: no-repeat;
    margin-left: 0px;
	
    border-right: 1px solid #0f67ab;
} 
/* Root Menu Hover Persistence */ 
ul#pmenu a:hover,ul#pmenu li:hover a,ul#pmenu li.iehover a { 

color: #e98d26; 

} 
/* 2nd Menu */ 
ul#pmenu li:hover li a,ul#pmenu li.iehover li a { 
float: none; 
background-color: #0a5c9d; 
color: #FFFFFF;
margin-top: 0px;
border-top: 1px solid #FFFFFF;
width: 170px; 

padding-left: 5px;
font-size: 10px;
} 
/* 2nd Menu Hover Persistence */ ul#pmenu li:hover li a:hover,ul#pmenu li:hover li:hover a,ul#pmenu li.iehover li a:hover,ul#pmenu li.iehover li.iehover a { 
background-color: #0a5c9d;
 color: #e98d26;
 margin-top: 0px;
 border-top: 1px solid #FFFFFF;
 width: 170px; 

padding-left: 5px;
font-size: 10px;
} 
/* 3rd Menu */ 
ul#pmenu li:hover li:hover li a,ul#pmenu li.iehover li.iehover li a { background-color: #0a5c9d; 
color: #FFFFFF;
width: 160px; 

} 
/* 3rd Menu Hover Persistence */ 
ul#pmenu li:hover li:hover li a:hover,ul#pmenu li:hover li:hover li:hover a,ul#pmenu li.iehover li.iehover li a:hover,ul#pmenu li.iehover li.iehover li.iehover a { 
background-color: #0a5c9d; 
 color: #e98d26;
 width: 160px; 

} 
/* 4th Menu */ 
ul#pmenu li:hover li:hover li:hover li a,ul#pmenu li.iehover li.iehover li.iehover li a { 
background-color: #0a5c9d;
color: #FFFFFF;
width: 160px; 

} 
/* 4th Menu Hover */ 
ul#pmenu li:hover li:hover li:hover li a:hover,ul#pmenu li.iehover li.iehover li.iehover li a:hover { 
background-color: #0a5c9d;
 color: #e98d26; 
 width: 160px; 

} 
/* Hover Function - Do Not Move */ 
ul#pmenu li:hover ul ul,ul#pmenu li:hover ul ul ul,ul#pmenu li.iehover ul ul,ul#pmenu li.iehover ul ul ul { 
display: none; 
} 
ul#pmenu li:hover ul,ul#pmenu ul li:hover ul,ul#pmenu ul ul li:hover ul,ul#pmenu li.iehover ul,ul#pmenu ul li.iehover ul,ul#pmenu ul ul li.iehover ul { 
display: block; 
}

ul#pmenu .last-li a {
	/*float: left;
	display: block;
	font-size: 11px;
	color: #FFFFFF;
	text-decoration: none;
	text-align:right;
	height: 1%;
	padding-right: 2px;
	padding-left: 2px;
	width: 127px;
	margin-top: 1px;
	padding-top: 3px;
	padding-bottom: 4px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;*/
	border-right: none;
} 

/*
#M_1_1 {
border: 1px solid #FF0000;
}

#M_1_2 {
border: 1px solid #FFDF00;
}

#M_1_3 {
border: 1px solid #FF0000;
}

#M_1_4 {
border: 1px solid #FFDF00;
}
*/
