@font-face {
	font-family: "GodOfWar";
	src: url("/res/fonts/GodOfWar.ttf");
}

@font-face {
	font-family: "Matrix";
	src: url("/res/fonts/matrix-bold.ttf");
}

html {
	background-color: #000;
	background-image: url("/res/images/classictibia-bg.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.43;
	color: #8d8d8d;
	background-color: rgba(44, 62, 80, 0.2);
	background-image: url("/res/images/classictibia-pattern.png");
	background-repeat: repeat;
}

a {
	color: #b5c1c8;
	font-weight: 700;
	text-decoration: none;
}

a:visited {
	color: #b5c1c8;
}

a:hover,
a:focus {
	color: #fff;
	text-decoration: underline;
}

.container {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.navbar {
	position: relative;
	min-height: 45px;
	margin-bottom: 17px;
	border: 1px solid transparent;
	border: 0;
	font-size: 13px;
	font-weight: 300;
}

.navbar-fixed-top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 500;
	padding-right: 30px;
}

.navbar-default {
	background-color: #17161c;
	border-color: #080709;
}

.nav-container {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 45px;
}

.navbar-brand {
	font-family: GodOfWar, Verdana, sans-serif;
	font-size: 19px;
	font-weight: 400;
	color: #91ca3d;
	padding: 14px 15px;
	white-space: nowrap;
}

.navbar-brand:hover,
.navbar-brand:focus {
	color: #91ca3d;
	text-decoration: none;
}

.navbar-links {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.navbar-links > li {
	position: relative;
}

.navbar-account {
	margin-left: auto;
}

.navbar-links a {
	display: inline-block;
	padding: 14px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #91ca3d;
}

.navbar-links a:hover,
.navbar-links a:focus {
	color: #fff;
	background-color: #2a2a34;
	text-decoration: none;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 160px;
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #17161c;
	border: 1px solid #080709;
	z-index: 800;
}

.dropdown.open .dropdown-menu {
	display: block;
}

.dropdown-menu li a {
	display: block;
	padding: 12px 15px;
	color: #91ca3d;
	font-weight: 700;
}

.dropdown-menu li a:hover {
	color: #fff;
	background-color: #2a2a34;
	text-decoration: none;
}

.dropdown-menu .divider {
	height: 1px;
	margin: 7px 0;
	background-color: #2a2a34;
}

.dropdown-header {
	padding: 3px 15px;
	font-size: 11px;
	color: #8d8d8d;
	text-transform: uppercase;
}

.disabled-link {
	opacity: 0.8;
	cursor: default;
	pointer-events: none;
}

.disabled-link:hover,
.disabled-link:focus {
	color: #91ca3d;
	background-color: transparent;
	text-decoration: none;
}

.caret {
	display: inline-block;
	margin-left: 2px;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid #91ca3d;
	vertical-align: middle;
}

.titleheader {
	margin-top: 45px;
	padding: 25px 15px;
}

.site-logo {
	display: flex;
	width: min(624px, 100%);
	aspect-ratio: 624 / 124;
	align-items: center;
	justify-content: center;
	font-family: GodOfWar, Matrix, "Times New Roman", serif;
	font-size: clamp(32px, 6.4vw, 78px);
	font-weight: 400;
	letter-spacing: 1px;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	color: #a2d956;
	text-shadow:
		0 2px 0 #2b3a15,
		0 0 4px rgba(0, 0, 0, 0.95),
		0 0 10px rgba(0, 0, 0, 0.6);
}

.titleheader a,
.titleheader a:hover,
.titleheader a:focus {
	text-decoration: none;
}

.layout-row {
	display: flex;
	margin-left: -15px;
	margin-right: -15px;
	align-items: stretch;
}

.main-column {
	width: 75%;
	padding-left: 15px;
	padding-right: 15px;
}

.side-column {
	width: 25%;
	padding-left: 15px;
	padding-right: 15px;
}

.box {
	margin-bottom: 20px;
	padding: 30px 15px;
	background: #0c0c15;
}

#main_container > .box,
#main_container > form.box,
#main_container > div.box {
	margin: 0 0 20px 0;
	padding: 0;
	background: transparent;
	border: 0;
}

#main_container > .box:last-child,
#main_container > form.box:last-child,
#main_container > div.box:last-child {
	margin-bottom: 0;
}

