/* ==========================================================
 * Template "baiak" - Tibia 8.60 classico, azul escuro / ciano / dourado
 * Carregado depois do basic.css (herdado do tibiacom) e sobrescreve cores/layout.
 * ========================================================== */

@font-face {
	font-family: "Martel";
	src: url(martel.ttf) format("truetype");
	font-weight: normal;
}

body.baiak {
	margin: 0;
	color: #d8e3f0;
	font-family: Verdana, Arial, sans-serif;
	font-size: 9pt;
	background: #040b19 url(images/baiak/bg.svg) top center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

#BaiakPage {
	width: 1180px;
	margin: 0 auto;
	position: relative;
}

/* ---------- HEADER / LOGO ---------- */
#BaiakHeader {
	position: relative;
	height: 170px;
	text-align: center;
	background: url(images/baiak/header.svg) center bottom no-repeat;
}
#BaiakLogo {
	display: inline-block;
	margin-top: 34px;
	text-decoration: none;
}
#BaiakLogo .LogoText {
	display: block;
	font-family: "Martel", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: 64px;
	font-weight: bold;
	letter-spacing: 3px;
	line-height: 1;
	color: #f4d27a;
	background: linear-gradient(#fff4c8 0%, #f1cf6c 45%, #b9862b 60%, #f6dc8f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 2px #000) drop-shadow(0 3px 0 #2a1a05) drop-shadow(0 0 14px rgba(63, 208, 255, .55));
}
#BaiakLogo .LogoSub {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 14px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #9fe6ff;
	border: 1px solid #7a5a1c;
	border-radius: 2px;
	background: rgba(6, 20, 44, .85);
	text-shadow: 0 0 6px rgba(63, 208, 255, .7);
}

/* ---------- 3 COLUNAS ---------- */
#BaiakRow {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 0 6px 20px;
}
#BaiakLeft { flex: 0 0 186px; width: 186px; }
#BaiakCenter { flex: 1 1 auto; min-width: 0; }
#BaiakRight { flex: 0 0 196px; width: 196px; }

/* a coluna de conteudo do tibiacom tinha margens fixas; aqui vira fluida */
body.baiak #ContentColumn { margin: 0; position: relative; }
body.baiak .Content { width: auto; }

/* ---------- PLAY / DOWNLOAD ---------- */
.BaiakPlayBox {
	border: 1px solid #c9a44c;
	outline: 1px solid #3b2a0c;
	background: linear-gradient(#10264a, #081630);
	padding: 10px 10px 8px;
	margin-bottom: 12px;
	text-align: center;
	box-shadow: 0 0 10px rgba(0, 0, 0, .7);
}
.BaiakBigButton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px;
	margin: 0 0 6px;
	font-family: "Martel", Georgia, serif;
	font-size: 17px;
	font-weight: bold;
	color: #fff !important;
	text-decoration: none !important;
	text-shadow: 0 1px 2px #000;
	border: 1px solid #f0d58a;
	outline: 1px solid #2a1a05;
	border-radius: 3px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .6);
}
.BaiakBigButton.Play { background: linear-gradient(#e7a84a, #b8651b 55%, #8e460e); }
.BaiakBigButton.Download { background: linear-gradient(#56c85a, #2c8f31 55%, #1c6a20); margin-top: 8px; margin-bottom: 0; }
.BaiakBigButton:hover { filter: brightness(1.15); }
.BaiakSmallLink {
	display: block;
	font-size: 11px;
	font-weight: bold;
	color: #7fdcff !important;
	text-decoration: none;
}
.BaiakSmallLink:hover { text-decoration: underline; color: #fff !important; }

/* ---------- MENU ---------- */
body.baiak #Menu { position: static; left: 0; }
#Menu .menuitem {
	margin-bottom: 6px;
	border: 1px solid #c9a44c;
	outline: 1px solid #2a1a05;
	background: #071429;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
#Menu .MenuButton {
	position: relative;
	display: flex;
	align-items: center;
	width: auto;
	height: 34px;
	cursor: pointer;
	background: linear-gradient(#1d4a80, #0f2b52 55%, #0a1f3d);
	border-bottom: 1px solid #7a5a1c;
	user-select: none;
}
#Menu .MenuButton:hover { background: linear-gradient(#2560a3, #143a6c 55%, #0d2849); }
#Menu .MenuButton .Icon {
	position: static;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	margin: 0 6px 0 6px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
#Menu .MenuButton .Label {
	position: static;
	width: auto;
	height: auto;
	flex: 1 1 auto;
	font-family: "Martel", Georgia, serif;
	font-size: 15px;
	font-weight: bold;
	color: #f1d58c;
	text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .8);
	letter-spacing: .5px;
}
#Menu .MenuButton .Extend {
	position: static;
	width: 14px;
	height: 14px;
	margin-right: 8px;
	background: none;
	font: bold 14px/14px Verdana, sans-serif;
	color: #7fdcff;
	text-align: center;
}
#Menu .MenuButton .Extend::after { content: "+"; }
#Menu .menuitem.Open .MenuButton .Extend::after { content: "\2212"; }
#Menu .menuitem:not(.Open) .MenuButton { border-bottom: 0; }
#Menu .Submenu {
	display: none;
	width: auto;
	margin: 0;
	background: #081a33;
}
#Menu .Submenuitem {
	display: block;
	text-decoration: none;
	border-top: 1px solid #0f2a4f;
}
#Menu .SubmenuitemLabel {
	display: block;
	padding: 4px 8px 4px 24px;
	border: 0;
	font-size: 11px;
	color: #cfe3ff;
	position: relative;
}
#Menu .SubmenuitemLabel::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 9px;
	width: 5px;
	height: 5px;
	background: #3d6ea8;
	transform: rotate(45deg);
}
#Menu .Submenuitem:hover { background: #123463; }
#Menu .Submenuitem:hover .SubmenuitemLabel { color: #fff; }
#Menu .Submenuitem.Active { background: #0f2d57; }
#Menu .Submenuitem.Active .SubmenuitemLabel { color: #fff; font-weight: bold; }
#Menu .Submenuitem.Active .SubmenuitemLabel::before { background: #f1d58c; box-shadow: 0 0 4px #f1d58c; }

