html, body { margin-top: 0px;}

body
{
 padding-top: 0pt;
 padding-right: 0pt;
 padding-bottom: 0pt;
 padding-left: 0pt;
 background-color: #404347;
 background-image: url(../images/newstrip.png);
 /*background-repeat: repeat-x;*/
 background-attachment: scroll;
 background-position: center top;
 text-align: center;
 font-family: Arial;
}

#maincontent
{ line-height:100%; font-family: Verdana; }

#maincontent P, #maincontent H3
{ line-height:108%; }

#maincontent H1 /* Titolo */
{
 padding-top: 5px;
 font-size: x-large;
 line-height:110%;
 color: #990000;
}

#maincontent H4 /* sottotitolo */
{
 margin-top: -10px;
 font-size: medium;
 line-height:100%;
 color: #990000;
}

#maincontent H2 /* Autore */
{
 margin-top: -6px;
 font-size: 110%;
 color: #5E5E5E;
 line-height: 110%;
}


#login_div A
{
 color:white;
 text-decoration:none;
}
#login_div A:focus, #login_div A:hover, #login_div A:active
{
 text-decoration:underline;
}
#topnav
{
 position: static;
 background-color: #000000;
 background-image: url(../images/bg_head.gif);
 background-repeat: repeat-x;
 background-attachment: scroll;
 background-position: center bottom;
 color: #666666;
 text-align: left;
 font-size: 81.25%;
 padding-top: 0px;
 padding-right: 0px;
 padding-bottom: 2px;
 padding-left: 0px;
 border-bottom-width: 1px;
 border-bottom-style: solid;
 border-bottom-color: #000000;
 overflow-x: hidden;
 overflow-y: hidden;
}


#nav_main
{
	width: 100%;		/* Einfassen der Floats im IE */
	float:left;         /* Einfassen der Floats in allen anderen Browsern */
	background: #000 url(gfx/shiny_buttons/bg_hnav1.gif) repeat-x top left;
	line-height: 0px;
}

#nav_main ul
{
	float:left;
	display:inline;		/* Fix f�r IE Doubled Float Margin Bug    */
	margin:0;			/* Standard-Listendefinition zur�cksetzen */
	padding: 0;
	margin-left: 20px;  /* Abstand des ersten Buttons vom linken Rand (-2 Pixel f�r 3D-Schatten) �ber basemod.css anpassen */
	border-left: 1px #000 solid;
}

#nav_main ul li
{
	float: left;
	display:inline;     /* Fix f�r IE Doubled Float Margin Bug    */
	margin: 0;
	padding: 0;
	font-size: 1.0em;
	line-height: 1em;
	list-style-type: none;
	border-right: 1px #000 solid;
}

#nav_main ul li a {
	display:block;
	width: auto;
	font-size: 1em;
	font-weight: normal;
	background: transparent;
	text-decoration: none;
	color: #ccc;
	margin: 0;
	padding: 10px 10px;
}

#nav_main ul li a:focus,
#nav_main ul li a:hover,
#nav_main ul li a:active
{
	background: #000;
	color: #D1FF8F;
	text-decoration: none;
	background: transparent url(../images/bg_hnav1_hover.gif) repeat-x top right;
}

#nav_main ul li#current { background: transparent url(../images/bg_hnav1_hover.gif) repeat-x top right;	}

#nav_main ul li#current a,
#nav_main ul li#current a:focus,
#nav_main ul li#current a:hover,
#nav_main ul li#current a:active
{
	color: #fff;
	font-weight:bold;
	background: transparent;
	text-decoration: none;
}

#container
{
 background-color:white;
}

#maintop
{
 background: #fff; position:relative;
 border-top:2px #fff solid;
 background: #fff url(../images/bg_main_top.gif) repeat-x top;
}

#main { text-align: left; padding-left: 10px; padding-right: 10px; }

/*font-family: 'Trebuchet MS',Georgia,Times,Serif;*/
/*#maincontent { font-family: 'Trebuchet MS',Verdana,Arial,Helvetica,Sans-Serif; }
#maincontent H2 { color: #666677; }
#maincontent P { color: black; }*/
#maincontent A { COLOR: #990000; text-decoration: none;  }
#maincontent A:link { COLOR: #990000 }
#maincontent A:visited { COLOR: #990000; }
#maincontent A:hover { COLOR: #990000; text-decoration: underline;  }
#maincontent A:active { COLOR: #990000; }

#maintop A { COLOR: #990000; }
#maintop A:link { COLOR: #990000 }
#maintop A:visited { COLOR: #990000; }
#maintop A:hover { COLOR: #990000; text-decoration: underline;  }
#maintop A:active { COLOR: #990000; }

#mainbottom {height:22px; background:url(../images/bg_main_bottom.gif) repeat-x bottom; margin-bottom:2px;}

A.arrowlink:link { COLOR: black; font-weight: bold; text-decoration: none; border: 1px solid black; padding-left: 2px; padding-right: 2px; }
A.arrowlink:visited { COLOR: white; background-color: black; }
A.arrowlink:hover { COLOR: white; background-color: black;  }
A.arrowlink:active { COLOR: white; background-color: black; }