#main_container {
	min-height: 520px;
}

#main_container > form.box label {
	width: 28%;
	margin: 0 2% 14px 0;
	display: inline-block;
	text-align: right;
	vertical-align: middle;
	text-transform: none;
}

#main_container > form.box input[type=text],
#main_container > form.box input[type=password],
#main_container > form.box select {
	width: 68%;
	display: inline-block;
	margin: 0 0 14px 0;
	vertical-align: middle;
	color: #333;
	background: #f8f8f8;
	border: 1px solid #ccc;
}

#main_container > form.box input[type=submit] {
	margin-top: 6px;
	margin-left: 30%;
}

h1,
h2,
h3 {
	margin: 0 0 12px 0;
	padding-left: 2px;
	font-family: Matrix, Verdana, sans-serif;
	font-weight: 700;
	color: #91ca3d;
	text-shadow: 1px 1px 1px #000;
}

h1 {
	font-size: 36px;
	margin-top: 0;
	padding-left: 18px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 22px;
}

p {
	margin: 0 0 10px 0;
}

table {
	width: 100%;
	margin: 10px 0;
	border-collapse: collapse;
	border-spacing: 0;
	text-align: left;
}

th {
	padding: 9px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #91ca3d;
	background-color: #101018;
	border: 1px solid #1d1d2c;
}

td {
	padding: 9px 10px;
	word-break: break-word;
	background-color: #0f0f18;
	border: 0;
}

tr:nth-child(even) td {
	background-color: #12121d;
}

table.info th {
	width: 34%;
}

.box label {
	display: block;
	margin: 16px 0 6px 0;
	color: #b5c1c8;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.box input[type=text],
.box input[type=password],
.box select {
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	font-size: 12px;
	background: #f8f8f8;
	border: 1px solid #ccc;
	color: #333;
	outline: none;
}

.box input[type=text]:focus,
.box input[type=password]:focus,
.box select:focus {
	border-color: #4f6478;
}

.box input[type=submit],
button,
a.button,
.btn {
	display: inline-block;
	margin: 12px 0 0 0;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: #2a2a34;
	border: 1px solid #1f1f26;
	text-decoration: none;
	cursor: pointer;
}

.box input[type=submit]:hover,
button:hover,
a.button:hover,
.btn:hover {
	color: #fff;
	background: #131318;
	text-decoration: none;
}

.sidebar-heading {
	margin: 0;
	color: #91ca3d;
	font-weight: 700;
	padding-left: 5px;
}

.sidebar-search {
	margin-bottom: 14px;
}

.search-wrap {
	display: flex;
}

.search-wrap input {
	flex: 1;
}

.search-wrap button {
	margin: 0;
	padding: 8px 10px;
	color: #333;
	background: #e7e7e7;
	border: 1px solid #ccc;
}

.search-wrap button:hover {
	color: #333;
	background: #d3d3d3;
	border-color: #adadad;
}

.sidebar-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	margin-top: 6px;
}

.sidebar-text {
	padding-left: 5px;
}

.sidebar-post {
	padding-left: 5px;
	font-size: 10px;
	margin-bottom: 12px;
	line-height: 1.4;
}

.sidebar-post strong {
	font-size: 12px;
}

.sidebar-post span {
	font-size: 10px;
}

.footer {
	margin: 0;
	padding: 26px 15px;
	background: #141418;
	width: 100%;
	color: #35353b;
	border-top: 1px solid #1d1d2c;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.footer-section {
	padding: 0 8px 0 0;
}

