/* MU Dayron: расстановка в три колонки.
   Подключается после style.css и переопределяет только каркас страницы:
   шапку, меню, колонки, заголовки блоков, кнопки. Таблицы рейтингов, формы,
   магазин и прочее содержимое страниц остаются на родных правилах style.css. */

/* ---------- общий фон ---------- */
body {
	background: #0c0709;
	min-width: 1240px;
}

#wrapper {
	background: #0c0709;
}

.container {
	width: 1220px;
}

/* ---------- название ---------- */
/* картинка фона сдвинута вверх: её верхняя полоса-украшение была частью старой рамки */
#wrapper-bgimg {
	background-position: center -128px;
}

#logo-wrapper {
	height: 205px;
	overflow: visible;
	background: radial-gradient(ellipse 520px 120px at center 105px, rgba(12, 7, 9, .62), rgba(12, 7, 9, 0) 100%);
}

#logo {
	width: 1220px;
	padding: 0;
	text-align: center;
}

#logo a {
	display: inline-block;
	margin-top: 28px;
	text-decoration: none;
	font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .85));
}

#logo a:hover {
	text-decoration: none;
}

#logo span {
	display: block;
	text-transform: uppercase;
}

#logo .logo-top {
	font-size: 19px;
	font-weight: bold;
	letter-spacing: 9px;
	text-indent: 9px;
	color: #f1dcae;
}

#logo .logo-name {
	margin: -6px 0 -8px;
	font-size: 104px;
	line-height: 118px;
	font-weight: bold;
	letter-spacing: 5px;
	text-indent: 5px;
	color: #e3c27c;
	background: linear-gradient(#fff3c9 12%, #e3c27c 46%, #a9772f 78%, #dcb86e 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

#logo .logo-sub {
	font-family: sans-serif;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 8px;
	text-indent: 8px;
	color: #f1dcae;
}

/* ---------- меню ---------- */
#menu-wrapper {
	height: auto;
	overflow: visible;
	background: none;
}

#menu {
	position: relative;
	z-index: 50;
	height: 52px;
	box-sizing: border-box;
	border: 1px solid #5d3d33;
	border-radius: 6px;
	background: linear-gradient(#4a1d29, #2a0f17 55%, #1b0a0f);
	box-shadow: inset 0 1px 0 rgba(255, 230, 190, .22), 0 4px 14px rgba(0, 0, 0, .7);
}

#menu nav {
	position: static;
	width: auto;
	margin: 0;
	padding: 0;
}

#menu nav ul {
	white-space: nowrap;
}

#menu .nav > li + li {
	border-left: 1px solid rgba(255, 255, 255, .07);
}

#menu a {
	padding: 0 22px;
	line-height: 50px;
	letter-spacing: 1px;
	font-size: 14px;
	color: #f3e6cb;
}

#menu a:hover {
	text-decoration: none;
	color: #ffd98a;
	background: rgba(255, 255, 255, .05);
}

.nav ul {
	top: 50px;
	margin-top: 0;
	border-radius: 0 0 4px 4px;
}

.nav > li:hover > ul {
	left: 0;
	padding-top: 0;
}

.nav li li a {
	width: 160px;
	padding: 9px 14px !important;
	line-height: 18px;
	text-align: left;
	background: #1d0c11;
}

/* ---------- три колонки ---------- */
#page-wrapper,
.two-column1 #page-wrapper {
	overflow: visible;
	background: none;
}

#page-bgtop,
.two-column1 #page-bgtop {
	background: none;
}

#page-bgbtm,
.two-column1 #page-bgbtm {
	overflow: visible;
	padding: 16px 0 50px;
	background: none;
}

#page {
	display: grid;
	grid-template-columns: 244px 680px 264px;
	grid-template-rows: auto 1fr;
	column-gap: 16px;
	align-items: start;
}

#left-sidebar {
	grid-column: 1;
	grid-row: 1 / span 2;
}

#banner {
	grid-column: 2;
	grid-row: 1;
}

#content {
	grid-column: 2;
	grid-row: 2;
	align-self: stretch;
}

#sidebar {
	grid-column: 3;
	grid-row: 1 / span 2;
}

/* ---------- центр: содержимое страницы ---------- */
#content {
	float: none;
	width: auto;
	min-height: 720px;
	box-sizing: border-box;
	padding-bottom: 30px;
	border: 1px solid #b59a82;
	border-radius: 4px;
	background: #ead9ca linear-gradient(rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 260px);
	box-shadow: 0 0 0 4px #1f1216, 0 0 0 5px #5d3d33, 0 6px 18px rgba(0, 0, 0, .7);
}

.title1 {
	left: 0;
	width: auto;
	height: auto;
	margin: 16px 16px 18px;
	border: 1px solid #3a131d;
	border-radius: 3px;
	background: linear-gradient(#80324a, #4c1a28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 2px 5px rgba(0, 0, 0, .3);
}

.title1 h1,
.title1 h2 {
	padding: 10px 18px 11px;
	font-size: 18px;
	color: #fff4dc;
}

.box-style1 .title,
.box-style4 .title {
	padding: 0 34px 12px;
}

.box-style1 .entry,
.box-style4 .entry {
	padding: 16px 34px 0;
	border-top: 1px solid rgba(96, 50, 40, .22);
	background: none;
}

.two-column {
	padding: 0 34px;
}

/* картинки-объявления на главной */
#banner {
	width: auto;
	height: auto;
	margin: 0 0 20px;
	padding: 9px 0;
	border: 1px solid #4a2f33;
	border-radius: 4px;
	background: linear-gradient(#22151a, #160d11);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

#banner #col1 {
	float: none;
	margin: 0 auto;
}

/* ---------- боковые колонки ---------- */
#sidebar {
	float: none;
	width: auto;
}

