:root {
	/* backgrounds */
	--primary: rgb(30,33,40);
	--secondary: rgb(25,28,33);
	--third: #ddd;
	--border: rgb(19,20,23);

	/* text */
	--font-color: rgb(155,162,177);

	/* Links / anchors */
	--anchor:#b39062;
	--anchor-hover:#e79424;

	/* buttons or alert boxes with different colors */
	--bg-danger: #3c0e0e;
	--color-danger: #9e5858;
	--border-danger: #350505;

	--bg-warning: #905c00;
	--color-warning: #39280a;
	--border-warning: #322001;

	--bg-info: #005d90;
	--color-info: #00263e;
	--border-info: #022530;

	--bg-success: #009039;
	--color-success: #003f0c;
	--border-success: #00380c;

	--bg-default: rgb(15,17,20);
	--color-default: #968452;
	--border-default: #000;
}



body {
	font-family: 'arial', sans-serif;
	color:var(--font-color);
}


body, ul { margin: 0; padding: 0; }
li { list-style: none; }
a { text-decoration: none;color:var(--anchor); }
a:hover {color:var(--anchor-hover);}
a:hover, button:hover, input[type="submit"]:hover { cursor: pointer; }
* {-webkit-transition-duration: 0.2s;-moz-transition-duration: 0.2s;-o-transition-duration: 0.2s;transition-duration: 0.2s;}
*:hover {-webkit-transition-duration: 0s;-moz-transition-duration: 0s;-o-transition-duration: 0s;transition-duration: 0s;}

nav .container > div > ul > li > ul {
	position: absolute;
	border: 2px solid;
	border-top:none !important;
	border-color: var(--border);
	width: 200px;
}

nav { border: 10px solid var(--primary); }
nav .container { padding-left: 10px; }
nav .container > div > ul > li,
.modIcon:hover > i:nth-child(2) { display: inline-block; }

nav .container > div > ul > li > a { padding: 20px; }
nav .container > div > ul > li:hover > ul,
nav .container > div > ul > li > a,
nav .container > div > ul > li > ul > li > a { display: block; }
nav .container > div > ul > li > ul > li > a { padding: 10px 20px; }
nav .container, .preventCollapse, .ellipsis { overflow: hidden; }

.topPane { margin-bottom: 10px; }
.leftPane { width: 70%; }
.rightPane { width: 29%; }
.searchForm { width: 200px; }
.body { padding: 10px 0px; }
table { width: 100%; }
td { padding: 10px 5px; }
.header { color: #d1a233; }
.feedContainer { margin:2rem 0; }
.pull-left { float:left; }
.pull-right { float:right; }
.well, .header { width: auto; }
.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }

.banner {
    background: url("../img/header.png");
    height: 240px;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-top: 30px;
    border: 10px solid var(--primary);
}



.searchForm input {
    width: 100%;
    height: 25px;
    border: 1px solid var(--border);
    color: var(--font-color);
    font-size: 1em;
	margin-bottom: 5px;
}

#countDownTimer {
	line-height: 2.3;
	padding: 0px 10px;
	color: #5390a8;
}

.modIcon > i:nth-child(2),
.modIcon:hover > i:nth-child(1),
/*.loginContainer, */
nav .container > div > ul > li > ul {
	display: none;
}

.loginForm {
    display: flex;
    flex-wrap: wrap;
}
.loginForm button:hover {
	background: #0000004d;
}
.loginForm button {
    width: 100%;
    margin-top: 10px;
    background: rgb(15,17,20);
    color: var(--font-color);
    height: 40px;
    border: 1px solid var(--border);
    font-size: 1em;
	margin-bottom: 5px;
}

.loginForm input {
	width: 100%;
	height: 30px;
	border: none;
	color: #fff;
	font-size: 1em;
	border-bottom: 1px solid var(--border);
}

.main {
	width: 1220px;
	margin: 2rem auto;
	position: relative;
	z-index: 1;
}

