:root {
	/* backgrounds */
	--primary: rgba(20,22,27,0.92);
	--secondary: rgba(15,17,20,0.88);
	--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);

	background: #111 url("../img/mainbg.jpg") repeat fixed !important;
}

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

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;
	display: block;
	transition: all 0.2s ease;
}

nav .container > div > ul > li > a:hover {
	color: #fff2c7;

	background: linear-gradient(
		to bottom,
		rgba(255,190,80,0.18),
		rgba(255,140,0,0.08)
	);

	box-shadow:
		inset 0 0 12px rgba(255,190,80,0.15),
		0 0 10px rgba(255,180,60,0.25);

	text-shadow:
		0 0 6px rgba(255,220,150,0.9),
		0 0 14px rgba(255,180,60,0.5);
}

nav .container > div > ul > li:hover > ul,
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,
.ellipsis {
	overflow: hidden;
}

.preventCollapse {
	overflow: visible !important;
}
.topPane { margin-bottom: 10px; }
.leftPane {
	width: 70%;
	float: left;
}

.rightPane {
	width: 29%;
	float: right;
}.searchForm { width: 200px; }

/* =========================
   PREMIUM PANEL BODY
========================= */

.body {

    padding: 18px;

    color: #b9c3d6;

    line-height: 1.7;

    font-size: 14px;

    background:
        linear-gradient(
            to bottom,
            rgba(8,10,16,0.45),
            rgba(5,7,12,0.65)
        );
}

table { width: 100%; }
td { padding: 10px 5px; }

/* =========================
   PREMIUM HEADERS
========================= */

.header {

    color: #d7ab58;

    font-size: 16px;

    font-weight: bold;

    letter-spacing: 0.8px;

    text-shadow:
        0 0 8px rgba(255,190,80,0.12);

    padding: 14px 18px;

    border-bottom:
        1px solid rgba(255,190,80,0.08);

    background:
        linear-gradient(
            to right,
            rgba(255,190,80,0.05),
            transparent
        );
}


.feedContainer {
    margin: 2rem 0;
    overflow: visible !important;
}
.pull-left { float:left; }
.pull-right { float:right; }

.well, .header {
	max-width: 100%;
}

.centralizeContent { text-align: center; }
.smedia { font-size: 2em; }

.banner {
    background: url("../img/header.png");
    height: 420px;
    background-size: cover;
    background-position: center top;
    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;
	overflow: visible;

	box-shadow: 0 0 40px rgba(0,0,0,0.85);
}

.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,
.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;
}

.sideButtons {
	margin-top: 10px;
}

.discordBtn,
.downloadBtn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	padding: 12px;
	margin-bottom: 10px;
	font-weight: bold;
	border: 1px solid var(--border);
	text-decoration: none;
	transition: 0.2s;
	border-radius: 3px;
}

