/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2020 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
/*Fuentes*/
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Freckle+Face&display=swap');

* {
    padding: 0;
    margin: 0;
    /* position: relative; REMOVED - breaks absolutely positioned tooltips */
    outline: none;
    list-style: none;
}

/* Force tooltip to be absolutely positioned */
#custom-tooltip {
    position: absolute !important;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-top: none !important;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: transparent !important;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0px;
}

a:focus,
a:hover {
    /*color: inherit !important;*/
    text-decoration: none !important;
}

.form-control {
    background: #fafafa;
    border: 1px solid #e3e3e3;
    color: #666;
}

.form-control:focus {
    border: 1px solid #ccc;
}

/* http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* http://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.thumbnail {
    background-color: #f1f1f1;
    border: 1px solid #e3e3e3;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: #ff0000;
}

.btn-primary {
    color: #8e867e;
    background-color: transparent;
    border-color: #55444e;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #fff !important;
    background-color: #1b1718 !important;
    border-color: #734f63 !important
}

/* CONTENEDOR MENU CENTRADO */
#cssmenu {
    text-align: center;
    margin: 20px auto;
}

/* UL COMO MARCO */
#cssmenu>ul {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    margin: 0;
    list-style: none;

    background: linear-gradient(180deg,
            #2b1c10 0%,
            #1f140b 100%);

    border: 1px solid #a8792c;
    border-radius: 8px;

    box-shadow:
        inset 0 1px 0 rgba(255, 215, 130, 0.25),
        0 6px 16px rgba(0, 0, 0, 0.85);
}

/* LI */
#cssmenu>ul>li {
    margin: 0;
}

/* LINKS (REEMPLAZA TU CODIGO) */
#cssmenu>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 17px;
    height: 62px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    color: #e7d3a0;
    letter-spacing: 0.5px;

    background: none;
    /* elimina imagen */

    border-left: 1px solid rgba(255, 215, 130, 0.15);

    transition: all 0.25s ease;
    position: relative;
}

/* QUITAR BORDE IZQ PRIMER ITEM */
#cssmenu>ul>li:first-child>a {
    border-left: none;
}

/* HOVER DORADO */
#cssmenu>ul>li>a:hover {
    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 50%,
            #b7832f 100%);
    color: #3a2612;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* LINEA DORADA INFERIOR */
#cssmenu>ul>li>a::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 10px;
    height: 1px;

    background: linear-gradient(to right,
            transparent,
            rgba(255, 215, 130, 0.8),
            transparent);

    opacity: 0;
    transition: opacity 0.25s ease;
}

#cssmenu>ul>li>a:hover::after {
    opacity: 1;
}


.languages {
    display: flex;
    align-items: stretch;
    margin: 18px 40px 0px 0px;
    width: 100px;
}

#ServerTime {
    color: #ab9f9c;
}

/*Menu Lenguaje*/
#langmenu,
#langmenu ul,
#langmenu ul li,
#langmenu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#langmenu {
    font-variant: small-caps;
    margin: 0px 0px 0px 20px;
}

#langmenu>ul>li {
    float: left;
}

#langmenu>ul>li>a {
    /*padding: 0px 17px 0px 17px;
    font-size: 15px;*/
    text-decoration: none;
    color: #ab9f9c;
    font-weight: 400;
    /*height: 52px;*/
    /*line-height: 52px;*/
    display: inline-block;
    list-style-type: none;
    background: #333333;
    padding: 0px 5px 2px 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#langmenu>ul>li:hover>a {
    color: #ffffff;
}

#langmenu>ul>li.has-sub>a {
    /*padding-right: 30px;*/
}

#langmenu ul ul {
    position: absolute;
    left: -9999px;
}

#langmenu li:hover>ul {
    left: auto;
}

#langmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

#langmenu li:hover>ul>li {
    height: 35px;
}

#langmenu ul ul li a {
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    padding: 13px 15px;
    width: 80px;
    font-size: 14px;
    text-decoration: none;
    color: #ab9f9c;
    font-weight: 400;
    letter-spacing: 0.3px;
    background: #27190e;
    font-family: "Times New Roman";
}

#langmenu ul ul li:hover>a,
#langmenu ul ul li a:hover {
    color: #ffffff;
}

#body {
    background-position: left top 20px;
    background-repeat: repeat-x;

}


