html, body
{
    height: 100%;
}

body
{
    color: #333;
    line-height: 17px;
    margin: 0;
    padding: 0;
}

form
{
    display: inline;
}

img
{
    border-width: 0;
}

a:link
{
    color: darkorange;
}

a:visited
{
    color: darkorange;
}

a:hover
{
    color: darkorange;
    text-decoration: none;
}

a.gray:link
{
    color: #CCCCCC;
}

a.gray:hover
{
    color: #FCA02C;
}

a.gray:visited
{
    color: #CCCCCC;
}

h1, h2, h3, h4
{
    padding: 0;
    margin: 0;
}

h1
{
    font-size: 140%;
    font-weight: normal;
    margin-bottom: 1em;
    line-height: 130%;
}

h2
{
    font-size: 130%;
    margin-bottom: 1em;
    line-height: 130%;
}

.frame
{
    margin: 5px 0 0 0;
}

.h,
.f
{
    /*border-style: solid;*/	
    border-color: #F7CF1F;
}

.h
{
    border-width: 0 0 2px 0;
    margin-bottom: 0px;
}

.h td
{
    font: normal 8pt Tahoma;
}

.f
{
    border-width: 2px 0 0 0;
    margin-bottom: 50px;
}

.f td
{
    font: 70% Tahoma;
    color: #898989;
    padding: 35px 49px;
}

.logo{
	padding-bottom: 20px;
}

.logo div
{
    color: #CCC;
    margin-top: 7px;
}

.logo img
{
    float: left;
    margin-right: 20px;
}

.logo h3
{
    font: bold 140% Arial;
    text-transform: uppercase;
}

.logo h3 a
{
    color: #000;
}

.topmenu
{
    color: #CCC;
    margin-top: 12px;
}

.nomatter
{
    color: #CCC;
}

.m1
{
    margin-bottom: 10px;
	text-align: right;
}

.m1 a
{
    margin-left: 25px;
}

.m1 a.gray
{
    font-size: 9px;
    position: relative;
    top: -1px;
}

.m1 a.gray:hover
{
    color: #CCC;
}

.m1 a i
{
    background: url('/files/images/home.gif') no-repeat;
    padding-right: 14px;
    text-decoration: none;
}

.logo .m2
{
    /*margin-top: 26px;*/
    width: 100%;
    clear: both;
    height: 44px;
}

.m2 img
{
    margin-right: 0;
    margin-top: 15px;
}

.m2 img,
.m2 .sep
{
    float: right;
}

.m2 .sep
{
    font-size: 0;
    width: 10px;
    height: 25px;
    border-style: solid;
    border-color: #CCC;
    border-width: 0 1px 0 0;
    margin-right: 9px;
}

.m3
{
    height: 55px;
    background: #F7AD00 url('/files/images/menu2fon.gif') no-repeat;
    padding: 25px 0 0 33px;
}

.m3 td
{
    border-style: solid;
    border-color: #F9D94D;
    border-width: 0 1px 0 0;
    padding: 0 11px 0 12px;
}

.m3 td.l
{
    border-width: 0;
}

.c
{
    font-size: 80%;
    margin: 35px 49px 0 49px;
}

.more
{
    background: url('/files/images/more1.gif') no-repeat 0 3px;
    padding: 0 0 0 14px;
    display: block;
    float: left;
}

.ban1
{
    margin-top: 42px;
}

.ban1 .sep
{
    font-size: 0;
    border-width: 0 1px 0 0;
    border-style: solid;
    border-color: #E2E2E2;
    width: 1px;
    height: 63px;
    margin: 0 25px;
}

.clear
{
    font-size: 0;
    width: 100%;
    clear: both;
    background-color: #FFF;
}

.m4
{
    color: #898989;
    margin: 42px 0 50px 0;
    width: 100%;
}

.m4 .label
{
    color: #414B55;
}

.m4 a:link
{
    color: #898989;
    white-space: nowrap;
}

.m4 a:visited
{
    color: #898989;
    white-space: nowrap;
}

.m4 a:hover
{
    color: darkorange;
}

.rcol
{
    font-size: 80%;
}

.rcol .news
{
    margin-top: 35px;
}

.rcol .news .item
{
    margin-bottom: 25px;
}

.rcol .news .date
{
    font-weight: bold;
    margin-bottom: 3px;
}

.rcol .news a
{
    color: #898989;
}

.rcol .news a:visited
{
    color: #898989;
}

.lcol .news .item
{
    margin-bottom: 25px;
}

.lcol .news .date
{
}

.minor .lcol
{
    background: url('/files/images/type_fon.png') repeat-y top right;
}

.ban2
{
    background: url('/files/images/ban1t.jpg') no-repeat top right;
    height: 48px;
    margin-top: 50px;
    padding: 94px 0 0 32px;
}