#sidebar .box-style2,
#left-sidebar .box-style2 {
	margin-bottom: 16px;
	border: 1px solid #4a2f33;
	border-radius: 4px;
	background: linear-gradient(#24161b, #160d11);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .03);
	color: #cfc1b4;
}

#sidebar .title2,
#left-sidebar .title2 {
	width: auto;
	height: auto;
	margin: 0;
	border-bottom: 1px solid #8f6f44;
	background: linear-gradient(#80324a, #4c1a28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}

#sidebar .title2 h2,
#left-sidebar .title2 h2 {
	padding: 11px 10px 12px;
	text-align: center;
	letter-spacing: 2px;
	font-size: 13px;
	color: #f7e6c2;
}

#sidebar .box-style2 .entry,
#left-sidebar .box-style2 .entry {
	padding: 12px 14px 14px;
}

#sidebar a,
#left-sidebar a,
#sidebar ul.style4 a,
#left-sidebar ul.style4 a {
	color: #e9cb8f;
}

#sidebar ul.style4 li,
#left-sidebar ul.style4 li {
	padding: 6px 0;
	border-top: 1px solid rgba(255, 255, 255, .07);
	background: none;
}

#sidebar ul.style4 .first,
#left-sidebar ul.style4 .first {
	border-top: 0;
}

#sidebar .entry > br,
#left-sidebar .entry > br {
	display: none;
}

#sidebar .entry > span,
#left-sidebar .entry > span {
	float: none !important;
	display: block;
	margin: 10px 0 0 !important;
	text-align: right;
	font-size: 12px;
}

#sidebar .w-coins {
	color: #ffb45e;
}

#sidebar .zen-wallet {
	color: #8fc2ff;
}

#sidebar .avatar_frame {
	border-color: #6b4a3a;
	background: #120a0d;
}

/* вход */
#sidebar .input-main {
	width: 100% !important;
	box-sizing: border-box;
	margin: 0 0 8px;
	padding: 9px 10px;
	border: 1px solid #55373c;
	border-radius: 3px;
	background: #120a0d;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .6);
	color: #f1e6d8;
}

#sidebar #login_form div {
	margin: 0 0 10px !important;
}

/* рейтинги в боковой колонке */
#sidebar table.sidebar_rank,
#left-sidebar table.sidebar_rank {
	margin: 0;
	font-size: 12px;
}

#sidebar table.sidebar_rank th,
#left-sidebar table.sidebar_rank th {
	padding: 0 2px 5px;
	border-bottom-color: #5d3d33;
	color: #a8947f;
}

#sidebar table.sidebar_rank td,
#left-sidebar table.sidebar_rank td {
	padding: 5px 2px;
	border-bottom-color: rgba(255, 255, 255, .07);
}

#sidebar .i_note,
#left-sidebar .i_note {
	margin: 0;
}

/* сервер */
.server-row {
	display: flex;
	align-items: center;
	padding: 7px 6px;
	border-radius: 3px;
	cursor: pointer;
	opacity: 1 !important;
}

.server-row:hover {
	background: rgba(255, 255, 255, .06);
}

.server-dot {
	flex: none;
	width: 10px;
	height: 10px;
	margin-right: 9px;
	border-radius: 50%;
	background: #c63a3a;
	box-shadow: 0 0 7px #c63a3a;
}

.server-dot.on {
	background: #5fd35f;
	box-shadow: 0 0 7px #5fd35f;
}

.server-name {
	flex: 1;
	font-weight: bold;
	color: #f5e7ca;
}

.server-count {
	font-weight: bold;
	color: #ffffff;
}

#left-sidebar .server-info {
	margin-top: 8px;
	font-size: 12px;
}

#left-sidebar .server-info li.first {
	border-top: 1px solid rgba(255, 255, 255, .07);
	padding-top: 6px;
}

#left-sidebar .server-info .f16 .flag {
	float: none;
}

/* таймеры мероприятий */
#left-sidebar #events div {
	overflow: hidden;
	padding: 7px 0;
	border-top: 1px solid rgba(255, 255, 255, .07);
	font-family: sans-serif;
	color: #dccdbd;
}

#left-sidebar #events div:first-child {
	border-top: 0;
	padding-top: 0;
}

#left-sidebar #events div small {
	font-size: 12px;
	color: #e9cb8f;
}

/* ---------- кнопки ---------- */
.button-style,
.button-style2 {
	left: 0;
	width: 200px;
	height: 40px;
	line-height: 38px;
	box-sizing: border-box;
	border: 1px solid #2c0d15 !important;
	border-radius: 4px;
	background: linear-gradient(#8f384c, #561e2c);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 4px rgba(0, 0, 0, .35);
	font-size: 13px;
	color: #fff6e0;
}

.button-style:hover,
.button-style2:hover {
	background: linear-gradient(#a8455c, #672536);
	text-decoration: none;
}

#sidebar .button-style {
	width: 100%;
}

/* ---------- подвал ---------- */
#footer {
	padding: 0 0 26px;
	border-top: 1px solid #3a252b;
	background: #080506;
}

#copyright {
	width: auto;
	background: none;
}

#copyright p,
#copyright a {
	color: #8e8079;
}

/* отсчёт до открытия - над названием, по центру */
#timer_div_title,
#timer_div_time {
	left: 50%;
	margin-left: 390px;
	color: #f1dcae;
}
