/*! =========================================================
* WebEngine CMS
* https://webenginecms.org/
* Author Lautaro Angelico (https://lautaroangelico.com/)
* Copyright (c) 2013-2022 Lautaro Angelico, All Rights Reserved
* Licensed under the MIT license
* http://opensource.org/licenses/MIT
========================================================= */

/* ========================= GLOBAL ========================= */
html {
    min-width: 1040px;
    height: 100%;
}

body {
    background: #000000 url('../img/background.jpg') no-repeat top center;
    color: #e0e0e0;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    margin: 0;
    height: 100%;
}

@media only screen and (min-width: 2000px) {
    body {
        background: #000000 url('../img/background-2600.jpg') no-repeat top center !important;
    }
}

a {
    color: #999;
    text-decoration: none;
    transition: all .2s ease-in;
}

a:hover {
    color: #ffda8a;
}

img {
    border: 0px;
}

input[type=text],
input[type=password],
input[type=number] {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    color: #666;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=number]:focus {
    border: 1px solid #ccc;
}

/* ========================= HEADER ========================= */
#header {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    color: #fff;
}

#navbar {
    width: 100%;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#navbar ul {
    text-align: center;
    margin: 0;
    padding-left: 0;
}

#navbar ul li {
    list-style-type: none;
    display: inline-block;
    font-size: 16px;
}

#navbar ul li a {
    display: inline-block;
    color: #cccccc !important;
    text-decoration: none;
    padding: 20px 30px;
    transition: all .3s ease;
    text-transform: uppercase;
}

#navbar ul li a:active,
#navbar ul li a:focus,
#navbar ul li a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

/* ========================= CONTAINER & CONTENT ========================= */
#container {
    background: rgba(26, 26, 26, 0.7);
    width: 1040px;
    height: auto;
    margin: 0 auto;
    padding: 20px 0;
    border-radius: 5px 5px 0 0;
}

#content {
    width: 100%;
    overflow: auto;
    min-height: 500px;
    padding: 10px 20px 0 20px;
    color: #e0e0e0;
}

/* ========================= FOOTER ========================= */
.footer {
    background: #efefef;
    font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
    width: 1040px;
    font-size: 12px;
    color: #666666;
    padding: 40px;
    overflow: auto;
    margin: 0 auto 100px auto;
    border-radius: 0 0 5px 5px;
}

.footer > .footer-container {
    width: 100%;
    margin: 0 auto;
}

.footer > .footer-container a:hover {
    text-decoration: underline !important;
}

.footer hr {
    border-top: 1px solid #cacaca;
}

.footer .footer-social-link {
    filter: grayscale(100%);
    transition: all .3s ease;
}

.footer .footer-social-link:hover {
    filter: grayscale(0%);
}

/* ========================= BUTTONS ========================= */
.admincp-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    font-weight: bold !important;
}