.ban3
{
    background: url('/files/images/ban2t.jpg') no-repeat top right;
    height: 38px;
    margin-bottom: 31px;
    padding: 104px 0 0 32px;
    clear: both;
}

.ban2 .more,
.ban3 .more
{
    font: 85% Tahoma;
    background-position: 0 1px;
}

.ban_sep
{
    font-size: 0;
    width: 240px;
    height: 1px;
    border-style: solid;
    border-color: #DBDBDB;
    border-width: 0 0 1px 0;
    margin: 5px 0 31px 0;
    float: right;
}

.m5
{
    font-size: 80%;
    text-align: right;
    padding: 9px 15px 9px 45px;
    border-style: solid;
    border-color: #F7CF1F;
    border-width: 0 0 2px 0;
    float: right;
}

.m5 a:link
{
    color: #333;
    text-decoration: none;
}

.m5 a:visited
{
    color: #333;
    text-decoration: none;
}

.m5 a:hover
{
    color: darkorange;
}

.m5 .selected
{
    font-weight: bold;
}

.models
{
    width: 100%;
    clear: both;
}

.models .item
{
    width: 124px;
    height: 85px;
    float: left;
    margin: 0 26px 26px 0;
}

.models .item,
.models .item div
{
    overflow: hidden;
}

.models .photo
{
    width: 122px;
    height: 60px;
    border-style: solid;
    border-color: #FFF;
    border-width: 1px 1px 0 1px;
}

.models .item.highlight .photo
{
    border-color: #E2E2E2;
}

.models .title
{
    font: bold 8pt Tahoma;
    color: #414B55;
    text-align: center;
    background-color: #E2E2E2;
    height: 22px;
    padding-top: 5px;
}

.models img.top
{
    margin-top: -84px;
}

.spec
{
    border-collapse: collapse;
}

.spec,
.spec td
{
    border-width: 1px 0;
    border-style: solid;
    border-color: #EAEAEA;
}

.spec .head td
{
    font-weight: bold;
    border-color: #8C8C8C;
    border-style: solid;
    border-width: 0 0 1px 0;
    padding: 14px 4px 6px 4px;
}

.spec td
{
    padding: 4px 6px;
}

.spec tr.price td
{
    background-color: #FCD452;
}

.spec tr.color td
{
    background-color: #F5F5F5;
}

.spec td,
.spec input,
.spec select
{
    font: normal 8pt Tahoma;
}

.spec select
{
    margin-top: 4px;
}

.plus
{
    font: bold 14px Arial;
    color: #FBC000;
}

.minus
{
    font: bold 14px Arial;
	color: #B7B7B7;
}

.slideshow
{
    width: 700px;
    height: 250px;
    overflow: hidden;
}

.slideshow .top
{
    position: absolute;
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
    z-index: 2;
}

.form th,
.form td
{
    padding-bottom: 15px;
}

.form th
{
    font-weight: normal;
    text-align: right;
    white-space: nowrap;
    vertical-align: top;
    padding-top: 2px;
    padding-right: 10px;
    width: 5%;
}

.star
{
    font: bold 8pt Verdana;
    color: red;
    margin-right: 2px;
}

div.msg
{
	padding: 15px;
	border-style: solid;
	border-width: 2px;
	margin-bottom: 20px;
}

div.msg.done
{
	background: #C5EFAE;
	border-color: #A9DD70;
}

div.msg.error
{
	background-color: #FFAFAB;
	border-color: #F91E3E;
}

.longtext
{
    width: 97%;
}

.lineview
{
    width: 250px;
    height: 330px;
    overflow: hidden;
    position: relative;
}

.lineview .item
{
    font: bold 8pt Arial;
    height: 109px;
    background-repeat: no-repeat;
    background-position: 94px 17px;
}

.lineview .title
{
    color: #555555;
    text-align: right;
    padding-top: 22px;
    width: 110px;
    position: relative;
    z-index: 1;
}

.lineview .price
{
    position: relative;
    margin-top: -107px;
    z-index: 2;
}

.lineview .price div
{
    margin-top: 14px;
    color: #FFF;
    background-color: #FF9E28;
    padding: 3px 9px;
    float: right;
}

.lineview .cover
{
    position: absolute;
    z-index: 4;
}

.lineview .car
{
    padding: 17px 0 0 94px;
}

.lineview .sep
{
    font-size: 0;
    border-color: #E7E7E7;
    border-style: solid;
    border-width: 0 0 1px 0;
    margin-left: 9px;
}

.lineview .top
{
    background: url('/files/images/top.png') repeat-x;
}

.lineview .bottom
{
    background: url('/files/images/bottom.png') repeat-x;
}

.lineview .top,
.lineview .bottom
{
    display: none;
    position: absolute;
    cursor: pointer;
    width: 250px;
    height: 30px;
    z-index: 5;
}

