: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; z-index: 1; }
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;
}

#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;
}

.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 */
.leftPane img {
	max-width: 100%;
}
/* 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;
}
input {
	background: rgb(15,17,20);
	color: var(--font-color);
	height: 40px;
	border: 1px solid var(--border);
	font-size: 1em;
}
#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;
}
.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;
}

/* Character creation experience */
.page_createcharacter .feedContainer {
	background:
		radial-gradient(circle at 18% 0%, rgba(209, 162, 51, .08), transparent 30%),
		linear-gradient(145deg, #181b21 0%, #14171c 100%);
	border: 1px solid rgba(209, 162, 51, .10);
	box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
}
.page_createcharacter .leftPane {
	box-sizing: border-box;
	padding: 12px 22px 22px 12px;
}
.character-create {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(209, 162, 51, .18);
	border-radius: 10px;
	background: linear-gradient(150deg, rgba(31, 35, 43, .98), rgba(20, 23, 29, .98));
	box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}
.character-create:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #d1a233 40%, #f0c967 60%, transparent);
}
.character-create__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 34px 38px 26px;
	border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.character-create__header h1,
.character-create--success h1 {
	margin: 4px 0 9px;
	color: #f2f3f5;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -.5px;
}
.character-create__eyebrow {
	margin: 0;
	color: #d1a233;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.character-create__intro {
	max-width: 520px;
	margin: 0;
	color: #8f98aa;
	font-size: 14px;
	line-height: 1.6;
}
.character-create__emblem {
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border: 1px solid rgba(209, 162, 51, .28);
	border-radius: 50%;
	background: rgba(209, 162, 51, .07);
	color: #d1a233;
	font-size: 25px;
	box-shadow: inset 0 0 24px rgba(209, 162, 51, .06);
}
.character-create__form { padding: 30px 38px 34px; }
.character-create__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.character-create__field { margin-bottom: 22px; }
.character-create__field--full { grid-column: 1 / -1; }
.character-create__field label {
	display: block;
	margin: 0 0 9px;
	color: #c9ced8;
	font-size: 13px;
	font-weight: 600;
}
.character-create__field label i {
	width: 18px;
	color: #c99a31;
	text-align: center;
}
.character-create__field input,
.character-create__field select {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid #303640;
	border-radius: 6px;
	outline: none;
	background: #111419;
	color: #e1e4e9;
	font-size: 14px;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.character-create__field input::placeholder { color: #5f6775; }
.character-create__field input:focus,
.character-create__field select:focus {
	border-color: #b88a29;
	background: #15181e;
	box-shadow: 0 0 0 3px rgba(209, 162, 51, .10);
}
.character-create__field small {
	display: block;
	margin-top: 8px;
	color: #687181;
	font-size: 11px;
}
.character-create__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .055);
}
.character-create__footer p {
	margin: 0;
	color: #70798a;
	font-size: 12px;
}
.character-create__footer p i { margin-right: 5px; color: #b88a29; }
.character-create__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 190px;
	height: 46px;
	box-sizing: border-box;
	padding: 0 22px;
	border: 1px solid #d0a23d;
	border-radius: 5px;
	background: linear-gradient(135deg, #d1a233, #9e7020);
	color: #17130b;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .25px;
	text-transform: uppercase;
	box-shadow: 0 8px 20px rgba(176, 126, 28, .16);
}
.character-create__button:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #e0b34c, #b58226);
	color: #111;
	box-shadow: 0 11px 24px rgba(176, 126, 28, .23);
}
.character-create__alert {
	display: flex;
	gap: 12px;
	margin: 0 0 16px;
	padding: 14px 17px;
	border: 1px solid rgba(199, 79, 79, .32);
	border-radius: 6px;
	background: rgba(105, 27, 27, .20);
	color: #dc8989;
	font-size: 13px;
	line-height: 1.5;
}
.character-create__alert i { padding-top: 2px; }
.character-create--success { padding: 52px 38px; text-align: center; }
.character-create--success > p:not(.character-create__eyebrow) {
	max-width: 520px;
	margin: 0 auto;
	line-height: 1.6;
}
.character-create__success-icon {
	display: grid;
	width: 68px;
	height: 68px;
	margin: 0 auto 20px;
	place-items: center;
	border: 1px solid rgba(80, 190, 121, .35);
	border-radius: 50%;
	background: rgba(42, 139, 78, .12);
	color: #61c987;
	font-size: 26px;
}
.character-create__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 28px;
}
.character-create__link { font-size: 13px; }

/* Account and administration widgets */
.page_createcharacter .rightPane { box-sizing: border-box; padding: 12px 12px 22px 4px; }
.page_createcharacter .rightPane .widget {
	margin-bottom: 16px;
	padding: 0;
	border: 1px solid rgba(209, 162, 51, .13);
	border-radius: 8px;
	overflow: hidden;
	background: rgba(20, 23, 29, .88);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}
