﻿
/* Общий стиль */

body, img, form, div, table {
	border: 0px;
	padding: 0px;
	margin: 0px;
}

body {
	background: url("i/bg-pattern.png") repeat right top;
	text-align: center;
}

body, html { overflow-x: hidden; }

table { font-size: 100%; }

.left { float: left; }
.right { float: right; }
.middle { float: none; overflow: hidden }
.clear { clear: both; }

.centered { text-align: center; }

/* Фон и ширина */

#wrap {
	overflow-x: hidden;
	min-width: 1000px;
	max-width: 100%;
	width: 100%;
	margin: 0px auto;
	padding: 0px;
	text-align: left;
}

#wrap-inner {
	overflow: hidden;
	text-align: center;
	width: 200%;
	margin-left: -50%;
}

#wrap-bg {
	width: 1200px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	text-align: left;
}

#bg-top {
	position: absolute;
	background: url("i/bg-top.png") no-repeat top left;
	width: 1200px;
	height: 751px;
	left: 0px;
	top: 0px;
}

#bg-bottom {
	position: absolute;
	background: url("i/bg-bottom.png") no-repeat top left;
	height: 387px;
	width: 1200px;
	bottom: 0px;
	left: 0px;
}

#bg-tile {
	position: absolute;
	background: url("i/bg-tile.png") repeat-y top left;
	top: 751px;
	bottom: 387px;
	left: 0px;
	width: 1200px;
}

/* Порядок слоев при рендеринге */

#bg-top,
#bg-bottom,
#bg-tile { z-index: 1; }
#layout { z-index: 2; }
#logo,
#actions,
#nav,
#auth,
#alpha,
#footer { z-index: 3; }

/* Лого */

#logo {
	position: absolute;
	left: 118px;
	top: 80px;
	padding: 0px;
	margin: 0px;
}

/* Действия */

#actions {
	position: absolute;
	left: 106px;
	top: 17px;
	font-family: Calibri, Arial;
	font-size: 12px;
	color: #bbbfb7;
}

#actions a {
	text-decoration: underline;
	color: #f9cf99;
	padding: 0px 2px;
}

/* Навигация */

#nav {
	position: absolute;
	left: 364px;
	top: 6px;
	font-family: Trebuchet MS, sans-serif;
	font-size: 13px;
	width: 434px;
}

#nav a {
	color: #c5af94;
	text-decoration: none;
}

#nav a:hover { color: #f7e3c9; }

#nav ul {
	list-style-type: none;
	margin: 0px;
	padding: 7px 0px;
	background: url("i/nav-bg.png") no-repeat top left;
	line-height: 24px;
	height: 24px; /* 38 - пад */
	text-align: center;
}

#nav ul li {
	display: inline;
	padding: 0px 9px;
}

/* Авторизация */

#auth {
	position: absolute;
	right: 147px;
	top: 55px;
	width: 220px;
	height: 248px;
	font-family: Calibri, sans-serif;
}

#auth-wrap {
	background: url("i/auth-bg.png") no-repeat left top;
	padding: 29px 0px;
	height: 190px; /* 248 - пад */
	text-align: center;
}

#auth h2 {
	color: #864226;
	margin: 0px;
	padding: 17px;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 15px;
}

#auth .field {
	margin: 5px;
	padding: 4px 10px 0px 10px;
	width: 133px; /* 153 - пад */
	height: 22px; /* 26 - пад */
	border: 0px;
	color: #4d4d4d;
	vertical-align: top;
	font-family: Calibri, Arial;
	font-size: 15px;
}

#auth .login { background: url("i/auth-login-bg.png") no-repeat left top; }
#auth .passw { background: url("i/auth-passw-bg.png") no-repeat left top; }

#auth .button {
	margin: 11px 0px;
	border: 0px;
	background: url("i/auth-submit-bg.png") no-repeat left top;
	width: 100px;
	height: 28px;
	color: #fecb9a;
	text-transform: uppercase;
	text-shadow: #2e2515 0px -1px 0px;
	font-size: 17px;
	font-family: Calibri, Arial;
	cursor: pointer;
}

#auth .links {
	padding: 4px 0px;
	font-family: Calibri, sans-serif;
	font-size: 12px;
}

#auth .links a {
	text-decoration: underline;
	color: #a6785a;
	padding: 0px 4px;
}

#auth .links a:hover { color: #f99349; }

#auth.in .links a { color: #fff1c7; }

/* Алфабетизатор */

#alpha {
	position: absolute;
	left: 0px;
	top: 316px;
	left: 179px;
	text-align: center;
	line-height: 64px;
	font-family: Calibri, sans-serif;
}

#alpha-wrap {
	width: 828px;
	height: 66px;
	background: url("i/alpha-bg.png") no-repeat left top;
}

#alpha h2 {
	display: inline;
	margin: 0px;
	padding: 0px;
	color: #5b4f4a;
	font-size: 14px;
	font-weight: normal;
}

