@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'martelregular';
    src: url('../fonts/martel/regular.eot');
    src: url('../fonts/martel/regular.eot?#iefix') format('embedded-opentype'), url('../fonts/martel/regular.woff') format('woff'), url('../fonts/martel/regular.ttf') format('truetype'), url('../fonts/martel/regular.svg#martelregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

abbr {
    border-bottom: 1px dotted #5a2800;
    cursor: help;
}

a {
    text-decoration: none;
    font-weight: bold;
    color: #03C;
    outline: none;
}

a:focus:not(:focus-visible),
a:active {
    outline: none;
}

a:hover {
    text-decoration: underline;
}

.martel {
    font-family: martelregular, sans-serif;
    text-shadow: 2px 2px 2px #000;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
    font-size: 15px;
    color: darkorange;
}

.button {
    font-family: Verdana, Tahoma, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    background-image: url('../images/button-bg.jpg');
    border: none;
    border-bottom: 1px solid #424242;
    border-top: 1px solid #848484;
    background-repeat: repeat;
    box-sizing: border-box;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    border-radius: 7px;
    font-weight: bold;
    padding: 3px 20px;
    min-width: 110px;
    /* cursor: pointer; */
    font-size: 9px;
    outline: none;
    color: #fff;
    margin: 0;
}

.button:hover {
    text-decoration: underline;
}

.skill-bar {
    background-color: #f1e0c6;
    border: 1px solid #5a2800;
    overflow: hidden;
    max-width: 202px;
    min-width: 202px;
    width: 202px;
    height: 6px;
}

.skill-bar .progress {
    border: 1px solid #f1e0c6;
    background-color: #118a22;
    height: 4px;
}

.featherlight-content {
    width: 710px;
    color: #333;
}

.featherlight-content h1,
.featherlight-content h2,
.featherlight-content h3,
.featherlight-content h4,
.featherlight-content h5,
.featherlight-content h6 {
    margin: 5px 0;
}

body {
    font-family: Verdana, Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 12px;
    color: #5a2800;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    /* Mantém a proporção da imagem e cobre toda a área */
    width: 100%;
    height: 100%;
    min-width: 1280px;
    /* Mantém o layout mínimo para desktop */
    margin: 0px;
    background-color: #051122;
    /* Cor de fallback */
}

a {
    color: #0042a0;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #0080c2;
    text-decoration: underline;
    font-weight: bold;
}

.m_position {
    width: 958px;
    position: relative;
    margin: 0 auto;
}

table {
    font-size: 13px;
    color: #5a2800;
    border-spacing: 1px;
}

table.transborder tr td {
    background-color: transparent !important;
    color: #5a2800 !important;
    font-weight: normal !important;
    text-align: center !important;
}

table.footertable tr td {
    background-color: transparent !important;
    border-spacing: 0;
}

input[type="submit"],
input[type="button"] {
    font-family: Verdana, Tahoma, sans-serif !important;
    border: none;
    border-bottom: 1px solid #424242;
    border-top: 1px solid #848484;
    text-align: center;
    border-radius: 7px;
    font-weight: bold;
    padding: 3px 20px;
    min-width: 110px;
    /* cursor: pointer; */
    font-size: 9px;
    background: #505050;
    color: #efefef;
}

.input-middle {
    width: 300px;
}

input,
select {
    padding: 6px 12px;
    border-radius: 3px;
    border: 2px solid #9e4600;
    outline: none;
    margin-top: 5px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

input:focus,
input:active {
    border-color: #271100;
}

select {
    padding: 6px 12px;
}

/* /////////
// Header //
///////// */

.m_status {
    margin: 0px 30px;
    font-family: Martel;
    font-size: 16px;
    border-bottom: 1px solid #057A9E;
    padding: 8px;
    color: #fff;
}

.m_online {
    padding: 10px;
    font-size: 11px;
    color: #fff;
}

.m_online a {
    color: #0080c2;
    text-decoration: underline;
    font-weight: bold;
}

.m_online a:hover {
    color: #0042a0;
    text-decoration: underline;
}


.inner {
    list-style: none;
    margin: 2px 5px;
    padding: 6px;
    font-size: 12px;
    color: #057A9E;
    padding-left: 10px;
}

.inner li {
    padding: 1px;
}

.inner a {
    font-weight: normal;
    padding: 6px;
    font-size: 12px;
    color: #057A9E;
    display: block;
    padding-left: 10px;
    text-decoration: none;
}

.inner a:hover {
    color: white;
    text-decoration: underline;
    background: DarkSlateGrey;
}

/* /////////
// Content /
///////// */

.znewsdate {
    background-color: transparent !important;
    color: white !important;
    font-size: 9px;
    font-weight: bold;
}

.zheadline {
    /*background:url(../images/newsheadline_background.gif) repeat-x !important;
	color: #efefef !important; */
    background: url(../images/news-header.png) !important;
    background-repeat: repeat;
    color: white !important;
    font-size: 14px;
    font-family: Verdana;
    /*font-size:20px;
	font-family: Martel;*/
    width: 384px;
    vertical-align: bottom;
}

.znewsbody {
    background-color: transparent !important;
    color: #5a2800 !important;
    padding: 15px 20px 10px 10px;
    text-align: justify;
}

.galleryImage {
    max-width: 80%;
    height: auto;
}

/* /////////
// Footer //
///////// */
#m_footer {
    float: left;
    color: #FFFFFF;
    font-family: Verdana, sans-serif;
    font-size: 9px;
}

#m_footer a {
    color: white;
    text-decoration: none;
}

