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;}

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

.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: 200px;}
.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;}
.footer_1 {padding-bottom: 10px; color: #66665b;}
	.footer_1 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;}

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; }

/* 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;}
		.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: 0px -10px 5px 5px; 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: 11px; 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;}

.f_up_bg { display: block; overflow: hidden; width: 100%; height: 120px; margin: 0; padding: 0; background: url('/img/gallery-header-bg_.gif') repeat-x left top;}
.f_up { display: block; overflow: hidden; width: 100%; height: 120px; margin: 0; padding: 0; background: url('/img/gallery-header-bg.jpg') no-repeat left top;}
	.f_up P { text-align: center; display: block; color: #fff; font-size: 45px; font-family: Verdana, sans-serif; text-shadow: #000 0 0 1px; margin: 15px 50px 0 50px; line-height: 40px; }
		.f_up A { color: #fff; text-decoration: none; }

	
.p_menu {display: block; height: auto; margin: 5px -5px 5px -20px; padding: 0 5px 0 0; overflow: hidden; background: url('/img/p_menu_m.gif') right center repeat-y;}
	.p_menu .up {display: block; height: 5px; margin: 0 -5px 0 0; padding: 3px 0 0 0; overflow: hidden; background: url('/img/p_menu_u.gif') right top no-repeat;}
	.p_menu .all_p {display: block; height: 23px; margin: -5px -5px 0 0; padding: 0 0 0 0; overflow: hidden; background: url('/img/p_menu_all_p.gif') center top no-repeat; text-align: center; color: #fff; font-size: 14px; font-family: Verdana, sans-serif; text-shadow: #000 0 1px 1px; cursor: pointer;}
	.p_menu #open {display: block; height: 6px; margin: 0 -5px 0 0; padding: 0 5px 0 0; overflow: hidden; background: url('/img/p_menu_o.gif') right bottom no-repeat; text-align: center; color: #2e497a; font-size: 12px; font-family: Verdana, sans-serif; text-shadow: #fff 0 1px 1px; cursor: pointer;}
		.p_menu #open img { border: 0px; margin: 0 20px; padding: 5px 0 0 0;}
		.p_menu #open span {margin: 0; position: relative; top: -3px;}
	.p_menu #close {display: none; height: 18px; margin: 0 -5px 0 0; padding: 0 5px 0 0; overflow: hidden; background: url('/img/p_menu_d.gif') right bottom no-repeat; text-align: center; color: #2e497a; font-size: 12px; font-family: Verdana, sans-serif; text-shadow: #fff 0 1px 1px; cursor: pointer;}
		.p_menu #close img { border: 0px; margin: 0 20px; padding: 5px 0 0 0;}
		.p_menu #close span {margin: 0; position: relative; top: -3px;}
	.p_menu #projects { display: none; margin: 0 0 0 0; padding: 0;}
	
	.p_menu .knopka_gal { background: url('/img/gal_bg.gif') repeat-x; display: block;  height: 79px; margin: 5px 2px 5px 0; text-align: right; }
		.p_menu .knopka_gal img { margin: 0 -2px 0 0;}
	.p_menu .knopka_anons { background: url('/img/anons_bg.gif') repeat-x left top; display: block;  height: 80px; margin: 5px 2px 5px 0; text-align: right; }
		.p_menu .knopka_anons img { margin: 0 -2px 0 0;}
	.p_menu .knopka_lapiruki { background: url('/img/lapiruki_bg.gif') repeat-x left top; display: block;  height: 62px; margin: 5px 2px 5px 0; text-align: right; }
		.p_menu .knopka_lapiruki img { margin: 0 -2px 0 0;}
	.p_menu .knopka_krepost { background: url('/img/krepost_bg.gif') repeat-x; display: block;  height: 63px; margin: 5px 2px 5px 0; text-align: right; }
		.p_menu .knopka_krepost img { margin: 0 -2px 0 0;}
	.p_menu .vo { background: url('/img/vo_bg.gif') repeat-x; display: block;  height: 41px; margin: 5px 2px 5px 0; text-align: right; }
		.p_menu .vo img { margin: 0 -2px 0 0;}
	
/* Slider */

.list_carousel { margin: 15px 0 10px 0; width: 100%; background: url(/img/slider_bg.gif); }
	.list_carousel .u-1 { display: block; height: 4px; background: url(/img/slider_u_bg.gif) top center repeat-x; overflow: hidden; }
	.list_carousel .u-2 { display: block; height: 4px; background: url(/img/slider_u_l.gif) top left no-repeat; text-align: right; overflow: hidden;}
	.list_carousel .d-1 { display: block; height: 4px; background: url(/img/slider_d_bg.gif) bottom center repeat-x; overflow: hidden; }
	.list_carousel .d-2 { display: block; height: 4px; background: url(/img/slider_d_l.gif) bottom left no-repeat; text-align: right; overflow: hidden; }
	.list_carousel .c-1 { display: block; background: url(/img/slider_l_bg.gif) top left repeat-y;}
	.list_carousel .c-2 { display: block; background: url(/img/slider_r_bg.gif) top right repeat-y;}
	.list_carousel h4 { margin: 0 auto; text-align: center; font-weight: normal; font-size: 14px; color: #805c51;}
	.list_carousel ul { margin: 0 2px; padding: 0; list-style: none; display: block; overflow: hidden; height: 115px; }
	#menu .list_carousel ul li {padding: 0;}
	#menu .list_carousel A {border-bottom: 0px;}
	.list_carousel li { font-size: 12px; color: #999; text-align: center; width: 50px; padding: 0; margin: 6px 10px; display: block; float: left; }
		.list_carousel li img { height: 100px; padding: 4px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; border-left: 0; border-top: 0; background: #fff; }
		.list_carousel li a {text-decoration: none;}
		.list_carousel li p {margin: 0; text-align: center;}
	.list_carousel .responsive { width: auto; margin-left: 0; }
.clearfix { float: none; clear: both; }

.content div.author-slider, .content div.author-slider div, .content div.list_carousel_author, .content div.list_carousel_author div {padding-left: 0;}
.author-slider{ border: 1px solid #95a2bc; display: block; height: auto; width: 49%; overflow: hidden; float: left; padding: 0; margin: 10px 0; border-radius: 5px 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -opera-border-radius: 5px; }
.author-slider .title { color: #805c51; margin: 5px 0 0 0; text-align: center; }
	.author-slider .title a {text-decoration: none; color: #805c51; margin: 10px 0 5px 0;}
	
.list_carousel_author { margin: 10px 0 10px 0; padding: 0; }
	.list_carousel_author ul { margin: 0; padding: 0; list-style: none; display: block; overflow: hidden; height: 115px; }
	.list_carousel_author li { font-size: 12px; color: #999; text-align: center; width: 50px; padding: 0; margin: 0; display: block; float: left; }
		.list_carousel_author li img { height: 100px; padding: 4px; border-right: 1px solid #d2ceb7; border-bottom: 1px solid #d1cdb6; border-left: 0; border-top: 0; background: #fff; margin: 0 auto; }
	.list_carousel_author .responsive { width: auto; margin-left: 0; }

.slider