/* ========================= PAGE TITLES ========================= */
.page-title {
    color: #FFD700;
    font-family: 'PT Sans', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* ========================= NEWS MODULE - FONDO OSCURO ========================= */
.panel-news {
    margin-bottom: 30px;
    color: #fff;
    border: 0px;
    border-radius: 0px;
    box-shadow: 0 0 5px #111;
    background: rgba(26, 26, 26, 0.7);
}

.panel-news .panel-title {
    color: #ffda8a;
}

.panel-news .panel-body {
    padding: 10px;
    color: #ddd;
}

.panel-news .panel-footer {
    border-top: 1px solid #333;
    background: #111;
    font-style: italic;
    font-size: 11px;
    height: 40px;
    color: #aaa;
}

/* ========================= RANKINGS MODULE ========================= */
.rankings-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

.rankings-class-image {
    width: 30px;
    height: auto;
    box-shadow: 0 0 5px #666;
    border-radius: 0px;
}

.rankings-table tr td {
    border-bottom: 1px solid #e3e3e3;
    padding: 10px;
    font-size: 18px;
    vertical-align: middle !important;
    text-align: center;
}

.rankings-table-place {
    color: #e0e0e0;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}

.rankings-table tr:first-child td {
    color: #FFD700;
    border-bottom: 3px solid #FFD700;
}

.rankings-update-time {
    text-align: right;
    font-size: 11px;
    color: #ccc;
    padding: 10px 0;
}

/* ========================= MY ACCOUNT MODULE ========================= */
.myaccount-table {
    width: 100%;
    background: #2e2e2e;
    border: 1px solid #666;
    color: #e0e0e0;
}

.myaccount-table tr td:first-child {
    color: #fff;
    font-weight: bold;
}

.myaccount-table tr td {
    border-bottom: 1px solid #666;
    padding: 15px !important;
}

.myaccount-table tr:last-child td {
    border: 0px;
}

/* ========================= GENERAL TABLE UI ========================= */
.general-table-ui {
    width: 100%;
    table-layout: fixed;
    background: #2e2e2e;
    border: 1px solid #666;
    padding: 10px;
    margin: 10px 0;
    color: #e0e0e0;
}

.general-table-ui tr td {
    padding: 5px;
    vertical-align: middle !important;
    text-align: center;
    color: #e0e0e0;
}

.general-table-ui tr:first-child td {
    color: #FFD700;
}

.general-table-ui tr:nth-child(2n+2) td {
    background: #3a3a3a;
}

.general-table-ui img {
    width: 50px;
    height: auto;
    box-shadow: 0 0 5px #666;
    border-radius: 0px;
}

/* ========================= PAYPAL MODULE ========================= */
.paypal-gateway-container {
    width: 100%;
}

.paypal-gateway-content {
    background: #fef2da;
    border: 3px solid #f79433;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
}

.paypal-gateway-logo {
    width: 100%;
    height: 100px;
    background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
    background-size: contain;
    margin-bottom: 15px;
    border-radius: 5px;
}

.paypal-gateway-conversion-rate {
    margin: 0 auto;
    text-align: center;
    color: #000;
    font-size: 18px;
    padding: 10px 0;
}

.paypal-gateway-form {
    width: 100%;
    margin: 20px auto;
    text-align: center;
}

.paypal-gateway-form div {
    display: inline-block;
    padding: 0 10px;
    color: #000;
    font-size: 24px;
}

.paypal-gateway-form input[type=text] {
    width: 60px;
    font-size: 24px;
    border: 3px solid #f79433;
    border-radius: 5px;
    color: #f79433;
}

.paypal-gateway-continue {
    margin: 0 auto;
    text-align: center;
}

.paypal-gateway-continue input[type=submit] {
    background: url('../img/paypal-submit.jpg') no-repeat;
    width: 200px;
    height: 40px;
    border: 0px;
}

/* ========================= SIDEBAR MODULE ========================= */
.panel-sidebar {
    background: rgba(26, 26, 26, 0.9);
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 10px #e3e3e3;
    color: #e0e0e0;
}

.panel-sidebar > .panel-heading {
    background: #3a3a3a;
    color: #FFD700;
    font-family: 'PT Sans', sans-serif;
    border: 0;
    border-radius: 0;
    border-bottom: 3px solid #FFD700;
}

/* ========================= PANEL USERCP ========================= */
.panel-usercp {
    background: rgba(26, 26, 26, 0.9);
}

.panel-usercp ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.panel-usercp ul li {
    display: table;
    width: 100%;
    vertical-align: middle;
    line-height: 30px;
}

.panel-usercp ul li a {
    color: #eee !important;
    font-weight: bold;
}

.panel-usercp ul li a:active,
.panel-usercp ul li a:hover {
    color: #FFD700 !important;
}

.panel-usercp ul li img {
    position: relative;
    top: -2px;
    padding-right: 10px;
}

/* ========================= GENERAL PANEL STYLING ========================= */
.panel-general,
.panel-addstats,
.panel-downloads {
    margin-bottom: 30px;
    background: #2e2e2e;
    border: 1px solid #666;
    border-radius: 0;
    color: #e0e0e0;
}

.panel-body .panel-title {
    color: #eee;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #666;
    margin-bottom: 20px !important;
    font-weight: bold;
}

.panel-addstats .character-avatar img {
    width: 100px;
    height: auto;
    box-shadow: 0 0 5px #666;
    border-radius: 0;
}

.panel-addstats .character-name {
    color: #e0e0e0;
    font-family: 'PT Sans', sans-serif;
    font-size: 18px;
    border-bottom: 1px solid #666;
    padding: 20px 0;
    margin-bottom: 20px !important;
    font-weight: bold;
}

.download-description {
    font-size: 11px;
    position: relative;
    top: -7px;
    color: #aaa;
}

.online-status-indicator {
    margin-left: 5px;
}

/* ========================= WEBENGINE CMS ========================= */
.webengine-powered {
    color: #777 !important;
}

.webengine-powered:active,
.webengine-powered:hover {
    color: #FFD700 !important;
}

/* ========================= GLOBAL TOP BAR ========================= */
.global-top-bar {
    width: 100%;
    background: #101010;
    color: #777777;
    padding: 7px 0 2px 0;
    text-transform: uppercase;
    font-size: 12px;
}

.global-top-bar .global-top-bar-content {
    width: 1040px;
    margin: 0 auto;
}

.global-top-bar a.logout {
    color: #FFD700 !important;
}

.global-top-bar a {
    color: #999999 !important;
}

.global-top-bar a:hover {
    color: #ffffff !important;
}

/* ========================= LANGUAGE PICKER ========================= */
.webengine-language-switcher {
    display: inline-block;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    width: 46px;
    height: 19px;
    overflow: hidden;
    transition: all .3s ease;
}

.webengine-language-switcher:hover {
    width: 400px;
}

.webengine-language-switcher li {
    display: inline-block;
    list-style-type: none;
    background: #333333;
    padding: 0 5px 2px 5px;
    border-radius: 3px;
    transition: all .3s ease;
}

.webengine-language-switcher li:hover {
    filter: brightness(120%);
}

.webengine-language-switcher li a {
    color: #999999;
}

.webengine-language-switcher li a:hover {
    color: #ffffff !important;
}

/* ========================= LOGO ========================= */
.webengine-mu-logo {
    transition: all .3s ease;
}

.webengine-mu-logo:hover {
    filter: brightness(120%);
}

/* ========================= HEADER INFO ========================= */
.header-info-container {
    width: 1040px;
    margin: 0 auto;
    text-align: right;
}

.header-info-container .header-info {
    display: inline-block;
    width: 350px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    margin: 0;
    padding: 10px;
    overflow: auto;
    box-shadow: 0 0 15px rgba(0,0,0,0.7);
    border-radius: 5px;
    text-shadow: 1px 1px 3px #000000;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* ========================= ONLINE BAR ========================= */
.webengine-online-bar {
    width: 100%;
    background: #000000;
    border: 1px solid #555555;
    height: 8px;
    margin: 10px 0;
    border-radius: 4px;
    overflow: hidden;
    transition: all .3s ease;
}

.webengine-online-bar .webengine-online-bar-progress {
    height: 8px;
    background: #00ff00 url('../img/online_progress_bar.jpg') no-repeat left center;
    border-radius: 0 1px 1px 0;
}

/* ========================= MY ACCOUNT CHARACTER LIST ========================= */
.myaccount-character-block {
    background: #333;
    border: 1px solid #666;
    padding: 5px;
    border-radius: 3px;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.myaccount-character-block img {
    width: 100px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 5px #000;
    transition: all 0.3s ease;
}

.myaccount-character-block img:hover {
    filter: brightness(120%);
}

.myaccount-character-block-location {
    font-size: 12px;
    color: #e0e0e0;
    margin: 2px 0 20px 0;
    line-height: 1.2;
}

.myaccount-character-block-level {
    position: relative;
    top: -77px;
    display: inline-block;
    background: rgba(0,0,0,0.5);
    padding: 0 5px;
    border-radius: 3px;
    color: #fff;
    font-size: 10px;
}

.myaccount-character-name a {
    font-weight: bold;
    color: #e0e0e0;
    font-size: 16px;
}

/* ========================= LOGIN ========================= */
.login-box {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #555;
    padding: 20px;
    border-radius: 5px;
}

.login-box a {
    color: #FFD700;
    font-size: 12px;
    font-weight: bold;
}

.login-box a:active,
.login-box a:hover {
    color: #FFD700;
}

.login-box label {
    font-weight: bold;
}

.login-box input[type=text],
.login-box input[type=password] {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
}

.login-box .webenginelogin_submit {
    width: 100%;
    margin-top: 10px;
    background: #FFD700;
    border: 1px solid #ffda8a;
    color: #000;
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
    transition: all .3s ease;
}

.login-box .webenginelogin_submit:hover {
    background: #ffda00;
}

/* ========================= RANKINGS BUTTONS ========================= */
.rankings-buttons-container {
    margin: 10px 0 20px 0;
    text-align: center;
}

.rankings-button {
    display: inline-block;
    background: #333;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 5px 5px 0;
    border-radius: 3px;
    border: 1px solid #666;
    transition: all 0.2s ease;
}

.rankings-button:hover {
    background: #444;
    color: #FFD700;
}

.rankings-button.active {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
}
