﻿#header_shadow {
	margin: auto;
	padding-top: 10px; clear: both;
	width: 100%; height: 100px;
	min-width: 990px;
	width: expression(document.body.clientWidth < 991? "990px": "auto" );
	text-align: center;
	background: transparent url('/file_generali/img/testataJs/hd_bg.png') no-repeat center bottom;
}
* html #header_shadow { width: 990px; padding-top: 0 }

#header {
	margin: 0 auto;
	padding-bottom: 5px;
	width: 990px; height: 95px;
	background: transparent none;
	color: #fff; overflow: hidden;
}
* html #header { height: 100px }

#header div.firstchild  {
	float: left; height: 100%;
	position: relative;
	text-align: center;
	font: 13px Arial,sans-serif;
	text-align: left;
}

#header_manchette {
	margin: 5px 0 0 18px;
	width: 234px;
}
#header_manchette .box_contenuto {
	margin: 0; border: 0; padding: 0;
	overflow: visible;
}

#header_logo {
	width: 328px;
	height: 100%;
}

#header_logo #h_l_testata {
	display: block;
	width: 308px; height: 52px;
	margin: 28px 0 0 20px;
	background-repeat: no-repeat;
}

#header_logo #h_l_testata span { display: none }

#header_logo #h_l_canale {
	position: absolute;
	bottom: 5px; left: 20px;
	right: 0;
}
#header_logo #h_l_canale,
#header_logo #h_l_canale a {
	text-align: center;
	color: #fff; font-weight: bold;
}

#header_logo #h_l_meteo {
	display: none;
	position: absolute;
	right: 0; bottom: 0;
}

#header_logo #h_l_meteo img { vertical-align: -25% }
#header_logo #h_l_meteo .meteo-max { color: #fc0 }
#header_logo #h_l_meteo .meteo-min { color: #0ff }

#header_ricerca {
	margin-left: 15px;
	width: 450px;
}

.header_manchette #header_ricerca {
	margin-left: 5px;
	width: 400px;
}

#header_ricerca .aggiornamento {
	position: absolute;
	bottom: 5px; left: 0;
	width: 100%;
	text-align: center;
	font-size: 11px;
}

#header_ricerca .aggiornamento strong {
	text-transform: uppercase;
}

#header_itanews {
	float: none;
	position: absolute;
	top: 20px; right: 0;
	width: 100px; height: 15px;
	z-index: 9;
}

#header_itanews a {
	display: block;
	margin-top: 0;
	width: 100%; height: 100%;
	background: transparent url('/file_generali/img/testataJs/loghi/logo_itasmall.png') no-repeat 0 0;
}
* html #header_itanews a {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=crop,src='/file_generali/img/testataJs/loghi/logo_itasmall.png');
}

#header_itanews a.itablack { background-image: url('/file_generali/img/testataJs/loghi/logo_itasmall_dark.png') }
#header_itanews a.itawhite { background-image: url('/file_generali/img/testataJs/loghi/logo_itasmall_light.png') }
* html #header_itanews a.itablack {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=crop,src='/file_generali/img/testataJs/loghi/logo_itasmall_dark.png');
}
* html #header_itanews a.itawhite {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=crop,src='/file_generali/img/testataJs/loghi/logo_itasmall_light.png');
}

#header_itanews a span { display: none }

#header_search {
	position: relative;
	top: 8px; margin: 0;
}

#header_search p { margin: 0 }

#header_search_links {
	position: absolute;
	top: 8px; left: 0;
	height: 25px;
	white-space: nowrap;
	z-index: 8;
}

#header_search_links a {
	float: left;
	margin-right: 2px;
	padding: 0 10px;
	color: #fff;
	line-height: 25px;
	text-decoration: none;
	font-weight: bold;
}

#header_search_box {
	position: absolute;
	top: 33px; left: 0;
	width: 100%; height: 28px;
	white-space: nowrap;
	z-index: 5;
}

