/* base layout */
html, body {
    height:100%;
}
body {
    font: normal 11px Arial, Helvetica, sans-serif;
    color: #272727;
}
a:link, a:visited {
    color:#272727;
}
p {
    margin:10px 0px;
}

#header, #content {
    width: 938px;
    overflow: hidden;
}
#main0 {
    position:relative;
    min-height:100%;
    height:auto !important;
    height:100%;
    background:url(/data/img/bg.jpg);
}
#main01 {
    width:998px;
    margin:0 auto;
    background:url(/data/img/shadow_r.jpg) right top no-repeat;
}
#main02 {
    background:url(/data/img/shadow_l.jpg) 15px repeat-y;
}
#main03 {
    background:url(/data/img/shadow_lt.jpg) 15px top no-repeat;
}
#main2 {

    position:relative;
    width:938px;
    margin:0 auto;
    background:url(/data/img/bg_main.jpg) repeat-y;
}
#main1 {
    position:relative;
    /*background:url(/data/img/bg_line.png) left repeat-y;*/
}
#top {
    width:938px;
    height:28px;
    margin:0 auto;
    background:url(/data/img/bg_top.jpg) repeat-x;
}
    #top2 {
        height:28px;
        background:url(/data/img/bg_top_l.jpg) left no-repeat;
    }
        #top3 {
            height:28px;
            background:url(/data/img/bg_top_r.jpg) right no-repeat;
        }

/* misc */
input, select, textarea {
    outline:none;
    overflow:visible;
}
.overflow {
    overflow:hidden;
    zoom:1;
}
.clear {
    clear:both;
}
.left {
    float:left;
}
.right {
    float:right;
}
.text_right {
    text-align:right;
    margin-right: 17px;
}
.text_left, .search_res .text_left {
    padding:0px 8px;
    text-align:left;
}
.text_center {
    text-align:center;
}
.red {
    color:#f00;
}
.bold {
    font-weight:600;
}

/* == header ===================================== */
#header {
    background: url(/data/img/bg-header.jpg) no-repeat top right;
    height: 73px;
}
#tel {
    font: 21px "Times New Roman", Times, serif;
    text-align: center;
    color: white;
    width: 226px;
    float: left;
    /*margin-right: 75px;*/
    padding-top: 10px;
}
.telcod {
    font-size: 15px;
}

/* top menu */
/*#menu ul, #submenu ul{
    list-style-type: none;
}

#menu li {
    display: inline;
}*/
#menu table {
    width:705px;
    height:73px;
}
#menu td {
    text-align:center;
}
#menu a {
    display: block;
    /*float: left;*/
    padding: 32px 0px 26px;
    color: #dddddd;
    font-weight: bold;
    height: 15px;
}
    #menu a:hover {
        background: #595959 url(/data/img/bg-header-menu-select.jpg) repeat-x top left;
        text-decoration: none;
    }
    #menu a.active {
        background: #262626 url(/data/img/bg-header-menu-active.jpg) repeat-x top left;
        text-decoration: none;
    }


/* div content */
#content {
    background:#fff url(/data/img/bg_sidebar.jpg) left repeat-y;
    clear: both;
}
#content2 {
    background:url(/data/img/bg-maincol.jpg) repeat-y right;
}
#logo {
    padding-bottom: 29px;
    text-align: center;
    color: white;
    background:url(/data/img/bg_main.jpg);
}
#sidebar {
    width: 220px;
    float: left;
    text-align: center;
    /*background: #fff url(/data/img/bg_sidebar.jpg) left repeat-y;*/
}
    #sidemenu {
        padding-top:5px;
        /*background:#fff;*/
    }
        #submenu {
            margin: 0 17px 0 19px;
            text-align: left;
        }
            #submenu p {
                font-size: 12px;
                margin: 0 0 5px 0;
                text-align: center;
            }
            #submenu ul {
				padding:0px;
				margin:0px;
			}
            #submenu li {
                background: #373737 url(/data/img/bg-submenu.jpg) repeat-y top left;
                margin: 4px 0px 4px 0px;
                font-weight: normal;
				list-style-type:none;
            }
                #submenu li:hover {
                    background: #202020 url(/data/img/bg-submenu-select.jpg) repeat-y top left;
                }
                #submenu li.active {
                    background: url(/data/img/bg-submenu-active.jpg) repeat-y top left;
                }
            #submenu a {
                display: inline-block;
                /*position: relative;*/
				width:154px;
                padding-right:3px;
                background: url(/data/img/submenuurl.gif) no-repeat 10px 11px;
                padding: 6px 0 6px 27px;
                /*margin-left: 10px;*/
                color: white;
                text-decoration: none;
            }
                #submenu a#bask {
                    background: url(/data/img/submenu-bas.gif) no-repeat left;
                    padding: 6px 0 6px 20px;
                    margin-left: 7px;
                }
                #submenu a:hover {
                    
                }
    #login_block {
        position: relative;
        padding: 15px 17px 15px 19px;
    }
    input.emptyF {
        color: #C0C0C0;
    }
    .i {
        position:relative;
        margin:4px 0px 0px 8px;
        *margin:4px 0px 0px 0px;
        width:166px;
        height:19px;
        line-height:17px;
    }
        .i label {
            width:154px;
            padding-left:12px;
            z-index:2;
            color:#a6a6a6;
            text-align:left;
        }
         .i input {
			width:154px;
			padding-left:10px;
            border:1px solid #8f8f8f;
            z-index:1;
        }
        .i label, .i_input {
            height:17px;
            left:0;
            line-height:17px;
            position:absolute;
            top:0;
        }
        .i a {
            padding-right: 5px;
        }
        .i a, .i a:visited {
            color:#000;
        }

