/*****************
Text
*****************/
#info {
	font-size: 10px;
	color:#B1AB9E;
}
#info a {
	color:#B1AB9E;
	text-decoration: none;
}
#errorText { color: #900000; }
#small { font-size: 9px; }
.std_code {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 3px solid #C0D7E7;
}
/*****************
Boxes
*****************/
.box {
	padding: 4px;
	background-color: #F4F4F4;
	border: 1px solid #DDD;
	margin: 2px 0;
}
.stitle {
	padding: 1px 0;
	background-image:url(images/stitle.gif);
	background-repeat:repeat-x;
	border-bottom: 1px solid #BBB;
	color:#666;
}
.note {
	padding: 4px;
	background-color: #F4F4F4;
	border: 1px solid #DDD;
	margin: 2px 0;
}
.quote_box {
	border: 1px solid #AAA;
}
.quote_title {
	background-color: #EEE;
	padding:1px 2px;
	border-bottom: 1px dashed #CCC;
}
.quote_body {
	background-color: #FFF;
	padding:1px 2px;
}
.code_box {
	border: 1px solid #AAA;
}
.code_title {
	background-color: #EEE;
	padding:1px 2px;
	border-bottom: 1px dashed #CCC;
}
.code_body {
	background-color: #FFF;
	padding:1px 2px;
}
/*****************
Tables
*****************/
table {
	vertical-align: top;
}
table a {
	text-decoration: none;
}
th {
	text-align: left;
}
.std_data_table td {
	padding:1px;
	background-color:#EEE;
	font-size:11px;
}
.std_data_table td,
.std_data_table td a,
.std_data_table td a:visited {
	color:#333;
}
.std_data_table .stitle { color:#777; }
/*****************
Other
*****************/
.underlined {
	border-bottom: 1px solid #DDD;
}
/*****************
Datebox in comments
*****************/
.datebox {
	width:41px;
	height:38px;
	background-image: url(images/datebg.gif);
	background-repeat: no-repeat;
	text-align: center;
	margin-right: 15px;
}
.datebox_day {
	font-weight: bold;
	color: #FFF;
	font-size:18px;
}
.datebox_month {
	color: #777;
}
/*****************
Comments
*****************/
.tpl_comments_box {
	background-color: #F4F4F4;
	background-image: url(images/comments_linguetta.gif);
	background-repeat: no-repeat;
	background-position: top right;
	margin-bottom: 4px;
	padding: 4px;
	border-bottom: 1px solid #DDD;
}
.tpl_comments_title {
	color: #4d6173;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
}
.tpl_comments_body {
	padding-top: 4px;
	font-size: 11px;
	clear: both;
}

/*****************
Titles
*****************/
h1 {
	margin:0;
	padding:0;
	font-size:14px;
}
h2 {
	margin:0;
	padding:0;
	font-size:14px;
	font-weight:bold;
}
h3 {
	margin:0;
	padding:0;
	font-size:14px;
	font-weight:bold;
}
/***********************************************************************
OPTIONAL, TEMPLATE SPECIFIC STYLE
***********************************************************************/
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #343D45;
}
body {
	/*background:url(images/tpl_bg_big.png) no-repeat #D8E0E6; */
	background-position: center top;
	margin: 0 auto;
	padding: 0;
}
a:link { color: #4D5A66; text-decoration: none; }
a:visited { color: #4D5A66; text-decoration: none; }
a:hover { color: #79ABD5; text-decoration: none; }
a:active { color: #4D5A66; text-decoration: none; }
img {
	border: none;
}
/*****************
Structure
*****************/
.tpl_inbox {
	margin:0 auto;
	width:1024px;
}

/*****************
Header
*****************/
.tpl_header {
	margin-top:35px;
	height:134px;
	background:url(images/tpl_header.png) no-repeat;
}
.tpl_buttons {
	height:33px;
	width:968px;
	margin:0 auto;
	background:url(images/tpl_buttons_bg.gif) repeat-x;
}
.tpl_bar {
	height:25px;
	background:url(images/tpl_bar.png) no-repeat;
}
.tpl_bar div {
	width:930px;
	margin:0 auto;
	font-size:11px;
	padding-top:7px;
}
.tpl_header .logo {
	float:left;
	margin-left:8px;
}
.tpl_header .adv {
	padding:50px 40px 40px 0;
	text-align:right;
}
/*****************
Main
*****************/
.tpl_main {
	height:100%; /* IE6 Fix */
	background:url(images/tpl_main.png) repeat-y;
}
.tpl_content {
	width:950px;
	margin:0 auto;
	background-color:#FFF;
}
/*****************
Footer
*****************/
.tpl_footer {
	height:37px;
	background:url(images/tpl_footer.png) no-repeat;
}
.tpl_foot {
	background-color:#EEE;
	padding:8px;
	font-size:11px;
}
/*****************
Buttons
*****************/
.menu {
	padding:0;
	margin:0;
	list-style:none;	
	position:relative;
}
.menu li { float:left; }
.menu a {
	float:left;
	height:33px;
	display:block;
	padding:0 20px;
	color:#BBB;
}
.menu a:hover {
	background:url(images/tpl_buttons_hl.gif) repeat-x;
	color:#FFF;
}
.menu a div { padding-top:9px; }
.tpl_login {
	float:right;
}
.tpl_login a {
	height:33px;
	display:block;
	padding:0 20px;
	color:#BBB;
	background:url(images/tpl_buttons_sp.gif) repeat-x;
}
.tpl_login a span { padding-top:9px; }
.tpl_login a:hover {
	background:url(images/tpl_buttons_hl.gif) repeat-x;
	color:#FFF;
}
/*****************
Blocks
*****************/
.tpl_box_nav {
	width:190px;
	padding-right:8px;
}
.tpl_box_extra {
	width:160px;
	padding-right:8px;
}
/* BLOCK */
.tpl_block {
	margin-bottom:10px;
	background-color:#EEE;
}
.tpl_block_title {
	height:33px;
	background:url(images/tpl_block_title.gif) no-repeat;
}

.tpl_block_title div {
	background:url(images/tpl_block_title_cap.gif) top right no-repeat;
	padding:6px 8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main.gif) repeat-x;
}
.tpl_block_body .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body .block_linkstyle a:hover { color:#FFF; }

/* BLOCK H1 */
.tpl_block_h1 {
	margin-bottom:10px;
	background-color:#f0f3e2;
}
.tpl_block_title_h1 {
	height:33px;
	background:url(images/tpl_block_title_h1.gif) no-repeat;
}
.tpl_block_title_h1 div {
	background:url(images/tpl_block_title_cap_h1.gif) top right no-repeat;
	padding:6px 8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body_h1 {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main_h1.gif) repeat-x;
}
.tpl_block_body_h1 .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body_h1 .block_linkstyle a:hover { color:#FFF; }

/* BLOCK H2 */
.tpl_block_h2 {
	margin-bottom:10px;
	background-color:#ebe6e0;
}
.tpl_block_title_h2 {
	height:33px;
	background:url(images/tpl_block_title_h2.gif) no-repeat;
}
.tpl_block_title_h2 div {
	background:url(images/tpl_block_title_cap_h2.gif) top right no-repeat;
	padding:6px 8px;
	font-size:16px;
	font-weight:bold;
	color:#FFF;
}
.tpl_block_body_h2 {
	padding:8px;
	border-top:1px solid #FFF;
	background:url(images/tpl_block_main_h2.gif) repeat-x;
}
.tpl_block_body_h2 .block_linkstyle a {
	display:block;
	padding:2px 0;
	border-bottom:1px dotted #CCD3D9;
}
.tpl_block_body_h2 .block_linkstyle a:hover { color:#FFF; }
/* CENTRAL */
.tpl_block_title_c {
	padding-left:10px;
	font-size:16px;
	font-weight:bold;
	margin-bottom:2px;
	color:#4d6173;
}
.tpl_block_body_c {
	margin-bottom:10px;
	padding:8px;
	background-color:#E2ECF1;
}
/*****************
Messages
*****************/
.tpl_messages_title {
	padding-left:10px;
	font-size:16px;
	font-weight:bold;
	margin-bottom:2px;
	color:#4d6173;
}
.tpl_messages_body { 
	margin-bottom:10px;
	padding:8px;
	background-color:#E2ECF1;
}
/*****************
News
*****************/
.tpl_news_box {
	padding:0 4px 10px 4px;
	margin-bottom:10px;
	border-bottom:1px dotted #CCC;
}
/* Title */
.tpl_news_title {
	font-weight: bold;
	font-size:140%;
	color: #4d6173;
}
.tpl_news_title a,
.tpl_news_title a:visited { color: #4d6173; }
.tpl_news_title a:hover { color: #889EB3; }
/* Argument */
.tpl_news_argument {
	padding-bottom:14px;
	font-size:90%;
	color:#AAA;
}
/* Read more */
.tpl_news_rest,
.tpl_news_rest a,
.tpl_news_rest a:visited,
.tpl_news_rest a_hover {
	padding-top:8px;
	font-size:11px;
	font-weight:bold;
	text-transform:lowercase;
	color: #4d6173;
}
/* Date */
.tpl_news_date {
	width:49px;
	height:58px;
	margin-top:3px;
	background:url(images/tpl_datebg.gif) no-repeat;
}
.tpl_news_date .month {
	color:#FFF;
	padding-top:3px;
}
.tpl_news_date .day {
	color:#555;
	padding-top:1px;
	font-size:20px;
	font-weight:bold;
}
.tpl_news_date .year {
	color:#555;
	font-size:9px;
}
/* Rank */
.tpl_news_rank {
	padding-top:8px;
}
/* Comments */
.tpl_news_comments {
	padding-top:4px;
	color: #777;
}
.tpl_news_comments a,
.tpl_news_comments a:visited { color: #777; }
.tpl_news_comments a:hover { color:#4d6173; }
/* Author */
.tpl_news_author {
	padding-top:4px;
	color:#777;
}
.tpl_news_author a,
.tpl_news_author a:visited { font-weight:bold; color:#4d6173; }
.tpl_news_author a:hover {
	color: #889EB3;
}
/* Tags */
.tpl_news_tags {
	padding-top:14px;
	color: #889EB3;
}
.tpl_news_tags a,
.tpl_news_tags a:visited { color: #889EB3; }
.tpl_news_tags a:hover { color:#4d6173; }
/*****************
Various
*****************/
.tpl_page_title {
	padding:6px 0;
	font-size:16px;
	font-weight:bold;
	color:#4d6173;
	border-bottom:1px dotted #889EB3;
	margin-bottom:10px;
}
.tpl_page_title a,
.tpl_page_title a:visited { color:#4d6173; }
.tpl_page_title a:hover { color:#889EB3; }

.tpl_opentable_title {
	margin-bottom:2px;
	border-bottom:1px dotted #CCC;
	font-weight:bold;
	color:#777;
}
.tpl_opentable_title a,
.tpl_opentable_title a:visited { color:#777; }
.tpl_opentable_title a:hover { color:#4d6173; }
.tpl_opentable_title {
	margin-bottom:2px;
	border-bottom:1px dotted #CCC;
	font-weight:bold;
	color:#777;
}
.tpl_opentable_title a,
.tpl_opentable_title a:visited { color:#777; }
.tpl_opentable_title a:hover { color:#4d6173; }
/* Nice table */
table.std_nicetable thead td {
	background: url(images/tablebg.gif) #DDD repeat-x;
	border:1px solid #FFF;
	font-weight:bold;
	color:#4d6173;
}
/* Stile pusanti imput*/
input.bottoni {
	font-size: 1em;
}
a.bottoni, input.bottoni {
	width: auto !important;
	padding-top: 1px;
	padding-bottom: 1px;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	color: #000;
	background: #FAFAFA none repeat-x top;
}
a.bottoni, input.bottoni {
	border: 1px solid #666666;
}
a.bottoni, a.bottoni:link, a.bottoni:visited, a.bottoni:active {
	text-decoration: none;
	color: #000000;
	padding: 2px 8px;
	line-height: 250%;
	vertical-align: text-bottom;
	background-position: 0 1px;
}
a.bottoni:hover, input.bottoni:hover {
	border: 1px solid #3875E9;
	background-position: 0 100%;
	color: #3875E9;
}

/*Menu */

#nav {
	padding:0;
	margin:0;
	list-style:none;	
	position:relative;
 }
#nav li.top {display:block; float:left; height:33px;}
#nav li a.top_link {display:block; float:left; height:33px; line-height:31px; color:#FFF; text-decoration:none; padding:0 0 0 12px; cursor:pointer;background: url(images/tpl_buttons_bg.gif);}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:33px; background: url(images/tpl_buttons_bg.gif) right top no-repeat;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:33px; background: url(images/tpl_buttons_bg.gif) no-repeat right top;}

#nav li:hover a.top_link, 
#nav li:hover a.top_link span,
#nav li:hover a.top_link span.down {background:url(images/tpl_buttons_hl.gif) repeat-x;
	color:#FFF;
}

/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

#nav li:hover ul.sub
{left:1px; top:33px; background:#CCC; padding:3px; border:1px solid #4B6072; white-space:nowrap; width:150px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:150px; }
#nav li:hover ul.sub li a
{display:block; font-size:11px; height:18px; width:148px; line-height:18px; text-indent:5px; color:#000; text-decoration:none;border:1px solid #CCC;}
#nav li ul.sub li a.fly
{background:#CCC; url(images/arrow.gif) 140px 6px no-repeat;}
#nav li:hover ul.sub li a:hover 
{background:#FFF; color:#000; border-color:#666;}
#nav li:hover ul.sub li a.fly:hover
{background:#FFF url(images/arrow_over.gif) 140px 6px no-repeat; color:#000;}


#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{left:150px; top:-4px; background: #CCC; padding:3px; border:1px solid #4B6072; white-space:nowrap; width:150px; z-index:400; height:auto;}

#nav ul, 
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover li:hover a.fly,
#nav li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover a.fly,
#nav li:hover li:hover li:hover li:hover li:hover a.fly
{background:#FFF url(images/arrow_over.gif) 140px 6px no-repeat; color:#fff; border-color:#666;} 

#nav li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li a.fly,
#nav li:hover li:hover li:hover li:hover li a.fly
{background:#bbd37e url(images/arrow.gif) 140px 6px no-repeat; color:#000; border-color:#bbd37e;} 