A.linkinevidenza:link { COLOR: #000000; font-weight: bold; text-decoration: none; }
A.linkinevidenza:visited { COLOR: #000000; font-weight: bold; text-decoration: none; }
A.linkinevidenza:hover { COLOR: #990000; font-weight: bold; text-decoration: none; }
A.linkinevidenza:active { COLOR: #000000; font-weight: bold; text-decoration: none; }

.colMenuLeft #title
{
 font-family: 'Trebuchet MS',Verdana,Arial,Helvetica,Sans-Serif;
 font-size:13px;
 display:block;
 background-color: #4E5155;
 color: #FFF;
 border-top: 0px #ddd solid;
 border-bottom: 0px #888 solid;
 padding: 5px;
 padding-left:10px;
 font-weight: bold;
}

.colMenuLeft .sublink_active
{
 font-family: 'Trebuchet MS',Verdana,Arial,Helvetica,Sans-Serif;
 font-size:13px;
 display:block;
 background-color: #AFAFAF;
 text-decoration: none;
 color: #FFF;
 border-top: 0px #ddd solid;
 border-bottom: 0px #888 solid;
 padding: 5px;
 padding-left:10px;
 font-weight: bold;
}

.colMenuLeft .sublink
{
 font-family: 'Trebuchet MS',Verdana,Arial,Helvetica,Sans-Serif;
 font-size:13px;
 display:block;
 width: 90%;
 padding: 3px 0px 3px 10%;
 text-decoration: none;
 /*background-color:#fff;*/
 color: #444;
 border-bottom: 1px #eee solid;
}

.colMenuLeft .sublink_active:focus, .colMenuLeft .sublink_active:hover, .colMenuLeft .sublink_active:active,
.colMenuLeft .sublink:focus, .colMenuLeft .sublink:hover, .colMenuLeft .sublink:active
{ background-color: #990000; color: #ffffff; }


#footer
{
 line-height: 2em;
 position:relative;
 color:#888;
 text-align:left;
 background: #000 url(../images/bg_hnav1.gif) repeat-x top;
 padding: 20px 20px 10px 20px;
 font-size:75%;
}

#footer a
{
 background: black;
 color: white;
 text-decoration: none;
}

#footer a:focus,
#footer a:hover,
#footer a:active
{
 color: white;
 text-decoration: underline;
}

input, select, textarea
{
 MARGIN: 0px;
 FONT-SIZE: 11px;
 PADDING-TOP: 2px;
 PADDING-LEFT: 2px;
 PADDING-RIGHT: 2px;
 PADDING-BOTTOM: 2px;
 BORDER-TOP: #999 1px solid;
 BORDER-LEFT: #999 1px solid;
 BORDER-RIGHT: #999 1px solid;
 BORDER-BOTTOM: #999 1px solid;
 FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
}


.searchBox
{
 background-image:url('../images/magnifying-glass.gif');
 background-repeat:no-repeat;
 padding-left:18px;
}

.userBox
{
 background-image:url('../images/user.png');
 background-repeat:no-repeat;
 padding-left:18px;
}

.passBox
{
 background-image:url('../images/lucchetto.png');
 background-repeat:no-repeat;
 background-position: -2px;
 padding-left:13px;
}

.mailBox
{
 background-image:url('../images/mail.gif');
 background-repeat:no-repeat;
 background-position: 2px;
 padding-left:19px;
}

/* immagini con bordo blue che diventa rosso al passaggio del mouse, effetto crossbrowser */
img.fx { border: 1px solid #329FFD !important; border: 0; }
img.fx:hover { border: 1px solid #990000 !important; }

img.blackborder { border: 0px solid black !important; }
img.blackborder:hover { border: 0px solid black !important; }

img { border: 0px solid white !important; }
img:hover { border: 0px solid white !important; }

/* pagination div */
#maincontent div.pagination a { color: #990000; }

div.pagination
{
 padding:3px;
 margin:3px;
 text-align:center;
}

div.pagination a
{
 padding: 2px 5px 2px 5px;
 margin-right: 2px;
 border: 1px solid #ddd;
 text-decoration: none;
 color: #aaa;
}

div.pagination a:hover, div.pagination a:active
{
 color: #990000;
 padding: 2px 5px 2px 5px;
 margin-right: 2px;
 border: 1px solid #990000;/*#a0a0a0*/
}

div.pagination span.current
{
 padding: 2px 5px 2px 5px;
 margin-right: 2px;
 border: 1px solid #e0e0e0;
 font-weight: bold;
 background-color: #f0f0f0;
 color: #aaa;
}

div.pagination span.disabled
{
 padding: 2px 5px 2px 5px;
 margin-right: 2px;
 border: 1px solid #f3f3f3;
 color: #ccc;
}

div.tastogrigio
{
 border: 1px dashed #DDDDDD;
}

div.tastogrigio:hover
{
 border: 1px solid #990000;
}