/*Barra Register*/
.top-files-panel {
    height: 58px;
    max-width: 650px;
    width: auto;
    background: url(../img/files.png) no-repeat bottom right;
    bottom: -85px;
    position: absolute;
    padding: 0px 30px 0px 0px;
    z-index: 7000;
    display: flex;
    text-align: initial;
}

.start-game a {
    display: block;
    width: 256px;
    height: 58px;
    background: url(../img/startgame.png) no-repeat bottom right;
    margin: 0px 0px 0px -10px;
    line-height: 65px;
    text-indent: 60px;
    letter-spacing: 0.7px;
    color: #fff;
    text-decoration: none;
    font-family: "Georgia";
    font-variant: small-caps;
    font-size: 15px;
    font-weight: 100;
}

.start-game a:hover {
    background: url(../img/startgame-hover.png) no-repeat bottom right;
}

.panelDownBlock {
    display: flex;
}

.torrent,
.cloud {
    /* height: 33px; */
    margin: 17px 10px 0px 10px;
    padding: 7px 10px 0px 50px;
}

.torrent span,
.cloud span {
    display: block;
    height: 14px;
}

.torrent {
    background: url(../img/torrent.png?v4) no-repeat left center;
}

.download-title a {
    font-family: "Georgia";
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 100;
    color: #ada0a2;
    text-decoration: none;
}

.download-title a:hover {
    color: rgb(255, 255, 255);
}

.file-title {
    font-size: 10px;
    color: #746264;
}

.cloud {
    background: url(../img/cloud.png) no-repeat left center;
}

/*Fix Header*/
#header {
    /*max-width: 1040px;*/
    max-width: 1200px;
    /*height: 45vh;*/
    position: relative;
}

/*Container*/
#container {}

/*Panel sidebar*/
.panel-sidebar .panel-title {
    font-size: 13px;
    margin-top: 5px;
}

.panel-sidebar .panel-body {
    color: #dddddd;
    font-family: "Times New Roman";
}

/* ESTILOS PARA EL RECUADRO DE ADMIN */
.admin-card {
    width: 300px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    color: #fff;
}

.admin-title {
    background: #000000;
    /* fondo ligeramente más claro */
    padding: 10px;
    font-weight: bold;
    font-size: 16px;
}

.admin-avatar img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #000;
}

.admin-name {
    background: #000;
    /* recuadro negro */
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #FFD700;
    /* letras legibles doradas */
}


.table>thead>tr>th {
    /*background: url(../img/hr.jpg) repeat-x bottom;*/
    border: 0px;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding-top: 5px;
    padding-bottom: 5px;
}

.btnreg {
    position: absolute;
    width: 121px;
    height: 27px;
    line-height: 27px !important;

    display: block;
    text-align: center;
    text-decoration: none;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;

    color: #3a2612;

    /* FONDO DORADO */
    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 45%,
            #b7832f 100%);

    border-radius: 4px;
    border: 1px solid #3a2612;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.8);

    transition: all 0.25s ease;
}

/* HOVER */
.btnreg:hover {
    color: #2b1a0d;
    filter: brightness(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 4px 10px rgba(0, 0, 0, 0.9);
}

/* CLICK */
.btnreg:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

/*Divisiones Sidebar*/
.sidebar {
    /*width: 311px;
    max-width: 311px;*/
    padding: 0px 5px 0px 5px;
    float: left;
}

.sidebar:first-child {
    /*padding-left: 12px;*/
}

.main_side {
    width: calc(100% - 292px - 292px);
    max-width: calc(100% - 292px - 292px);
    float: left;
    /*border-radius: 5px;
    padding: 10px;*/
}

.modules_cont {
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(10, 18, 32, 0.9);
    width: 100%;
    float: left;
    border-radius: 5px;
    padding: 10px;
}

.modules_cont_full {
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(10, 18, 32, 0.9);
}

/* ===============================
   WIDGET ONLINE - BOTON DORADO
================================ */

.server-info {
    text-align: center;
    /* centra el número y el texto */
}

.online-count {
    font-size: 36px;
    /* número grande */
    font-weight: bold;
    color: #a1998f;
    /* puedes cambiar el color */
}

.online-text {
    font-size: 14px;
    /* texto más pequeño */
    color: #a1998f;
    margin-top: 5px;
    /* separación entre número y texto */
}

/* CONTENEDOR PRINCIPAL */
.server-info {
    display: block;
    position: relative;

    padding: 48px 10px;
    text-align: center;

    border-radius: 6px;

    background: linear-gradient(180deg,
            #f7e09b 0%,
            #ddb24b 40%,
            #b7832f 100%);

    border: 1px solid #3a2612;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.85);

    overflow: hidden;
    transition: all 0.25s ease;
}

/* TEXTO BASE */
.server-info span {
    display: block;
    font-family: Tahoma, Arial, sans-serif;
}

/* TEXTO "USUARIOS EN LINEA" */
.server-info span {
    font-size: 17px;
    font-weight: bold;
    color: #3a2612;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55),
        0 0 6px rgba(255, 215, 120, 0.4);
}

/* NUMERO (DESTACADO) */
.server-info span::after {
    display: block;

    margin-top: 6px;

    font-size: 36px;
    font-weight: 900;
    letter-spacing: 1px;

    color: #fff9dc;

    text-shadow:
        0 0 6px rgba(255, 246, 200, 1),
        0 0 16px rgba(247, 224, 155, 1),
        0 0 32px rgba(247, 224, 155, 0.9),
        0 4px 0 rgba(0, 0, 0, 0.9);
}

/* BRILLO ANIMADO */
.server-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 50%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.75),
            transparent);

    transition: left 0.6s ease;
}