.footer-section p {
	margin: 0 0 9px 0;
}

.footer-title {
	font-size: 14px;
	color: #91ca3d;
}

.footer-section a {
	color: #5b5b63;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.55;
}

.footer-section a:hover {
	color: #8d8d8d;
	text-decoration: none;
}

.footer .disabled-link,
.footer .disabled-link:visited {
	opacity: 1;
	color: #5b5b63;
}

.footer .disabled-link:hover,
.footer .disabled-link:focus {
	color: #8d8d8d;
	background: transparent;
	text-decoration: none;
}

.footer-copy {
	margin: 12px 2px 0 2px;
	padding: 0;
	font-size: 10px;
	color: #8d8d8d;
	text-align: center;
}

.home-hero {
	display: flex;
	gap: 18px;
}

.home-carousel {
	position: relative;
	width: 58.3333333333%;
	height: 250px;
	overflow: hidden;
	border: 1px solid #1d1d2c;
	background: #000;
}

.home-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	animation: home-rotate 15s infinite;
}

.home-slide:nth-child(1) {
	animation-delay: 0s;
}

.home-slide:nth-child(2) {
	animation-delay: 5s;
}

.home-slide:nth-child(3) {
	animation-delay: 10s;
}

.home-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.55);
	color: #d9e0e4;
	font-weight: 700;
}

.home-intro {
	width: 41.6666666667%;
	margin-top: 10px;
	text-align: justify;
}

.home-intro h2,
.home-news h2 {
	margin: 0 0 10px 0;
	padding-left: 0;
}

.home-news p {
	margin: 0;
}

.stats-note {
	margin: 2px 0 14px 0;
	color: #8d8d8d;
}

.highscore-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.highscore-table-wrap {
	flex: 1;
	min-width: 0;
}

.highscore-table {
	table-layout: fixed;
	margin: 0;
}

.highscore-table th:first-child,
.highscore-table td:first-child {
	width: 58px;
}

.highscore-table th:last-child,
.highscore-table td:last-child {
	width: 92px;
	text-align: right;
}

.highscore-side {
	width: 165px;
}

.highscore-pages {
	display: flex;
	gap: 8px;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 0;
	margin-bottom: 14px;
}

.highscore-page {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #b5c1c8;
	background: #0f0f18;
	border: 1px solid #1d1d2c;
	text-decoration: none;
}

.highscore-page.active {
	color: #fff;
	background: #2a2a34;
}

a.highscore-page:hover,
a.highscore-page:focus {
	color: #fff;
	background: #2a2a34;
	text-decoration: none;
}

.highscore-skills {
	width: 100%;
	border: 1px solid #1d1d2c;
	background: #0f0f18;
}

.highscore-skill {
	display: block;
	padding: 10px 12px;
	font-weight: 700;
	color: #b5c1c8;
	background: #0f0f18;
	border-bottom: 1px solid #1d1d2c;
	text-decoration: none;
}

.highscore-skill:last-child {
	border-bottom: 0;
}

.highscore-skill.active {
	color: #fff;
	background: #2a2a34;
}

a.highscore-skill:hover,
a.highscore-skill:focus {
	color: #fff;
	background: #2a2a34;
	text-decoration: none;
}

.latest-deaths-table th:first-child,
.latest-deaths-date {
	width: 28%;
	white-space: nowrap;
}

.latest-deaths-text a {
	color: #b5c1c8;
}

.latest-deaths-text a:hover {
	color: #fff;
	text-decoration: none;
}

.census-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 18px 0;
}

.census-summary-item {
	padding: 12px;
	background: #101018;
	border: 1px solid #1d1d2c;
}

.census-summary-label {
	display: block;
	font-size: 10px;
	color: #8d8d8d;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.census-summary-value {
	font-size: 20px;
	color: #91ca3d;
}