input.btn {
    height:22px;
    background:url(/data/img/bg_btn.gif) repeat-x;
    border:1px solid;
    border-color:#3e3e3e #373737 #4a4a4a;
    color:#fff;
    font-weight:bold;
    padding: 0px;
    font-size: 12px;
}
#login_btn {
    width: 164px;
    position: relative;
}
h5.min_header {
    color:#676767;
    font-weight:600;
}
#news {
    width: 180px;
    padding-top: 5px;
    padding-left: 5px;
}
    #news h5 {
        color: #676767;
        text-align: center;
        font-weight: bold;
    }
    .newsItem {
        font-size: 13px;
    }
    .newsItem2 {
		margin:5px 0;
        font-size: 13px;
    }
    .newsDate {
        color: white;
        background-color: #5d5d5d;
        padding: 1px;
        font-size: 11px
    }
    /* .newsHeader {
        text-decoration: underline;
    } */
    #news a.allnews:link, #news a.allnews:visited {
        color: #959595;
    }
    
/* == search =========================== */
#index_text {
    width: 480px;
	text-align:justify;
}
#maincont #bigform {
    width: 480px;
    background-color: #e7ebec;
    text-align: center;
    margin-top:42px;
}

#maincont #bigform a {
    text-decoration:none;
}

#maincont #bigform a: hover {
    text-decoration:underline;
}
#maincont_second #bigform {
    width: 657px;
    margin-bottom:20px;
    background-color: #e7ebec;
    text-align: center;
}
.formhead {
    display: block;
    width:33%;
    text-align:center;
    padding: 6px 0px;
    float: right;
    background-color: #363636;
    font-weight: bold;
    /*margin-bottom: 25px;*/
    font-size:12px;
}
/*#maincont_second .formhead {
	width:219px;
}*/
    .formhead a:link, .formhead a:visited {
        color: #fff;
    }
#formheadsel{
    /*width:34%;*/
    background-color: #e7ebec;
    color: #6a6a6a;
}
    #bigform div.inputs {
        width:49%;
        height: 20px;
        float:left;
        padding: 5px 0px;
        font-size: 13px;
        text-align: left;
        margin:0px;
    }
    #bigform div.inputs_long {
       /* width:49%;*/
        height: 20px;
        /*float:left;*/
        padding: 5px 0px;
        font-size: 13px;
        text-align: left;
        margin:0px;
    }
	#bigform #parts_request div.inputs{
		height:auto;
	}
		#bigform div.inputs .error
		{
            color: #f00;
        }
        #bigform div.inputs select {
            float: left;
            width: 164px;
        }
		#bigform div.inputs_long select {
            float: left;
            width: 300px;
        }
        #bigform div.inputs input, #bigform div.inputs_long input {
            float: left;
            width: 120px;
        }
    #bigform label {
        float: left;
        width: 60px;
        padding-left: 10px;
    }
		#bigform div.inputs_long label {
			float: left;
			width: 150px;
			padding-left: 10px;
		}
    #bigform label.long {
        font-size:13px;
        width:180px;
    }
#bigform #selyear {
    width: 74px;
    margin-right: 100px;
}
#number_search {
    clear: left;
    padding: 7px 13px;
	/*margin-top:20px;*/
    background-color: #c6cacb;
    color: #505050;
    font-size: 13px;
    margin-top:150px;
}
    #bigform #number_search input {
        width: 90px;
        margin-right: 10px;
        float:none;
    }
#bigform input[type="text"], textarea, select {
    border: 1px solid #919191;
}
#submit {
    cursor: pointer;
}
#submit, #order {
    width: 275px;
    margin: 8px;
}
.send_order  {
    width: 275px;
    margin: 8px;
}
#checkboxes {
    width:200px;
    float:right;
    text-align:left;
}
    #checkboxes label {
        float:none;
        padding-right:10px;
    }