#header_search_box,
#header_search_links a:hover, #header_search_links a.current {
	background: url('/file_generali/img/testataJs/black_bg_20.png');
}
* html #header_search_box, * html #header_search_links a:hover,
* html #header_search_links a.current {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src='/file_generali/img/testataJs/black_bg_20.png');
}

#header_search_links .apetta_imprese {
	float: left; margin: 2px 4px 7px 0;
	width: 17px; height: 16px;
	background-image: url('/file_generali/img/testataJs/loghi/apetta_imprese.png');
}
* html #header_search_links .apetta_imprese {
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src='/file_generali/img/testataJs/loghi/apetta_imprese.png');
}

#header_search_input {
	position: absolute;
	top: 2px; right: 52px; left: 2px;
	height: 24px;
	white-space: nowrap;
	overflow: hidden;
}
* html #header_search_input  {
	width: expression(this.offsetParent.clientWidth - 54 + "px");
}

#header_search_submit {
	position: absolute;
	top: 2px; right: 2px;
	padding: 1px;
	width: 48px; height: 22px;
	background: #fff;
}

#header_search_input input,
#header_search_submit button {
	display: block;
	border: 0 !important; padding: 0 !important;
	width: 100%; height: 100%;
	vertical-align: middle;
	font: 13px/100% Arial,Helvetica,sans-serif;
}

#header_search_input input {
	padding: 2px 0 !important;
	height: 20px; line-height: 20px;
	color: #444;
	text-indent: 4px;
}

#header_search_input input.search_raffine {
	float: left; width: 51.5%;
	margin-right: .5%;
}

#header_search_input input.search_comune {
	float: right;
	width: 48%;
}

#header_search_submit button {
	cursor: pointer; text-align: center;
	font: bold 13px/100% Helvetica,Arial,sans-serif;
	background: #dedede;
	background-image: -moz-linear-gradient(top,#ffffff,#dedede);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#dedede));
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#dedede);
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr=#FFFFFF, endColorStr=#DEDEDE)";
}

#header_search_submit button:hover {
	background: #cdcdcd;
	background-image: -moz-linear-gradient(top,#ffffff,#cdcdcd);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#cdcdcd));
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#cdcdcd);
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr=#FFFFFF, endColorStr=#CDCDCD)";
}

#voci_sottomenu {
	display: block; clear: both;
	/* float: left; */
	margin: 0; padding: 0;
	border-bottom: 1px solid #B12E20;
	width: 100%; height: 27px;
	background: #d4d4d4;
	background-image: -moz-linear-gradient(top,#ffffff,#dedede);
	background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#d4d4d4));
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#d4d4d4);
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(startColorStr=#FFFFFF, endColorStr=#D4D4D4)";
}

#voci_sottomenu .voce_sottomenu,
#voci_sottomenu #voce_menudestra {
	position: relative;
	float: left; margin: 0;
	border-right: 1px solid #ccc;
	border-left: 1px solid #fff;
	padding: 0; height: 26px;
	z-index: 9;
	list-style: none;
}

#voci_sottomenu #voce_home { border-left: 0 }

#voci_sottomenu .voce_sottomenu a.firstrow {
	display: block; margin: 1px 3px 0 3px; height: 25px;
	color: #333; text-decoration: none;
	font: bold 14px Helvetica,Arial,sans-serif;
}

#voci_sottomenu .voce_sottomenu a.firstrow span {
	display: block; height: 100%;
	line-height: 25px;
	white-space: nowrap; overflow: hidden;
}

#voci_sottomenu #voce_home { width: 57px }
#voci_sottomenu #voce_testate { width: 175px }
#voci_sottomenu #voce_sport { width: 65px }
#voci_sottomenu #voce_foto { width: 107px }
#voci_sottomenu #voce_blog { width: 52px }
#voci_sottomenu #voce_sondaggi { width: 85px }
#voci_sottomenu #voce_meteo { width: 62px }
#voci_sottomenu #voce_inedicola { width: 87px }
#voci_sottomenu #voce_lavoro { width: 68px }
#voci_sottomenu #voce_casa { width: 53px }
#voci_sottomenu #voce_annunci { width: 77px }

