/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2026 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * https://opensource.org/licenses/MIT
 
 =========================================================
 
*/
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none !important;
}

a:focus, a:hover {
    color: inherit !important;
    text-decoration: none !important;
	outline: none !important;
}

.form-control {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
.form-control:focus {
	border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: var(--webenginecolor27);
    border: 1px solid var(--webenginecolor16);
}
a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
  border-color: var(--webenginecolor1);
}

.btn-primary {
    color: var(--webenginecolor9);
    background-color: var(--webenginecolor8);
	border-color: var(--webenginecolor10);
    transition: all .1s ease-in;
	border-radius: 3px;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
    color: var(--webenginecolor12) !important;
    background-color: var(--webenginecolor11) !important;
	border-color: var(--webenginecolor13) !important;
}

.form-horizontal .control-label {
	text-align: left !important;
}

/* ========================================================================== */
/* ZERATH — classic dark-fantasy identity                                     */
/* The official logo remains an untouched transparent asset.                  */
/* ========================================================================== */
:root {
	--zerath-obsidian: #070707;
	--zerath-charcoal: #11100f;
	--zerath-graphite: #1b1917;
	--zerath-steel: #a99d8e;
	--zerath-silver: #eee5d7;
	--zerath-gold: #e3a03a;
	--zerath-gold-bright: #ffd36a;
	--zerath-gold-dark: #8a4b18;
	--zerath-crimson: #861f13;
	--zerath-fire: #d74617;
	--zerath-blue: #101928;
	--webenginecolor1: var(--zerath-gold);
	--webenginecolor2: var(--zerath-gold-bright);
	--webenginecolor8: var(--zerath-gold);
	--webenginecolor9: #180c07;
	--webenginecolor10: var(--zerath-gold-dark);
	--webenginecolor11: var(--zerath-fire);
	--webenginecolor12: #fff4df;
	--webenginecolor13: #9f2b13;
	--webenginecolor16: #4a3523;
	--webenginecolor27: #100e0d;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	min-width: 320px;
	background: var(--zerath-obsidian);
}

body {
	min-width: 320px;
	color: #cfc4b3;
	background-color: var(--zerath-obsidian) !important;
	background-image:
		linear-gradient(180deg, rgba(3, 5, 9, .2) 0, rgba(7, 7, 7, .52) 48rem, #070707 77rem),
		url('../img/zerath-world.png') !important;
	background-position: top center !important;
	background-repeat: no-repeat !important;
	background-size: auto 1080px, cover !important;
	background-attachment: scroll, fixed !important;
	font-family: 'PT Sans', Arial, sans-serif;
}

a { color: var(--zerath-gold); }
a:hover, a:focus { color: var(--zerath-gold-bright) !important; }

.global-top-bar {
	min-height: 35px;
	background: rgba(5, 5, 6, .94);
	border-bottom: 1px solid rgba(227, 160, 58, .22);
	box-shadow: 0 5px 20px rgba(0, 0, 0, .45);
}
.global-top-bar .global-top-bar-content {
	width: min(1120px, calc(100% - 36px));
	color: #998b78;
}
.global-top-bar a { color: #c4b59d; letter-spacing: .03em; }
.global-top-bar-separator { color: #55331f; }

#navbar {
	background: linear-gradient(180deg, rgba(20, 18, 17, .97), rgba(7, 7, 7, .96));
	border-bottom: 1px solid rgba(227, 160, 58, .42);
	box-shadow: 0 12px 35px rgba(0, 0, 0, .55);
}
#navbar .navbar { width: min(1120px, calc(100% - 24px)); }
#navbar a {
	color: #d8cdbd;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 12px;
	letter-spacing: .12em;
	text-shadow: 0 1px 2px #000;
}
#navbar a:hover, #navbar .active > a {
	color: var(--zerath-gold-bright) !important;
	background: linear-gradient(180deg, rgba(227, 160, 58, .13), rgba(134, 31, 19, .08));
}

#header {
	height: auto;
	min-height: 590px;
	background: none !important;
	display: grid;
	place-items: center;
	position: relative;
}
#header::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 150px;
	background: linear-gradient(180deg, transparent, rgba(7, 7, 7, .82));
	pointer-events: none;
}
.zerath-hero {
	position: relative;
	z-index: 1;
	width: min(960px, calc(100% - 36px));
	margin: 54px auto 18px;
	text-align: center;
}
.zerath-brand { display: inline-block; }
.webengine-mu-logo {
	display: block;
	width: min(680px, 86vw);
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .95)) drop-shadow(0 0 18px rgba(215, 70, 23, .24));
	transition: transform .35s ease, filter .35s ease;
}
.webengine-mu-logo:hover {
	transform: scale(1.012);
	filter: drop-shadow(0 7px 9px rgba(0, 0, 0, .95)) drop-shadow(0 0 22px rgba(227, 160, 58, .32));
}
.zerath-kicker {
	margin: 7px 0 8px;
	color: #d3c5b0;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .34em;
	text-shadow: 0 2px 7px #000;
}
.zerath-hero h1 {
	margin: 0;
	color: var(--zerath-silver);
	font-family: 'Cinzel', Georgia, serif;
	font-size: clamp(24px, 4vw, 42px);
	font-weight: 400;
	letter-spacing: .08em;
	text-shadow: 0 3px 12px #000;
}
.zerath-realms {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}
.zerath-realms span {
	padding: 8px 15px 7px;
	color: #e8dac3;
	background: rgba(8, 8, 8, .76);
	border: 1px solid rgba(227, 160, 58, .48);
	box-shadow: inset 0 0 16px rgba(134, 31, 19, .13), 0 4px 12px rgba(0, 0, 0, .35);
	font-family: 'Cinzel', Georgia, serif;
	font-size: 11px;
	letter-spacing: .14em;
}