#request_text {
    width:647px;
    height:115px;
}
/* ============ */
textarea      { height: 60px; }
input[type=text], input[type=password], input.text, input.title, textarea, select { 
	background-color:#fff; 
	border:1px solid #bbb; 
}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus { 
	border-color:#666; 
}

/*input[type="text"]:focus { background-color: #e7ebec; }*/

/* == search results ============== */
.search_res {
    width:100%;
    border-bottom:#dbdbdb 4px solid; 
}
    .search_res th {
        padding:4px 0px;
        text-align:center;
        font-weight:400;
        background:#707070;
        color:#dedede;
        border-right:#d0d0d0 1px solid;
    }
    .search_res td {
        padding:4px 0px;
        text-align:center;
        background:#fff;
        border-right:#d0d0d0 1px solid;
    }
input.quantity {
    width:22px;
}
.zakaz {
	margin-bottom:15px;
}
.pad2 {
	margin-top:10px;
}
.pad2 td {
	padding:2px;
}
    
/* content's block */
#maincol1 {
    position:relative;
    width: 718px;
    float:left;
    background:url(/data/img/bg-maincol.jpg) repeat-y right;
}
#maincol2 {
    position:relative;
	min-height:229px;
	_height:229px;
    padding:7px;
    background:url(/~data/img/bg-maincol-top.jpg) no-repeat top left;
}

/* index car */
#maincar {
    position:relative;
    width:704px;
    height:219px;
    margin-bottom:30px;
}
#maincont {
    margin-right: 30px;
	font-size:12px;
}
#maincont_second {
	width:657px;
    padding: 15px 30px 10px 17px;
	font-size:12px;
}


/* brands */
#cars {
    clear: both;
    padding: 20px 0 5px 6px;
    margin-right:6px;
    background: #fff url(/data/img/bg_sidebar.jpg) left repeat-y;
}
#inner_cars {
    clear: both;
    border-top: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
    text-align: center;
}

/* contacts */
.contact_table {
    width:415px;
    line-height:16px;
}
.contact_title {
    width:135px;
    height:24px;
    color:#636363;
    background: url(/data/img/bg_contact.jpg) right 12px repeat-x;
}
.contact_title span {
    background: #fff;
    padding-right:2px;
}
.contact_table img {
    margin-right:25px;
}

/* == footer ======================================== */
#footer {
    padding:16px 50px;
    color:#a9a9a9;
    /*background:url(/data/img/bg_footer_right.jpg) right repeat-y;*/
}
    #footer a, #footer a:visited {
        color:#a9a9a9;
    }
    
/* ======================== */
h1 {
    font-size:21px;
    margin-bottom:15px;
}
h2 {
    font-size:18px;
}
h3 {
    font-size:15px;
}
h4 {
    font-size:14px;
}
h5 {
    font-size:12px;
}
h6 {
    font-size:10px;
}

#link_block {
	padding:5px 20px 20px 25px;
	text-align:left;
	color:#959595;
}
#link_block h1 {
	margin-bottom:8px;
	font-size:11px;
}
#link_block a:link, #link_block a:visited {
	color:#959595;
}

.border_div {
	font-size:1px;
	height:2px;
	margin:2px 0px 5px;
	background-color:#E7E7E7;
}
.brands_img {
	display:block;
	float:left;
	margin-right:15px;
}

/* ruslan */
.empty, .loading
{
    text-align: center;
    display: none;
}
#search_res
{
    display: none;
}
#order
{
    cursor: pointer;
}

#search_res .searchpages
{
    display: none;
    text-align: center;
    font-size: 12px;
    margin-bottom: 10px;
}
#search_res .searchpages span
{
    color: #3B3B3B;
    margin: 0 5px;
    padding: 3px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}
#search_res .searchpages span.active
{
    text-decoration: none;
    color: #717171;
}
.to_basket
{
    cursor: pointer;
}
.btn
{
    cursor: pointer;
}
#links
{
    font-family: Verdana,Geneva,Arial,Helvetica,sans-serif;
    text-align: center;
}
#links a, #links span
{
    font-size: 12px;
    padding: 3px 5px;
}
#links span
{
    font-size: 10px;
    color: gray;
}
#links span.active
{
    color: black;
    font-weight: bold;
}
#links a:hover
{
    background: #434343;
    color: white;
}
#links .navi
{
    font-size: 10px;
}
.pages a {
	margin:0 5px;
	padding:3px;
}
#fb_link
{
    text-align: center;
    padding-bottom: 8px;
}
#carform a {
    text-decoration:none;
}
#carform a: hover {
    text-decoration:underline;
    color:#000000;
}