.page_createcharacter .widget .header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .055);
	background: rgba(37, 41, 49, .78);
}
.page_createcharacter .widget .header .widget-title {
	color: #d8ab47;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2px;
}
.page_createcharacter .widget .header .widget-title i { margin-right: 7px; }
.page_createcharacter .widget .header small { color: #6f7887; font-size: 10px; }
.page_createcharacter .widget .body { padding: 13px; }
.page_createcharacter ul.linkbuttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin: 0; padding: 0; }
.page_createcharacter ul.linkbuttons li,
.page_createcharacter ul.linkbuttons li:nth-child(odd) {
	float: none;
	width: auto;
	margin: 0;
	border: 0;
}
.page_createcharacter ul.linkbuttons li a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	box-sizing: border-box;
	min-height: 39px;
	padding: 7px 8px;
	border: 1px solid #333944;
	border-radius: 4px;
	background: #171a20;
	color: #aeb5c1;
	font-size: 12px;
}
.page_createcharacter ul.linkbuttons li a:hover {
	border-color: #a67b25;
	background: rgba(209, 162, 51, .08);
	color: #e1b652;
	transform: translateY(-1px);
}
.page_createcharacter .myaccount_widget ul.linkbuttons li:last-child a {
	border-color: rgba(165, 72, 72, .38);
	color: #b97979;
}

/* Visual vocation gallery */
.vocation-picker__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.vocation-picker__heading label { margin: 0; }
.vocation-picker__heading span {
	color: #697283;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .8px;
}
.vocation-picker {
	display: grid;
	grid-template-columns: repeat(auto-fill, 90px);
	justify-content: space-between;
	gap: 12px;
	max-height: 552px;
	padding: 4px 9px 4px 4px;
	overflow-y: auto;
	scrollbar-color: #9e7020 #111419;
	scrollbar-width: thin;
}
.vocation-picker::-webkit-scrollbar { width: 7px; }
.vocation-picker::-webkit-scrollbar-track { border-radius: 8px; background: #111419; }
.vocation-picker::-webkit-scrollbar-thumb { border-radius: 8px; background: #8d6723; }
.vocation-card { display: block; margin: 0 !important; cursor: pointer; }
.vocation-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.vocation-card__frame {
	position: relative;
	display: block;
	width: 90px;
	height: 90px;
	overflow: hidden;
	border: 1px solid #3b4350;
	border-radius: 9px;
	background: #11151b;
	box-shadow: 0 5px 14px rgba(0,0,0,.32);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vocation-card__frame:before,
.vocation-card__frame:after {
	content: '';
	position: absolute;
	z-index: 3;
	pointer-events: none;
}
.vocation-card__frame:before {
	inset: 2px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 6px;
}
.vocation-card__frame:after {
	inset: 0;
	border-radius: 8px;
	box-shadow: inset 0 0 18px rgba(0,0,0,.18);
}
.vocation-card img {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: cover;
	object-position: center top;
	filter: saturate(.92) brightness(.92);
	transition: transform .25s ease, filter .25s ease;
}
.vocation-card__shade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48px;
	background: linear-gradient(to top, rgba(6,8,12,.98) 0%, rgba(6,8,12,.76) 48%, transparent 100%);
}
.vocation-card__name {
	position: absolute;
	z-index: 4;
	left: 5px;
	right: 5px;
	bottom: 7px;
	color: #f1f3f7;
	font-size: 8.5px;
	font-weight: 800;
	line-height: 1.12;
	text-align: center;
	text-shadow: 0 1px 2px #000, 0 2px 5px #000;
	letter-spacing: -.1px;
}
.vocation-card__check {
	position: absolute;
	z-index: 5;
	top: 5px;
	right: 5px;
	display: grid;
	width: 19px;
	height: 19px;
	place-items: center;
	border: 1px solid rgba(255,229,159,.9);
	border-radius: 50%;
	background: linear-gradient(145deg, #e3b94d, #a86f16);
	color: #171006;
	font-size: 10px;
	opacity: 0;
	transform: scale(.7);
	box-shadow: 0 2px 8px rgba(0,0,0,.55);
	transition: opacity .18s ease, transform .18s ease;
}
.vocation-card:hover .vocation-card__frame {
	border-color: #8f7136;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0,0,0,.42), 0 0 0 1px rgba(201,155,57,.08);
}
.vocation-card:hover img { transform: scale(1.055); filter: saturate(1.08) brightness(1.02); }
.vocation-card input:checked + .vocation-card__frame {
	border-color: #e0ad38;
	box-shadow: 0 0 0 2px rgba(224,173,56,.2), 0 9px 22px rgba(0,0,0,.45), inset 0 0 18px rgba(224,173,56,.08);
}
.vocation-card input:checked + .vocation-card__frame img { filter: saturate(1.08) brightness(1); }
.vocation-card input:checked + .vocation-card__frame .vocation-card__name { color: #ffd873; }
.vocation-card input:checked + .vocation-card__frame .vocation-card__check { opacity: 1; transform: scale(1); }
.vocation-card input:focus-visible + .vocation-card__frame { outline: 2px solid #e0ad38; outline-offset: 3px; }
.character-create__grid--details {
	margin-top: 6px;
	padding-top: 25px;
	border-top: 1px solid rgba(255,255,255,.055);
}