#m_footer a:hover {
    color: white;
    text-decoration: none;
}

/* /////////
// Znote ///
///////// */

#progress {
    width: 130px;
    position: relative;
    padding: 3px;
}

#percent {
    position: absolute;
    margin-left: 50px;
    font-weight: bold;
}

#bar {
    height: 16px;
    background-color: #7f9a65;
    border-radius: 7px;
}

/* ////////////////////
// Tibia old layout ///
//////////////////// */

.container {
    position: relative;
    width: 1280px;
    max-width: 1280px;
    padding: 0px 15px;
    margin: 0 auto;
}

.toplogo {
    background-image: url('../images/exordion/logo-header.png');
    background-repeat: no-repeat;
    background-position: center;
    margin: 44px auto 0 auto;
    animation: updown 3s ease-in-out infinite;
    width: 1280px;
    height: 230px;
    display: block;
}

@keyframes updown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

#header img {
    display: block;
}


#topbar {
    background-image: radial-gradient(circle, rgb(253 72 2 / 71%), #000000);
    height: 40px;
    color: #fff;
    border-bottom: 2px solid #000;
    box-shadow: 0 1px 10px #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
}

#topbar .left {
    display: flex;
    justify-content: flex-end;
    flex: 4;
    padding-right: 15px;
}

/* DROPDOWN WORLDS */

.dropdown {
    position: relative;
    display: inline-block;
    min-width: 135px;
    font-family: Verdana, Tahoma, sans-serif;
    font-size: 12px;
}

.dropdown-btn {
    width: 100%;
    padding: 4px 10px;
    background-color: #000000;
    border: 1px solid #333;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 98%;
    background-color: #000000;
    border: 1px solid #333;
    border-top: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    padding: 5px 10px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-item:hover {
    background-color: #ff5e00;
}

.dropdown-item.selected {
    background-color: #000000;
}

.server-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: normal;
}

.flag {
    width: 16px;
    height: 11px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.flag.br {
    background-image: url('/images/flags/br.gif');
}

.check {
    color: #4CAF50;
    font-weight: bold;
    margin-left: 8px;
}

.dropdown a {
    color: #ffffff;
    font-weight: normal;
}

.dropdown a:hover {
    text-decoration: none;
}

/* FIM - DROPDOWN WORLDS */

#topbar .separator {
    content: '';
    text-align: end;
    border: 1px solid #963c21;
    height: 30px;
    position: relative;
    right: 1px;
}

#topbar .center {
    text-align: center;
    flex: 6;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

#topbar .right {
    flex: 4;
    overflow: hidden;
    display: flex;
    justify-content: left;
}

#topbar a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    padding: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#topbar a:hover {
    color: #f7f7f7;
    text-shadow: 0px 0px 10px #fff;
}

#topbar ul {
    table-layout: fixed;
    text-align: center;
    padding: 3px 0 0 0;
    list-style: none;
    display: table;
    width: 100%;
    margin: 0;
}