/* ---------- CAIXAS DA DIREITA ---------- */
.BaiakBox {
	margin-bottom: 12px;
	border: 1px solid #c9a44c;
	outline: 1px solid #2a1a05;
	background: #0b1b36;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	text-align: left;
}
.BaiakBoxTitle {
	padding: 6px 10px;
	font-family: "Martel", Georgia, serif;
	font-size: 14px;
	font-weight: bold;
	color: #f1d58c;
	text-shadow: 0 1px 2px #000;
	background: linear-gradient(#1d4a80, #0f2b52 55%, #0a1f3d);
	border-bottom: 1px solid #7a5a1c;
}
.BaiakBoxBody { padding: 8px 10px; font-size: 11px; color: #d8e3f0; }
.BaiakBoxBody a { color: #7fdcff; font-weight: bold; text-decoration: none; }
.BaiakBoxBody a:hover { color: #fff; text-decoration: underline; }
.BaiakBoxMore { display: block; margin-top: 6px; text-align: right; font-size: 10px; }
.BaiakMuted { color: #8aa0bd; font-style: italic; }

.BaiakFlags { display: flex; justify-content: space-around; }
.BaiakFlag { display: flex; flex-direction: column; align-items: center; cursor: default; }
.BaiakFlag svg { border: 1px solid #c9a44c; box-shadow: 0 1px 3px #000; }
.BaiakFlag small { margin-top: 3px; font-size: 9px; font-weight: bold; color: #9fb6d6; }

.BaiakTopTable, .BaiakInfoTable { width: 100%; border-collapse: collapse; }
.BaiakTopTable td { padding: 3px 2px; border-bottom: 1px solid #16305a; vertical-align: top; font-size: 11px; color: #d8e3f0; }
.BaiakTopTable td.Pos { width: 16px; color: #f1d58c; font-weight: bold; }
.BaiakTopTable td.Lvl { text-align: right; color: #f1d58c; font-weight: bold; }
.BaiakTopTable .Sub { font-size: 9px; color: #8aa0bd; }
.BaiakTopTable a.IsOnline { color: #6dff7a; }
.BaiakInfoTable td { padding: 2px 2px; font-size: 11px; color: #d8e3f0; border-bottom: 1px dotted #1b3866; }
.BaiakInfoTable td:first-child { color: #8aa0bd; width: 70px; }
.BaiakStatus { text-align: center; padding: 4px; margin-bottom: 6px; border: 1px solid #1b3866; background: #071429; }
.BaiakStatus.On b { color: #6dff7a; }
.BaiakStatus.Off b { color: #ff5a5a; }

.BaiakSearch input[type=text] {
	width: 100%;
	box-sizing: border-box;
	padding: 5px 6px;
	margin-bottom: 6px;
	color: #e8f1ff;
	background: #050f22;
	border: 1px solid #3d6ea8;
	font-size: 11px;
}
.BaiakButton {
	display: inline-block;
	width: 100%;
	padding: 5px 0;
	font-weight: bold;
	font-size: 12px;
	color: #fff;
	cursor: pointer;
	border: 1px solid #f0d58a;
	border-radius: 3px;
	background: linear-gradient(#2d78c4, #17508f 55%, #0f3a6b);
	text-shadow: 0 1px 1px #000;
}
.BaiakButton:hover { filter: brightness(1.15); }

/* ---------- CAIXA DE CONTEUDO (herdada do tibiacom) ---------- */
body.baiak .Content .Box {
	margin: 0 0 16px;
	color: #d8e3f0;
	background: #0b1b36;
	border: 1px solid #c9a44c;
	outline: 1px solid #2a1a05;
	box-shadow: 0 0 10px rgba(0, 0, 0, .7);
}
body.baiak .Content .Corner-tl,
body.baiak .Content .Corner-tr,
body.baiak .Content .Corner-bl,
body.baiak .Content .Corner-br { display: none; }
body.baiak .Content .Border_1 { height: 0; background: none !important; }
body.baiak .Content .BorderTitleText {
	height: 30px;
	background: linear-gradient(#1d4a80, #0f2b52 55%, #0a1f3d) !important;
	border-bottom: 1px solid #7a5a1c;
}
body.baiak .Content .Title { top: 2px; left: 8px; }
body.baiak .Content .Border_2 { margin: 0; background: #0b1b36; }
body.baiak .Content .Border_3 { margin: 0; border: 0; }
body.baiak .Content .BoxContent {
	background: #0e2143 none !important;
	color: #d8e3f0;
	padding: 12px;
}
body.baiak .Content .BoxContent td { color: #d8e3f0; }
body.baiak .Content a { color: #6fd6ff; }
body.baiak .Content a:hover { color: #ffffff; }
body.baiak .Content th { background-color: #0a1830; color: #f1d58c; }
body.baiak .Content h1, body.baiak .Content h2, body.baiak .Content h3 { color: #f1d58c; }
body.baiak .Content input[type=text], body.baiak .Content input[type=password],
body.baiak .Content input[type=email], body.baiak .Content select, body.baiak .Content textarea {
	background: #07142a;
	color: #e8f1ff;
	border: 1px solid #3d6ea8;
}

/* tabelas estilo tibia.com */
body.baiak .TableContainer .CaptionContainer,
body.baiak .TableContainer .CaptionContainer .CaptionInnerContainer {
	background: linear-gradient(#1a4273, #0e2a4f) !important;
}
body.baiak .TableContainer .CaptionContainer span[class^="Caption"] { display: none; }
body.baiak .TableContainer .CaptionContainer .CaptionInnerContainer { border: 1px solid #7a5a1c; box-sizing: border-box; }
body.baiak .TableContainer .CaptionContainer .Text { color: #f1d58c; }
body.baiak .TableContainer .Table1,
body.baiak .TableContainer .Table2,
body.baiak .TableContainer .Table3,
body.baiak .TableContainer .Table4,
body.baiak .TableContainer .Table5 {
	background-color: #102649 !important;
	border-color: #1f3f70;
}
body.baiak .TableContentContainer { background-color: #0e2143; border-color: #2a4f86; }
body.baiak .TableContainer .Table3 .TableContentAndRightShadow td { border-color: #1a3663; }
body.baiak .TableShadowRightTop, body.baiak .TableContentAndRightShadow,
body.baiak .TableBottomShadow, body.baiak .TableBottomLeftShadow, body.baiak .TableBottomRightShadow {
	background-image: none !important;
}
body.baiak .TableContainer .Odd, body.baiak .Odd { background-color: #13294d; }
body.baiak .TableContainer .Even, body.baiak .Even { background-color: #0f2242; }
body.baiak .LabelV, body.baiak .LabelH, body.baiak .LabelH td { color: #f1d58c; }

/* News ticker / featured article */
body.baiak .Content #NewsTicker .BoxContent .Row .Odd,
body.baiak .Content #newsticker .BoxContent .Row .Odd { background-color: #13294d; }
body.baiak .Content #NewsTicker .BoxContent .Row .Even,
body.baiak .Content #newsticker .BoxContent .Row .Even { background-color: #0f2242; }
body.baiak .Content #FeaturedArticle .BoxContent { min-height: 110px; }
body.baiak .Content #FeaturedArticle #TeaserThumbnail img { border: 1px solid #c9a44c; }

#Footer { color: #8aa0bd; padding-top: 6px; }
#Footer a { color: #7fdcff !important; }
