/* --------------------- template base ------------------------ */
html,body{height:100%;margin:0;padding:0;}
body{
	font: 80% Tahoma, Arial, Helvetica, sans-serif;
	line-height:140%;
	height:100%;
}
img{
	behavior:url(http://www.necci1924.com/site/iepngfix.htc);
	border:none;
	padding:0;
	margin:0;
}
#shopsx{
	margin:0 0 10px 5px;
	padding:0;
	float:left;
	text-align:center;
}
#shopdx{
	margin:0 5px 10px 0;
	padding:0;
	float:right;
	text-align:center;
}
img.lvg{margin:0;padding:0;}
#total {
	height:976px;
}
.left {
	background-image:url(img/pattern1.jpg);
	background-repeat: repeat;
	background-position:top right;
}
.right {
	background-image:url(img/pattern1.jpg);
	background-repeat: repeat;
	background-position:1px 0px; /* left */
}
.center{
/* 		background:#ededed; */
	background-image:url(img/pattern1.jpg);
	background-repeat: repeat;
	background-position:top left;
}
.cnt{
	text-align:center;
}
.red{
	color:#c00;
}
.saluto{
	margin-left:20px;
}
a.ricetta{
	background:url(img/pag.gif) 50% left no-repeat;
	padding-left:16px;
}
a.video{
	background:url(img/video.gif) 50% left no-repeat;
	padding-left:16px;
}
a.juke_vote{
	cursor: pointer;
	background:url(img/juke_vota.gif) 50% left no-repeat;
	padding-left:16px;
}
/* footer link */
a.footer, a:visited.footer{
	color:#fff;
	text-decoration:none;
	font-size:100%;
}
a:hover.footer{
	color:#000;
	text-decoration:none;
}
/* --------------------- lavagna ------------------------ */
#lavad{
	display:block;
	width:275px;
	height:326px;
	background:url(img/lavagna_admin.jpg) top left no-repeat;
	margin:0 auto;
	padding:62px 0 0 35px;
}
/* --------------------- voto ------------------------ */
#votopiatti ul, #votopiatti li{
	margin:0;
	padding:0;
	list-style:none;
}
#votopiatti li{
	margin:0 0 5px 5px;
}
#votopiatti li a{
	cursor: pointer;
}
/* --------------------- inizio ------------------------ */
a {
	color:#1e3b73;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
#container{
/* 	width:846px; senza voto a destra*/
	width:929px;
	margin:0 auto;
	text-align:left;
	position:relative;
}
h1#logo{
	margin:0;
	padding:0;
	position:absolute;
	text-indent:-8000px;
	overflow:hidden;
	width:254px;
	height:189px;
	left:16px;
	top:0;
	z-index:10;
}
h1#logo a{
	display:block;
	height:189px;
	background:url(img/logo.gif) no-repeat 0 0;	
}
/* --------------------- nav ------------------------ */

#nav{
	float:right;
/* 	display:inline; */
	width:270px;
	height:513px;
	background:url(img/nav_back.gif) no-repeat top left;
}
#voto{
	background:url(img/side_back.gif) no-repeat 0 0;
	float:left;
	position:absolute;
	left:658px;
	top:501px;
/* 	display:inline; */
	width:270px;
/* 	height:258px; */
}
#voto a{
	display:block;
	width:160px;
	height:133px;
	margin:50px 40px 70px 70px;
}

#nav ul, #nav li{
	margin:0;
	padding:0;
	list-style:none;
}
#nav ul{
/* 	width:104px;
 	margin-left:33px;
	padding-top:8px; */
	width:139px;
 	margin-left:17px;
/* 	padding-top:8px; */
}
#nav li{
	text-indent:-8000px;
	overflow:hidden;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	width:104px;
	height:59px; */
	width:139px;
	height:61px;
}
#nav li#spacer{
	text-indent:-8000px;
	overflow:hidden;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	width:104px;
	height:59px; */
	width:139px;
	height:21px;
}
#nav li#small1, #nav li#small2, #nav li#small3{
	text-indent:-8000px;
	overflow:hidden;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	width:104px;
	height:59px; */
	width:139px;
	height:39px;
}
#nav li a{
	display:block;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	height:59px; */
	height:61px;
}
#nav li#small1 a, #nav li#small2 a, #nav li#small3 a{
	display:block;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	height:59px; */
	height:39px;
}
#nav li#small1 a,#nav li#small2 a,#nav li#small3 a{
	display:block;
	background-repeat:no-repeat;
	background-position:0 0;