#topbar ul li,
#topbar ul a {
    font-family: martelregular, sans-serif;
    text-shadow: 2px 2px 2px #000;
    font-weight: normal;
    font-size: 16px;
}

#topbar ul li:hover,
#topbar ul a:hover {
    color: orangered;
}

#topbar ul li {
    display: inline;
    margin: 15px;
}

#topbar ul a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
}

#content-container:before,
#content-container:after {
    content: "";
    display: table;
}

#content-container:after {
    clear: both;
}

#main {
    float: left;
    position: relative;
    width: 850px;
    height: 100%;
    margin-bottom: 20px;
    padding: 8px;
    box-sizing: border-box;
    background-image: linear-gradient(to top right, rgb(253 72 2 / 71%), rgb(0 0 0 / 80%));
    border-radius: 3px;
}

#main #content {
    background-image: url('/templates/tibiana/images/content-bg-ex1.webp');
    background-repeat: repeat;
    background-color: rgba(248, 205, 188, 0.8);
    /* Transparência ajustada */
    background-blend-mode: overlay;
    /* Combina a cor de fundo com a imagem */
    padding: 10px;
    margin-top: 10px;
}

.countdown {
    position: absolute;
    font-size: 16px;
    text-align: center;
    font-family: helvetica;
    text-shadow: 2px 2px 8px #000000;
    right: 20px;
    top: 15px;
    color: yellow;
}

.countdown span {
    color: white;
}

/* ///////////\/\\\\\\\\\\\
   // Znote YOUTUBE BB \\
   ///////////\/\\\\\\\\\\\ */

div.youtube {
    width: 100%;
    max-width: 560px;
}

div.aspectratio {
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    position: relative;
}

div.aspectratio>iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/* ////////////////////
// Change Log System //
//////////////////// */

#changelogTable {
    width: 735px;
}

/* Rules */
.rules-list {
    list-style: none;
    padding: 10px 0 0 10px;
}

.rules-list-item {
    margin-top: 5px;
}

.rules-title {
    margin-bottom: 0;
}

.alert {
    padding: 10px;
    border-radius: 3px;
}

.alert-warning {
    background: #fefcf2;
    border: 1px solid #5a2800;
}

.my-acccount-link {
    font-size: 16px !important;
    position: relative;
    color: lightgreen !important;
}

.red-link {
    color: #ff0000 !important;
    margin-top: 5px;
    font-size: 13px !important;
}

.red-link:hover {
    text-shadow: 2px 2px 2px #00f !important;
}

.p-total {
    color: red;
}

.box-face {
    margin-top: 10px;
}

.top_left {
    background: url('/images/content/corner-tl.gif');
    width: 17px;
    height: 17px;
    position: absolute;
    top: 38px;
    left: 4px;
    z-index: 1;
}

.top_right {
    background: url('/images/content/corner-tr.gif');
    width: 17px;
    height: 17px;
    position: absolute;
    top: 38px;
    right: 4px;
    z-index: 1;
}

.border_top {
    background: url('/images/content/border-h.gif');
    height: 6px;
    width: 97%;
    position: absolute;
    top: 40px;
    left: 8px;
    background-repeat: repeat-x !important;
}

.bot_left {
    background: url('/images/content/corner-bl.gif');
    width: 17px;
    height: 17px;
    position: absolute;
    bottom: 4px;
    left: 4px;
    z-index: 1;
}

.bot_right {
    background: url('/images/content/corner-br.gif');
    width: 17px;
    height: 17px;
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 1;
}

.border_bot {
    background: url('/images/content/border-h.gif');
    height: 17px;
    width: 99%;
    position: absolute;
    bottom: -6px;
    left: 4px;
    background-repeat: repeat-x !important;
}

.border_left {
    background: url('/images/content/border-v.gif');
    width: 6px;
    height: calc(100% - 45px);
    position: absolute;
    top: 40px;
    left: 5px;
    background-repeat: repeat-y;
}

.border_right {
    background: url('/images/content/border-v.gif');
    width: 6px;
    height: calc(100% - 45px);
    position: absolute;
    top: 40px;
    right: 5px;
    background-repeat: repeat-y;
}