#voci_sottomenu .voce_attiva a.firstrow span,
#voci_sottomenu .voce_sottomenu a.mouseIsOver span,
#voci_sottomenu .voce_sottomenu a.firstrow:hover span {
	border: 1px solid;
	border-bottom-color: #fff;
	background-color: #fff;
}
#voci_sottomenu .voce_sottomenu a.mouseIsOver span,
#voci_sottomenu .voce_sottomenu a.firstrow:hover span { border-color: #ccc #ccc #fff #ccc }
#voci_sottomenu .voce_attiva a.firstrow span { border-color: auto auto #fff auto }

#voci_sottomenu #voce_testate a.firstrow span {
	padding-right: 25px;
	background-image: url('/file_generali/img/testataJs/sottomenu_arrow.png');
	background-repeat: no-repeat;
	background-position: 97% 50%;
	/*text-align: left; text-indent: 6px;*/
}

#voci_sottomenu #voce_testate.voce_attiva a.firstrow span,
#voci_sottomenu #voce_testate a.firstrow:hover span { color: #007BA3 }
#voci_sottomenu #voce_sport.voce_attiva a.firstrow span,
#voci_sottomenu #voce_sport a.firstrow:hover span { color: #E69E26 }
#voci_sottomenu #voce_foto.voce_attiva a.firstrow span,
#voci_sottomenu #voce_foto a.firstrow:hover span { color: #000 }
#voci_sottomenu #voce_blog.voce_attiva a.firstrow span,
#voci_sottomenu #voce_blog a.firstrow:hover span { color: #066 }
#voci_sottomenu #voce_sondaggi.voce_attiva a.firstrow span,
#voci_sottomenu #voce_sondaggi a.firstrow:hover span { color: #066 }
#voci_sottomenu #voce_meteo.voce_attiva a.firstrow span,
#voci_sottomenu #voce_meteo a.firstrow:hover span { color: #006DCC }
#voci_sottomenu #voce_inedicola.voce_attiva a.firstrow span,
#voci_sottomenu #voce_inedicola a.firstrow:hover span { color: #f90 }
#voci_sottomenu #voce_lavoro.voce_attiva a.firstrow span,
#voci_sottomenu #voce_lavoro a.firstrow:hover span { color: #3984C1 }
#voci_sottomenu #voce_casa.voce_attiva a.firstrow span,
#voci_sottomenu #voce_casa a.firstrow:hover span { color: #53B94A }
#voci_sottomenu #voce_annunci.voce_attiva a.firstrow span,
#voci_sottomenu #voce_annunci a.firstrow:hover span { color: #f60 }

#voci_sottomenu .voce_sottomenu.voce_attiva a { color: #B12E20 }

#voci_sottomenu #voce_menudestra {
	float: right;
	border-right: 0;
	padding: 0 5px;
	width: 70px;
}
* html #voci_sottomenu #voce_menudestra { width: 80px }

#voci_sottomenu #voce_menudestra a {
	/*position: relative;
	text-decoration: none;*/
	float: left;
	margin: 3px 0 0 3px;
	width: 20px; height: 20px;
	background: #fff url('/file_generali/img/testataJs/nuoveicone.gif') no-repeat 0 0;
}

#voci_sottomenu #voce_menudestra a.rss { background-position: 0 0 }
#voci_sottomenu #voce_menudestra a.facebook { background-position: 0 -20px }
#voci_sottomenu #voce_menudestra a.youtube { background-position: 0 -40px }