.ellipsis {
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alert-box {
	max-width: 500px;
	font-size: 14px;
	border-radius: 5px;
	border: 1px solid var(--third);
	margin: 0 auto;
	margin-bottom: 15px;
	text-align: center;
}

.alert-default {
	background: var(--bg-default);
	color: var(--color-default);
	border-color: var(--border-default);
}
.alert-info {
	background: var(--bg-info);
	color: var(--color-info);
	border-color: var(--border-info);
}
.alert-success {
    background: var(--bg-success);
    color: var(--color-success);
    border-color: var(--border-success);
}
.alert-warning {
	background: var(--bg-warning);
	color: var(--color-warning);
	border-color: var(--border-warning);
}
.alert-danger {
	background: var(--bg-danger);
	color: var(--color-danger);
	border-color: var(--border-danger);
}
.alert-collapse {display:inline-block;}
.alert-size1 { font-size: 12px; }
.alert-size2 { font-size: 15px; }
.alert-size3 { font-size: 18px; }
.alert-size4 { font-size: 20px; }


nav .container > div > ul > li > ul > li > a:hover,
.searchForm input, #countDownTimer, .loginForm input,
nav, footer, table, .header, .feedContainer {
	background: var(--primary);
}
.loginForm .well {
	width: 100%;
}

body, nav .container,
nav .container > div > ul > li > ul,
.leftPane, .rightPane, .topPane,
tr:nth-child(2n+1) {
	background: var(--secondary);
}

footer, .feedContainer,
nav .container, .topPane {
	border-bottom: 2px solid var(--border)
}

table, .header, .well, .smedia a {
	padding: 10px;
}

.searchForm input,
.loginForm input,
.alert-box {
	padding: 5px;
}

/* Znote AAC */
/* adding button style to select */
select {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
	margin-bottom: 10px;
}
input {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
	margin-bottom: 5px;
}
#loginContainer li {
	text-align: right;
}

ul.linkbuttons {
	margin-top: 8px;
	padding: 0 8px;
}
ul.linkbuttons li {
	display: inline-block;
	border: 1px solid #d1a233;
	width: calc(50% - 10px);
	float: left;
	margin-bottom: 16px;
	text-align: center;
}
ul.linkbuttons li:nth-child(odd) {
	margin-right: 16px;
}
ul.linkbuttons li a {
	padding: 5px 0;
	display: inline-block;
	width: 100%;
	text-align: center;
}
ul.linkbuttons:after {
	content: '';
	display: block;
	clear: both;
}
.widget,
.widget .body,
.search_widget,
.search_widget .body {
	padding-bottom: 0;
}
.widget center {
	margin: auto;
}
.widget h3 {
	margin-bottom: 0;
}
.search_widget form {
	margin: auto;
}
.search_widget input {
	width: 50%;
	float: left;
	margin-bottom: 5px;
}
.search_widget label {
	padding: 9px;
	float: left;
}
.search_widget form:after {
	display: block;
	content: '';
	clear: both;
}
div.relative {
	position: relative;
}
.search_widget #name_suggestion {
	position: absolute;
	width: 280px;
	left: -290px;
	display: none;
}
.search_widget #name_suggestion.show {
	display: block;
}
.search_widget .sname {
	text-align: right;
}
.search_widget .sname a {
	display: inline-block;
	background-color: black;
	padding: 10px 20px;
	border-bottom: 1px solid rgb(30,33,40);
}
.page_credits .feedContainer .pull-left.leftPane {
	box-sizing: border-box;
	padding-left: 8px;
	padding-right: 8px;
}

.page_characterprofile #characterProfileTable thead th:first-of-type {
	position: relative;
	width: 28%;
}
.page_characterprofile #characterProfileTable thead th:last-of-type {
	text-align: left;
	padding-left: 16px;
}
.page_characterprofile .outfit {
	position: absolute;
	top: 0;
	left: 0;
}
.page_characterprofile .flag {
	position: absolute;
	top: 16px;
	right: 16px;
}
.postHolder iframe {
	display: block;
	margin: auto;
}

