html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body, html {
    line-height: 1;
    font-family: 	Verdana,Geneva,Arial,Helvetica,sans-serif;
    height: 100%;
}

ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
 
/* remember to define focus styles! */
:focus {
    outline: 0;
}
 
/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
 
/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
	background: none repeat scroll 0% 0% transparent; color: #426AE1;
}

h1 {
	font-size: x-large;
	color: #153592;
}

h3 {
	color: #153592
}

div#topMenu {	
	width:100%;
	height:24px;
	text-align: right;
	border-bottom: 2px solid #93AAF0;
}

div#topToolbar {
	position: absolute;
	top: 2px;
	right: 2px;
	z-index: 3001;
}

div.error{
	display:none;	
	margin-right: 50%;
	float: right;
	background-color: #FF5034;
	padding:1px 7px 1px 7px;
	color: #0B1C4F;
	-moz-box-shadow: 0 1px 3px #A62511;
    -khtml-box-shadow: 0 1px 3px #A62511;
    -webkit-box-shadow: 0 1px 3px #A62511;
    zoom: 1;
	filter: progid:DXImageTransform.Microsoft.Shadow(color='#A62511', Direction=90, Strength=1)
		progid:DXImageTransform.Microsoft.Shadow(color='#A62511', Direction=180, Strength=3)
		progid:DXImageTransform.Microsoft.Shadow(color='#A62511', Direction=270, Strength=1);	
}

div#header {	
	width:100%;
	height:75px;
	max-height: 75px;
	height: expression( this.scrollHeight > 74 ? "75px" : "auto" );
	overflow: hidden;
	border-bottom: 2px solid #93AAF0;
	background-color: #F5F8FE;
}

#logo {
	width: 252px;
	height: 69px;	
	position:relative;
	top:5px;
	left: 5px;
	background-image: url("/img/logo.png");
}

#logoSlogan {
	width:62%;
	float: left;
	height: 60px;
} 


#mainLogo {
	position: relative;
	left:50%;
	margin-left: -255px;
	top: 70px;
	width: 510px;
	height: 150px;	
	background-image: url("/img/logoBig.png");
}

#mainFormBox {
	position: relative;
	left:50%;
	margin-left: -385px;
	top: 60px;
	width: 770px;
	padding: 5px;
	text-align: center;	
}

.mainLabel {
	width: 330px;
	text-align: left;
	font-size: 20px;
	display: inline;
}

#tableCitta, #tableStrada {
	display: none;	
}

a.arrowR {
	background-image: url("/img/arrowR.png");
	height: 125px;
	width: 36px;
	display: block;
	margin-left: 15px;
	text-decoration: none;
	visibility: hidden;
}

a.arrowR:hover, a.arrowR:active  {
	background-image: url("/img/arrowR-h.png");
}

a.arrowL {
	background-image: url("/img/arrowL.png");
	height: 125px;
	width: 36px;
	display: block;
	margin-right: 30px;
	text-decoration: none;
	visibility: hidden;
}

a.arrowL:hover{
	background-image: url("/img/arrowL-h.png");
}


#mainFormBox input#from, #mainFormBox input#to, #mainFormBox input#strada, #mainFormBox input#citta  {
    font-size: 18px;
    vertical-align: middle;
    border: 1px solid #E5E5E5;
    display: inline;
    width: 310px;
    height:35px;
    padding:7px;
    margin-bottom:15px;
    background: #FFFFFF; /* for non-css3 browsers */        
    zoom: 1;
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#F0F0F0', Direction=0, Strength=3)
    	    progid:DXImageTransform.Microsoft.Shadow(color='#F0F0F0', Direction=90, Strength=3)
    	    progid:DXImageTransform.Microsoft.Shadow(color='#F0F0F0', Direction=180, Strength=3)
    	    progid:DXImageTransform.Microsoft.Shadow(color='#F0F0F0', Direction=270, Strength=3)
    	    progid:DXImageTransform.Microsoft.gradient(startColorstr='#EEF2FD', endColorstr='#FFFFFF');
}

#mainFormBox input#strada, #mainFormBox input#citta {
	width: 660px;
}

div#mainFormBox form button, button#inviaMail{
	border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -moz-box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 1px 1px rgba(0, 0, 0, 0.2);
    text-shadow: -1px -1px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.75);
    background:  #7191F0;
    border: 1px solid #166BA9;;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 20px 5px 20px;
    text-decoration: none;    
    text-transform: none;
    white-space: nowrap;
    margin: 0px 0px 0px 20px;    
    cursor: pointer;    
}


#slogan{
	width: 360px;
	height: 60px;	
	background-image: url("/img/slogan.png");
	position:relative;
	top:-70px;
	left: 200px;
}

#topBanner {
	position:relative;
	float:right;
	top:-60px;
	width: 468px;	
}


