
/* Reset style */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin: 0px;padding: 0px;}
fieldset,img{border:0;}
table{border-collapse:collapse;border-spacing:0;}
cite,code,em,strong,th{font-style:normal;font-weight:normal;}
ol,ul{list-style:none;}
th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}
/* Set uniform base font size */
body{font:12px Arial,DejaVu Sans Condensed,Helvetica,sans-serif;color:#000000;/**font-size:small;*/}
table{font-size:inherit;font-size:100%;}
select,input,textarea{font:99% Arial,DejaVu Sans Condensed,Helvetica,sans-serif;}
pre,code{font:115% monospace;/***/font-size:100%;}
body * {line-height:1.22em;}
/* End reset style*/
div#fix_bg{
z-index: -100 !important;
position: absolute;
width: 50%;
right: 0;
top: 0;
height: 367px;
background: #151515 url(images/sfondo_right.jpg) left top repeat-x !important;
}
body{
font-family: helvetica;
background: #151515 url(images/sfondo.jpg) left top repeat-x !important;
}
#mlogo{
display: block;
position: absolute;
top: -5px;
margin-left: 592px;
border: 5px solid #8C0603 
}
.tplrow_1 .nav{
margin-left: 0px;
width: 550px; overflow: hidden;
}
.tplrow_1 .nav ul li{
font-size: 20px;
font-family: helvetica;
float: left;
padding: 12px 15px 8px 15px !important;
}
.tplrow_1 .nav ul li a{
text-decoration: none;
color: white;
}
.tplrow_1 .nav ul li.selected,
.tplrow_1 .nav ul li:hover
{
background: url(images/topbar_sel.gif) left top repeat-x !important;
border-bottom: 4px solid white;
}
div.tplrow_2{
display: none;
}
div.tplrow_3 div.tplcol_1{
background: url(images/sfondo_top.jpg) left top repeat-x !important;
}
div.tplrow_1{
height: 48px;
}
div.tplrow_1 div.tplcol_1{
width: 810px;
}

#logo{
display:block;
position: absolute;  
margin-top: 145px !important;
}

#auto{
display: block;
float: right;
margin-top: 0px;
width: 805px;
}

.b_ricerca{
clear: both;
width: 100%;
background: url(images/b_ricerca.gif) left top repeat-y !important;
padding: 20px;
}

.b_ricerca label{ 
display: block;
width: 250px;
float: left;
color: #4b005a;
font-weight: bold;
margin-top: 10px;
}
.b_ricerca label select{ 
width: 90%
}
.fix{
display: block;
clear: both;
}
div.disclaimer{
background: #920b05 url(images/sfondo_red_mini.gif) left top repeat-x !important;
color: white;
font-size: 11px;
line-height: 150%;
text-align: justify;
padding: 8px !important;
}

div.u_auto{
margin-top: 2px;
padding-top: 50px;
height: 600px;
background: #e1e1e1 url(images/ultime_auto.gif) left top no-repeat !important;
}
div.u_auto a{
color: black;
text-decoration: none;
}
div.u_auto div.box{
background: #e1e1e1 url(images/box.jpg) left top no-repeat !important;
width: 232px;
height: 262px;
padding: 7px;
float: left;
margin-top: 10px;
margin-left: 17px;
}
div.u_auto div.box h2{
color: red;
font-size: 14px;
/*margin-top: 6px*/;
}
div.u_auto div.box strong{
font-weight: bold !important;
}
.tplrow_4{
background: url(images/sfondo_red_bott.gif) left top repeat-x !important;
}

.tplrow_4 .nav ul li{
font-size: 13px;
font-weight: bold;
font-family: helvetica;
float: left;
padding: 29px 15px 28px 15px !important;
}
.tplrow_4 .nav ul li a{
text-decoration: none;
color: white;
}
.f_red{
width: 150px;
padding-left: 70px;
margin-top: 15px;
float: left;
}
#tw, #fb {
display: block;
float: right;
margin-top: 12px;
}

.cerca_top{
margin: 20px 20px 0px 20px;
width: 120px;
height: 37px;
background: url(images/cerca.png) left top repeat-x !important;
border: 0 solid transparent !important;
font-size: 1px;
color: #e1e1e1;
cursor: pointer;
}
.foot_black{
color: white !important;
}
.foot_black span{
color: red
}
.foot_black h2{
font-size: 16px;
}
.foot_black a{
color: white; 
text-decoration: underline
}

