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;
    color: #504e4e;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
:focus {
    outline: 0;
}
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
html {
    height: 100%;
}
header, nav, section, article, aside, footer {
    display: block;
    position: relative;
}
body {
/*    font: 12px/18px Arial, Tahoma, Verdana, sans-serif;*/
    font-family: Calibri, "Times New Roman";
    font-size: 14px;
    width: 100%;
    height: 100%;
    background: black url('/i/background.jpg') repeat;
    color: #222;
}
a {
    color: #13578c;
    outline: none;
    text-decoration: underline;
    cursor: pointer;
}
a:hover {
    text-decoration: none;
}
p {
    margin: 5px 0 5px
}
img {
    border: none;
}
input {
    vertical-align: middle;
}
.cls{
    clear: both;
    line-height: 0;
    height: 0;
    outline: none;
    border: none;
}
.horline{
    height: 1px;
    line-height: 1px;
    display: block;
    border-top: dashed 1px #777;
    width: 99%;
    margin: 8px auto 8px auto;
}
#wrapper {
    width: 960px;
    padding: 0 76px;
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    box-shadow: 0 0 30px #aaa;
    background: #ffffff url('/i/wrapper_background.jpg') repeat;
    box-shadow: 0 0 15px #000;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
    height: 380px;
}
#logo{
    display: block;
    width: 470px;
    height: 41px;
    background: url('/i/logo.png') no-repeat;
    background-position: 0 0;
    margin: 34px 0 0 0;
    float: left;
    
    padding-top: 35px;    
    font-size: 21px;
    color: #707378;
    text-decoration: none;
}
/* contactsandstuff
**************************************************/
#contactsandstuff{
    float: right;
    width: 480px;
    margin: 25px 0 0 0;
    font-size: 19px;
    color:#504e4e;
    height: 100px;
}
#contactsandstuff a{        
    color:#504e4e;
    text-decoration: none;
}
#contactsandstuff a:hover, #contactsandstuff span{
    color: #13578c;
}
#header_brands, #header_contacts, #header_telephones{
    float: right;
}
#header_brands{
    width: 62px;
}
#brand_lexus{
    width: 40px; height: 25px;
    background: url('/i/lexus.png') no-repeat;
    margin-top: 6px;
}
#brand_toyota{
    width: 40px; height: 26px;
    background: url('/i/toyota.png') no-repeat;
    background-position: 5px 0;
    margin-top: 12px;
}
#header_contacts a, #header_contacts div, .tel{
    margin-top: 2px; 
}
#header_contacts{
    margin-right: 20px;
}
#telephone_icon{
    padding: 0 0 0 28px;
    background: url('/i/phone.png') no-repeat;
    background-position: 4px 1px;
    font-size: 18px;
    color: #adaeb0;
}
#address{
    display: block;
    padding: 0 0 0 28px;
    background: url('/i/address.png') no-repeat;
    background-position: 0 3px;
}
#mail{
    display: block;
    padding: 0 0 0 28px;
    background: url('/i/mail.png') no-repeat;
    font-size: 18px;
    background-position: 0 4px;
}
/* SLIDER
***************************************************/
#slider{
    width: 960px;
    border-radius: 10px;
    height: 253px;
    position: relative;
}
#slider a{
    text-decoration: none;
}
#carousel {
    margin: 0 auto;
    width: 100%;
    height: 253px;
    overflow: hidden;
}
#carousel .carousel_box {
    float: left;
    width: 960px;
    height: 253px;
}
#carousel_prev, #carousel_next{
    position: absolute;
    top: 110px;
    width: 22px;
    height: 40px;
    cursor: pointer;
    z-index: 1000;
}
#carousel_prev{
    left:20px;
    background: url('/i/slider_arrows_left.png') no-repeat;
}
#carousel_next{
    left:918px;
    background: url('/i/slider_arrows_right.png') no-repeat;
}
#carousel_prev:hover, #carousel_next:hover{
    background-position: 0 -40px;
}
/**************************************************
********* MENU */

/* MENU JQ */
#top_menu{
    height: 55px;
}
ul.dropdown ul, ul.dropdown{
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1000;
}
ul.dropdown li{
    margin: 0 !important;
    padding: 0 !important;
    background: #504e4e;
}
ul.dropdown a{
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
    color: white !important;
    text-transform: uppercase; 
}
ul.dropdown ul a{
    padding: 5px 0 !important;
    border-bottom: solid #ddd 1px;
}
ul.dropdown ul a.last{
    border-bottom: none;
}
ul.dropdown ul li{
    width: 140px !important;
    padding: 0px 10px 0px 10px !important;
}
ul.dropdown { position: relative; }
ul.dropdown li  { font-weight: bold; float: left; zoom: 1;}
ul.dropdown ul a:hover {color:#86a5be !important;}
ul.dropdown a:active {}
ul.dropdown li.hover, ul.dropdown li:hover { position: relative; }
ul.dropdown li.hover a { background-position: 0 -45px; }
/* 
        LEVEL TWO
*/
ul.dropdown ul { width: 160px; visibility: hidden; position: absolute; top: 100%; left: 0; }
ul.dropdown ul li { font-weight: normal; float: none; }

/* IE 6 & 7 Needs Inline Block */
ul.dropdown ul li a { width: 100%; display: inline-block; } 
/* 
        LEVEL THREE
*/
ul.dropdown ul ul { left: 100%; top: 0; }
ul.dropdown li:hover > ul { visibility: visible; }

.top_of_menu{
    height: 45px;
    line-height: 45px;   
    text-align: center;
    font-size: 16px;
    font-weight: normal !important;
}
/* this is bs but it doesn't work another way */
#menu_item_1{
    width: 159px;
    background: url('/i/menu1.jpg') no-repeat !important;
}
li.hover #menu_item_1, #menu_item_1.active{
    background-position: 0 -45px !important;
}
#menu_item_2{    
    width: 160px;
    background: url('/i/menu2.jpg') no-repeat !important;
}
li.hover #menu_item_2, #menu_item_2.active{
    background-position: 0 -45px !important;
}
#menu_item_3{
    width: 160px;
    background: url('/i/menu3.jpg') no-repeat !important;
}
li.hover #menu_item_3, #menu_item_3.active{
    background-position: 0 -45px !important;
}
#menu_item_4{
    width: 160px;
    background: url('/i/menu4.jpg') no-repeat !important;
}
li.hover #menu_item_4, #menu_item_4.active{
    background-position: 0 -45px !important;
}
#menu_item_5{    
    width: 160px;
    background: url('/i/menu5.jpg') no-repeat !important;
}
li.hover #menu_item_5, #menu_item_5.active{
    background-position: 0 -45px !important;
}
#menu_item_6{    
    width: 161px;
    background: url('/i/menu6.jpg') no-repeat !important;
}
li.hover #menu_item_6, #menu_item_6.active{
    background-position: 0 -45px !important;
}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
    width: 100%;
    padding: 0 0 100px;
    height: 1%;
    position: relative;
}
#middle:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}
.container {
    width: 100%;
    float: left;
    overflow: hidden;
}