#mainSlogan {
	width: 500px;
	height: 100px;	
	background-image: url("/img/sloganBig.gif");	
	position: relative;
	left:50%;
	top:60px;
	margin-left: -255px;
}

div#formBox #start{
	width: 18px;
	height: 30px;	
	background-image: url("/img/start.gif");
	position:absolute;
	top:5px;
	left:15px;
}

div#formBox #road-ico{
	width: 30px;
	height: 30px;	
	background-image: url("/img/road-ico.gif");
	position:absolute;
	top:20px;
	left:4px;
}

div#formBox #city-ico{
	width: 30px;
	height: 30px;	
	background-image: url("/img/city-ico.gif");
	position:absolute;
	top:20px;
	left:4px;
}

div#formBox .ajax{
	width: 24px;
	height: 24px;	
	background-image: url("/img/ajax-loader2.gif");
	position:absolute;
	top:26px;
	left:253px;
	z-index: -100;
	display: none;
}

div#formBox #end{
	width: 18px;
	height: 30px;	
	background-image: url("/img/end.gif");
	position:absolute;
	top:45px;
	left:15px;
}

#startError, #endError{
	width: 32px;
	height: 30px;
	background-image: url("/img/errore.gif");
	position:absolute;
	display: none;
}
#startError{	
	top:5px;
	left:5px;	
}
#endError{
	top:45px;
	left:5px;
}

div#formBox a#invert{
	width: 23px;
	height: 28px;	
	background-image: url("/img/invert.gif");
	position:absolute;
	top:25px;
	left:255px;
}

div#formBox a#invert:hover {
	border: 1px solid #9CB9EF;
	left:254px;
}

div#formBox {			
	position: absolute;
	left: 65%;			
	width: 280px;
	height:106px;	
}

#formBox .btnRt{
	color: #FFFFFF;
	background-color: #8CADF2;
	position: absolute;
	left: 280px;
	height: 32px;
	width: 80px;	
	margin-left: 0px;
	_margin-left: -2px;
	top: -1px;
	text-shadow: -1px -1px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.75);
	font-weight: bold;
	font-size: 12px;
	padding: 8px 8px 8px 8px;
	z-index: 0;
    border: 1px solid #153592;
    cursor: pointer;
}

#formBox .btnRt:hover, #formBox .hover {
	background-color: #719af0;	
}

#formBox .btnRtSelected, #formBox .btnRt:focus{	
	background-color: #719af0;
	color: black;
	border: 1px solid #153592;
	border-left: none;
	box-shadow: none;
	font-size: 13px;
	-moz-box-shadow: none;
    -khtml-box-shadow: none;
    -webkit-box-shadow: none;
    margin:0px;
    padding-left: 3px;
    _margin-left: -3px;       
    cursor: default;
}

#formBox #btnCitta {
	top: 37px;
}
#formBox #btnStrada {
	top: 73px;
}

#labelFrom {      
    left: 95px;
}


.boxBlu {
	background-color: #719af0;
	box-shadow: 0 2px 5px #153592;
	-moz-box-shadow: 0 2px 5px #153592;
    -khtml-box-shadow: 0 2px 5px #153592;
    -webkit-box-shadow: 0 2px 5px #153592;
    border: 1px solid #153592;
	margin-top: 2px;
}



div#formBox form input, input.email, div#accountLineaT form input {
    font-size: 100%;
    vertical-align: middle;
    border: 1px solid #E5E5E5;
    display: block;
    margin: 5px 10px 0px 40px;    
    width: 210px;
	height:32px;
    padding:7px;
    background: #FFFFFF; /* for non-css3 browsers */       
    z-index: 100;

}

div#formBox form input[type="text"], div#mainFormBox form input[type="text"], input.email{
	background: linear-gradient(center top , #FFFFFF, #EEF2FD 1px, #FFFFFF 25px) repeat scroll 0 0 transparent;        
    background: -moz-linear-gradient(center top , #FFFFFF, #EEF2FD 1px, #FFFFFF 25px) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left center, from(#EEF2FD),to(#FFFFFF));
	_background: #FFFFFF;         
    -moz-box-shadow: 0 0px 8px #F0F0F0;
    -khtml-box-shadow: 0 0px 8px #F0F0F0;
    -webkit-box-shadow: 0 0px 8px #F0F0F0;            
    padding: 5px;
}



div#formBox form input:focus, div#mainFormBox form input:focus, div#formBox form input.focus, div#mainFormBox form input.focus, input.email:focus, div#resultRoute input.focus{    
    background: none repeat scroll 0 0 white;    
    border: 1px solid #153592;
    box-shadow: 0 2px 5px #153592;
    -moz-box-shadow: 0 2px 5px #153592;
    -khtml-box-shadow: 0 2px 5px #153592;
    -webkit-box-shadow: 0 2px 5px #153592;    
}