div.c_home,
div.offerta_list {
padding: 10px;
margin-top: 2px;
min-height: 319px;
background-color: #e1e1e1;
}
div.c_home h1{
font-size: 32px;
}
div#adminbar{
/*bottom:0;*/
top:0;
height:30px;
overflow:hidden;
position:absolute;
width:100%;
}
div#inner_adminbar{
background-color:#EEEEEE;
border:1px solid #666666;
height:30px;
margin-left:auto;
margin-right:auto;
width:900px;
}
div#inner_adminbar ul{
margin-top:5px;
}
div#inner_adminbar ul li{
display: inline
}

div#inner_adminbar ul a{
background-color:#EEEEEE;
color:#333333;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:12px;
text-decoration:none;
padding:3px 9px 5px;
}
	
div#inner_adminbar ul a:hover{
font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#FFFFFF;
	text-decoration:none;
	background-color:#0099FF;
}

/*FORM GENERATOR*/
.formgen h5,
h5.verde {
background-color:#5C7319;
color:white;
font-size:11px;
padding:5px 5px 5px 30px;
margin: 10px 0;
font-family: helvetica;
}
h5.giallo{
background-color: #fcc43d;
color: black;
}

h5.grigio{
background-color: #dfdfdf;
color: black;
}
h4.mini{
color:#666666;
float:left;
font-size:11px;
font-weight:normal;
margin-bottom:30px;
margin-top:0;
}
.formgen label{
display:block;
float:left;
font-size:12px;
font-weight:bolder;
padding:2px 5px 2px 5px;
text-align:right;
width:30%;
}
.formgen label em,
.formgen h5 em
{
font-weight: normal !important;
font-size: 10px !important;
}
.formgen h5 em{
font-size: 11px !important;
}

.formgen span,
.formgen span,
.formgen span{
background-color: #dfdfdf;
display:block;
float:left;
margin-bottom:10px;
padding:2px 11px 2px 11px;
width:50%;
}

.formgen span input, 
.formgen span select, 
.formgen span textarea,
.formgen span p{
border: 1px solid #aaa;
clear:both;
display:block;
margin:0 auto;
width:90% !important;
}

.formgen span p,
.formgen span textarea
{
border: 1px solid #aaa;
overflow: auto;
height: 120px;
font-size: 9px;
line-height: 10px;
background-color: white;
width: 90% !important
}
.formgen span p{
height: none;
padding: 5px;
}
.separator{
border-bottom: 1px dotted #666666;
display: block !important;
clear: both ! important;
}
.btnsubmit, .submit {
background: url(images/button.jpg) Left top no-repeat;
border:0 none;
color:white;
cursor:pointer;
display:block;
font-family:Helvetica,Arial,DejaVu Sans,Verdana;
font-size:15px;
font-weight:bold;
height:23px !important;
margin:10px auto;
padding:8px 0px 35px 0 !important;
text-align:center;
text-transform:uppercase;
width:158px !important;
}
p.radioset label{
text-align: left;
width: 250px;
padding-left: 5px;
white-space: nowrap;
display: inline
}
p.radioset input{
width: 20px !important;
display: inline
}
.formgen.gray{
font-family: trebuchet ms, lucida;
}
.formgen.gray fieldset{
padding: 20px 0 10px 0;
border: 1px solid #dfdfdf;
background-color: #f0f0f0;
}
.formgen.gray fieldset span{
background-color: transparent;
padding-left: 0
}
.formgen.gray fieldset label{
font-weight: normal;
}
.formgen.gray h5{
font-size: 13px;
background-color: transparent;
margin: 10px 0 0 0 ;
padding-left: 10px;
color: black;
}
.formgen.gray h4.mini{
margin: 10px 50px;
}

div.offerta_single {
background-color: black !important;
color: white;
padding: 20px;
}
div.offerta_single .in_r{
width: 420px;
float: right;
}
div.offerta_single .in_l{
width: 320px;
float: left;
}
div.offerta_single .in_l table{
width: 100%;
font-weight: bold;
}