#alpha ul {
	list-style-type: none;
	display: inline;
	margin: 0px;
	padding: 0px;
	font-size: 17px;
	text-transform: uppercase;
}

#alpha ul li {
	display: inline;
	margin: 0px;
	padding: 0px 6px;
}

#alpha a {
	text-decoration: none;
	color: #582917;
}

#alpha a:hover { color: #b83b0b; }

/* Лейаут */

#layout {
	padding: 350px 110px 164px 109px;
	position: relative;
}

#layout-b { background: url("i/layout-bg-b.png") no-repeat bottom left; }

#layout-wrap {
	min-height: 588px; /* 649 - пад */
	background: url("i/layout-bg-t.png") no-repeat left top;
	padding-top: 61px;
	position: relative;
}

/* Из форумов */

#discussions {
	margin: 0px 13px;
	background: #fff1c7 url("i/discussions-bg-b.png") no-repeat bottom left;
}

#discussions-wrap {
	background: url("i/discussions-bg-t.png") no-repeat top left;
	padding: 15px 38px 29px 38px;
}

#discussions table,
#discussions tr,
#discussions td,
#discussions th {
	font-weight: normal;
	font-family: Trebuchet MS, sans-serif;
	font-size: 13px;
	padding: 0px;
	margin: 0px;
	color: #5f473d;
}

#discussions td,
#discussions th {
	padding-right: 5px;
}

#discussions th {
	font-family: Calibri, sans-serif;
	text-transform: uppercase;
	color: #733e29;
	padding-top: 2px;
	padding-bottom: 14px;
	font-size: 14px;
}

#discussions td {
	padding-right: 10px;
}

#discussions td a {
	text-decoration: underline;
	color: #541e08;
}

#discussions td a:hover { text-decoration: none; }

#discussions td.author a { color: #cf4e1a; text-decoration: none; }

/* Колонки */
.menu li a{color:#541E08; text-decoration:none}
.menu li a:hover{color:#541E08; text-decoration:underline}
.referer{width:220px;margin-left:25px;}
.referer a{font-family:Trebuchet MS, sans-serif; font-size:12px;color:#541E08; text-decoration:none}
.referer a:hover{color:#541E08; text-decoration:underline}
#columns {
	position: relative;
	zoom: 1;
	margin: 9px 12px 0px 4px;
}

#columns-top {
	position: absolute;
	left: 0px;
	top: 0px;
	height: 411px;
	width: 100%;
	background: url("i/columns-bg-t.png") no-repeat top left;
}

#columns-bottom {
	position: absolute;
	left: 0px;
	bottom: 139px;
	background: url("i/columns-bg-b.png") no-repeat top left;
	height: 411px;
	width: 100%;
	z-index: 2;
}

#sidebar,
#content { z-index: 3; }

/* Сайдбар */

#sidebar {
	position: relative;
	width: 277px;
	float: right;
}

#sidebar .search {
	padding: 0px;
	margin: 0px;
	margin-bottom: 22px;
	margin-left: 1px;
}

#sidebar .search div {
	width: 276px;
	height: 33px;
	background: url("i/sidebar-search-bg.png") no-repeat left top;
	position: relative;
}

#sidebar .search .field {
	color: #918884;
	font-family: Trebuchet MS, sans-serif;
	border: none;
	font-size: 15px;
	padding: 8px 0px 0px 40px;
	width: 236px; /* 276 - пад */
	height: 25px; /* 33 - пад */
	margin: 0px;
	vertical-align: bottom;
	background: none;
	line-height: 1em;
}

#sidebar .search .icon {
	width: 15px;
	height: 18px;
	position: absolute;
	left: 15px;
	top: 8px;
}

.block {
	background: url("i/sidebar-block-bg.png") repeat-y left top;
	width: 277px;
	margin-bottom: 21px;
	color: #3d3836;
	font-size: 12px;
	font-family: Trebuchet MS, sans-serif;
}

.block h2 {
	background: url("i/sidebar-block-head.png") no-repeat left top;
	line-height: 48px;
	text-align: center;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
	font-style: normal;
	color: #611c05;
	text-transform: uppercase;
	font-size: 20px;
	font-family: Calibri, Trebuchet MS, sans-serif;
}

.block h3 {
	color: #3d3836;
	margin: 0px 0px 15px 0px;
	padding: 0px;
	font-size: 14px;
	font-weight: normal;
	font-family: Trebuchet MS, sans-serif;
}

.block h3 a {
	color: #3d3836;
	border-bottom: 2px solid #9e947e;
	text-decoration: none;
}

.block h3 a:hover {
	border: none;
}

.block p {
	padding: 0px;
	margin: 15px 0px 0px 0px;
}

.block-wrap {
	background: url("i/sidebar-block-bg-b.png") no-repeat left bottom;
	padding: 20px;
}

.poll {
	font-size: 13px;
}

.poll .question {
	margin-top: 0px;
	font-weight: bold;
}

