html, body {
	height: 100%;
}
body {
	margin: 0px;
	font-family: Verdana, Tahoma, Arial, sans-serif;
	font-size: 12px;
	color: #646464;
}

a {
	color: #569ed1;
	text-decoration: underline;
}
a:hover {
	color: #77b2dc;
	text-decoration: none;
}
a.simple {
	color: #646464;
	text-decoration: none;
}

input.txt, select.txt, textarea.txt {
	font-family: Georgia, serif;
}

#main_containter {
	position: relative;
	min-height: 100%;
}

#head {
	width: 900px;
	height: 140px;
	margin: auto;
}

#logo {
	display: block;
	width: 172px;
	height: 82px;
	float: left;
	background: url('/img/logo.png') no-repeat;
	margin-left: 35px;
	margin-top: 20px;
}

#loginform, #user_data {
	display: block;
	float: right;
	text-align: right;
	margin-top: 10px;
}
#loginform input {
	margin-bottom: 5px;
}
#loginform input.txt {
	width: 180px;
}
#loginform .reglinks {
	clear: both;
	margin-bottom: 5px;
}
#loginform a {
	font-size: 9px;
}
#loginform label {
	font-family: Georgia, serif;
	font-style: italic;
	font-weight: bold;
	margin-right: 5px;
	vertical-align: middle;
}
#loginform input.btn {
	display: block;
	float: right;
	width: 70px;
}
#loginform div {
	clear: both;
}
#loginform div.login_error {
	padding-right: 10px;
	background: url('/img/slash_small.png') no-repeat right;
	color: red;
	font-size: 10px;
}

#reglink {
	background: url('/img/tick_small.png') no-repeat left;
	padding-left: 10px;
}
#rempass {
	background: url('/img/alert_small.png') no-repeat left;
	padding-left: 12px;
}
a.userlink, div.userlink {
	display: block;
	background: url('/img/user.png') no-repeat left;
	padding-left: 20px;
	font-weight: bold;
	height: 16px;
}
div.ads {
	display: block;
	background: url('/img/sticks.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
div.exit {
	display: block;
	background: url('/img/door_open.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
div.comments {
	display: block;
	background: url('/img/balloons.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
div.ad_name {
	display: block;
	background: url('/img/stick.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
	font-weight: bold;
}
div.ad_edit {
	display: block;
	background: url('/img/stick_pencil.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
	margin-bottom: 6px;
}
div.ad_close {
	display: block;
	background: url('/img/slash.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
div.ad_open {
	display: block;
	background: url('/img/tick_circle.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
div.user_edit {
	display: block;
	background: url('/img/user_pencil.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}
a.comment_add {
	display: block;
	background: url('/img/balloon_plus.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
	float: right;
	margin-bottom: 10px;
}
a.all_link {
	display: block;
	background: url('/img/arrow_right.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
}

label.comment {
	font-size: 10px;
}

div.error {
	margin: 30px;
	background: url('/img/alert.png') no-repeat left;
	padding-left: 20px;
	height: 16px;
	color: red;
}
div.error ul {
	list-style: none;
	padding-left: 8px;
	margin-left: 5px;
	border-left: 1px;
	border-right: 0px;
	border-top: 0px;
	border-bottom: 0px;
	border-style: solid;
	border-color: red;
}

#navigation_string {
	margin-bottom: 20px;
	font-size: 11px;
}

span.arr {
	font-size: 14px;
}

#check_login_info {
	font-size: 9px;
	font-style: italic;
	margin-bottom: 5px;
	height: 12px;
}
#check_login_info span.ok {
	color: green;
}
#check_login_info span.error {
	color: red;
}

a.ajax_link {
	text-decoration: none;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-bottom: 1px dashed #569ed1;
}
a.ajax_link:hover {
	color: #d687b0;
	border-color: #d687b0;
}

.loading {
	display: none;
	width: 12px;
	height: 12px;
	background: url('/img/loading.gif') no-repeat;
}

#login_loading {
	float: left;
}

#user_data {
	width: 250px;
	text-align: left;
}
#user_data {
	padding-left: 10px;
	padding-right: 10px;
	border: 1px solid silver;
	margin-top: -1px;
}
#user_data ul {
	width: 100%;
	list-style: none;
	padding: 0px;
}
#user_data li {
	margin-bottom: 5px;
}

#change_password {
	display: none;
}
.brace {
	float: left;
	width: 195px;
	background: url('/img/brace.png') no-repeat top right;
}
.brace div {
	margin-bottom: 8px;
}
.change_pass_comment {
	padding-top: 18px;
	font-size: 10px;
	font-style: italic;
}
.change_pass_comment span {
	margin-left: 5px;
}

#user_region {
	height: 40px;
}
#user_region select {
	font-size: 11px;
}

#region_loading {
	float: right;
}

#ads_form textarea {
	width: 400px;
	height: 200px;
}
#ads_form img {
	border: 1px solid silver;
}
#ads_form img.choose {
	border: 3px solid silver;
}
#ads_form img.choose:hover {
	border: 3px solid #4EB6E5;
}
#ads_form img.choose.active {
	border: 3px solid #D52A82;
}

