/* 
http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* STILE GENERALE
----------------------------------------------- */
/*
xxbody {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    background-color: #ffffff;


    background-image: url('../img/background1.gif');
    background-repeat: no-repeat;
    background-position: 80% center;

}
*/

p, li {
    line-height: 1.8em;
}                

/* HEADER
----------------------------------------------- */
#headermenu {
	width: 910px;
	margin: 0 auto;
	
    height: 50px;
    background-color: #d9e4ed;
}

.contenitore {
/*
    width: 960px;
    margin: 20px auto;
*/	
    width: 910px;
    margin: 0 auto;
	
}

#logomenu {
    float: left;
}

#megamenu {
    float: left;
    margin-left: 1.8em;
}

#megamenu li, #megamenu li a {
    height: 50px;
    line-height: 50px;
    float: left;
    text-align: center;
	list-style: none;

}

#megamenu li a {
    display: block;
    border-right: 2px solid #ffffff;
    color: #254d6a;
    font-size: 0.91em; 
    text-decoration: none;
    padding: 0 1.667em;
}

#megamenu li:hover a {
    background-color: #e8edf1;
}

#megamenu li.parent a {
    background-image: url('../img/sub-indicator.png');
    background-repeat: no-repeat;
    background-position: 80% center;
    padding-right: 38px;
}

/* da css nascondiamo il sottomenu, verrà mostrato soltanto da js */
#megamenu .wrapMegamenu {
    display: none;
    position: absolute; 
    top: 50px;

    padding-left: 15px;
    left: 30px;
/*
    width: 98%;
*/
    width: 800px;
    background-color: #e8edf1;
	padding: 2.5em 0 1.6em;
    z-Index: 1000;

	border-right: 2px solid silver;
	border-bottom: 2px solid silver;
}

.no-js #megamenu li:hover .wrapMegamenu {
    display: block;
}
                            
/* reset */                            
#megamenu .sub-menu li, #megamenu .sub-menu li a {
    text-align: left;	/*BEL*/
    background: none repeat scroll 0 0 transparent;
    border: medium none;
    height: auto;
    line-height: 1.8em;
    padding: 0;
}

/* colonne */
#megamenu .sub-menu li {
    width: 194px;
    float: left;
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid #cdd2d6;        
}

#megamenu .sub-menu li.last {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;        
}

/* stili */
#megamenu .sub-menu li a {
    display: block;
    float: none;
    text-align: left;
    color: #254d6a;
    font-size: 0.88em;
    margin: 1em 0 1.2em;
}

#megamenu .sub-menu li p.descrizione {
    text-align: left;
    font-size: 0.98em;
    color: #254d6a;
	/*
    color: #4a5054;  
	font-size: 1em;
	*/
}     

#megamenu .sub-menu li p.descrizione a {
    color: #095DA0;
    display: inline;
    font-size: 1em;
    margin: 0;
    text-transform: none;
}     

#megamenu .sub-menu li ul {
    margin-top: 1em;
}

#megamenu .sub-menu li ul li a.link {
    text-transform: none;
    display: block;
    float: none;
    text-align: left;
    color: #254d6a;
    font-size: 0.83em;
    margin: 0;
    padding-left: 6px;
/*	
    background: url('../img/sub-list.png') center left no-repeat;
    padding-left: 24px;
*/
}

#megamenu .sub-menu li ul li a.none {
    text-transform: none;
    display: inline;
    float: none;
    text-align: left;
    color: #254d6a;
    font-size: 0.83em;
    margin: 0;
    padding-left: 4px;
}