.census-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.census-bottom-row {
	display: block;
	margin-top: 22px;
	min-width: 0;
	max-width: 100%;
}

.census-panel-online {
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.census-panel {
	padding: 12px;
	background: #0f0f18;
	border: 1px solid #1d1d2c;
	box-sizing: border-box;
	overflow: hidden;
}

.census-panel h2 {
	margin: 0 0 12px 0;
	font-size: 24px;
}

.census-pie-wrap {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 14px;
	align-items: center;
}

.census-pie {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	border: 1px solid #1d1d2c;
}

.census-legend {
	display: grid;
	gap: 8px;
}

.census-legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #b5c1c8;
	font-size: 12px;
}

.census-legend-swatch {
	width: 12px;
	height: 12px;
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.35);
}

.census-spline {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

.census-spline-levels {
	min-height: 280px;
}

.census-axis {
	stroke: #2a2a34;
	stroke-width: 1;
}

.census-gridline {
	stroke: #1d1d2c;
	stroke-width: 1;
	stroke-dasharray: 2 3;
}

.census-line {
	fill: none;
	stroke: #91ca3d;
	stroke-width: 2.5;
}

.census-point {
	fill: #b5c1c8;
	stroke: #91ca3d;
	stroke-width: 1;
}

.census-axis-label {
	fill: #8d8d8d;
	font-size: 10px;
	font-weight: 700;
}

.census-axis-label-small {
	font-size: 9px;
	font-weight: 400;
}

.census-spline-labels {
	display: grid;
	gap: 5px;
	font-size: 11px;
	color: #b5c1c8;
	margin-top: 8px;
}

#main_container > form.home-login label {
	width: auto;
	margin: 10px 0 6px 0;
	display: block;
	text-align: left;
	text-transform: uppercase;
}

#main_container > form.home-login input[type=text],
#main_container > form.home-login input[type=password] {
	width: 100%;
	margin: 0 0 12px 0;
	display: block;
}

#main_container > form.home-login input[type=submit] {
	margin-left: 0;
}

@keyframes home-rotate {
	0% {
		opacity: 0;
	}
	8% {
		opacity: 1;
	}
	30% {
		opacity: 1;
	}
	38% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}

@media (max-width: 1024px) {
	.container {
		width: auto;
	}
}

@media (max-width: 900px) {
	.layout-row {
		flex-direction: column;
		margin-left: 0;
		margin-right: 0;
	}

	.main-column,
	.side-column {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	#main_container > form.box label,
	#main_container > form.box input[type=text],
	#main_container > form.box input[type=password],
	#main_container > form.box select {
		width: 100%;
		margin: 0 0 10px 0;
		display: block;
		text-align: left;
	}

	#main_container > form.box input[type=submit] {
		margin-left: 0;
	}

	.home-hero {
		flex-direction: column;
	}

	.home-carousel,
	.home-intro {
		width: 100%;
	}

	.highscore-layout {
		flex-direction: column;
	}

	.highscore-side {
		width: 100%;
	}

	.highscore-pages {
		flex-wrap: wrap;
	}

	.highscore-skills {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.census-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.census-grid {
		grid-template-columns: 1fr;
	}

	.census-panel-online {
		width: 100%;
	}

	.census-pie-wrap {
		grid-template-columns: 1fr;
	}

	.census-pie {
		margin: 0 auto;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.navbar {
		position: static;
		padding-right: 0;
	}

	.nav-container {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		padding: 8px 0;
		gap: 6px;
	}

	.navbar-account {
		margin-left: 0;
	}

	.dropdown-menu {
		position: static;
		display: none;
		min-width: 0;
		border: 0;
		padding: 0 0 0 12px;
	}

	.titleheader {
		margin-top: 0;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) {
	.container {
		width: 640px;
	}
}

@media (min-width: 992px) {
	.container {
		width: 840px;
	}
}

@media (min-width: 1200px) {
	.container {
		width: 960px;
	}
}