/*#voci_sottomenu #voce_menudestra a span {
	display: none;
	position: absolute;
	right: -4px; bottom: 21px;
	padding: 0 10px 5px 0;
	background: transparent url('/file_generali/img/testataJs/tooltip.png') no-repeat right bottom;
	opacity: 0.85;
	filter: alpha(opacity=85);
	z-index: 7;
}
#voci_sottomenu #voce_menudestra a:hover span { display: block }

#voci_sottomenu #voce_menudestra a span em {
	display: block;
	margin-left: -5px;
	padding-left: 10px;
	height: 26px;
	background: transparent url('/file_generali/img/testataJs/tooltip.png') no-repeat left top;
	color: #fff;
	font: normal normal 12px/26px Arial,sans-serif;
	white-space: nowrap;
}*/

#voci_sottomenu .voce_sottomenu .sotto_sottomenu {
	display: none;
	position: absolute;
	top: 28px; left: 3px;
	border: 1px solid #ccc;
	padding: 5px;
	background: #fff;
	text-align: left;
	z-index: 8;
}

#voci_sottomenu #voce_testate .sotto_sottomenu {
	border-top: 0; padding: 8px;
	padding-right: 0; left: -25px;
	width: 924px; height: 145px;
	font: 12px 'Lucida Sans Unicode',Arial,sans-serif;
	-moz-box-shadow: 0 6px 10px #000; /* Firefox */
	-webkit-box-shadow: 0 6px 10px #000; /* Webkit */
	box-shadow: 0 6px 10px #000; /* CSS3 */
}

#voci_sottomenu #voce_testate .sotto_sottomenu .sotto_sottomenu_div {
	float: left; margin-right: 8px;
	width: 300px;
}
/*#voci_sottomenu #voce_testate .sotto_sottomenu .sotto_sottomenu_div.gio { width: 200px }*/

#voci_sottomenu #voce_testate .sotto_sottomenu .titolosezione { margin-top: 5px }
/*
#voci_sottomenu #voce_testate .sotto_sottomenu span.titolosezione {
	clear: both;
	margin-top: 0;
	padding-top: 13px;
}

#voci_sottomenu #voce_testate .sotto_sottomenu div {
	float: left; clear: both;
	padding-bottom: 4px;
	width: 100%;
}
*/
#voci_sottomenu #voce_testate .sotto_sottomenu .box_contenuto {
	margin-bottom: 0;
	height: 104px;
}
#voci_sottomenu #voce_testate .sotto_sottomenu .box_contenuto a {
	float: left; width: 100px;
	padding: 1px 0;
	white-space: nowrap;
	overflow: hidden;
	text-indent: 2px;
	color: #4D87C7;
}
#voci_sottomenu #voce_testate .sotto_sottomenu .box_contenuto a:hover {
	background-color: #f4f4f4;
	text-decoration: none;
}

#voci_terzomenu {
	display: block; clear: both;
	/* float: left; */
	margin: 1px 0; padding: 0;
	border-bottom: 1px solid #ccc;
	width: 100%; height: 25px;
	text-align: left;
	font: 13px/25px Helvetica,Arial,sans-serif;
}

#voci_terzomenu .voce_terzomenu {
	position: relative;
	float: left; margin: 0;
	height: 25px; z-index: 0;
	text-align: center;
	list-style: none;
}

#voci_terzomenu .voce_terzomenu a {
	display: block;
	width: 100%; height: 100%;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold; font-size: 12px;
	line-height: 25px;
}

#voci_terzomenu a:hover, #voci_terzomenu a.current { color: #900 }

#voci_terzomenu .voce_terzomenu .sotto_sottomenu {
	display: none; position: absolute;
	top: 25px; right: -1px;
	border: 1px solid #ccc;
	border-top-color: #fff;
	padding: 1px 6px; background: #fff;
	text-align: left; line-height: 200%;
	z-index: 9;
}

#header_logo a, #header_itanews a {
	cursor: pointer;
}
