body, h1{margin:0px; padding:0px;}
h1{color: #CC0000;}
body, table{font:10pt Arial, sans-serif;}
form{padding:0; margin:0;}
img{border:0;}

a{-moz-outline:0;}
/*a:link, a:visited{color:#1D47C0;}*/
/*a:visited{color:#5a2b8f;}*/
/*a:hover{color:#DC143C;}
*/
a:link, a:visited{color:#1547a1;}
a:hover{color:#e10000;}

.site_content { max-width:980px; _width:980px; }


.nodecor{text-decoration:none;}
.cur_def{cursor:default;}
.cur_hand{cursor:pointer;}
.nowrap, .nowrap * {white-space:nowrap;}

/* Падинги и спэйсеры */
.basediv{padding:10px 15px 10px 15px;}
.r-pad{padding-right:15px;}
.l-pad{padding-left:15px;}
.t-pad{padding-top:10px;}
.b-pad{padding-bottom:10px;}

.img-marg{margin-right:3px;}
.img_marg5{margin:1px 5px 1px 0;}

.divlist div{padding-bottom:2px;}

.spacer{margin:10px 0 0 0;font:0;}
.spacer5{margin:5px 0 0 0;font:0;}
.spacer20{margin:20px 0 0 0;font:0;}

.top_all * {vertical-align:top;}
.mid_all * {vertical-align:middle;}

/* замена HR'у */
.spacer_hr{margin:10px 0;border-top:1px solid #e5e5e5;font:0;height:0;}

/* Текстовые поля */
.int{text-align:right;}
.border input,.border select,input.border,textarea.border,select.border{border: 1px inset #D4D0C8;}
.flat input, input.flat{border: 1px solid #CDCDCD;}
.noborder input, input.noborder{border:0;}
.btn input, input.btn{border: 1px outset #D4D0C8;padding:3px;}
select, input, textarea{ font: 9pt Verdana, Arial, sans-serif; }
input, textarea{ padding: 1px 2px 1px 2px; }

input.colorbtn{
	background: #cce0f7 url(/images/btnbg2.png) repeat-x;
	border: 1px solid #6c91bb;
	color: #1b3655;
	padding: 3px;
	font-size: 8pt;
	height: 24px;
}

input.colorbtn_red{
	background: #ffd4cd url(/images/btnbg_red.png) repeat-x;
	border: 1px solid #e36d5a;
	color: #55221b;
	padding: 3px;
	font-size: 8pt;
	height: 24px;
}

/* Тестовые стили */

.caption{
	font-size: 12pt;
	font-weight: bold;
	margin-bottom: 5px;
}

.caption_s{
	font-size: 10.5pt;
	margin-bottom: 3px;
}

.small{font-size:8pt;}

.grayed{color:#AAA;}
.colored{color:#FF4500;}
.discount_cl{color:#333;}
.red_star{color:#EC0000;font-family:Verdana, sans-serif; }

a.nodecor,.nodecor:visited,.nodecor:hover{color:#000;text-decoration:none;}
.invs, .invs *{display: none;}

/* оформление таблиц */

.tbl_tset{border-top: 1px solid #CCC;}
.tbl_tset td{border-bottom: 1px solid #CCC; padding: 8px;}
.tbl_capt{background: #f5f5f5 url(/images/tbl_capt_bg.png) repeat-x;}

.tbl_simp td{
	/*padding:10px;
	padding-top:0;*/
	padding: 0 5px 10px 5px;
	border:0;
}

.tbl_none{border-collapse:collapse;}
.tbl_none, .tbl_none td{border:0;padding:0;}

.r-line{border-right:1px dashed #e5e5e5;}
.t-line{border-top:1px solid #e5e5e5;}

.info_frame{	
	padding:7px;
	border:1px dashed #e5e5e5;
	background:#fcfcfc;
}

div.alertmsg{
	/*font: 10pt Arial, Helvetica, sans-serif;*/
	background: #FFFFE1 url(/images/alert_ico.gif) no-repeat 5px 5px;
	border-bottom: 1px solid #e5e5a2;
	padding: 7px;
	padding-left: 38px;

}

div.donemsg{
	/*font: 10pt Arial, Helvetica, sans-serif;*/
	background: #eff6fe url(/images/done_ico.gif) no-repeat 5px 3px;
	border-bottom: 1px solid #d5e2f2;
	padding: 7px;
	padding-left: 38px;
}

#tooltip{
	background: #FFFAE8;
	border: 1px solid #666;
	font: 8pt Tahoa,sans-serif;
	margin: 0px;
	padding: 2px 4px;
	position: absolute;
	visibility: hidden;
}

/* Шапка сайта */

#top_menu{
	font: 10.2pt Tahoa,sans-serif;
	background: #000000;
	white-space:nowrap;
	float:left;
	margin:0px;
	padding:0px;
	text-transform:lowercase;
}

#top_menu a, #top_menu a:link{
	background:url(/images/top_menu_dark.png) repeat-x 0 -200px;
	color:#FFFFFF;
	display:block;
	padding:4px 10px;
}

#top_menu .selected a, #top_menu .selected a:link{
	background:url(/images/top_menu_red.png) #DD0000;
}

#top_menu .selected a:hover{
	background:#DD0000;
}

#top_menu a:hover{
	/*background:#666;*/
	background:url(/images/top_menu_dark.png) #666666;
}

#top_menu li{
	list-style:none;
	float:left;
	margin:0;
	/*margin-right:1px;*/
}

/* Путь до раздела */

#path_line{
	font-size:8pt;
	background:#f5f5f5;
	padding:7px 15px;
}


/* Ярлых с именем пользователя */

#login_label{
	float:right;
	padding:3px 8px;
	/*margin:0 10px;*/
	cursor:default;
	border:1px dashed #666;
}

#login_label a img{
	opacity: 0.85;
	filter: alpha(opacity=85);
}
#login_label a:hover img{
	opacity: 1;
	filter: alpha(opacity=100);
}
/*
#login_label:hover{
	background:#444;
}*/


/* Список автомобилей */

.auto_list{
	border-collapse: collapse;
}
.auto_list td{
	padding: 0;
	border: 0;
}

.auto_list td{
	padding: 8px;
	/*border-top: 1px solid #e5e5e5;*/
}

/* Список автомобилей - Шапка таблицы */

.auto_list thead th{
	border: 0;
	border-bottom: 1px solid #ebddc9;
	border-left: 1px solid #fff;
	padding: 8px;
	font-size: 8pt;
	font-weight: normal;
	text-align: center;
	background: #f8f1e7;
}

.auto_list thead .first{
	border-left:0px;
}

/* Список автомобилей - Разделители */

.auto_list tr.row_separator td{ padding:0; border:0; }
.auto_list tr.row_separator div{
	margin:1px 0;border-top:1px solid #e5e5e5;font:0;height:0;line-height:0;
}

.auto_list tr.body_line td{ padding:0; border:0; }
.auto_list tr.body_line div{ display:none; }

/* Список автомобилей - Выделение */

.auto_list .selected_row{
	background: #FFDEAD;
}
.auto_list .selected_row td{
	border: 1px solid #FF7F50;
	border-left:0;
	border-right:0;
}
.auto_list .selected_row td.first{
	border-left: 1px solid #FF7F50;
}
.auto_list .selected_row td.last{
	border-right: 1px solid #FF7F50;
	_border-right: 2px solid #FF7F50;
}


/* Главная - Список марок */

.brands_table{
	font-size:11pt;
	border-collapse: collapse;
	width: 100%;
}
.brands_table td{
	padding:0; border:0;
	width: 8em;
}

.brands_table a:link, .brands_table a:visited{
	display:block;
	_width:100%;
	padding: 2px 5px;
	/*padding: 1px 9px;
	border: 1px solid #FFFFFF;*/
}

.brands_table a:hover{
	background:#f5f5f5;
	/*border: 1px solid #fcc;*/
}


/* Главная - Новые авто */

.newauto{
	padding:3px 10px;
	border-left:1px solid #fde1ba;
	background:#FFFAE8;
	display:table;
	width:100%;
}

.newauto table{border-collapse:collapse;}
.newauto table td{border:0; padding:0;}

.newauto table{margin:0 7px;}
.newauto table td{padding-bottom:10px;}

.newauto .picture{ padding-right:7px; vertical-align:top; }
.newauto .picture img{ width: 55px; height: 55px; }

.newauto .card .no_image { /*  */ }

.newauto .title{ font-size: 14pt; }
.newauto .info{ margin-left:62px; }
.newauto span.price{ color:#ff5400; white-space:nowrap;}


/* Главная - Новости */

.news_block{
	float:right;
	margin-left:15px;
	width:600px;
}

.news_block .info{ font-size: 10pt; }
.news_block .title{ font-size: 14pt; }

.news_block .card img{
	width: 55px;
	height: 55px;
	float: left;
	margin-right: 7px;
}

.news_block .card .no_image{
	/*width: 55px;
	height: 55px;
	float: left;
	margin-right: 7px;
	_margin-right: 4px;*/
	display:none;
}

.news_block .card{
	margin-left: 7px;
	margin-right: 7px;
	margin-bottom: 18px;
	display: table;
	width:100%;
	clear:both;
}


.news_block_ex{
	float:left;
	margin-left:15px;
	width:600px;
}

.news_block_ex .info{ font-size: 10pt; }
.news_block_ex .title{ font-size: 14pt; }

.news_block_ex .card img{
	width: 55px;
	height: 55px;
	float: left;
	margin-right: 7px;
}

.news_block_ex .card .no_image{
	/*width: 55px;
	height: 55px;
	float: left;
	margin-right: 7px;
	_margin-right: 4px;*/
	display:none;
}

.news_block_ex .card{
	margin-left: 7px;
	margin-right: 7px;
	margin-bottom: 18px;
	display: table;
	width:100%;
	clear:both;
}



/* Список статей */

.documents_list{
	
}

.documents_list .info{
	margin-left:95px;
}
.documents_list .title{
	font-size: 11pt;
	margin-bottom:4pt;
}

.documents_list .card{
	margin-bottom: 12px;
	display: table;
	clear:both;
}

.documents_list .card img{
	width: 85px;
	height: 85px;
	float: left;
	margin-right: 10px;
}

.documents_list .card .no_image{
	width: 85px;
	height: 85px;
	float: left;
	/*background:#330066;*/
	margin-right: 10px;
	_margin-right: 7px;
}

/* Sidebar */
#sidebar {margin:0;}
#sidebar h3 {margin:0;padding:0 0 .6em 0}
#sidebar .item {margin:0 0 4em 0}
#sidebar ul{list-style:none;margin:0 0 1.6em 0;font-size:1em;}
#sidebar ul li a,ul.txt li{height:1%;background:url(/images/li.png) no-repeat  0;line-height:1.2em;border-bottom:1px solid #ccc;display:block;padding:6px 0 6px 8px;}
#sidebar ul li a:hover,ul.txt li:hover{background-position:1px 0.8em;background: #f5f5f5 url(/images/li-white.png) no-repeat 3px 10px;}
#sidebar ul li a span,ul.txt li,h4 a span{color:#696455;}
#sidebar ul li.active a{cursor:default;color:white;}
#sidebar ul ul{margin:0;list-style:none;}


.Site_HeaderFunctions_Label, .Site_HeaderFunctions_LabelLink
{
	border:1px solid #ddd;
	background-color:#FFF;
	
	margin-right: 10px;
	margin-left: 10px;
	
	padding:8px 5px;
	
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
}

