@import url('https://fonts.googleapis.com/css?family=Patua+One');
/* Imagem de fundo padrão para PC */
/* Imagem de fundo para desktop (PC) */
/* Corpo da página */
body {
    background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    color: #d3d3d3;
    overflow-x: hidden; /* Impede rolagem horizontal */
    position: relative;
    left: 10px; /* Empurra o conteúdo para a direita */
}

/* Para dispositivos com telas grandes (Desktops grandes e telas largas) */
@media (min-width: 1200px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}
@media (min-width: 1600px) {
    .container_main {
        width: 85%;
    }
}

/* Para laptops e tablets grandes */
@media (max-width: 1199px) and (min-width: 1024px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* Para tablets em modo paisagem (landscape) */
@media (max-width: 1024px) and (min-width: 768px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* Para smartphones em modo paisagem */
@media (max-width: 768px) and (min-width: 480px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* Para smartphones em modo retrato (portrait) */
@media (max-width: 480px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* Para telas muito pequenas, como alguns dispositivos móveis com telas pequenas */
@media (max-width: 320px) {
    body {
        background: url(../../images/Oldebra_com_logo.png) no-repeat center top #0d0f12;
        background-size: cover;
        background-attachment: fixed;
    }
}


a
{
	text-decoration: none;
	color: #004294;
	transition: color 0.1s linear;

}
a:hover
{
	color: #ff5a00;
}
ul {
  margin: 2px 0 0 0;
  padding: 0;
}
textarea{
max-width: 530px !important;
}
ul li {
  list-style-type: none;
  margin: 0 0 6px 0;
  padding: 0 0 4px 5px;
  line-height: 1.5em;
}

ol {
  margin: 8px 0 5px 5px;
}

ol li {
  margin: 0 0 11px 0;
}

.form_settings {
  margin: 15px 0 0 0;
}

.form_settings p {
  padding: 0 0 4px 0;
}

.form_settings span {
  float: left;
  width: 200px;
  text-align: left;
}

.form_settings input, .form_settings textarea {
  padding: 5px;
  width: 299px;
  font: 100% arial;
  border: 1px solid #E5E5DB;
  background: #FFF;
  color: #47433F;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
}

.form_settings .submit {
  font: 100% arial;
  border: 0;
  width: 99px;
  margin: 0 0 0 212px;
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer;
  background: #3B3B3B;
  color: #FFF;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
}

.form_settings textarea, .form_settings select {
  font: 100% arial;
  width: 299px;
}

.form_settings select {
  width: 310px;
}

.form_settings .checkbox {
  margin: 4px 0;
  padding: 0;
  width: 14px;
  border: 0;
  background: none;
}

.separator {
  width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;
}

table {
  margin: 10px 0 5px 0;
  /*width: 100%;*/
 border-spacing: 1px;
    border-collapse: separate;
}

table tr th{
	background-color: #505050 !important;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;
}

tr.yellow td {
  background: #505050;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;
}
.TableContainer table{
  margin: 0 !important;
}
.TableContainer td {
  padding: 2px 3px !important;
}
table tr td img{
  max-width: 520px;
}
input.hover:hover
{
	cursor: pointer;
}
/* guild war */
tr.special:hover td {
   background: orange;
}

tr.special {
    cursor: pointer;
}

ul.war_list li {
   font-size:18px;
}

.container_main
{
	width: 90%;
	max-width: 1600px;
	min-width: 1100px;
	margin: 270px auto 0 auto;
}
.container_left,
.container_right {
	box-sizing: border-box;
}
.server-navbar-mid {
	border: 2px solid #c8941a !important;
	border-radius: 8px !important;
	box-sizing: border-box;
}
.container_left, .container_right
{
	width: 280px;
	float: left;
	margin: 0;
	flex-shrink: 0;
}
.container_mid
{
	min-height: 200px;
	width: calc(100% - 590px);
	float: left;
	margin: 0 15px;
}
.left_box, .right_box, .center_box
{
	width: 100%;
	background: url(images/border_left.png) repeat-y left top, url(images/border_right.png) repeat-y right top;
	position: relative;
	margin-bottom: 18px;
}
.corner_lt, .corner_rt, .corner_rb, .corner_lb
{
	z-index: 5;
}
.corner_lt
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat 0 0;
	left: -7px;
	top: -5px;
}
.corner_rt
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat -64px 0;
	right: -7px;
	top: -5px;
}
.corner_rb
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat -64px -64px;
	right: -7px;
	bottom: -5px;
}
.corner_lb
{
	position: absolute;
	width: 64px;
	height:64px;
	background: url(images/corners.png) no-repeat 0 -64px;
	left: -7px;
	bottom: -5px;
}
.left_box .content, .right_box .content
{
	margin: -1px 20px;
	width: 200px;
	padding: 3px 3px;
	background: url(images/widget_bg.png) repeat-y;
}
.center_box .content_bg
{
	width: 608px;
	margin: -1px 20px;
	position: relative;
	background: url(images/mid_bot.png) no-repeat center bottom, url(images/mid_top.png) no-repeat center top, url(images/mid_mid.png) repeat-y center top;
	color: #531e01;
}
.center_box .content_bg .content
{
	padding: 6px 8px;
}

.left_box .border_bottom, .right_box .border_bottom,  .center_box .border_bottom
{
	background: url(images/border_bottom.png) repeat-x center bottom;
	width: 100%;
	display: block;
	height: 20px;
}
.left_box .title, .right_box .title,  .center_box .title
{
	background: url(images/border_top.png) repeat-x center top;
	width: 100%;
	height: 45px;
	position: relative;
}
.rise-up-content
{
	position: relative;
	z-index: 10;
}
.left_box ul li a:after
{
	content: "";
	width: 100%;
	background: url(images/line.png) no-repeat center top;
	height: 2px;
	display: block;
	margin-left: -10px;
}
.title span
{
	width: 100%;
	height: 45px;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
}
.title img
{
	position: absolute;
	left: 20px;
	top: 6px;
	z-index: 6;
}
.left_box ul
{
	list-style: none;
	padding: 0;
	margin: 0 0 0 8px;
}
.left_box ul li
{
	padding: 1.5px 0 2px 0;
	margin: 0;
}
.left_box ul li a
{
	display: block;
	color: #e7e7e7;
	text-shadow: 1px 1px 0 #000;
	transition: all 0.1s linear;
}
.left_box ul li a:hover
{
	color: orange;
	padding-left: 3px;

}
.inputtext
{
	width: 158px;
	height: 33px;
	background: url(images/quicklogin_input.png);
	padding: 0 10px;
	margin: 0 0 4px 11px;
	border: 0 none;
	color: #9c7d54;
	font-size: 12px;
	text-shadow: 1px 1px 0 #000;
}
.loginbtn
{
	width: 83px;
	height: 23px;
	background: url(images/login_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 12px;
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
}
.loginbtn:hover
{
	cursor: pointer;
	background-position: 0 0;
}
.createbtn
{
	vertical-align: middle;
	display: inline-block;
	width: 83px;
	height: 23px;
	background: url(images/register_btn.png) 0 -23px;
	padding: 0;
	margin: 0 0 4px 7px;
	border: 0 none;
}
.createbtn:hover
{
	cursor: pointer;
	background-position: 0 0;
}
.download_client
{
	display: block;
	width: 270px;
	height: 59px;
	background: url(images/download_btn7.png) no-repeat 0 -59px;
	margin: 0 0 10px -2px;
}
.download_client:hover
{
	background-position: 0 0;
}
.right_box
{
	text-shadow: 0 1px 0 #000;
}
.right_box a
{
	color: #ff9000;
	transition: color 0.1s linear;
}
.right_box a:hover
{
	color: #ff4e00;
}
table.sinfotable
{
	margin: 0 8px;
	font-size: 13px;
	width: 183px;
}
table.sinfotable td
{
	border-bottom: 1px solid #4c4b46;
    border-top: 1px solid #1c1c1a;
	background: none transparent;
	color: #fff;
	padding: 4px 0;
}
ul.toplvl
{
	list-style: none;
	margin: 0 8px;
}
ul.toplvl li
{
	padding: 1px 0;
	margin: 0;
}
.lvl
{
    display: block;
    background: #cc7e0f;
    float: right;
    height: 15px;
    line-height: 14px;
    color: #fff;
    text-shadow: 0 0 5px #000;
    padding: 0px 5px;
    border-radius: 4px;
    box-shadow: 0 1px 0 #101010;
    border-top: 1px solid #ffc36d;
}
.acc_menu
{
	width: 183px;
	margin: 0 8px;
}
.acc_menu a
{
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
	padding: 3px 0;
	font-size: 12px;
	text-align: center;
	background: rgba(0,0,0,0.3);
	border: 1px solid rgba(0,0,0,0.4);
	box-shadow: 0 1px 3px rgba(255,255,255,0.2) inset, 0 -1px 3px rgba(0,0,0,0.5) inset;
	border-radius: 3px;
	color: #fff;
	transition: all 0.1s linear;
	margin: 1px 0;
}
.acc_menu a:hover
{
	background: rgba(0,0,0,0.4);
}
.footer_cnt
{
	width: 1170px;
	float: left;
	margin: 20px 0 70px 0;
}



/* SLIDER */

/* Aumenta o tamanho do slider para cobrir toda a largura da área */
.slider {
    width: 96%; /* Torna a largura 100% do contêiner pai */
	max-height: 200px; /* Defina uma altura máxima, ajustável conforme necessário */
    margin-left: 16px;
    margin-top: -25px;
    margin-bottom: 0;
	overflow: hidden; /* Impede que a imagem ultrapasse os limites */
	border-radius: 8px;
}

#slides {
    display: block; /* Alterado de 'none' para 'block' para exibir as imagens */
    width: 100%;
    height: 200px;
    float: left;
    z-index: 90;
    position: relative;
}

.slidesjs-pagination
{
	z-index: 999;
	position: absolute;
	bottom: 5px;
	right: 5px;
}
ul.slidesjs-pagination
{
	list-style: none;
	padding: 3px;
	border-radius: 5px;
	margin: 0;
	background: rgba(0,0,0,0.5);
	display: none;
}
.slidesjs-pagination li
{
	float: left;
	margin: 0 3px;
	padding: 0;
}
.slidesjs-pagination li a
{
	background: rgba(255,255,255,0.3);
	display: block;
	width: 10px;
	height: 10px;
	float: left;
	overflow: hidden;
	text-indent: -999999999px;
	line-height: 99px;
	color: rgba(0,0,0,0.6);
	border-radius: 15px;
}
.slidesjs-pagination li a:hover
{
	background: rgba(255,255,255,0.5);
}
.slidesjs-pagination li a.active
{
	background: rgba(255,255,255,0.5);
}
.top-bar
{
	position: fixed;
	z-index: 200;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: 'Patua One', cursive;
	height: 30px;
	line-height: 30px;
	background: rgba(0,0,0,0.3);
	color: #fff;
	text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 1px 0 #000, 1px 0px 0 #000, -1px 0px 0 #000, -1px 0px 0 #000;
	font-weight: normal;
	font-size: 18px;
}
.top-bar a
{
	color: #f66545;
}

.white {
	color: #EFEFEF;
	visibility: visible;
	font-size: 9pt;
}

/* ── novo sistema de menus e widgets ── */
.menu-navbar, .widget-box {
    width: 100% !important;
    margin-bottom: 10px !important;
    display: block !important;
    font-size: 0 !important;
}
.menu-navbar-header, .widget-box-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    background: linear-gradient(180deg, #1a3040 0%, #0a131c 100%) !important;
    border: 2px solid #b8922a !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    padding: 7px 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    box-shadow: 0 -3px 10px rgba(184,146,42,0.4), inset 0 1px 0 rgba(255,220,100,0.12) !important;
}
.menu-navbar-header::after, .widget-box-header::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    bottom: 0 !important; left: 8% !important;
    width: 84% !important; height: 2px !important;
    background: linear-gradient(90deg, transparent, #b8922a 20%, #f0d060 50%, #b8922a 80%, transparent) !important;
}
.menu-navbar-inner, .widget-box-body {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #0d1b27 !important;
    border: 2px solid #b8922a !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
}
.widget-box-body { padding: 10px 12px !important; }
.menu-navbar-title {
    font-family: 'Patua One', cursive !important;
    font-size: 15px !important; letter-spacing: 3px !important;
    text-transform: uppercase !important; color: #f0d060 !important;
    text-shadow: 0 0 10px rgba(240,208,96,0.6) !important;
}
.menu-navbar-deco { color: #b8922a !important; font-size: 12px !important; }
.menu-nav-link {
    display: block !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(184,146,42,0.1) !important;
    padding: 9px 16px !important;
    font-size: 15px !important;
}
.menu-nav-link:last-child { border-bottom: none !important; }
.menu-nav-link:hover { background: rgba(184,146,42,0.14) !important; padding-left: 22px !important; }
.menu-navbar-inner a { color: #c8a85a; }

.odd { background-color: rgba(255,255,255,0.03) !important; padding: 2px; }
.even { background-color: rgba(0,0,0,0.15) !important; padding: 2px; }
.vertical-menu a { background-color: transparent !important; }

/* ── reset global de todas as caixas antigas ── */

/* remove fundos bege/marrom de qualquer elemento com bgcolor ou style inline */
* { box-sizing: border-box; }

table[bgcolor], tr[bgcolor], td[bgcolor] {
    background-color: transparent !important;
}

/* classes antigas do MyAAC/tibia template */
.TableContainer, .TableContent, .TableContentContainer,
.TableContentAndRightShadow, .InnerTableContainer,
.Table1, .Table2, .Table3, .Table4, .Table5,
.TableShadowContainer, .TableShadowContainerRightTop,
.TableBottomShadow, .TableBottomLeftShadow, .TableBottomRightShadow,
.TableShadowRightTop, .CaptionContainer, .CaptionInnerContainer,
.CaptionBorderTop, .CaptionBorderBottom,
.CaptionEdgeLeftTop, .CaptionEdgeRightTop,
.CaptionEdgeLeftBottom, .CaptionEdgeRightBottom,
.CaptionVerticalLeft, .CaptionVerticalRight {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* caixas de notificação antigas */
.TableContainer > table,
.InnerTableContainer > table {
    width: 100% !important;
}

/* título das caixas antigas */
.Text {
    font-family: 'Patua One', cursive !important;
    font-size: 13px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #f0d060 !important;
    text-shadow: 0 0 8px rgba(240,208,96,0.5) !important;
    background: linear-gradient(180deg, #1a3040 0%, #0a131c 100%) !important;
    border: 2px solid #b8922a !important;
    border-radius: 6px 6px 0 0 !important;
    padding: 8px 14px !important;
    display: block !important;
    text-align: center !important;
}

/* conteúdo das caixas antigas */
.TableContent {
    background: #0d1b27 !important;
    border: 2px solid #b8922a !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
}
.TableContent td, .TableContent th {
    padding: 8px 12px !important;
    color: #c8a85a !important;
    border-bottom: 1px solid rgba(184,146,42,0.08) !important;
    background: transparent !important;
}
.TableContent th {
    color: #f0d060 !important;
    font-weight: 700 !important;
    background: rgba(184,146,42,0.1) !important;
}

/* caixas de success/info/erro globais */
.success-box, .error-box, .info-box,
div[class*="Box"], div[class*="box"] {
    background: #0d1b27 !important;
    border: 2px solid #b8922a !important;
    border-radius: 6px !important;
    color: #c8a85a !important;
    padding: 12px 16px !important;
}

/* títulos */
h1, h2, h3, h4 { color: #f0d060 !important; font-family: 'Patua One', cursive !important; }

/* label */
.LabelV { color: #9ca3af !important; font-weight: 600 !important; }

/* botão download — isola completamente de qualquer override */
a.download-box,
a.download-box:link,
a.download-box:visited,
a.download-box:hover,
a.download-box:focus,
a.download-box:active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #1a5c2a !important;
    background-image: none !important;
    border: 2px solid #2ecc71 !important;
    border-radius: 6px !important;
    padding: 7px 12px !important;
    margin-bottom: 10px !important;
    text-decoration: none !important;
    color: #2ecc71 !important;
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
}
a.download-box:hover { filter: brightness(1.2) !important; }
a.download-box span, a.download-box svg, a.download-box div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* inputs e textareas globais */
input[type=text], input[type=password], input[type=email], select, textarea {
    background: #071018 !important;
    border: 1px solid #b8922a !important;
    border-radius: 4px !important;
    color: #e8c96a !important;
    padding: 6px 8px !important;
    font-size: 13px !important;
    outline: none !important;
}
input[type=text]:focus, input[type=password]:focus,
input[type=email]:focus, select:focus, textarea:focus {
    border-color: #f0d060 !important;
}

/* links globais dentro do conteúdo */
.rise-up-content a, #two a, .content a:not(.menu-nav-link):not(.am-sidebar-body a):not(.snav-item):not(.download-box):not(.streamer-card) {
    color: #c8a85a !important;
}
.rise-up-content a:hover, #two a:hover {
    color: #f0d060 !important;
}

/* vertical-menu */
.vertical-menu { background: #0d1b27 !important; border: 2px solid #b8922a !important; border-radius: 6px !important; overflow: hidden !important; }
.vertical-menu a { display: block !important; padding: 9px 12px !important; color: #c8a85a !important; font-size: 13px !important; font-weight: 600 !important; border-bottom: 1px solid rgba(184,146,42,0.1) !important; text-decoration: none !important; background: transparent !important; }
.vertical-menu a:last-child { border-bottom: none !important; }
.vertical-menu a:hover { background: rgba(184,146,42,0.14) !important; color: #fff !important; padding-left: 18px !important; }