#cabinet_table {
	margin-bottom: 30px;
}

#mainbox {
	clear: both;
	width: 900px;
	margin: auto;
}

#content {
	width: 650px;
	float: left;
	padding-bottom: 5em;
}

h1 {
	font-size: 24px;
	font-weight: normal;
}

#mainbox .text {
	padding-left: 25px;
	margin-bottom: 25px;
}

h2 {
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 12px;
	display: block;
	float: left;
	margin-top: 0px;
}
h2.main {
	display: block;
	float: left;
	padding-left: 26px;
	background: url('/img/cart.png') no-repeat left;
	margin-top: 0px;
	margin-bottom: 20px;
}

.add_adv {
	display: block;
	float: right;
	padding-left: 21px;
	background: url('/img/plus.png') no-repeat left;
	margin-bottom: 20px;
}

ul.list {
	clear: both;
	list-style: none;
}
ul.list li {
	padding-top: 2px;
	padding-bottom: 2px;
	clear: both;
}
ul.list a {
	display: block;
	float: left;
	padding-left: 22px;
	margin-right: 0px;
	padding-right: 0px;
	background: url('/img/folder.png') no-repeat left;
}

ul.section_choose {
	list-style: none;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px;
}
ul.section_choose li {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 0px;
	width: 200px;
}


span.active, .price {
	color: #d687b0;
}

.space {
	height: 20px;
}

table td.lbl {
	width: 150px;
	font-family: Georgia, serif;
	font-style: italic;
	font-weight: bold;
	text-align: right;
	padding-right: 10px;
}

table.ads_list th {
	font-family: Georgia, serif;
	font-style: italic;
}
table.ads_list td {
	text-align: center;
}
table.ads_list img {
	border: 1px solid silver;
}
table.ads_list .tr1 {
	background: #f4f8fb;
}
table.ads_list .tr2 {
	background: #ffffff;
}
table.ads_list .active {
	background: #fffcdf;
	cursor: pointer;
}
table.ads_list .closed {
	background: #ffe6e6;
	cursor: pointer;
}

div.ad_text {
	margin-top: 20px;
	margin-left: 30px;
	margin-bottom: 30px;
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-left: 1px;
	border-top: 0px;
	border-right: 0px;
	border-bottom: 0px;
	border-style: solid;
	border-color: silver;
}
table.ad img {
	border: 1px solid silver;
}
table.ad {
	width: 100%;
}

#add_comment_form {
	display: none;
	clear: both;
	background: #fbfdff;
	margin-bottom: 10px;
}
#add_comment_form .lbl {
	vertical-align: top;
}
#add_comment_form .txt {
	width: 350px;
	height: 150px;
}

div.comment {
	clear: both;
	margin-top: 20px;
}
div.comment span.date {
	font-size: 11px;
}

div.hr {
	height: 1px;
	background: #d687b0;
	width: 70%;
}

#listing_string {
	font-size: 14px;
	text-align: center;
	margin-top: 20px;
	clear: both;
}
#listing_string span {
	font-weight: bold;
	color: #d687b0;
}
.listing_item {
	display: block;
	width: 20px;
	float: left;
	border: 1px solid silver;
	padding: 5px;
	margin-right: 5px;
}

#rightbox {
	width: 250px;
	float: right;
	text-align: right;
}
#rightbox img.banner {
	border: 0px;
}

#footer {
	position:relative;
	margin: auto;
	height: 5em;
	margin-top: -5em;
	clear: both;
	width: 900px;
	font-size: 9px;
	padding-left: 35px;
}



/* search form */
#search-form {
	width: 600px;
	height: 40px;
	border-bottom: 1px solid #D687B0;
}
#search-form div {
	float: left;
	margin-right: 20px;
}
#search-form input {
	font-size: 15px;
}

.search-results div.item {
	width: 600px;
	margin: 20px 0px;
	border-bottom: 1px solid #D687B0;
	padding-bottom: 20px;
}
.search-results div.item div.name {
	font-size: 17px;
}
.search-results div.item div.date {
	font-size: 10px;
}
.search-results div.item div.content {
	margin: 12px 0px;
}

.page-search-form {
	clear: both;
	height: 60px;
}
.page-search-form p {
	float: right;
}
.page-search-form input {
	font-size: 11px;
}
.page-search-form input.txt {
	margin-right: 10px;
	width: 130px;
}