/* TibiaCOMv3 skin for the generic MyAAC page markup (tables, boxes, buttons, tickers). */

.tibiacomv3-core-page .TableContainer,
.tibiacomv3-core-page .Table1, .tibiacomv3-core-page .Table2,
.tibiacomv3-core-page .Table3, .tibiacomv3-core-page .Table5 {
	width: 100%;
	margin-bottom: 14px;
	background: var(--box-inner-bg);
	border: 1px solid var(--box-inner-border);
}
.tibiacomv3-core-page .CaptionContainer,
.tibiacomv3-core-page .CaptionInnerContainer {
	position: relative;
	padding: 6px 10px;
	color: #f0e6d2;
	background: linear-gradient(180deg, var(--box-header-from), var(--box-header-to));
}
.tibiacomv3-core-page .CaptionContainer .Text,
.tibiacomv3-core-page .CaptionInnerContainer .Text { font-weight: 700; font-size: 13px; color: #f0e6d2; }
.tibiacomv3-core-page .CaptionEdgeLeftTop, .tibiacomv3-core-page .CaptionEdgeRightTop,
.tibiacomv3-core-page .CaptionEdgeLeftBottom, .tibiacomv3-core-page .CaptionEdgeRightBottom,
.tibiacomv3-core-page .CaptionBorderTop, .tibiacomv3-core-page .CaptionBorderBottom,
.tibiacomv3-core-page .CaptionVerticalLeft, .tibiacomv3-core-page .CaptionVerticalRight { display: none; }
.tibiacomv3-core-page .InnerTableContainer { padding: 6px; }
.tibiacomv3-core-page .InnerTableContainer table,
.tibiacomv3-core-page .TableContent { margin: 0; }
.tibiacomv3-core-page .LabelV, .tibiacomv3-core-page .LabelH { font-weight: 700; }
.tibiacomv3-core-page .Odd, .tibiacomv3-core-page tr.Odd td { background: rgba(255, 255, 255, .12); }
.tibiacomv3-core-page .Even, .tibiacomv3-core-page tr.Even td { background: transparent; }
.tibiacomv3-core-page .white, .tibiacomv3-core-page .white a { color: inherit; }

.tibiacomv3-core-page .BigButton,
.tibiacomv3-core-page .ButtonText {
	display: inline-block;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	color: var(--btn-primary-text) !important;
	background: linear-gradient(to bottom, var(--btn-primary-from), var(--btn-primary-to));
	border: 1px solid var(--btn-primary-border);
	cursor: pointer;
}
.tibiacomv3-core-page .BigButtonOver { display: none !important; }
.tibiacomv3-core-page .BigButton input[type="image"],
.tibiacomv3-core-page input.BigButtonText,
.tibiacomv3-core-page .BigButton div { background: none !important; }

.tibiacomv3-core-page img { max-width: 100%; }
.tibiacomv3-core-page .dataTables_wrapper { color: var(--foreground); }

/* News tickers rendered above the page title. */
main > #NewsTicker, main > .Box { margin-bottom: 12px; }

.tc3-menu-active { font-weight: 700; color: #fff !important; background: rgba(255, 255, 255, .08); }

.tc3-boosted-link { text-decoration: none; }
.tc3-boosted-sprite { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; }
.tc3-boosted-sprite img { max-width: 56px; max-height: 56px; image-rendering: pixelated; }
.WikiBox-module__PxAH9a__button.tc3-wiki-second { margin-top: 6px; }

.tc3-footer { flex-wrap: wrap; gap: 8px; }
.tc3-footer a { color: inherit; text-decoration: underline; }
