body {
    background-color: rgb(180,180,180);
    margin: 0;
    font-family: arial, helvetica, sans-serif;
    font-size: 84%;
}

img {
    border: 0;
    vertical-align: bottom;
}

form {
    margin: 0;
}

.centered {
    text-align: center;
}

.righted {
    text-align: right;
}

.top {
    vertical-align: top;
}

.no_wrap {
    white-space: nowrap;
}

.float_left {
    float: left;
}

.float_right {
    float: right;
}

.position_relative {
    position: relative;
}

.position_absolute {
    position: absolute;
}

.clear_both {
    clear: both;
}

.margin_auto {
    margin: auto;
}

.large {
    font-size: 150%;
    font-weight: bold;
}

.small {
    font-size: 90%;
}

.tiny {
    font-size: 80%;
}

.tiny_small {
    font-size: 75%;
}

.tiny_tiny {
    font-size: 40%;
}

.margin_main {
    margin-left: 155px;
}

.no_margin {
    margin: 0 !important;
}

.margin_no_pad {
    margin-left: -10px;
    margin-right: -10px;
}

.line_height_small {
    line-height: 50%;
}

.display_inline {
    display: inline;
}

.display_none {
    display: none;
}

a {
    color: rgb(0,0,150);
}

a:hover {
    color: rgb(204,0,0);
}

.link_highlighted {
    background: rgb(255,255,100);
}

h2 {
    font-size: 220%;
    color: rgb(0,0,140);
}

h3.redsub, .subhead {
    font-size: 120%;
    font-weight: bold;
}

.text_color_1 {
    color: rgb(0,0,140);
}

.text_color_2 {
    color: rgb(204,0,0);
}

.background_color_1 {
    background-color: rgb(220,220,220);
}

#background_color_2 {
    background-color: rgb(255,153,0);
    font-size: 90%;
    padding: 2px;
}

#background_color_2 h2 {
    display: inline;
    margin: 0;
}

.background_color_3 {
    background-color: rgb(255,255,180);
}

.border_style_1 {
    padding: 0 4px;
    border: 1px solid gray;
}

.td_padded td {
    padding: 0 7px;
}

#main {
    background: white;
    max-width: 1400px;
    min-width: 985px;
    margin: auto;
    background-image: url("images_2009/banner/bmw_driveshaft_nav_left_banner.gif");
    background-repeat: repeat-y;
    position: relative;
}

#breadcrumbs {
    color: white;
    position: absolute;
    top: 130px;
    margin-left: 10px;
    font-size: 90%;
}

#breadcrumbs a {
    color: white;
}

#banner {
    background-image: url("images_2009/banner/bmw_drive_shaft_banner_wide.jpg");
    background-repeat: no-repeat;
    background-position: top right;
    height: 150px;
}

#banner h1 {
    font-size: 100%;
    color: rgb(0,0,140);
    padding: 8px 0 0 5px;
    margin: 0;
}

#button_shipping {
    position: absolute;
    top: 0;
    right: 277px;
}

#banner_name {
    position: absolute;
    top: 9px;
    right: 7px;
}

#banner_left {
    position: absolute;
    top: 35px;
    left: 0;
}

.banner_photos {
    position: absolute;
    top: 52px;
}

#nav_left {
    color: white;
    float: left;
    width: 140px;
    margin-left: 10px;
    font-size: 90%;
}

/* RULES FOR LINKS ON LEFT */
#links_left {
    margin: 0 0 5px 0;
    padding: 2px 0;
    width: 135px;
    font-weight: bold;
    background: rgb(204,0,0);
}

#links_left ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background: rgb(204,0,0);
}

#links_left a {
    display: block;
    color: white;
    text-align: center;
    margin: 4px 0;
    padding: 4px 0 5px 0;
    background: none;
    width: 100%;
}

#links_left #not100 {
    display: inline;
}

#links_left li {
    position: relative;
    text-align: center;
}

#links_left li:hover {
    background: gray;
}

#links_left ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    display: none;
}

#links_left ul ul a {
    margin: 0;
}

#links_left ul li:hover ul {
    display: block;
    background: gray;
}

#links_left ul li:hover ul li:hover {
    background: silver;
}

#links_left .li_padded {
    margin: 4px 0;
    padding: 4px 0 5px 0;
    text-align: center;
    text-decoration: underline;
}

.links_main {
    background: rgb(204,0,0);
    text-align: center;
    padding: 2px 0 4px 0;
}

.links_main table {
    width: 100%;
}

.links_main td {
    padding: 0;
}

.links_main a {
    color: white;
    font-size: 90%;
    width: 100%;
    display: block;
}

.links_main a:hover {
    background: gray;
    text-decoration: none;
}

#main_text {
    margin-left: 155px;
    background: white;
    padding: 10px 10px 0 10px;
    color: black;
}

#table_catalog {
    font-size: 90%;
}

#table_catalog h2 {
    margin: 0;
    display: inline;
}

#table_catalog h3 {
    margin: 0;
    font-size: 150%;
    color: white;
    background-color: black;
}

/* RULES FOR DRIVESHFAT MODEL LIST THAT HAS FEW MODELS */
div.model_list_few {
    margin-bottom: 5px;
}

/* RULES FOR DRIVESHAFT MODEL LIST THAT HAS MANY MODELS */
div.model_list {
    display: inline;
    float: left;
    margin-right: 60px;
}

div.model_list div {
    margin-bottom: 5px;
}

/* div.model_list a, div.model_list_few a {
    background: silver;
    color: white;
    padding: 0 2px 1px 2px;
}

div.model_list a:hover, div.model_list_few a:hover {
    background: grey;
} */

div.driveshaft_results {
    border: 1px solid grey;
    margin: 0 0 10px 0;
    padding: 0;
}