.discordBtn {
	background: linear-gradient(to bottom, #3b4f87, #24345d);
	color: #d7e3ff;
	box-shadow: 0 0 10px rgba(80,120,255,0.15);
}

.discordBtn:hover {
	background: linear-gradient(to bottom, #4c66ad, #31467d);
	color: #ffffff;
}

.downloadBtn {
	background: #5f3c08;
	color: #f0c674;
}

.downloadBtn:hover {
	background: #7c5210;
	color: #ffffff;
}

/* =========================
   PREMIUM MMORPG PANELS
========================= */

.topPane,
.feedContainer,
table {

    background:
        linear-gradient(
            to bottom,
            rgba(18,22,30,0.96),
            rgba(10,12,18,0.96)
        );

    border:
        1px solid rgba(255,190,80,0.12);

    box-shadow:
        0 0 25px rgba(0,0,0,0.55),
        0 0 12px rgba(255,190,80,0.05);

    border-radius: 8px;

    overflow: visible;

    backdrop-filter: blur(3px);
}

/* =========================
   LOGIN PREMIUM
========================= */

.loginForm input {

    background:
        rgba(12,15,24,0.95);

    border:
        1px solid rgba(80,120,255,0.15);

    border-radius: 6px;

    padding-left: 10px;

    color: #d8dce7;

    transition: all .25s ease;
}

.loginForm input:focus {

    border-color:
        rgba(255,190,80,0.55);

    box-shadow:
        0 0 12px rgba(255,190,80,0.15);

    background:
        rgba(18,22,32,0.98);

    outline: none;
}

.loginForm button {

    background:
        linear-gradient(
            to bottom,
            #8b6a2f,
            #5a3e14
        );

    border:
        1px solid #cfa35a;

    color: #f3e7c5;

    font-weight: bold;

    letter-spacing: 0.5px;

    text-shadow:
        0 0 5px #000;

    border-radius: 6px;

    transition: all .25s ease;
}
.loginForm button:hover {

    transform: translateY(-1px);

    background:
        linear-gradient(
            to bottom,
            #a37a35,
            #6b4919
        );

    box-shadow:
        0 0 15px rgba(255,190,80,0.25);
}

/* =========================
   PREMIUM NEWS POSTS
========================= */

.postHolder {

    margin-bottom: 25px;

    transition: all .25s ease;
}

.postHolder .well {

    background:
        linear-gradient(
            to bottom,
            rgba(14,18,28,0.98),
            rgba(8,10,16,0.98)
        );

    border:
        1px solid rgba(255,190,80,0.10);

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        0 0 25px rgba(0,0,0,0.55);

    position: relative;
}

.postHolder .well::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255,190,80,0.45),
            transparent
        );
}

.postHolder:hover {

    transform: translateY(-2px);
}

.postHolder:hover .well {

    box-shadow:
        0 0 30px rgba(0,0,0,0.70),
        0 0 18px rgba(255,190,80,0.08);
}

/* =========================
   AMBIENT GLOW
========================= */

.main::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    background:
        radial-gradient(
            circle at top center,
            rgba(50,90,255,0.08),
            transparent 60%
        );

    z-index: 0;
}

.rightPane .well,
.postHolder > .well {

    border:
        1px solid rgba(255,190,80,0.10);

    position: relative;
}

.rightPane .well::after,
.postHolder > .well::after {

    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255,190,80,0.15),
            transparent
        );
}

/* =========================
   WELCOME POSTER
========================= */

.welcomePoster {

    margin-bottom: 20px;

    border-radius: 12px;

    overflow: visible;

    border:
        1px solid rgba(255,190,80,0.15);

    box-shadow:
        0 0 35px rgba(0,0,0,0.65);

    position: relative;
}

.welcomePoster img {

    width: 100%;

    display: block;
}

/* FINAL LAYOUT FIX */

.feedContainer::after {
    content: "";
    display: block;
    clear: both;
}

.leftPane {
    width: 68%;
    float: left;
}

.rightPane {
    width: 30%;
    float: right;

    position: sticky;
    top: 20px;
}
.postHolder img,
.leftPane img {
    max-width: 100%;
    height: auto;
    display: block;
}


.news-image {

    max-width: 100%;

    width: auto !important;

    height: auto;

    max-height: 700px;

    display: block;

    margin: auto;

    border-radius: 8px;
}

.rightPane .well {
    margin-bottom: 15px;
}

.rightPane {
    float: right;
    width: 24%;
    display: block;
}
.feedContainer::after {
    content: "";
    display: block;
    clear: both;
}

.leftPane {
    width: 74%;
    float: left;
    display: block;
}

.rightPane {
    width: 24%;
    float: right;
    display: block;
}

.postHolder {
    width: 100%;
    display: block;
    clear: both;
    margin-bottom: 20px;
}

.postHolder .well {
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.postHolder img,
.postHolder .body img,
.leftPane img {
    max-width: 100%;
    height: auto;
    display: block;
}