/* 	height:59px; */
	height:39px;
}
#nav li a:hover, #nav li a.selected{
	background-position:0 -61px;
}
#nav li#small1 a:hover, #nav li#small1 a.selected, #nav li#small2 a:hover, #nav li#small2 a.selected, #nav li#small3 a:hover, #nav li#small3 a.selected{
	background-position:0 -39px;
}
#nav li#nav1, #nav li#nav1 a{background-image:url(img/nav1.jpg);}
#nav li#nav2, #nav li#nav2 a{background-image:url(img/nav2.jpg);}
#nav li#nav3, #nav li#nav3 a{background-image:url(img/nav3.jpg);}
#nav li#nav4, #nav li#nav4 a{background-image:url(img/nav4.jpg);}
#nav li#nav5, #nav li#nav5 a{background-image:url(img/nav5.jpg);}
#nav li#nav6, #nav li#nav6 a{background-image:url(img/nav6.jpg);}
#nav li#small1, #nav li#small1 a{background-image:url(img/small1.jpg);}
#nav li#small2, #nav li#small2 a{background-image:url(img/small2.jpg);}
#nav li#small3, #nav li#small3 a{background-image:url(img/small3.jpg);}
/* --------------------- banner ------------------------ */

#banner{
	text-indent:-8000px;
	overflow:hidden;
	margin:0;
}
#banner p{
	display:block;
	width:150px;
	height:100px;
	margin:55px 0 30px 22px;
}
/* --------------------- carta ------------------------ */
#carta{
	padding:.5em 2em;
	margin:0;
	width:322px;
	background:url(img/carta.jpg) 0 20px repeat-y;
}
#carta p{
	clear:both;
}
p.msg{
	padding-bottom:5px;
	color:#333;
	border-bottom:1px solid #b0aa99;
}
#blocktop{
	display:block;
	width:364px;
	height:33px;
	margin:0;
	padding:0;
	background:url(img/block_top.jpg) 0 0 no-repeat;
}
#test, #test1, #test2 {
	margin-bottom:5px;
	border-bottom:1px solid #b0aa99;
}
#notest p.cnt, #test p, #test1 p, #test2 p{
	margin:0;
	padding:0;
	clear:both;
}
form{
	margin:0;
	padding:0 0 5px 0;
}
/* --------------------- main ------------------------ */
#bollone {
	position:absolute;
	top:347px;
	left:31px;
	width:280px;
	height:158px;
	text-align:center;
}
#tv {
 	position:relative;
	top:507px;
	left:60px; 
	width:182px;
	height:177px;
	background:url(img/jukebox.gif);
}
p.rgt{text-align:right;}
img.shop{
	float:left;
	margin-right:5px;
}
img.shop_r{
	float:right;
	margin-right:5px;
}
#main{
	float:right;
	display:inline;
	width:362px;	
/* 	padding:2em 0; */
	padding:0;
	z-index:0;
}
#main p{
	clear:both;
}
a.rollover:link{
	display:block;
	width:310px;
	height:109px;
	overflow:hidden;
	background-position: 0 0;
}
a.rollover:hover{
	background-position:0 109px;
}
a.boxuno:link, a.boxuno:visited{
	background-image:url('img/box/aperitivi_asporto_ro.gif');
}
a.boxdue:link, a.boxdue:visited{
	background-image:url('img/box/aperitivialnecci_ro.gif');
}
a.boxtre:link, a.boxtre:visited{
	background-image:url('img/box/pasticceria_asporto_ro.gif');
}
a.boxquattro:link, a.boxquattro:visited{
	background-image:url('img/box/gastronomia_asporto_ro.gif');
}

/* --------------------- side news votazione ------------------------ */

#side{
	position:absolute;
	left:0;
	width:296px;
	height:500px;	
	background:url(img/lavagna_back.jpg) no-repeat 0 0;
	z-index:0;	
}
#news, #news li {
	margin:0;
	padding:0;
	list-style:none;
}
#news{
/* 	background:url(side_back.gif) no-repeat 0 0; con voto a sinistra */
	width:153px;
/* 	margin-top:46px; */
	margin-top:48px;
	margin-left:74px;
/* 	line-height:28px; */
	line-height:12px;
}
#news li{
	font-size:75%;
	height:27px;
/* 	line-height:27px; */
}
#news li a{
	display:block;
	width:100%;
	color:#7d849b;
	cursor:pointer;
}
#news li.double a{
	padding-top:7px;
}
#news li a:hover{
	color:#666;
/* 	background:url(img/x.gif) no-repeat 140px 50%; */
	background:url(img/x.gif) no-repeat 144px 50%;		
}
#news li.flex a:hover{
	color:#666;
	background:url(img/x.gif) no-repeat 142px 65%;
}
#news li.double a:hover{
	color:#666;
	background:url(img/x.gif) no-repeat 142px 70%;
}
/*  mozilla tweeks  */
a:active { outline: none; }
a:focus { -moz-outline-style: none; }

/* PNG fix for ie6 */
img {
        behavior: url(iepngfix.htc);
}