body {margin: 0; padding: 0; width: 100%; color: #262622; background: #e6e2c9 url('https://viknaodessa.od.ua/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; line-height: 1.3em;}
p.source {text-align: right; font-weight: bold;}
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; 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;}

.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; overflow: hidden; }
	.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: 11%; padding-left: 5px;}

.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: 100%; 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 -20px;}
	.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;}

.adv_delim {display: block; clear: both; margin: 10px 0 0 0; padding: 0; height: 0; overflow: hidden;}

table.gallery {width: 100%; padding-left: 20px;}
table.gallery td {padding: 0 2px 5px 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.5em; 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; }

.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; }
.vo { background: url('/img/vo_bg.gif') repeat-x; display: block;  height: 41px; margin: 20px 20px 20px -20px; text-align: right; }

/* gallery news */

.gallery-news {/*width: 42%;*/ padding: 0!important; vertical-align: top; }
	.gallery-news a {text-decoration: none;}
	.gallery-news h1 { color: #2E497A; font-size: 24px; font-family: Verdana, sans-serif; text-shadow: #000 0 0 1px; margin: 13px 0 15px 20px; line-height: 27px; }
	/* елемент списка */
	.gallery-news  .item { min-height: 50px; border: 1px solid #95a2bc; display: block; height: auto; clear: both; overflow: hidden; padding: 10px 10px 10px 20px; margin: 10px 0; /*background-color: #F1F1F1;*/ border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -opera-border-radius: 5px; }
		.gallery-news  .item p {margin: 0 0 9px 0; padding: 0 0 0 0;}
		.gallery-news  .item .preview {margin: 5px 5px 0 0; float: left; padding: 0; }
			.gallery-news  .item .preview img { padding: 4px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; border-left: 0; border-top: 0; background: #fff; max-width: 64px; max-width: 100px;}
			.gallery-news  .item .preview p {color: #7d795f; font-size: 0.7em; margin: 5px 0 0 -10px;}
			.gallery-news  .item .preview A { border: 0; }
				.gallery-news  .item .preview A:hover { border: 0; }
		.gallery-news  .item .photo {margin: -10px 10px 0 10px; float: right; }
			.gallery-news  .item .photo img { padding: 4px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; border-left: 0; border-top: 0; background: #fff; margin: 0 0 5px 0; }
			.gallery-news  .item .photo p { color: #7d795f; font-size: 10px; margin: 0 0 0 5px; width: 220px; display: block; text-align: center; }
			.gallery-news  .item .photo A { border: 0; }
				.gallery-news  .item .photo A:hover { border: 0; }
		.gallery-news  .item .header { display: block; color: #2e497a; font-size: 10px; line-height: 12px; margin: 0 0 5px 0; padding: 0; }
			.gallery-news  .item .header B { color: #59800f; }
			.gallery-news  .item .header A { color: #805a40; text-decoration: none; }
				.gallery-news  .item .header A:hover { text-decoration: underline; }
		.gallery-news  .item .title { display: block; color: #805a40; font-size: 12px; line-height: 18px; padding: 0; margin: 0; overflow: hidden; }
		.gallery-news  .item .description { display: block; color: #262622; font-size: 12px; line-height: 18px; padding: 0; margin: 0; overflow: hidden; }
			.gallery-news  .item .description P {color: #262622; font-size: 12px; line-height: 18px; padding: 0; margin: 0 0 9px 0;}
			.gallery-news  .item .description A { color: #262622; text-decoration: none; }
				.gallery-news  .item .description A:hover { color: #262622; text-decoration: none; }
		.gallery-news  .item .text { display: block; color: #262622; font-size: 14px; line-height: 18px; padding: 10px 0 0 0; margin: 0 0 0 20px; }
			.gallery-news  .item .text A { color: #262622; text-decoration: none; }
				.gallery-news  .item .text A:hover { color: #262622; text-decoration: none; }
		.gallery-news  .item .info { display: block; color: #888888; font-size: 12px; line-height: 18px; font-weight: bold; padding: 0; margin: 10px 0 0 20px; }
			.gallery-news  .item .info A { color: #888888; text-decoration: none; }
				.gallery-news  .item .info A:hover { color: #888888; text-decoration: none; }
		.gallery-news  .item .more { display: block; text-align: right; color: #262622; font-size: 12px; line-height: 18px; font-weight: bold; padding: 0; margin: 0 10px 0 20px; }
			.gallery-news  .item .more { color: #6084c4; }
	.gallery-news .ad_input { border: 1px solid #d9dde4; width: 100%; background-color: #fff; }
	.gallery-news .ad_input_submit { border: 1px solid #95a2bc; background-color: #a4d47d; display: block; margin: 0 auto; width: 50%; border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -opera-border-radius: 5px; }
	.gallery-news .page { padding: 10px 10px 10px 20px;}