div#formBox form button, button#inviaMail{
	border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -moz-box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 1px 1px rgba(0, 0, 0, 0.2);
    text-shadow: -1px -1px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.75);
    background:  #7191F0;
    border: 1px solid #166BA9;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 12px;
    padding: 1px 12px 2px 12px;
    text-decoration: none;    
    text-transform: none;
    white-space: nowrap;
    margin:5px 0px 0px 20px;
    width: 250px;    
    cursor: pointer;    
}
	
div#formBox form button:hover, div#formBox button:focus, div#mainFormBox form button:hover, div#mainFormBox button:focus, div#mainFormBox form button.hover, div#formBox form button.hover, button#inviaMail:hover, button#inviaMail:focus, div#resultRoute button.hover, div#resultRoute button.hover{
    box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 3px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 3px 2px rgba(0, 0, 0, 0.2);
    background: none repeat scroll 0 0 #93AAF0;
    border-color: #3390CF;
    bottom: 1px;     
}	


div#formBox form button:active, div#mainFormBox form button:active, button#inviaMail:active {
    box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    top: 1px;
}
	
div#bottom {	
	text-align: center;
	color: gray;
	font-size: 11px;
	width: 100%;
	margin: 0px;
	padding: 0px;
	border-top: 2px solid #93AAF0;
}

div#bottom a{
	text-decoration: none;
	color: gray;
}

div#bottom a:hover{
	text-decoration: underline;
}

#master  {	
   min-height: 100%;
   _overflow: hidden;
   height: auto !important;
   height: 100%;
   margin-bottom: -20px; 	
}

div#central {
	padding-left:2px;
	padding-right:2px;
	overflow:none;
}


div#leftColumn {
	width: 62%;
	float:left;
}

div#leftColumn p {
    font-size: small;
}
div#leftColumn a {
    text-decoration: none;
}

div#rightColumn {
	position:relative;
	top: 50px;
	width: 35%;
	float:left;
	margin-left: 15px;
}

div#mappaPrincipale {		
	display: inline-block;
	box-shadow: 0 2px 5px #93AAF0;
	-moz-box-shadow: 0 2px 5px #93AAF0;
    -khtml-box-shadow: 0 2px 5px #93AAF0;
    -webkit-box-shadow: 0 2px 5px #93AAF0;
    border: 3px solid #93AAF0;
    visibility: hidden;
    width: 100%;    
}

div.titleResult {
	border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
    -moz-box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.5) inset, 0 1px 1px rgba(0, 0, 0, 0.2);
    text-shadow: -1px -1px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 255, 255, 0.75);
    background:  #7191F0;
    border: 1px solid #166BA9;;
    color: #FFFFFF;
    font-weight: bold;    
	
	padding: 5px 7px 5px 15px;
	font-weight: bold;
	background-color: #7191f0;
	color: white;	
}

div#alternativeRoute{
	margin-bottom:7px;
	display: none;
}

div#alternativeRoute span.distance{
	margin-left: 15px;
}


div#alternativeRoute span.duration, div#alternativeRoute span.distance{
	text-transform: capitalize;
	font-size: 11px;
	float: right;
}

div#alternativeRoute span.alternativeRoute {
	float:left;
}

.contentResult {
	border-left: 1px solid #93AAF0;
	border-right: 1px solid #93AAF0;
	border-bottom: 1px solid #93AAF0;
	background-color: #F8FAFE;
	margin-right: 10px;
}

div#alternativeRoute .contentResult{
	overflow: auto;
	padding-right: 10px;
}


div#resultRoute .contentResult{
	overflow: auto;
}

ul#alternativeRoute {
	list-style-type: none;
	margin-left:5px;
}

ul#alternativeRoute li{
	padding-left: 0px;
	padding-bottom: 2px;
	margin-bottom:5px;
	clear:both;
}

ul#alternativeRoute li.select a{ 
	text-decoration: none;
	color: black;	
}


ul#alternativeRoute li a:hover{
	text-decoration: none;
	cursor: pointer;
}

div.contentResult {
	padding:8px 5px 2px 5px;
}


#loadingMap, #loadingContenResult {
	border-radius: 15px;
	-moz-border-radius: 15px;
	-khtml-border-radius: 15px;
	-webkit-border-radius: 15px;
	box-shadow: 1px 1px #888; 
	-webkit-box-shadow: 1px 1px #888; 
	-khtml-box-shadow: 1px 1px #888; 
	-moz-box-shadow: 1px 1px #888;	
	background: url("/img/ajax-loader.gif") no-repeat scroll 10px 50% #333333;
	color: #FFFFFF;
	font-size: 20px;	 
	z-index: 20;
	-moz-opacity:.70; 
	filter:alpha(opacity=70); 
	opacity:.70;
	padding: 15px 15px 15px 50px; 
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100px;
	margin-left: -75px;
	margin-top: -20px;		
}