/* F.Almeida */
.CenterBox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}

.TibiaButton {
    color: #fff;
    border: none;
    font-size: 14px;
    text-align: center;
    line-height: 35px;
    margin: 0 5px;
    width: 142px;
    height: 35px;
    background-size: cover;
}

.TibiaButton a {
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.TibiaButton:hover,
.TibiaButton:focus,
.TibiaButton:active {
    background-size: cover;
    color: #fff;
    text-decoration: none;
}

.TibiaButton.red {
    background: url('/images/buttons/button_red.png') no-repeat;
}

.TibiaButton.red:hover {
    background: url('/images/buttons/button_red_hover.png') no-repeat;
}

.TibiaButton.blue {
    background: url('/images/buttons/button_blue.gif') no-repeat;
    width: 150px;
    height: 37px;
}

.TibiaButton.blue:hover {
    background: url('/images/buttons/button_blue_hover.gif') no-repeat;
    width: 150px;
    height: 37px;
}

.TibiaSmallButton {
    color: #ededed;
    border: none;
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    /* Ajustado para corresponder à altura */
    font-family: 'Lucida Sans';
    margin: 0 5px;
    width: 135px;
    height: 25px;
    background-size: cover;
    display: inline-flex;
    align-items: center;
    /* Centraliza verticalmente */
    justify-content: center;
    /* Centraliza horizontalmente */
}

.TibiaSmallButton a {
    color: #ededed;
    text-decoration: none;
    border: none;
    background: none;
    font-size: inherit;
    /* Usa o tamanho de fonte do pai */
    font-family: inherit;
    /* Usa a fonte do pai */
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 23px;
    /* Ajustado para corresponder ao botão */
    padding: 0;
    /* Remove padding extra */
    margin: 0;
    /* Remove margens extras */
    box-sizing: border-box;
    /* Garante que largura e altura incluam bordas/padding */
}

.TibiaSmallButton input[type="button"] {
    color: #ededed;
    text-decoration: none;
    border: none;
    background: none;
    font-size: inherit;
    /* Usa o tamanho de fonte do pai */
    font-family: inherit;
    /* Usa a fonte do pai */
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 23px;
    /* Ajustado para corresponder ao botão */
    padding: 0;
    /* Remove padding extra */
    margin: 0;
    /* Remove margens extras */
    box-sizing: border-box;
    /* Garante que largura e altura incluam bordas/padding */
}

.TibiaSmallButton input[type="submit"] {
    color: #ededed;
    text-decoration: none;
    border: none;
    background: none;
    font-size: inherit;
    /* Usa o tamanho de fonte do pai */
    font-family: inherit;
    /* Usa a fonte do pai */
    text-align: center;
    width: 100%;
    height: 100%;
    line-height: 23px;
    /* Ajustado para corresponder ao botão */
    padding: 0;
    /* Remove padding extra */
    margin: 0;
    /* Remove margens extras */
    box-sizing: border-box;
    /* Garante que largura e altura incluam bordas/padding */
}

.TibiaSmallButton:hover,
.TibiaSmallButton:focus,
.TibiaSmallButton:active {
    filter: brightness(1.2);
}

.TibiaSmallButton.red {
    background: url('/images/buttons/sbutton_red.gif') no-repeat;
}

.TibiaSmallButton.blue {
    background: url('/images/buttons/sbutton_blue.gif') no-repeat;
}

.TibiaSmallButton.green {
    background: url('/images/buttons/sbutton_green.gif') no-repeat;
}

/* ============================================================================
   Social Media Sidebar
   ============================================================================ */

/*
 * Barra vertical de ícones de redes sociais fixada no canto superior direito.
 * Os ícones são exibidos na mesma ordem em que aparecem no config.php.
 */
.social-bar {
    position: fixed;
    top: 60px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s, border-color 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(6px);
}

.social-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-color: var(--social-color, rgba(255, 255, 255, 0.3));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2), 
                0 0 15px color-mix(in srgb, var(--social-color, transparent) 40%, transparent);
    transform: scale(1.15);
}

/* On very small screens, shrink and move the bar slightly inward */
@media (max-width: 480px) {
    .social-bar {
        top: 50px;
        right: 8px;
        gap: 6px;
    }

    .social-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
}