#middle h1,#middle h2,#middle h3,#middle h4,#middle h5{
    line-height: 100%;    
    font-style: italic;
    color: #13578c;
}
#middle h1{
    font-size: 28px;
    margin: 15px 0 25px 0;
}
#middle h2{
    font-size: 24px;
    margin: 15px 0 25px 0;
}
#middle h3{
    font-size: 20px;
}
#middle h4{
    font-size: 16px;
}
#middle h5{
    font-size: 14px;
}
.container ul,.container ol{
    margin: 10px 10px 10px 20px;
    list-style: disc;
}
.container ol{
    list-style: decimal;
    list-style-type: decimal;
}
/* Content Top
-----------------------------------------------------------------------------*/
#content_top {
    padding: 0 5px 0 270px;
}
#slidebox{
    padding-bottom: 15px !important; 
}
.gallery_slide{
    float: left;
    text-decoration: none;
    margin: 0 21px 22px 0;
    cursor: pointer;
/*    box-shadow: 0 5px 5px #bbb;*/
    height: 145px;
}
.gallery_slide:hover{
/*    box-shadow: 0 5px 8px #999;*/
}
/* Content Bottom
-----------------------------------------------------------------------------*/
#content_bottom {
    padding: 0 270px 0 5px;
}
#path{
    margin: 0;
}
#path div{
    float: left;
}
#path a{font-size: 14px;color:#6b6868;text-decoration: none;}
#path a.active{
    text-decoration: underline;
}
#path a:hover{color: #13578c;text-decoration: underline;}
.rarrow{
    width: 16px; height: 18px;
    background: url('/i/rarrow.jpg') no-repeat;
    background-position: center 6px; 
}

/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
    float: left;
    width: 250px;
    margin-left: -100%;
    position: relative;
}
#sideLeft h3{
    margin: 15px 0 10px 0;
    font-size: 20px;
}
.gallery_in_list{
    display: block;
    font-size: 16px;
    margin-top: 5px;
    text-decoration: none;
}
.gallery_in_list:hover, .gallery_in_list.active{
    text-decoration: underline;
}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
    float: left;
    margin-right: -3px;
    width: 220px;
    margin-left: -241px;
    position: relative;
    z-index: 10;
}
#sideRight img{
    width: 214px; height: 145px;
    margin: 12px 0 0 0;
}
#sideRight .gallery_hl{
    margin: 10px 0 0 0;
    border-bottom: solid 2px #a6a6a6;
    height: 0px;
    line-height: 0px;
    width: 214px;
}
#to_gallery{
    color: #929495;
}
/* SEND_FORM */
#send_form td{
    padding: 8px 5px 5px 5px;
    font-size: 14px;
    color: #333;
    text-shadow: 1px 1px 0px white;
    vertical-align: top; 
}
#send_form input, #send_form textarea{
    width: 350px;
    margin-top: -3px;
}
#send_form textarea{
    resize:none;
    height: 160px;
}
#capcode{
    width: 60px !important;
}
#send_form div{
    color: #999;
    font-size: 12px !important;
    font-style: italic;
}
#send_btn{
    background: #13578c;
    color: white;
    font-size: 16px;
    border-top: solid #429bb9 2px;
    border-right: solid #0a2f4c 2px;
    border-bottom: solid #0a2f4c 2px;
    border-left: solid #429bb9 2px;
    cursor: pointer;
    padding: 0;
}
#send_btn:active{
    border-top: solid #035e7e 2px;
    border-right: solid #429bb9 2px;
    border-bottom: solid #429bb9 2px;
    border-left: solid #035e7e 2px;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
    width: 960px;
    margin: -80px auto 0;
    height: 70px;
    position: relative;
    padding-top: 10px;
    padding: 0 76px 0 76px;
    line-height: 170%;
}
#footer_left{
    float: left;
    width: 170px;
    height: 70px;
}
#footer_right{
    float: right;
    width: 620px;
    height: 70px;
    line-height: 150%;
}
#footer_right li{
    float: right;
    margin-left: 20px;
}


.chromeframe { margin: 0.2em 0; background: #D60000; color: white; padding: 0.5em; }
#no_slides{
    width: 960px;
    height: 253px;
    background: #504e4e;
    color: #eee;
    font-size: 18px;
    text-align: center;
    line-height: 253px;
}