/* HOVER */
.server-info:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 7px 16px rgba(0, 0, 0, 0.95);
}

.server-info:hover::before {
    left: 130%;
}

/* CLICK */
.server-info:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, 0.7);
}

/* OCULTAR ELEMENTOS VIEJOS */
.status,
.box-1,
.progress2,
.progress-1 {
    display: none !important;
}




.castle-siege-banner .guild_owner,
.castle-siege-banner .guild_owner a {
    color: #ffffff;
    font-size: 30px;
    font-family: 'Special Elite', cursive;
    /*font-family: 'Freckle Face', cursive;*/
}

.castle-siege-banner .guild_master,
.castle-siege-banner .guild_master a {
    color: #ffffff;
    font-size: 16px;
}

.castle-siege-banner .guild_countdown {
    color: #ffffff;
    font-size: 28px;
    font-family: 'Special Elite', cursive;
}

.castle-siege-banner .guild_countdown span {
    color: #f39c12;
}

.cstitle1 {
    line-height: 25px;
    margin-bottom: 5px;
}

.cstitle2 {
    line-height: 20px;
}

/*Eventos*/
#events dt {
    display: block;
    height: 42px;
    text-align: left;
    text-shadow: 1px 1px 1px rgb(0 0 0 / 45%);
    font-size: 14px;
    color: #a1998f;
}

#events .event_status {
    color: #dddddd;
}

#events .event_next {
    color: #dddddd;
}

#events .event_timeleft {
    color: #ffffff;
}

#events .rightfloat {
    float: right;
}

#events span {
    display: block;
    font-size: 12px;
}

#events dt.eventActive {
    color: #009600;
}

/* ============================
   BUTCHER WIDGET (CARNICERO)
============================= */
/* Ensure parent is relative for absolute positioning of the widget */
.hero-content {
    position: relative;
}

.butcher-widget {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: rgb(20 11 9 / 76%);
    border: 1px solid rgb(62 25 12 / 90%);
    /* Color Web */
    box-shadow: none;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    z-index: 100;
}

/* Remove movement on click/active if present, or just ensure stable */
.butcher-widget:active,
.butcher-widget:focus {
    transform: translateY(-50%);
}

.butcher-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: bold;
    color: #0080ff;
    /* Color Web */
    text-transform: uppercase;
    text-shadow: 0 0 10px rgb(253 144 77 / 50%);
    margin-bottom: 10px;
    letter-spacing: 2px;
    border-bottom: 1px solid rgb(253 183 77 / 30%);
    padding-bottom: 5px;
}

.butcher-avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.butcher-avatar-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #f18007;
    /* Color Web */
    position: relative;
    z-index: 2;
    background: #000;
}

.butcher-avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(251, 133, 7, 0.6);
    /* Color Web */
    animation: butcherPulse 2s infinite;
    z-index: 1;
}

@keyframes butcherPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.butcher-name {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.butcher-stats {
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #333;
}

.butcher-stat {
    font-size: 13px;
    margin: 3px 0;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.butcher-stat.kills {
    color: #f18007;
    /* Color Web */
}

.butcher-stat.deads {
    color: #888888;
}

.butcher-stat span {
    color: #ddd;
    font-weight: normal;
}