.bold {
	font-weight: bold;
}




div#formBox form input.borderRed, div#resultRoute input.borderRed, div#mainFormBox form input.borderRed, div#header2 form input.borderRed, input.borderRed{	
    background: linear-gradient(center top , #FFFFFF, #FFDDDD 1px, #FFFFFF 25px) repeat scroll 0 0 transparent;        
    background: -moz-linear-gradient(center top , #FFFFFF, #FFDDDD 1px, #FFFFFF 25px) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, left top, left center, from(#FFDDDD),to(#FFFFFF));
    border: 2px solid #FF4242;
    box-shadow: 0 0px 8px red;
    -moz-box-shadow: 0 0px 8px red;
    -khtml-box-shadow: 0 0px 8px red;
    -webkit-box-shadow: 0 0px 8px red;  
    -khtml-appearance: none;          
    _background: white;	
}

iframe.adSense {
	overflow: hidden;
	height: 65px;
	width: 260px;
	margin:0px;
	padding:0px;
	border: none;
	background-color: #F8FAFE;
}

#firstAdSense {
	border-bottom: 1px solid #EBEFFC;
}

#lastAdSense {
	border-top: 1px solid #EBEFFC;
	padding-top: 5px;
	text-align: center;
}





input.email {
	margin-left:0px;
}

button#inviaMail {
	margin-left:0px;
	margin-bottom:15px;
	width: 80px;
	clear:both;
}

div#nessunaStrada {
	margin-bottom:25px;
}

#contenutoPrincipale {
	padding: 0 15px 15px 15px;
}


div#ajaxButton {
	width: 128px;	
	height: 15px;
	position: relative;	
	left: 50%;
	margin-left: -64px;
	background-image: url("/img/ajaxBar.gif");
}

div#titleMap, div#subMap {
	padding:0px 10px 2px 2px; 
	text-align: right
}

#iTitle, div#header .nav, div#loadingContenResult, div#header2 {
	display: none;
}

#emailAutenticata {
	margin: 1px;
	font-weight: bold;
	_cursor: pointer;
}


div.buttonTop, div#searchBox {	
	padding: 1px 7px 1px 7px;
	_padding:0px;
	float: right;
	height: 18px;	
	border-left: 1px solid #E8EFFD;
}

 

form#search-box input#sa {
	border: 0px;
	background: url('/img/search.gif') no-repeat 50% 50%;
	width: 20px;
	height:18px; 
}

form#search-box input#q {
	height:18px;
}

div.buttonTop:hover, #topSubMenu ul li:hover{
	background: #ECF1FD;	
	background: -moz-linear-gradient(center top , #ECF1FD, #C6D5F9) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #ECF1FD, #A0BBF3 1px, #ECF1FD 25px) repeat scroll 0 0 transparent;            
    background: -webkit-gradient(linear, left top, left center, from(#ECF1FD),to(#A0BBF3));	
	cursor: pointer;
}

form#search-box input#sa{
	cursor: pointer;
}

div.buttonTop a, #topSubMenu ul li a{
	color: #153592;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	text-decoration: none;
	_padding: 1px 7px 1px 7px;
}

div#topSubMenu  {
	float: right;
}

#topSubMenu  ul{
	clear: both;
	display: none;
	-moz-box-shadow: 3px 3px 4px #000;	
	-webkit-box-shadow: 3px 3px 4px #000;
	box-shadow: 3px 3px 4px #000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000'); 
}

#topSubMenu ul li{	
	padding: 7px 7px 7px 10px;
	_padding:0px;	
	border: 1px solid #E8EFFD;
	text-align:left;
}


.colorButtonMenu {
	background: #B4C9F5;	
	background: -moz-linear-gradient(center top , #B4C9F5, #7DA3F0) repeat scroll 0 0 transparent;
	background: linear-gradient(center top , #B4C9F5, #7DA3F0 1px, #B4C9F5 25px) repeat scroll 0 0 transparent;            
    background: -webkit-gradient(linear, left top, left center, from(#B4C9F5),to(#7DA3F0));
	background-color: #B4C9F5;	
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B4C9F5', endColorstr='#7DA3F0');
}

.buttonSelected {
	background: #F5F8FE;
}

.downArrow {	
	background: url("/img/downarrow.gif") 100% 60% no-repeat;
	padding:3px;
	visibility: hidden;
}

.a2a_dd {
	float: right;
	margin-right: 25px;
	padding: 2px;
}


.autocomplete-w1 { background:url(/img/shadow.png) no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }
.autocomplete { border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }
.autocomplete .selected { background:#F0F0FF; }
.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }
.autocomplete strong { font-weight:bold; }