.transparent
{
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

.lineview .bottom
{
    margin-top: 300px;
}

.comment
{
    font-style: italic;
    color: gray;
}

.table
{
	border-collapse: collapse;
}

.table, .table td, .table th
{
	border: solid 1px #E0E0E0;
}

.table td, .table th
{
	padding: 5px;
	text-align: left;
}

.table th
{
    background-color: #f0f0f0;
}

.lcol .news .date
{
    font: normal 8pt Tahoma;
    color: gray;
}

.available .title
{
    font-size: 110%;
    font-weight: bold;
    margin-bottom: 0.2em;
}

.available td
{
    padding-bottom: 20px;
}

.accessories h3
{
    font-size: 110%;
    font-weight: bold;
    color: darkorange;
    padding: 1.5em 0;
    clear: both;
}

.accessories p
{
    margin: 0;
    padding: 0;
}

.accessories .text
{
    float: left;
    width: 80%;
    clear: right;
}

.accessories .media
{
    float: left;
    clear: left;
    margin-right: 20px;
}

.accessories .separator
{
    font-size: 0;
    border-color: #E2E2E2;
    border-style: solid;
    border-width: 0 0 1px 0;
    margin: 0 0 20px 0;
    width: 100%;
    height: 20px;
    clear: both;
}

.accessories h4
{
    font-size: 100%;
}

.guestbook .name
{
	margin-bottom: 5px;
}

.guestbook .date
{
	color: #AAA;
}

.guestbook .answer
{
	margin-top: 8px;
	left: -8px;
	position: relative;
	background-color: #EEE;
	padding: 6px 8px 8px 8px;
}

.guestbook .item
{
	margin-top: 20px;
}

ul.thumblist
{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.thumblist li
{
    font: normal 8pt Tahoma;
    line-height: 130%;
    display: inline-block;
    margin: 0px 20px 30px 0px;
    position: relative;
    vertical-align: top;
    width: 130px;
    padding-top: 110px;
    overflow: hidden;
}

ul.thumblist img
{
    position: absolute;
    margin-top: -105px;
}

ul.thumblist .gray
{
    color: #CCC;
}

ul.thumblist.albums li
{
    border-style: solid;
    border-width: 1px;
    border-color: #EEE #CCC #CCC #EEE;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
}

h1 span
{
    margin-right: 2em;
}

.action
{
    font: normal 8pt Tahoma;
}

.action span
{
    margin-right: 1.3em;
}

p.action
{
    margin: 0.5em 0 0 0;
}

dl.comments,
dl.comments dt,
dl.comments dd
{
    margin: 0;
    padding: 0;
    width: 80%;
}

dl.comments dt
{
    font: normal 8pt Tahoma;
    color: #999;
}

dl.comments dd
{
    display: block;
    border-style: solid;
    border-color: #DDD;
    border-width: 0 0 1px 0;
    padding: 0.4em 0 1.2em 0;
    margin-bottom: 1.2em;
}

span.comments
{
    font-size: 7pt ;
    background: url('/files/images/comments.jpg') no-repeat;
    padding-left: 13px;
    margin-left: 3px;
}

/* Для модуля БУ автомобилей */
.list
{
  border-collapse: collapse;
  text-align: left;
}

.list td
{
  border-bottom: 1px solid gray;
  border-top: 1px solid gray;
  padding-left: 5px;
}

.list th {padding-left: 5px;}

.cardescr, .cardescr td {margin:0 0 0 5px; padding:0; border-spacing: 0;}
.cardescr td, .car td
{
  vertical-align: top;
  border-spacing: 0;
}
.cardescr hr {margin-bottom: 1px; margin-top: 1px;}
.cartitle
{
  font-weight: bold;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.carprice
{
    background-color: #FF9E28;
    border: 1px dashed;
    font-size: 18px;
    font-weight: bold;
    padding: 2px;
}

.credit{color: red; font-weight: bold; margin-top: 0;}
.itemhead {color: gray; font-weight: bold;}

.carimgmain{width: 309px;}
.carimgblock{width: 309px;}
.carimg{float: left;padding: 5px 3px 0 0;}

.filterform {}
.filterform table {margin-bottom: 15px;}
.filterform th {text-align:left;}
.filterform td {width:25%;}
.fl{float: left; margin: 6px 5px 0 0;}

.center {text-align:center;}
.l5 {margin-left: 5px;}

.selled td {text-decoration: line-through;}
.selledcaption {text-decoration: line-through; color:red; font-weight:bold;}

td.fielddescr{padding-top: 15px;}

#headblock{
	float: left;
    height: 80px;
    margin: 0;
    padding: 0 10px;
	border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-top: 1px solid black;
	width: 787px;
	color: #333333;
}

#headdecor{
background-color: red;
    float: left;
    height: 82px;
    width: 40px;
	margin: 0;
	background: url('/files/images/decor.png') no-repeat;
}

#headright{
	float: right;
    margin: 0;
}

.headgray{
	width: 260px;
}