div.offerta_single .content{
margin-top: 30px;
}
div.offerta_single h1{
margin-top: 20px;
color: white;
font-size: 32px;
}
div.offerta_single h2{
margin-top: 20px;
color: white;
font-size: 20px;
}

div.offerta_single h3{
margin-top: 20px;
font-size: 16px;
color: red;
}
div.offerta_single h2 span{
margin-top: -5px;
font-size: 30px;
display: block;
float: right;
color: red;
}

.polaroid{
display: block;
padding: 2px;
border: 1px solid #666;
background-color: #B51209;
}
.in_r .left{
margin-right: 2px;
margin-bottom: 1px;
margin-top: 1px;
}
.offerta_item a{
color: black;
text-decoration: none;
}

.offerta_item{
background-color: #f1f1f1;
padding: 5px;
border-bottom: 1px solid #999;
border-right: 1px solid #999;
margin-bottom: 5px;
}
.offerta_item.alt{
background-color: #e6e6e6
}
.offerta_item .polaroid{
margin-right: 10px;
}
.offerta_item h2{
font-size: 20px;
}
.offerta_item h2 span{
display: block; float: right;
color: red;
text-align: right;
}
.left{
display: block;
float: left;
}
.right{
display:block;
float: right;
}

.paging{
background-color: white;
border-top: 2px solid red;
border-bottom: 2px solid red;
padding: 5px;
padding-left: 20px;
font-weight: bold; 
}


div.error,
div.notice,
div.success{
width: 90%;
padding: 10px;
margin: 0 auto;
}

div.error {
background:#FBE3E4 none repeat scroll 0 0 !important;
border: 2px solid #FBC2C4 !important;
color:#8A1F11 !important;
}
div.notice {
background:#FFF6BF none repeat scroll 0 0 !important;
border: 2px solid #FFD324 !important;
color:#514721 !important;
}
div.success {
background:#E6EFC2 none repeat scroll 0 0 !important;
border:2px solid #C6D880 !important;
color:#264409 !important;
}
div.error a {
color:#8A1F11 !important;
}
div.notice a {
color:#514721 !important;
}
div.success a {
color:#264409 !important;

}
.categorie{
padding-left: 20px;
}
.categorie li{
}
.categorie ul li a{
display: block;
float: left;
padding: 10px 12px;
text-decoration: none;
font-weight: bold;
text-transform: uppercase;
color: white;
}
.categorie ul li.selected a{
background-color: red;
}

.tags a,
.cats a{
	color: white;
}
.cats strong,
.tags strong{
font-weight: bold;
}

.marche{
width: 100%;
background-color: white;
}
.marche div{
text-align: center;
}

.pages{
display: block;
float: right;
margin-right: 10px;
font-weight: bold !important;
padding-bottom: 4px;
}
.pages strong{
font-weight: bold !important;
}
.pages a{
color: red;
text-decoration: none;
border: 1px solid red
padding: 2px 5px;
margin: 5px; 
}
.pages strong.current{
margin: 5px;
padding: 2px 5px;
background-color: red;
color: white;
}

a.backlink{
display: block;
float: right;
margin-top: -10px;
margin-right: 20px;
font-size: 14px;
font-weight: bold;
color: white;
text-decoration: none;
}

p.venduta{
color: red;
font-weight: bold;
margin: 0;
margin-top: -15px;
padding:  0 20px;
display: block;
}

p.venduta span{
position: relative;
background-image: url(images/vendita.png);
display: block;
width: 72px;
height: 76px;
margin-top: -161px;
margin-left: -29px;
margin-bottom: 80px;
}
.in_r p.venduta{
position: relative;
width: 200px;
height: 0px;
border: 1px solid black;
margin-top: 1px !important; 
clear: both;
}
.in_r p.venduta span{
margin-left: -23px;
margin-top: -311px;
margin-bottom: 210px;

}
.offerta_item p.venduta{
margin: 0 !important;
padding: 0;
width: 0;
height: 0;
}
.offerta_item p.venduta span{
position: relative;
margin-left: -4px;
margin-top: -113px !important;
margin-bottom: 30px !important;
}


#lbPrevLink, #lbNextLink {
display: block;
position: absolute;
top: 0;
width: 50%;
outline: none;
background:transparent;
}

