body {margin: 0; padding: 0; width: 100%; color: #262622; background: #e6e2c9 url('img/bg.jpg'); font-family: Verdana, Tahoma, Arial, sans-serif;}
img {border: 0;}
div {display: block;}
table {border: 0; border-collapse: collapse;}
table td {padding: 0;}
a {color: #2e497a;}
a:hover {color: #5f8425;}
p {font-size: 0.75em; margin: 0 0 1.3em 0; padding: 0; line-height: 1.3em;}
p.source {text-align: right; font-weight: bold; padding: 0 10px 0 0;}
ul {font-size: 0.75em; margin: 0 0 1.3em 2.3em; line-height: 1.3em; padding: 0 0 0 2em;}
ul li {margin: 0; padding: 0;}
	
/*
form {margin: 0 0 1.3em 0; background: #f6f8fc; border: 0; padding: 15px 35px;}
input, select, textarea {font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 1em;}
input.rubber, select.rubber, textarea.rubber {width: 98%;}
input.button {font-size: 1em; height: 2.3em; padding: 0 1em 0.2em 1em; cursor: pointer; cursor: hand;}
	form table th {padding: 5px 5px 10px 5px; font-size: 0.7em; text-align: left;}
	form table td {padding: 5px;}
			form table td table td {padding: 0 10px 0 0; font-size: 1em;}
	form table td.label {width: 30%;}
	form table td.field {width: 70%;}
	form table td.buttons {padding-top: 10px; text-align: center;} 
*/
h1 {color: #b33e17; font-size: 1.5em; margin: 0 0 0.6em 0; font-weight: normal;}
h2 {color: #805c51; font-size: 1.2em; margin: 0 0 0.6em 0; font-weight: normal;}
h3 {font-size: 0.75em; margin: 0 0 0.5em 0; line-height: 1.3em;}
h4 {font-size: 1.1em; line-height: 1.1em; color: #5f8425; font-weight: normal; margin-bottom: 10px; margin-top: 0px;}

.photo {margin: 0 0 5px 5px; float: right; clear: right; display: block; width: 235px; }
	.photo img {padding: 6px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; background: #fff;}
	.photo p {color: #7d795f; font-size: 0.7em; margin: 5px 0 0 10px; position: relative;}

#main {width: 100%; background: repeat-x top url('img/header_bg.jpg'); margin:0; padding:0;}
#logo {height: 160px; text-align: center;}
.spacer3 {width: 10px;}
.spacer5 {width: 10px;}
.left {width: 19%;}
.content {/*width: 42%;*/ padding: 0 10px 40px 0; vertical-align: top; }
	/*.content h1, .content h2, .content h3, .content p, .content ul, .content div {padding-left: 20px;}*/
    .content .bnr {padding-left: 0;}
#right {width: 22%; vertical-align: top; text-align: center; padding: 20px 0;}
	#right p {font-size: 0.6em;}
		#right p a {font-weight: bold;}
#half_right {width: 180px;}

.footer {padding-bottom: 30px; vertical-align: top; color: #66665b;}
	.footer p {font-size: 0.7em; line-height: 1.4em;}
#menu {vertical-align: top;}
#menu ul {margin: 0; padding: 0; list-style: none; line-height: 1.5em;}
#menu ul li {padding-left: 15px; background: no-repeat left url('img/li_menu.gif');}
	#menu ul li a, #menu ul li span {font-weight: bold; display: block; width: 100%; border-bottom: 1px solid #b3ae8f; padding: 0.25em 0 0.3em 0; text-decoration: none;}
	#menu ul li span, #menu ul li #active {color: #5f8425;}
#menu ul li.secondary {background: none;}
    #menu ul li.secondary a, #menu ul li.secondary span {font-weight: normal;}
#weather {margin: 40px 0;}

.bnr {height: 100px; width: 100%; font-size: 0.75em;}
    .bnr a {color: #fff;}
    .bnr a:hover {color: #fff;}

.bnr_right {height: 100px; width: 80%; font-size: 0.75em;}
    .bnr a {color: #fff;}
    .bnr a:hover {color: #fff;}

div.bnr div {width: 100%; height: 100%;}
    div.bnr div a {display: block; width: 100%; height: 100%; text-decoration: none; text-align: right;}
        div.bnr div a span {display: block; font-weight: bold; text-decoration: underline; top: 3em; position: relative; margin: 0 20px; white-space: nowrap;}

.extra {font-size: 0.6em; margin: 0 0 0.5em 0;}
	.date {color: #59800f;}
	.type {color: #805a40;}
#hotnews {height: 100px; width: 100%; background: #c5be96; margin-bottom: 20px;}
	#hotnews #photo {border: 1px solid #494842; margin: 10px 15px 10px 5px; float: left;}
	#hotnews .extra {margin-top: 10px; margin-left: 0;}


#allnews {position: relative; left: -30px; top: -1em; margin-bottom: -40px; z-index: 1;}

#bnr {width: 22%; vertical-align: top; text-align: center;}
	#bnr img {margin: 0 5px 10px 5px;}

.counter a,  .counter a:visited, .counter a:active {color: #404040; padding: 2px 5px 4px 5px;}
.counter .active {color: #fff; background: #79c040; padding: 2px 5px 4px 5px;}
.counter .passive {padding: 2px 5px 4px 5px;}

table.gallery {width: 100%; margin-left: 20px;}
table.gallery td {padding: 0 10px 10px 0; vertical-align: top; width: 33%; text-align: center;}
img.gallery {padding: 6px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; background: #fff;}
table.gallery td p {color: #686868; font-size: 0.7em; margin: 0 0 1em -20px;}

.gallery_photo {float: left; margin: 0 1em 1em 20px; padding: 6px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; background: #fff;}
.sold {color: #e6e2c9; background: #b33e17; padding: 0.1em 0.2em 0.3em 0.2em;}


.yandex { font-size: 10px; }

.ad P { color: #2e497a; font-weight: bold; margin: 0px; padding: 0px;}
.ad h3 { color: #b33e17; font-size: 1.2em; margin: 0 0 0.6em 0; font-weight: normal; text-decoration: none;}
.ad h4 { color: #b33e17; font-size: 1.1em; margin: 0 0 0.6em 0; font-weight: normal; text-decoration: none;}
.ad h5 {font-size: 1.2em; margin-top: 0px; margin-bottom: 10px; font-weight: normal; color: #4169E1}
.ad A { text-decoration: none; }
.ad FORM {
	margin-left: 20px;
	margin-top: 0px;
	min-width: 150px;
	width: 80%;
}
.ad_input {
	border: 1px solid #95a2bc;
	background-color: White;
	width: 100%;
	margin-bottom: 10px;
}
.ad_input_submit {
	background-color: #5f8425;
	color: White;
	width: 100%;
	border: 0px;
	margin-bottom: 10px;
	line-height: 20px;
	height: 20px;
}
.ad_input_code {
	border: 1px solid #95a2bc;
	background-color: White;
	margin-bottom: 10px;
	width: 50px;
	height: 22px;
	font-size: 18px;
}

.vitrina_nav_active{
	text-decoration: none;
	color: #b33e17;
	font-size: 1.5em;
}
.vitrina_nav{
	color: #2e497a;
	font-size: 1.5em;
}

.knopka_anons { background: url('/img/anons_bg.gif') repeat-x left top; display: block;  height: 80px; width: 100%; margin: 5px 0 5px -20px; text-align: right; }
.knopka_lapiruki { background: url('/img/lapiruki_bg.gif') repeat-x left top; display: block;  height: 62px; width: 100%; margin: 5px 0 5px -20px; text-align: right; }
.knopka_gal { background: url('/img/gal_bg.gif') repeat-x; display: block;  height: 79px; width: 100%; margin: 5px 0 5px -20px; text-align: right; }
.knopka_krepost { background: url('/img/krepost_bg.gif') repeat-x; display: block;  height: 63px; width: 100%; margin: 5px 0 5px -20px; text-align: right; }