/* Normalize padding and margins */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
margin: 0;
padding: 0;
}
/* Normalize header sizes */
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
}
/* Normalize list styles */
ol, ul {
list-style: none;
}
/* Normalize font style and weight on odd elements */
address, caption, cite, code, dfn, em, strong, th, var {
font-style: normal;
font-weight: normal;
}
/* Normalize table borders */
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Normalize other borders */
fieldset, img {
border: 0;
}
/* Normalize text-alignment */
caption, th {
text-align: left;
}
/* Normalize (remove) quotation marks */
q:before, q:after {
content: '';
}

/*INIZIO DEFINIZIONI CSS*/
body {
 text-align: center;
 background-color: #7d7d7d;
 background-image: url('/immagini/alt-back.png');
 background-repeat: repeat-x;
 background-position: 0px 80px;
 font-family: "Trebuchet MS","Lucida Grande", Lucida, Verdana, sans-serif;
 font-size: 0.90em;
}

#body {
 background-color: #ffffff;
 width: 800px;
 margin: 0px auto 0px auto;
 border: 2px solid #5d5d5d;
 border-top: none;
 border-bottom: none;
 position: relative;
 height: 950px;
 text-align: left;
}

#heading, #main_nav, #main_content {
 width: 100%;
 background-color: #ffffff;
}

#heading {
 background-color: #ffffff;
 padding-top: 15px;
 padding-bottom: 15px;
 text-align: left;
}

#body #heading h1 {
 background-image: url('/immagini/ricambi-motori-isoflux.jpg');
 background-repeat: no-repeat;
 width: 400px;
 height: 50px;
 text-indent: -9999px;
 text-align: left;
 position: relative;
}

#secondary_nav ul li h2, #secondary_nav ul li {
 display: block;
 height: 150px;
 float: left;
 text-indent: -9999px;
 background-color: #ffffff;
}

#ricambi-servomotori-abb {
 position: absolute;
 left: 470px;
 background-image: url('/immagini/foto1.jpg');
 background-repeat: no-repeat;
 margin-left: 9px;
 width: 192px;
}

#ricambi-selimar {
 background-image: url('/immagini/foto2.jpg');
 background-repeat: no-repeat;
 margin-left: 9px;
 width: 466px;
}

#ricambi-digivector {
 position: absolute;
 left: 670px;    
 background-image: url('/immagini/foto3.jpg');
 background-repeat: no-repeat;
 margin-left: 9px;
 width: 106px;
}

#main_nav {
 position: absolute;
 top: 235px;
 text-align: left;
 height: 50px;
 margin-left: 10px;
 margin-right: 10px;
 width: 780px;
 background-image: url('/immagini/barra_orizzontale.gif');
 background-position: 10px 25px;
 background-repeat: repeat-x;
}

#main_nav ul li, #main_nav ul li h3 {
 display: inline;
 padding-left: 12px;
 padding-right: 12px;
}

#main_nav ul li {
 border-right: 2px solid #555555;
}

#main_nav ul li#first {
 padding-left: 0px;
}

#main_nav ul li#first h3 {
 padding-left: 9px;
}

#main_nav ul li#last {
 border: none;
}

#main_nav a {
 color: #b31111;
 text-decoration: none;
 font: 13px/20px "Trebuchet MS","Lucida Grande", Lucida, sans-serif;
}

#main_nav a#here {
 color: #218913;
}

#main_nav a:hover {
 color: #333333;
 text-decoration: underline;
}

#main_content {
 top: 290px;
 width: 560px;
 position: absolute;
 margin: 10px;
}

#main_content span, #main_content div {
 display: block;
 margin-bottom: 1.4em;
 font-size: 1em;
 line-height: 1.3em;
 text-align: justify;
}

#main_content strong {
 font-weight: bold;
}

#main_content ul li {
 display: inline;
}

#main_content ul {
 display: inline;
}

#main_content h4 {
 margin-bottom: 20px;
}

#main_content img {
 float: left;
 margin: 5px 10px 5px 0px;
 border: 1px solid #555555;
}

#marchi {
 position: absolute;
 top: 300px;
 left: 590px;
}

#marchi h4 {
 text-indent: -9999px;
 width: 200px;
 height: 55px;
 background-repeat: no-repeat;
}

#servomotori-abb {
 background-image:url('/immagini/servomotori-abb.png');
}

#servomotori-poletti {
 background-image:url('/immagini/servomotori-poletti.png'); 
}

#brushless-servomotors {
 background-image:url('/immagini/brushless-servomotors.png');
 height: 65px!important; 
}

#servomotori-isoflux {
 background-image:url('/immagini/servomotori-isoflux.png');
  height: 65px!important; 
}

#servomotori-acom-line {
 background-image:url('/immagini/servomotori-acom-line.png');
 height: 90px!important; 
}

#dc-servomotors {
 background-image:url('/immagini/dc-servomotors.png');
 height: 75px!important; 
}

#bottom_navigation {
 position: absolute;
 border-top: 1px dashed #5d5d5d;
}

#bottom_navigation {
 background-color: #dddddd;
 width: 800px;
 height: 80px;
 top: 890px;
 text-align: center;
}

#bottom_navigation ul {
 margin: 5px auto 5px auto;
 width: 790px;
 font-size: 0.9em;
}


#bottom_navigation ul li {
 display: inline;
 margin-left: 5px;
 padding-right: 5px;
 border-right: 1px solid #b31111;
}

#bottom_navigation h5 {
 display: inline;
}

#bottom_navigation li.last {
 padding-left: 400px;
}

#bottom_navigation a {
 color: #b31111;
 text-decoration: none;
}

#bottom_navigation a:hover {
 color: #333333;
 text-decoration: underline;
}

#bottom_navigation li.last {
 border-left: none!important;
}