.header-info-container {
	width: min(1120px, calc(100% - 34px));
	margin: 0 auto;
	position: relative;
	z-index: 2;
	background: linear-gradient(90deg, transparent, rgba(6, 6, 6, .94) 14%, rgba(6, 6, 6, .94) 86%, transparent);
	border-top: 1px solid rgba(227, 160, 58, .22);
	border-bottom: 1px solid rgba(227, 160, 58, .3);
}
.header-info-container .header-info { color: #b7aa97; }
.header-info-block { background: transparent; border: 0; }
.online-count { color: var(--zerath-gold-bright); font-weight: 700; }
.webengine-online-bar { background: #21100c; border: 1px solid #4f2c1b; }
.webengine-online-bar-progress { background: linear-gradient(90deg, var(--zerath-crimson), var(--zerath-gold)); }

#container {
	position: relative;
	z-index: 2;
	width: min(1120px, calc(100% - 34px));
	min-height: 420px;
	margin: 38px auto 58px;
	padding: 30px 22px;
	background: linear-gradient(145deg, rgba(17, 15, 14, .97), rgba(5, 5, 5, .97));
	border: 1px solid rgba(227, 160, 58, .3);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 211, 106, .05);
}
#content { color: #cfc4b3; }
#content h1, #content h2, #content h3, #content h4,
.panel-title, .page-title {
	color: #eee4d4;
	font-family: 'Cinzel', Georgia, serif;
	letter-spacing: .04em;
}
.panel, .panel-news, .panel-general, .panel-sidebar, .panel-usercp, .well,
.list-group-item, .thumbnail {
	color: #c8bcaa;
	background: #100f0e;
	border-color: #3f3023;
	border-radius: 0;
	box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}
.panel-heading, .panel-news .panel-heading, .panel-sidebar > .panel-heading {
	color: #f0e5d5;
	background: linear-gradient(90deg, #1a1511, #0d0c0b);
	border-bottom: 1px solid rgba(227, 160, 58, .34);
}
.panel-footer, .panel-news .panel-footer {
	background: #0b0a09;
	border-top-color: #35261c;
}
.table { color: #c8bcaa; background: rgba(8, 8, 8, .45); }
.table > thead > tr > th {
	color: var(--zerath-gold-bright);
	background: #17120e;
	border-bottom: 1px solid #604326 !important;
	font-family: 'Cinzel', Georgia, serif;
}
.table-striped > tbody > tr:nth-of-type(odd) { background: rgba(227, 160, 58, .035); }
.table-hover > tbody > tr:hover { background: rgba(134, 31, 19, .14); }
.form-control, select.form-control, textarea.form-control {
	color: #e4d9ca;
	background: #090909;
	border: 1px solid #443326;
	border-radius: 0;
}
.form-control:focus {
	border-color: var(--zerath-gold);
	box-shadow: 0 0 0 2px rgba(227, 160, 58, .12);
}
.btn-primary {
	color: #180c07;
	background: linear-gradient(135deg, var(--zerath-gold-bright), var(--zerath-gold) 55%, var(--zerath-fire));
	border: 1px solid #7d451b;
	border-radius: 2px;
	font-family: 'Cinzel', Georgia, serif;
	font-weight: 700;
	letter-spacing: .07em;
	text-shadow: 0 1px rgba(255,255,255,.2);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	color: #fff0dc !important;
	background: linear-gradient(135deg, #cf6a1e, var(--zerath-crimson)) !important;
	border-color: var(--zerath-gold) !important;
}
.sidebar-banner { display: none; }

.footer {
	position: relative;
	z-index: 2;
	width: min(1120px, calc(100% - 34px));
	margin: 0 auto 70px;
	color: #817766;
	background: #050505;
	border-top: 1px solid rgba(227, 160, 58, .22);
}
.footer a { color: #b79b72; }
.footer hr { border-color: #2c2119; }

@media (max-width: 800px) {
	body { background-size: auto 820px, cover !important; }
	.global-top-bar .global-top-bar-content, .header-info-container,
	#container { width: calc(100% - 20px); }
	#navbar { overflow: hidden; }
	#navbar ul { display: flex; justify-content: center; flex-wrap: wrap; }
	#navbar ul li { flex: 0 0 auto; }
	#navbar ul li a { padding: 14px 15px; font-size: 10px; }
	#header { min-height: 470px; }
	.zerath-hero { width: calc(100% - 20px); margin-top: 38px; }
	.zerath-kicker { padding: 0 12px; font-size: 10px; line-height: 1.8; letter-spacing: .22em; }
	.zerath-realms { gap: 5px; margin-top: 18px; }
	.zerath-realms span { padding: 6px 9px; font-size: 9px; }
	.header-info-container { text-align: center; }
	.header-info-container .header-info { width: 100%; padding: 15px; }
	#container { margin-top: 24px; padding: 20px 8px; }
	#content > .col-xs-8, #content > .col-xs-4 { width: 100%; float: none; }
	#content > .col-xs-12 > .row > .home-news-block,
	#content > .col-xs-12 > .row > .col-xs-4 { width: 100%; float: none; margin-bottom: 18px; }
	.footer { width: calc(100% - 20px); padding: 25px 18px; }
	.footer .col-xs-8, .footer .col-xs-4 { width: 100%; float: none; }
}

@media (max-width: 480px) {
	#header { min-height: 390px; }
	.zerath-hero h1 { font-size: 22px; }
	.webengine-mu-logo { width: 94vw; }
	.header-info-block { font-size: 11px; }
}