/* Ravenia refresh */
:root {
	--primary: #171d29;
	--secondary: #10151f;
	--font-color: #c0c6d2;
	--anchor: #d3a75c;
	--anchor-hover: #f0c77e;
	--border: #2a3445;
	--page-bg: #0b1018;
	--surface-raised: #1c2533;
	--muted: #8792a4;
}

html {
	min-height: 100%;
	background: var(--page-bg);
}

body {
	min-height: 100vh;
	background:
		radial-gradient(ellipse at 50% -20%, rgba(84, 99, 123, .2), transparent 55%),
		var(--page-bg);
	color: var(--font-color);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

* {
	box-sizing: border-box;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

a {
	color: var(--anchor);
}

a:hover {
	color: var(--anchor-hover);
}

.main {
	width: min(1220px, calc(100% - 48px));
	margin: 28px auto;
}

nav {
	position: relative;
	z-index: 5;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(23, 29, 41, .96);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 0 12px;
	overflow: visible;
}

nav .container > div {
	float: none;
}

nav .container > div > ul > li {
	position: relative;
}

nav .container > div > ul > li > a {
	padding: 15px 13px;
	color: #c5ccda;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

nav .container > div > ul > li > a:hover,
nav .container > div > ul > li:hover > a {
	color: var(--anchor-hover);
	background: rgba(255, 255, 255, .045);
}

nav .container > div > ul > li > ul {
	z-index: 10;
	top: 100%;
	left: 0;
	width: 220px;
	padding: 7px;
	border: 1px solid var(--border);
	border-radius: 0 0 10px 10px;
	background: var(--primary);
	box-shadow: 0 14px 28px rgba(0, 0, 0, .3);
}

nav .container > div > ul > li:hover > ul,
nav .container > div > ul > li:focus-within > ul {
	display: block;
}

nav .container > div > ul > li > ul > li > a {
	border-radius: 6px;
	color: var(--font-color);
	font-size: 14px;
}

nav .container > div > ul > li > ul > li > a:hover {
	color: var(--anchor-hover);
	background: var(--surface-raised);
}

.banner {
	height: clamp(160px, 18vw, 205px);
	margin-top: 20px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background-size: cover;
	background-position: center top;
	box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

.feedContainer {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin: 16px 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.leftPane,
.rightPane {
	float: none;
	min-width: 0;
	background: transparent;
}

.leftPane {
	width: calc(70% - 9px);
}

.rightPane {
	width: calc(30% - 9px);
	padding-left: 14px;
	border-left: 1px solid var(--border);
}

.well,
.feedContainer,
.topPane {
	border-color: var(--border);
}

.well {
	border-radius: 10px;
	background: var(--primary);
}

.banner {
	min-height: 0;
	background-color: #111721;
	background-image: linear-gradient(90deg, rgba(9, 13, 20, .04), rgba(9, 13, 20, .02)), url("../img/header.png");
	background-position: center top;
	background-size: cover;
}

.heroIntro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: -1px 0 22px;
	padding: 21px 26px;
	border: 1px solid var(--border);
	border-radius: 0 0 12px 12px;
	background: linear-gradient(110deg, #1a2331, #121923 72%);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

.heroIntro h1 {
	margin: 1px 0 5px;
	color: #f0e2c6;
	font-size: clamp(20px, 2.4vw, 29px);
	line-height: 1.25;
}

.heroIntro p {
	margin: 0;
	color: var(--muted);
}

.heroIntro .heroEyebrow {
	color: var(--anchor);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.heroAction {
	flex: 0 0 auto;
	padding: 12px 18px;
	border: 1px solid #c69b58;
	border-radius: 7px;
	background: linear-gradient(#bd9251, #99703b);
	color: #16130e;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
}

.heroAction:hover {
	transform: translateY(-1px);
	background: linear-gradient(#d0a661, #ad8147);
	color: #100e0b;
}

.leftPane > .well,
.leftPane > table,
.leftPane > #news,
.leftPane > #changelogTable,
.rightPane > .well {
	margin-bottom: 16px;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--primary);
}

.header,
tr.yellow {
	color: var(--anchor-hover);
	background: var(--surface-raised);
	font-weight: 700;
}

.header {
	padding: 12px 15px;
	border-bottom: 1px solid var(--border);
}

.widget .header::before,
.search_widget .header::before,
.vote_widget .header::before,
.postHolder .header::before {
	display: inline-grid;
	width: 27px;
	height: 27px;
	margin-right: 10px;
	place-items: center;
	border: 1px solid rgba(211, 167, 92, .28);
	border-radius: 8px;
	background: rgba(211, 167, 92, .1);
	color: var(--anchor-hover);
	font-family: FontAwesome;
	font-size: 13px;
	vertical-align: middle;
}

.loginContainer .header::before {
	content: "\f007";
}

.vote_widget .header::before {
	content: "\f164";
}

.search_widget .header::before {
	content: "\f002";
}

.topplayers_widget .header::before {
	content: "\f091";
}

.highscore_widget .header::before {
	content: "\f080";
}

.serverinfo_widget .header::before {
	content: "\f0ac";
}

.houses_widget .header::before {
	content: "\f015";
}

.myaccount_widget .header::before {
	content: "\f013";
}

.postHolder .header::before {
	content: "\f15c";
}

.subpage-search .header::before {
	content: "\f002";
}

.subpage-recover .header::before {
	content: "\f084";
}

.launchNews .header::before {
	content: "\f0a1";
}

.body {
	padding: 14px 15px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
}

td,
th {
	padding: 11px 13px;
	border-bottom: 1px solid rgba(135, 146, 164, .12);
}

tr:nth-child(2n+1) {
	background: rgba(255, 255, 255, .025);
}

#news p {
	margin: 0;
	padding: 14px 16px;
}

input,
select,
textarea,
.searchForm input,
.loginForm input {
	max-width: 100%;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #0d131d;
	color: var(--font-color);
	font: inherit;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--anchor);
	outline: 2px solid rgba(211, 167, 92, .18);
}

button,
input[type="submit"],
.loginForm button {
	border: 1px solid rgba(211, 167, 92, .5);
	border-radius: 7px;
	background: #9c7137;
	color: #fff7e8;
	font: inherit;
	font-weight: 700;
}

button:hover,
input[type="submit"]:hover,
.loginForm button:hover {
	background: #b48648;
}

.alert-box {
	border-radius: 8px;
}

footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 8px 18px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--primary);
	color: var(--muted);
}

footer .pull-left,
footer .pull-right {
	float: none;
}

footer p {
	margin: 8px 0;
}

.rightPane > .well {
	margin-bottom: 12px;
}

.rightPane .header {
	padding: 9px 11px;
	font-size: 13px;
}

.rightPane .widget .header::before,
.rightPane .search_widget .header::before,
.rightPane .vote_widget .header::before {
	width: 23px;
	height: 23px;
	margin-right: 8px;
	border-radius: 6px;
	font-size: 11px;
}

.rightPane .body {
	padding: 10px 12px;
}

.rightPane input:not([type="checkbox"]),
.rightPane select,
.rightPane textarea,
.rightPane button,
.rightPane input[type="submit"] {
	min-width: 0;
	max-width: 100%;
	height: 34px;
	padding: 6px 9px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.2;
}

.rightPane .loginForm > .well {
	margin: 0 0 7px;
	padding: 8px 9px;
}

.rightPane .loginForm label {
	display: block;
	margin-bottom: 3px;
	font-size: 12px;
}

.rightPane .loginForm input:not([type="submit"]) {
	width: 100%;
	height: 34px;
	padding: 6px 9px;
}

.rightPane .loginForm input[type="submit"],
.rightPane .loginForm button,
.rightPane .widget form > input[type="submit"] {
	width: 100%;
	min-height: 34px;
	margin: 2px 0 4px;
	padding: 7px 10px;
}

.rightPane .loginForm h3 {
	margin: 8px 0 4px;
	font-size: 15px;
}

.rightPane .loginForm p,
.rightPane .widget p {
	margin: 5px 0;
	font-size: 12px;
}

.rightPane .searchForm {
	width: 100%;
}

.rightPane .searchForm label {
	display: block;
	margin-bottom: 3px;
	font-size: 12px;
}

.rightPane .searchForm input {
	width: 100%;
	height: 34px;
	margin: 0;
	padding: 6px 9px;
}

.rightPane .widget select {
	width: 100%;
	margin-bottom: 7px;
}

.rightPane .linkbuttons {
	margin: 0;
	padding: 0;
}

.rightPane .linkbuttons li {
	width: calc(50% - 5px);
	margin-bottom: 8px;
	border-radius: 6px;
}

.rightPane .linkbuttons li:nth-child(odd) {
	margin-right: 10px;
}

.rightPane .linkbuttons li a {
	padding: 7px 4px;
	font-size: 12px;
}

body {
	font-size: 14px;
}

.main {
	width: calc(100% - 32px);
	max-width: 1120px;
	margin: 20px auto;
}

nav .container > div > ul > li > a {
	padding: 11px 10px;
	font-size: 13px;
}

.banner {
	height: clamp(145px, 14vw, 175px);
	margin-top: 14px;
	border-radius: 10px;
}

.heroIntro {
	gap: 18px;
	margin-bottom: 16px;
	padding: 16px 20px;
	border-radius: 0 0 10px 10px;
}

.heroIntro h1 {
	font-size: clamp(19px, 2vw, 24px);
}

.heroIntro p:not(.heroEyebrow) {
	font-size: 13px;
}

.heroAction {
	padding: 9px 13px;
	font-size: 13px;
}

.feedContainer {
	gap: 16px;
	margin: 16px 0;
	padding: 14px;
	border-radius: 11px;
}

.leftPane > .well,
.leftPane > table,
.leftPane > #news,
.leftPane > #changelogTable,
.rightPane > .well {
	margin-bottom: 10px;
	border-radius: 8px;
}

.header {
	padding: 9px 12px;
	font-size: 14px;
}

.body {
	padding: 10px 12px;
}

td,
th {
	padding: 8px 10px;
}

input,
select,
textarea,
button,
input[type="submit"] {
	height: 36px;
	padding: 7px 10px;
	border-radius: 6px;
	font-size: 14px;
}

.rightPane .header {
	padding: 7px 9px;
	font-size: 12px;
}

.rightPane .widget .header::before,
.rightPane .search_widget .header::before,
.rightPane .vote_widget .header::before {
	width: 20px;
	height: 20px;
	margin-right: 6px;
	font-size: 10px;
}

.rightPane .body {
	padding: 8px 10px;
}

.rightPane input:not([type="checkbox"]),
.rightPane select,
.rightPane textarea,
.rightPane button,
.rightPane input[type="submit"] {
	height: 30px;
	padding: 5px 8px;
	font-size: 12px;
}

.rightPane .loginForm > .well {
	margin-bottom: 5px;
	padding: 6px 7px;
}

.rightPane .loginForm label,
.rightPane .searchForm label {
	font-size: 11px;
}

.rightPane .loginForm input:not([type="submit"]),
.rightPane .searchForm input {
	height: 30px;
	padding: 5px 8px;
	font-size: 12px;
}

.rightPane .loginForm input[type="submit"],
.rightPane .loginForm button,
.rightPane .widget form > input[type="submit"] {
	min-height: 30px;
	margin: 1px 0 3px;
	padding: 5px 8px;
}

.rightPane .loginForm h3 {
	margin: 6px 0 3px;
	font-size: 14px;
}

.rightPane .loginForm p,
.rightPane .widget p {
	font-size: 11px;
}

.rightPane .linkbuttons li {
	margin-bottom: 5px;
}

.rightPane .linkbuttons li a {
	padding: 5px 3px;
	font-size: 11px;
}

#news p {
	padding: 10px 12px;
}

footer {
	margin-top: 14px;
	padding: 6px 12px;
	font-size: 12px;
}