#dle-vote,
.poll .choices {
	list-style-type: none;
	margin: 15px 0px 0px 0px;
	padding: 0px;
	font-size: 14px;
}

#dle-vote .vote,
.poll .choices li {
	margin: 0px;
	padding: 0px;
	line-height: 24px;
	min-height: 24px;
}

#dle-vote .vote input,
.poll .choices input {
	margin: 0px 7px 0px 0px;
	padding: 0px;
	vertical-align: text-middle;
	display: inline;
}

#dle-vote .vote input { margin-right: 2px; }

.poll .actions {
	margin: 21px 0px 0px 0px;
	text-align: center;
}

.poll .actions .submit {
	width: 114px;
	height: 31px;
	background: url("i/vote.png") no-repeat left top;
	border: 0px;
	padding: 0px;
	margin: 0px;
	color: #611c05;
	text-transform: uppercase;
	font-size: 12px;
	margin-right: 25px;
	vertical-align: middle;
	padding-bottom: 2px;
	cursor: pointer;
}

.poll .actions a {
	color: #611c05;
	border-bottom: 2px solid #b08666;
	text-decoration: none;
}

.social-icons {
	background: url("i/sidebar-social-bg.png") no-repeat left top;
	list-style-type: none;
	margin: 33px 0px 0px 0px;
	padding: 11px 0px 0px 0px;
	width: 277px;
	height: 34px; /* 45 - пад */
	text-align: center;
}

.social-icons a { text-decoration: none; }

.social-icons li {
	display: inline;
	padding: 0px 5px;
	vertical-align: top;
}

.social-icons li img { vertical-align: top; }

/* Контент */

#content {
	min-height: 376px; /* 550 - пад */
	padding: 20px 23px 132px 23px;
	position: relative;
	overflow-x: hidden;
}

.post {
	color: #443e3c;
	font-size: 13px;
	font-family: Trebuchet MS, sans-serif;
	margin-bottom: 15px;
	clear: both;
}

.post .date {
	float: left;
	width: 48px;
	height: 48px;
	margin-right: 9px;
	text-align: center;
	background: url("i/date-bg.png") no-repeat left top;
	font-family: Trebuchet MS;
}

.post .date .month {
	color: white;
	font-size: 15px;
	margin-top: -5px;
	display: block;
}

.post .date .day {
	color: black;
	font-size: 22px;
	display: block;
}

.post .date-2 { font-weight: bold; }
.post img { margin: 9px; }
.post img.left { margin-left: 1px; }

.post a {
	color: #c95121;
	text-decoration: none;
}

.post a:hover {
	color: #c95121;
	text-decoration: none;
}

.post p {
	padding: 0px 3px;
	margin: 11px 0px;
}
.shortnews a{text-decoration:underline}
.shortnews a:hover{tex-decoration:none}
.post h1,h2 {
	font-weight: normal;
	font-size: 16px;
	margin-bottom: 7px;
	color: #c95121;
	text-decoration:none
}

.post h2:hover {text-decoration:underline}

.shortnews img{max-width:170px;float:left; margin-right:15px; margin-bottom:15px; border:1px solid#AE7A55; padding:3px}
/* Переключалка страниц */

#pages {
	position: absolute;
	left: 51px;
	bottom: 25px;
	text-align: center;
	color: #541e08;
	font-family: Trebuchet MS, sans-serif;
	font-size: 16px;
	line-height: 28px;
}

#pages-wrap {
	width: 546px;
	height: 31px;
	padding: 20px 0px;
	background: url("i/pages-bg.png") no-repeat left top;
}

#pages a {
	color: #541e08;
	text-decoration: none;
	padding: 5px;
}

#pages a:hover { color: #cf5929; }

#pages span {
	color: white;
	background: url("i/pages-active.png") no-repeat top left;
	padding: 3px 10px 5px 8px;
	text-align: center;
}

#pages .switch-link,
#pages .switch-link span {
	color: #514c4a;
	padding: 0px;
	background: none;
}
#pages .switch-link { padding: 0px 10px; }


#pages .switch-link a {
	color: #1d302b;
}

/* Футер */

#footer {
	position: absolute;
	left: 0px;
	bottom: 30px;
	width: 100%;
	text-align: center;
	color: white;
	font-family: Trebuchet MS, sans-serif;
	font-size: 13px;
}

#footer-wrap {
	margin: 0px auto;
	width: 927px; /* 997 - пад */
	height: 61px; /* 91 - пад */
	padding: 30px 35px 0px 35px;
	background: url("i/footer-bg.png") no-repeat left top;
}

#footer-wrap .left { text-align: left; }
#footer-wrap .right { text-align: left; }

#footer-wrap .middle img { margin: 0px 4px; }

#footer-wrap .right {
	font-size: 11px;
	color: #6c9b8b;
	padding-left: 30px;
	background: url("i/vrussia.png") no-repeat left top;
}

#footer-wrap .right a {
	color: #6c9b8b;
	text-decoration: underline;
	vertical-align: top;
}

/* Прочее */

.dle-box { background: white; }
