/***inner**/

.red {
	color: red;
}

#legend {
	background-color: #f8f6ed;
	border-top: 1px #bbb solid;
	padding-left: 20px;
	margin-top: 10px;
	font-family: Arial, sans-serif;
	font-size: 15px;
	color: #444;
	font-weight: 600;
	padding-top: 12px;
	height: 34px;
}

#home_button {
	background-color: #d00;
	padding: 10px 13px 10px 13px;
	width: 47px !important;
	height: 100% !important;
}
#home_button img{
	margin-top: 0px;
	border:0;
}

#legend img {
	padding: 0 3px 0 3px;
}

#legend a {
	color: #444;
}

#adv_table {
	width: 97%;
	font-family: Arial, sans-serif;
	font-size: 10pt;
	border-collapse: collapse;
	color: #ddd;
	margin: 0 20px 0 20px;
}

#adv_table .odd {
	background-color: #f8f5ec;
}


#adv_table .headerSortUp {
	background: #333 url('http://i.automarket.su/images/site/images/obs/red_up.gif') no-repeat 90% 12px; 
}
#adv_table .headerSortDown {
	background: #333 url('http://i.automarket.su/images/site/images/obs/red_down.gif') no-repeat 90% 12px; 
}

#adv_table a {
	color: #333;
}

#adv_table tr th {
	height: 20pt;
	border: 1px solid #ddd;
	background-color: #333;
	text-align: left;
	padding-left: 8pt;
	cursor: pointer;
}

#adv_table tr td {
	color: #333;
	font-weight: 600;
	border: 1px solid #ddd;
	height: 20pt;
	padding-top: 3pt;
	padding-left: 8pt;
}
#adv_table tr td a img{
	float: right;
	margin-top: 3pt;
	margin-right: 3pt;
}

#adv_table tbody{
	border: 2px 0 2px 0 #d00 solid;
}


#auto_desk {
	margin: 10px;
}

#auto_desk h2{
	font-size: 12pt;
	color: #333;
	margin-bottom: 0;
}

#auto_desk ul{
	list-style: none; 
	margin: 10pt 0 0 0; 
	padding-left: 0px;
}

#auto_desk ul li{
	margin: 0; 
	padding: 0 0 0 13px; 
	background: url('http://i.automarket.su/images/site/images/obs/rarrow_cyan.gif') no-repeat 0px 3px; 
	margin-bottom: .6em;
	font-size: 10pt;
	font-family: Arial, sans-serif;
}

#auto_desk ul li a {
	color: #74a7ba;
}

#auto_desk table tr td {
	vertical-align: top;
	width: 25%;
}

#auto_desk table{
	width: 100%;
}

.pageline {
	margin: 20px;
	font-size: 10pt;
}

.pageline a{
	color: #333;
	margin-right: 10px; 
}

.pageline a.selected {
	padding: 2px 8px 2px 8px;
	background-color: #d00;
	color: white;
}

#ads_count {
	background-color: #f8f5ec;
	border-left: 4px #d00 solid;
	padding: 15pt;
	width: 15%;
	margin-left: 20px;
	margin-top: 15px;
	font-size: 11pt;
	font-weight: 550;
}

#ads_count h2 {
	display: inline;
	
}

.redline {
	height: 3px !important;
	padding: 0 !important;
	margin: 0 !important;
	background-color: #d00;
	border: 1px #d00 solid;
}

#more_hot_messages {
	display: none;
}

#mhm_button {
	text-align: center;
	margin-top: 10px;
}
#mhm_button a{
	border-bottom: 1px dashed #74a7ba;
	color: #74a7ba;
	font-size: 10pt;
	text-decoration: none;
}

#mhm_button a img {
	border: 0;
}


#mhm_button hr {
	width: 25%;
	color: #bbb;
	background-color: #bbb;
	height: 1px;
	border: 0px;
}

div.button {
	height: 25px;	
	width: 260px;
	background: url(http://i.automarket.su/images/site/images/obs/but_long.png) 0 0;
	
	font-size: 14px;
	color: black;
	text-align: center;
	padding-top: 15px;
	cursor: pointer;
	font-weight: 550;
	font-size: 12pt;
	float: left;
}
div.button.hover {
	background: url(http://i.automarket.su/images/site/images/obs/but_long.png) 0 40px;
	color: white;
	
	cursor: pointer !important;
}

#searchform_buttons {
	margin-left: 20pt;
	margin-top: 30pt;
}

#searchform {
	margin: 0 20pt 20pt 20pt;
	border-top: 2px #d00 solid;
}

.sheet_view {
	font-size: 9pt;
}
.sheet_view tr td {
	padding-top: 5pt;
}

.sheet_view tr td input {
	border: 1px #bbb solid;
}


.noborder {
	border: 0 !important;
}


.sheet_view tr td select {
	border: 1px #bbb solid;
}

.sheet_view  tr td {
	vertical-align: top;
}

.sheet_view tr td textarea {
	border: 1px #bbb solid;
	color: #333;
	width: 400pt;
	height: 150pt;
}

#layer2 {
	display: none;
}

#layer1 {
	font-size: 9pt;
	font-weight: 550;
}

#card_images {
        
}

#but_add_new_ad img{
	border: 0;
}

#card_description {
  margin: 20pt;
}

.thumbs_pic {
  width: 298px;
}

#ad_sheet th{
  float: right;
}

#ad_sheet td{
  padding: 3pt 3pt 3pt 13pt;
}
#complainlayer {
  display: none;
  position: absolute;
  top: 30%;
  left: 20%;
  width: 500px;
  height: 350px;
  border: 1px #333 solid;
  padding: 30pt;
  background: white;
}

#complainlayer textarea{
  margin: 5px;
  width: 450px;
  height: 150px;
}

#complainlayer select {
  margin: 5px;
  width: 450px;
}

#complainlayer input {
	margin: 10px;
}

#but_complain_close {
	float: right;
}
