html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #07111d;
    background-image:
        linear-gradient(to bottom, rgba(3, 9, 17, 0.08), rgba(3, 9, 17, 0.28)),
        url('images/header/Tibia-Background-Artwork.jpg');
    background-position:
        center top,
        center top;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-attachment: fixed, fixed;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-width: 1000px;
    background-color: transparent;
    background-image: none;
}

#ArtworkHelper {
    text-align: center;
    width: 100%;
    min-width: 1000px;
    min-height: 100vh;
    background: transparent;
}

/* container to implement min/max width */
#Bodycontainer {
    text-align: left;
    min-width: 1000px;
    max-width: 1240px;
    width: 100%;
    height: 100%;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px;
    display: table;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.38));
}

@media (max-width: 1100px) {
    html {
        background-size:
            auto 100vh,
            auto 100vh;
        background-attachment: scroll, scroll;
    }

    #Bodycontainer {
        filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.32));
    }
}

#ContentRow {
    position: relative;
    top: 148px;
}

/* "star-HTML-hack" to correct the position of the content row */
* html #ContentRow {
    display: inline-block;
}

#MenuColumn {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 180px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 0px;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    font-weight: bold;
    line-height: 12pt;
}

#ContentColumn {
    position: relative;
    margin: 0px;
    margin-left: 195px;
    margin-right: 195px;
}

#ThemeboxesColumn {
    text-align: center;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 180px;
    margin: 0px;
    margin-right: 10px;
    margin-left: 15px;
}

#Footer {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 7pt;
    font-weight: normal;
    text-align: center;
    position: relative;
    width: 100%;
    padding-bottom: 20px;
    color: white;
}
* html #Footer {
    padding-bottom: 120px;
    margin-bottom: 50px;
}

/* Footer linkes */
#Footer a:link {
    color: white;
    text-decoration: none;
}
#Footer a:visited {
    color: white;
    text-decoration: none;
}
#Footer a:focus {
    color: white;
    text-decoration: none;
}
#Footer a:active {
    color: white;
    text-decoration: underline;
}
#Footer a:hover {
    color: white;
    text-decoration: underline;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  HEADER AREA
 *  -------------------------------
 */

#LeftArtwork {
    position: absolute;
    height: 140px;
    width: 166px;
    top: -140px;
    left: 4px;
    background-repeat: no-repeat;
    z-index: 5;
}

#LeftArtwork #TibiaLogoArtworkTop {
    position: absolute;
    top: 20px;
    left: 0px;
    height: 82px;
    width: 166px;
    z-index: 5;
    cursor: pointer;
}

#LeftArtwork #TibiaLogoArtworkBottom {
    position: absolute;
    top: 102px;
    left: 0px;
    height: 43px;
    width: 166px;
    z-index: 5;
}

#LeftArtwork #Statue_1 {
    position: absolute;
    top: 0px;
    left: 5px;
    height: 30px;
    width: 32px;
    z-index: 10;
}

#LeftArtwork #Statue_2 {
    position: absolute;
    top: 0px;
    right: 25px;
    height: 30px;
    width: 32px;
    z-index: 10;
}

#LeftArtwork #LogoLink {
    position: absolute;
    bottom: 14px;
    left: 58px;
    height: 14px;
    width: 50px;
    z-index: 99;
    cursor: pointer;
}

#RightArtwork {
    text-align: left;
    position: absolute;
    top: -1px;
    right: 15px;
    width: 132px;
    background-repeat: no-repeat;
    z-index: 90;
}

#RightArtwork #Monster {
    position: absolute;
    height: 80px;
    width: 80px;
    top: -137px;
    left: 8px;
    z-index: 15;
    cursor: pointer;
}

#PedestalAndOnline {
    position: absolute;
    top: -105px;
    width: 132px;
    height: 111px;
}

#RightArtwork #PlayersOnline {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 7pt;
    line-height: 8pt;
    text-align: center;
    position: absolute;
    width: 92px;
    bottom: 11px;
    left: 21px;
    color: #cfa600;
    border-bottom: 1px solid #010101;
    cursor: pointer;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  LOGINBOX
 *  -------------------------------
 */

#Loginbox {
    position: relative;
    left: 5px;
    top: 8px;
    width: 100%;
    margin-bottom: 42px;
    background-repeat: no-repeat;
}

#Loginbox #LoginTop {
    position: absolute;
    left: -5px;
    top: -12px;
    height: 12px;
    width: 180px;
    background-repeat: no-repeat;
}

#Loginbox #LoginBottom {
    position: absolute;
    top: 52px;
    left: -5px;
    height: 12px;
    width: 180px;
    background-repeat: no-repeat;
}

#Loginbox .LoginBorder {
    position: absolute;
    top: 0px;
    height: 52px;
    width: 8px;
    background-repeat: repeat-y;
    z-index: 10;
}

#Loginbox #BorderRight {
    right: 9px;
}

#Loginbox .Loginstatus {
    position: relative;
    top: 0px;
    left: 5px;
    height: 13px;
    width: 160px;
}

#Loginbox .LoginstatusText {
    position: absolute;
    top: 1px;
    left: 18px;
    width: 124px;
    height: 11px;
    cursor: pointer;
}

#Loginbox #LoginstatusText_1 {
    top: 2px;
    cursor: default;
}

#Loginbox #LoginstatusText_2_1 {
    visibility: visible;
}

#Loginbox #LoginstatusText_2_2 {
    visibility: hidden;
}

#Loginbox #LoginButtonContainer {
    margin-left: 5px;
    height: 26px;
    width: 160px;
    background-repeat: repeat-y;
}

#Loginbox #LoginButton {
    position: relative;
    top: 1px;
    left: 12px;
    height: 25px;
    width: 135px;
}

#Loginbox #LoginButton .Button {
    position: relative;
    top: 0px;
    left: 0px;
    width: 135px;
    height: 25px;
    visibility: hidden;
}

#Loginbox #LoginButton #ButtonText {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 22px;
    width: 135px;
    z-index: 15;
    cursor: pointer;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  MENU
 *  -------------------------------
 */

#Menu {
    position: relative;
    left: 5px;
    background-repeat: no-repeat;
}

#MenuTop {
    position: absolute;
    left: -5px;
    top: -12px;
    height: 12px;
    width: 180px;
    background-repeat: no-repeat;
}

#MenuBottom {
    position: relative;
    left: -5px;
    bottom: 0px;
    height: 12px;
    width: 180px;
    background-repeat: no-repeat;
}

/* Menuitems */

.MenuButton {
    position: relative;
    height: 32px;
    width: 170px;
    display: block;
    cursor: pointer;
}

.Button {
    position: relative;
    height: 32px;
    width: 170px;
    visibility: hidden;
    display: block;
}

.Extend {
    position: absolute;
    top: 20px;
    right: -2px;
    height: 12px;
    width: 12px;
    background-repeat: no-repeat;
}

.Lights {
    visibility: hidden;
}

.Light_lu {
    position: absolute;
    top: 2px;
    left: 3px;
    height: 2px;
    width: 2px;
    background-repeat: no-repeat;
}

.Light_ru {
    position: absolute;
    top: 2px;
    right: 3px;
    height: 2px;
    width: 2px;
    background-repeat: no-repeat;
}

.Light_ld {
    position: absolute;
    height: 2px;
    width: 2px;
    top: 28px;
    left: 3px;
}

.Icon {
    position: absolute;
    height: 32px;
    width: 32px;
    top: 0px;
    left: 8px;
}

.Label {
    position: absolute;
    height: 22px;
    width: 116px;
    top: 6px;
    left: 42px;
}

/* Submenus(items) */

.LeftChain {
    position: absolute;
    top: 0px;
    left: -5px;
    height: 33px;
    width: 7px;
    background-repeat: repeat-y;
}

.RightChain {
    position: absolute;
    top: 0px;
    right: -4px;
    height: 33px;
    width: 7px;
    background-repeat: repeat-y;
}

.Submenu {
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #0d2e2b;
    width: 160px;
}

.Submenuitem {
    position: relative;
    margin: 0px;
    padding: 0px;
}

.ActiveSubmenuItemIcon {
    position: absolute;
    top: 5px;
    left: 3px;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    visibility: hidden;
}

.SubmenuitemLabel {
    margin: 0px;
    border-top: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 15px;
    border-bottom: 1px solid #4b7874;
    overflow: hidden;
}

/* Submenu links */
.Submenu a:link {
    color: #d7d7d7;
    text-decoration: none;
}
.Submenu a:visited {
    color: #d7d7d7;
    text-decoration: none;
}
.Submenu a:focus {
    color: #d7d7d7;
    text-decoration: none;
}
.Submenu a:active {
    color: white;
    text-decoration: none;
}
.Submenu a:hover {
    color: white;
    text-decoration: none;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  CONTENT AREA
 *  -------------------------------
 */

.Content .BoxContent {
    padding: 10px;
}

/* "tanhack" for correction of IE bug */
* html .Content {
    top: -5px;
}

.Content {
    position: relative;
    top: 0px;
    width: 100%;
}

/* "star-HTML-hack" to correct the position of the content area */
* html .Content {
    position: relative;
    top: 796px;
    margin: 20px;
    border: 0px dashed #061222;
    border-right-width: 550px;
}

#ContentHelper {
    position: relative;
}

/* "star-HTML-hack" to to implement min-width in IE */
* html #ContentHelper {
    display: inline-block;
    position: relative;
    top: -800px;
    margin: -20px;
    margin-right: -570px;
}

.Content .Box {
    font-size: 0pt;
    position: relative;
    margin: 4px 4px 12px 4px;
    color: #5a2800;
    border-left: 2px solid #3a3738;
    border-right: 2px solid #3a3738;
    background-color: #debb9d;
    background-repeat: no-repeat;
    overflow: visible;
}

.Content .BoxContent {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 9pt;
    background-color: #fff2db;
    color: #5a2800;
    min-height: 280px;
    height: auto !important;
    height: 415px;
}

/* "star-HTML-hack" to correct Box width in IE */
* html .Content .Box {
    width: 100%;
}
/* "star-HTML-hack" to correct BoxContent width in IE */
* html .Content .BoxContent {
    width: 100%;
}

.Content th {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-align: left;
    color: white;
    background-color: #505050;
}

.Content .BoxContent td {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 10pt;
    color: #5a2800;
}

/* Content Links */

.Content a {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-weight: bold;
    color: #004294;
    text-decoration: none;
}
.Content a:hover {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-weight: bold;
    text-decoration: underline;
    color: #0063dc;
}
.Content .HelpLink {
    font-size: 7pt;
    cursor: pointer;
}

/* Corners */

.Content .Corner-tl {
    position: absolute;
    top: -4px;
    left: -5px;
    width: 17px;
    height: 17px;
    z-index: 50;
}

.Content .Corner-tr {
    position: absolute;
    top: -4px;
    right: -5px;
    width: 17px;
    height: 17px;
    z-index: 50;
}

.Content .BottomCornersHelper {
    position: absolute;
    width: 100%;
}

.Content .CornerWrapper-b {
    position: absolute;
    width: 100%;
}

.Content .Corner-bl {
    position: absolute;
    bottom: -4px;
    left: -6px;
    width: 17px;
    height: 17px;
    z-index: 50;
}

.Content .Corner-br {
    position: absolute;
    bottom: -4px;
    right: -6px;
    width: 17px;
    height: 17px;
    z-index: 50;
}

/* Borders */

.Content .Border_1 {
    position: relative;
    height: 6px;
    width: 100%;
    background-repeat: repeat-x;
}

.Content .BorderTitleText {
    position: relative;
    height: 24px;
    background-repeat: repeat-x;
}

.Content .Title {
    position: absolute;
    top: 6px;
    left: 5px;
}

.Content .Border_2 {
    margin: 4px;
    padding: 0px;
    background-color: #793d03;
}

.Content .Border_3 {
    margin: 1px;
    border-top: 1px solid #793d03;
    border-bottom: 1px solid #793d03;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  THEMEBOXES of the Tibia
 *  website
 *  -------------------------------
 */

.Themebox {
    position: relative;
    margin-bottom: 10px;
    top: -4px;
    width: 180px;
    height: 154px;
}
#Themeboxes div {
    font-size: 10pt;
    background-repeat: no-repeat;
}
#Themeboxes .ThemeboxButton {
    position: absolute;
    bottom: 20px;
    left: 22px;
    height: 25px;
    width: 137px;
    cursor: pointer;
}
#Themeboxes .Bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 12px;
    width: 180px;
}
/* "star-HTML-hack" to correct the position of the bottom element */
* html #Themeboxes .Bottom {
    bottom: -3px;
}
#Themeboxes #PremiumBox {
    height: 164px;
}
#Themeboxes #ScreenshotBox #ScreenshotContent {
    position: relative;
    height: 111px;
    width: 170px;
    top: 31px;
    left: 0px;
    margin-left: 5px;
    margin-right: 5px;
    border: 0;
    cursor: pointer;
}
#Themeboxes #CurrentPollBox #CurrentPollText {
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    line-height: 11pt;
    color: #5a2800;
    position: absolute;
    height: 90px;
    width: 150px;
    top: 37px;
    left: 15px;
    padding-top: 5px;
    overflow: hidden;
}
#Themeboxes #SkyscraperBanner {
    border: 0;
}

/** -------------------------------
 *  OLD Stylesheet declarations for
 *  the CONTENT AREA
 *  -------------------------------
 */

.Content .BoxContent td .white {
    color: #efefef;
    visibility: visible;
}

.Content .BoxContent td .whites {
    color: #efefef;
    visibility: visible;
    font-size: 9pt;
}

.Content .BoxContent .white {
    color: #efefef;
    visibility: visible;
}

.Content .BoxContent td .green {
    color: #00bf00;
}

.Content .BoxContent td .yellow {
    color: #ffbb05;
}

.Content .BoxContent td .red {
    color: #ef0000;
}

.Content .BoxContent td .grey {
    color: #808080;
}

/** -------------------------------
 *  OLD Stylesheet declarations for
 *  the CONTENT AREA (forum)
 *  -------------------------------
 */

.Content .BoxContent .ff_info {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 10pt;
    color: #5a2800;
    visibility: visible;
}

.Content .ff_white a {
    color: #ffffff;
}

.Content .BoxContent .ff_white {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    color: #efefef;
    visibility: visible;
    font-size: 7pt;
    font-weight: bold;
}

.Content .BoxContent .ff_red {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    color: #ef0000;
    visibility: visible;
    font-size: 8pt;
    font-weight: bold;
}

.Content .BoxContent .ff_whitelarge {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    color: #efefef;
    visibility: visible;
    font-size: 9pt;
    font-weight: bold;
}

.Content .BoxContent .ff_info {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 8pt;
    color: #5a2800;
    visibility: visible;
}

.Content .BoxContent .ff_infotext {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 8pt;
    color: #5a2800;
    visibility: visible;
    line-height: 12pt;
}

.Content .BoxContent .ff_smallinfo {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 7pt;
    color: #5a2800;
    visibility: visible;
}

.Content .BoxContent .ff_large {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 12pt;
    color: #5a2800;
    visibility: visible;
}

.Content .BoxContent .ff_pagetext {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 9pt;
    color: #5a2800;
    visibility: visible;
    line-height: 13pt;
}

.Content .BoxContent .ff_pagetextgrey {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 9pt;
    color: #505050;
    visibility: visible;
    line-height: 13pt;
}

.Content .BoxContent .ff_pagetextred {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 9pt;
    color: #f00;
    visibility: visible;
    line-height: 13pt;
}

.Content .BoxContent .ff_correct {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 11pt;
    color: #ff0000;
    visibility: visible;
    font-weight: bold;
}

/** --------------------------------------
 *  ### not final versions for tests
 *  ### concerning the new payment process
 *  --------------------------------------
 */

/* new error handling concept tests */

.FormFieldError {
    font-size: 8pt;
    color: red;
}
.SmallBox {
    position: relative;
    font-size: 1px;
}
.SmallBox .ErrorMessage {
    font-size: 8pt;
    position: relative;
    color: red;
    height: 100%;
    background-color: #d4c0a1;
    padding: 5px;
    padding-left: 43px;
}
.SmallBox .Message {
    font-size: 10pt;
    position: relative;
    height: 100%;
    background-color: #d4c0a1;
    padding: 10px;
}
.SmallBox .ErrorMessage ul {
    padding-left: 15px;
}
.SmallBox .BoxFrameHorizontal {
    position: relative;
    height: 4px;
}
.SmallBox .BoxFrameVerticalRight {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 3px;
    background-repeat: repeat-y;
    height: 100%;
}
.SmallBox .BoxFrameVerticalLeft {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 3px;
    background-repeat: repeat-y;
    height: 100%;
}
.SmallBox .MessageContainer {
    position: relative;
    height: 100%;
}
.SmallBox .BoxFrameEdgeLeftTop {
    position: absolute;
    left: -1px;
    top: -1px;
    width: 5px;
    height: 5px;
}
.SmallBox .BoxFrameEdgeLeftBottom {
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: 5px;
    height: 5px;
}
.SmallBox .BoxFrameEdgeRightTop {
    position: absolute;
    right: -1px;
    top: -1px;
    width: 5px;
    height: 5px;
}
.SmallBox .BoxFrameEdgeRightBottom {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 5px;
    height: 5px;
}
.SmallBox .AttentionSign {
    position: absolute;
    top: 3px;
    left: 8px;
    width: 30px;
    height: 26px;
}

/** ---------------------------------
 *  ### not finished versions for the
 *  ### payment process PROGRESS BAR
 *  ---------------------------------
 */

#ProgressBar #Headline {
    text-align: center;
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 5px;
}
#ProgressBar #MainContainer {
    position: relative;
    top: 10px;
    height: 50px;
    margin-bottom: 25px;
}
#ProgressBar #BackgroundContainer {
    position: relative;
    width: 100%;
}

#ProgressBar #BackgroundContainerLeftEnd {
    position: absolute;
    float: left;
}
#ProgressBar #BackgroundContainerCenter {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 17px;
    width: 100%;
}
#ProgressBar #BackgroundContainerCenterImage {
    position: relative;
    margin-left: 25px;
    margin-right: 25px;
    height: 17px;
}
#ProgressBar #BackgroundContainerRightEnd {
    position: absolute;
    right: 0px;
    top: 0px;
    float: right;
}
#ProgressBar #TubeLeftEnd {
    position: absolute;
    left: 25px;
    top: 4px;
}
#ProgressBar #TubeRightEnd {
    position: absolute;
    right: 25px;
    top: 4px;
    z-index: 0;
}
#ProgressBar .Steps {
    position: relative;
    height: 39px;
    font-size: 9px;
    float: left;
    top: -11px;
    margin-left: -1px;
}
#ProgressBar #StepsContainer1 {
    text-align: right;
    margin-left: 92px;
    margin-right: 40px;
    height: 10px;
}
#ProgressBar #StepsContainer2 {
    width: 100%;
    height: 10px;
}
#ProgressBar .TubeContainer {
    position: relative;
    padding-right: 47px;
}
#ProgressBar .Tube {
    position: relative;
    top: 16px;
    left: 0px;
    width: 100%;
    height: 7px;
    background: #ffffff none repeat scroll 0%;
}
* html #ProgressBar .Tube {
    top: 13px;
}
#ProgressBar .SingleStepContainer {
    position: absolute;
    top: 0px;
    width: 47px;
    height: 30px;
    right: 0px;
    text-align: center;
}
#ProgressBar #FirstStep .SingleStepContainer {
    left: 45px;
    width: 47px;
    position: absolute;
}
#ProgressBar .StepIcon {
    position: absolute;
    right: 0px;
}
* html #ProgressBar .StepIcon {
    right: -1px;
}
#ProgressBar #FirstStep .StepIcon {
    top: 0px;
    left: 0px;
}
#ProgressBar .StepText {
    top: 40px;
    position: absolute;
    width: 200px;
    right: -77px;
}

/** -------------------------------
 *  Stylesheet declarations for the
 *  NEW TABLES
 *  -------------------------------
 */

.TableContainer {
    border: 1px solid black;
    position: relative;
    width: 100%;
    font-size: 1px;
}
.TableContainer .Odd {
    background-color: #f1e0c6;
}
.TableContainer .Even {
    background-color: #d5c0a1;
}

/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
    position: relative;
    font-size: 1pt;
    background-color: #5f4d41 !important;
    height: 100%;
    width: 100%;
    text-align: left;
}
.TableContainer .CaptionContainer .CaptionInnerContainer {
    position: relative;
    background-color: #5f4d41;
    width: 100%;
    height: 100%;
    padding-top: 3px;
    padding-bottom: 4px;
}
.TableContainer .CaptionContainer .Text {
    font-family:
        Verdana,
        Arial,
        Times New Roman,
        sans-serif;
    font-size: 10pt;
    font-weight: bold;
    text-align: left;
    color: white;
    padding-left: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftTop {
    position: absolute;
    width: 5px;
    height: 5px;
    top: -2px;
    left: -2px;
    z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightTop {
    position: absolute;
    width: 5px;
    height: 5px;
    top: -2px;
    right: -2px;
    z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
    position: absolute;
    width: 5px;
    height: 5px;
    left: -2px;
    bottom: -3px;
    z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightBottom {
    position: absolute;
    width: 5px;
    height: 5px;
    right: -2px;
    bottom: -3px;
    z-index: 50;
}
.TableContainer .CaptionContainer .CaptionBorderTop {
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0px;
    top: -1px;
}
.TableContainer .CaptionContainer .CaptionBorderBottom {
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0px;
    bottom: -2px;
}
.TableContainer .CaptionContainer .CaptionVerticalLeft {
    position: absolute;
    height: 100%;
    width: 3px;
    left: -1px;
    top: 0px;
}
.TableContainer .CaptionContainer .CaptionVerticalRight {
    position: absolute;
    height: 100%;
    width: 3px;
    right: -1px;
    top: 0px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightTop {
    right: -3px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
    bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightBottom {
    right: -3px;
    bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionBorderBottom {
    bottom: -3;
}
* html .TableContainer .CaptionContainer .CaptionVerticalRight {
    right: -2px;
}
/* TABLE CONTENT */
.TableContentContainer {
    border: 1px solid #5f4d41;
    position: relative;
    margin-right: 4px;
    height: 100%;
    background-color: #d4c0a1;
    padding: 0px;
}
.TableContent {
    width: 100%;
    border-collapse: collapse;
}
.TableContent td {
    padding-left: 5px;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
}
/* INNERLYOUT 1 */
.TableContainer .Table1 {
    width: 100%;
    background-color: #d4c0a1;
    border: 2px solid #55636c;
}
.TableContainer .Table1 .InnerTableContainer {
    padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
    width: 100%;
    border: 2px solid #55636c;
    background-color: #f1e0c5;
    padding: 0px;
    margin: 0px;
    border-collapse: collapse;
}
.TableContainer .Table2 td {
    padding: 0px;
    margin: 0px;
}
.TableContainer .Table2 .InnerTableContainer {
    margin-top: 1px;
}
.TableContainer .Table2 .InnerTableContainer table {
    border-collapse: collapse;
}
.TableContainer .Table2 .InnerTableContainer td {
    padding-top: 2px;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-right: 5px;
    border: 1px solid #faf0d7;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
    width: 100%;
    border: 2px solid #55636c;
    background-color: #f1e0c5;
}
.TableContainer .Table3 .InnerTableContainer {
    width: 100%;
    position: relative;
    margin-top: 5px;
    margin-left: 3px;
}
.TableContainer .Table3 .TableContentAndRightShadow td {
    border: 1px solid #faf0d7;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
    width: 100%;
    border: 2px solid #55636c;
    background-color: #f1e0c5;
}
.TableContainer .Table4 .InnerTableContainer {
    width: 100%;
    position: relative;
    margin-top: 3px;
}
.TableContainer .Table4 .TableContentAndRightShadow .TableContent td {
    padding-left: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}
/* INNERLYOUT 5 */
.TableContainer .Table5 {
    width: 100%;
    border: 2px solid #55636c;
    background-color: #f1e0c5;
}
.TableContainer .Table5 .InnerTableContainer {
    width: 100%;
    position: relative;
    margin-top: 5px;
    margin-left: 3px;
}
.TableContainer .Table5 .TableContentAndRightShadow .TableContent td {
    padding-left: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
}
/* SHADOWS */
.TableShadowContainerRightTop {
    position: relative;
    top: 0px;
    right: 3px;
    margin-right: 0px;
    font-size: 1px;
    float: right;
    z-index: 99;
}
.TableShadowRightTop {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 4px;
    height: 5px;
    z-index: 99;
}
.TableContentAndRightShadow {
    position: relative;
    background-repeat: repeat-y;
    background-position: top right;
    margin-right: 3px;
    font-size: 1px;
}
.TableShadowContainer {
    position: relative;
    widht: 100%;
    margin-right: 5px;
}
.TableBottomShadow {
    position: relative;
    font-size: 1px;
    height: 5px;
    width: 100%;
    padding: 0px;
    margin: 0px;
}
.TableBottomLeftShadow {
    position: relative;
    height: 5px;
    width: 4px;
    float: left;
    padding: 0px;
    margin: 0px;
}
.TableBottomRightShadow {
    position: relative;
    float: right;
    right: -2px;
    top: 0px;
    height: 5px;
    width: 4px;
}
/* LABELS */
.LabelV {
    font-weight: bold;
    padding-right: 10px;
    white-space: nowrap;
    vertical-align: top;
}
.LabelH {
    font-weight: bold;
    padding-right: 10px;
    white-space: nowrap;
    background-color: #d5c0a1;
}
.LabelH td {
    background-color: #d5c0a1;
    padding-left: 5px;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
}

/* BUTTONS */
.InnerTableButtonRow {
    width: 100%;
    padding-left: 1px;
    padding-right: 0px;
    padding-bottom: 4px;
    border: 0px;
}
.InnerTableButtonRow td {
    padding-right: 4px;
}
.BigButton {
    position: relative;
    width: 135px;
    height: 25px;
    z-index: 10;
}
.BigButtonOver {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 137px;
    height: 25px;
    visibility: hidden;
    z-index: 15;
}
.ButtonText {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 25px;
    width: 135px;
    z-index: 20;
}
.TopButtonContainer {
    position: relative;
    right: 4px;
    top: 4px;
    z-index: 60;
}
* html .TopButtonContainer {
    right: 27px;
}
.TopButtonContainer .TopButton {
    position: absolute;
    right: 0px;
    z-index: 55;
}
.Content .BoxContent .Odd {
    background-color: #d4c0a1;
    padding: 2px;
}

.Content .BoxContent .Even {
    background-color: #f1e0c6;
    padding: 2px;
}

.Content .NewsCategoryIconSmall {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
    background-color: #d4c0a1;
    padding: 2px;
}

.Content .BoxContent .Even {
    background-color: #f1e0c6;
    padding: 2px;
}

.Content .NewsCategoryIconSmall {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
    background-color: #d4c0a1;
    padding: 2px;
}

.Content .BoxContent .Even {
    background-color: #f1e0c6;
    padding: 2px;
}

.Content .NewsCategoryIconSmall {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
}

/* News Ticker */

.Content #NewsTicker .BoxContent {
    padding: 5px;
    min-height: 90px;
    height: auto !important;
    height: 100px;
}

.Content #NewsTicker .BoxContent .Row {
    position: relative;
    width: 100%;
}

.Content #NewsTicker .NewsTickerIcon {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
}

.Content #NewsTicker .NewsTickerText {
    font-size: 9pt;
    position: relative;
    margin-left: 20px;
}

.Content #NewsTicker .NewsTickerDate {
    font-size: 7pt;
    position: absolute;
    top: 0px;
    float: left;
}

.Content #NewsTicker .NewsTickerShortText {
    margin-left: 85px;
    height: 14px;
}

.Content #NewsTicker .NewsTickerFullText {
    margin-left: 85px;
    margin-right: 20px;
    display: none;
}

.Content #NewsTicker .NewsTickerExtend {
    position: relative;
    right: 0px;
    top: 1px;
    right: 1px;
    height: 12px;
    width: 12px;
    background-repeat: no-repeat;
    float: right;
    cursor: pointer;
    z-index: 10;
}

/* Featured Article */

.Content #FeaturedArticle .BoxContent {
    position: relative;
    height: 100px;
    padding: 5px;
    padding-left: 10px;
    min-height: 100px;
    height: auto !important;
    height: 110px;
    line-height: 10.5pt;
}

.Content #FeaturedArticle #TeaserThumbnail {
    position: relative;
    top: 0px;
    right: 0px;
    height: 100px;
    width: 150px;
    margin-left: 10px;
    background-color: black;
    z-index: 90;
    float: right;
}

#ContentHelper #FeaturedArticle:first-child .BoxContent {
    padding: 10px;
}

.Content #FeaturedArticle #TeaserText {
    height: 100px;
    overflow: hidden;
    z-index: 0;
}

.Content #FeaturedArticle #Link {
    position: absolute;
    top: 0px;
    right: 0px;
    margin: 89 165 0 0;
    z-index: 99;
}

.Content #FeaturedArticle .NewsHeadlineBackground {
    position: relative;
    height: 28px;
    margin-bottom: 5px;
    background-repeat: repeat-x;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}

.Content #FeaturedArticle .NewsHeadlineIcon {
    position: absolute;
    top: -1px;
    left: 0px;
    margin-left: 5px;
    margin-right: 5px;
    float: left;
}

.Content #FeaturedArticle .NewsHeadlineDate {
    font-size: 7pt;
    position: absolute;
    top: 9px;
    left: 50px;
    width: 85px;
    color: white;
}

.Content #FeaturedArticle .NewsHeadlineText {
    position: relative;
    top: 8px;
    left: 135px;
    font-size: 10pt;
    font-weight: bold;
    color: white;
}

/* News */

.Content #News .BoxContent {
    min-height: 100px;
    height: auto !important;
    height: 110px;
}

.Content #News .NewsHeadlineBackground {
    position: relative;
    height: 28px;
    margin-bottom: 5px;
    background-repeat: repeat-x;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}

.Content #News .NewsHeadlineIcon {
    position: absolute;
    top: -1px;
    left: 0px;
    margin-left: 5px;
    margin-right: 5px;
}

.Content #News .NewsHeadlineDate {
    font-size: 7pt;
    position: absolute;
    top: 10px;
    left: 50px;
    width: 85px;
    color: white;
}

.Content #News .NewsHeadlineText {
    position: relative;
    top: 7px;
    left: 135px;
    font-size: 10pt;
    font-weight: bold;
    color: white;
}

/* News Archive */

.Content #NewsArchive .NewsHeadlineBackground {
    position: relative;
    height: 28px;
    margin-bottom: 5px;
    background-repeat: repeat-x;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
}

.Content #NewsArchive .NewsHeadlineIcon {
    position: absolute;
    top: -1px;
    left: 0px;
    margin-left: 5px;
    margin-right: 5px;
}

.Content #NewsArchive .NewsHeadlineDate {
    font-size: 7pt;
    position: absolute;
    top: 9px;
    left: 50px;
    width: 85px;
    color: white;
}

.Content #NewsArchive .NewsHeadlineText {
    position: relative;
    top: 7px;
    left: 135px;
    font-size: 10pt;
    font-weight: bold;
    color: white;
}

/* ================================================================
 * OldStyller - Visual V2
 * Objetivo: aproximar a organização visual do Tibia oficial,
 * preservando as molduras, imagens e identidade do OldStyller.
 * ================================================================ */

#ContentColumn {
    padding-top: 0px;
}

.Content .BoxContent {
    padding: 9px 10px;
}

/* Notícias e ticker devem crescer de acordo com o conteúdo. */
#latestnews .BoxContent,
#newsticker .BoxContent,
#news .BoxContent {
    min-height: 0;
    height: auto !important;
}

#newsticker {
    margin-bottom: 10px;
}

#newsticker .BoxContent {
    padding: 5px 6px 7px 6px;
}

#news {
    margin-bottom: 12px;
}

#news .BoxContent {
    padding: 10px 12px 12px 12px;
}

#news #TeaserText {
    line-height: 1.35;
    margin-top: 2px;
}

#news #TeaserThumbnail {
    margin-left: 10px;
    margin-bottom: 6px;
}

#news #TeaserThumbnail img {
    display: block;
}

/* Deixa os blocos de conteúdo mais compactos e próximos da referência. */
.Content .Border_2 {
    margin: 3px;
}

.Content .Border_3 {
    margin: 1px;
}

.Content th {
    line-height: 15px;
}

/* Submenus ligeiramente mais compactos, mantendo o desenho original. */
.SubmenuitemLabel {
    padding-top: 1px;
    padding-bottom: 1px;
}

/* Mantem toda a coluna esquerda reta, sem o recuo de 5px nos submenus. */
.Submenu {
    width: 170px;
    margin-left: 0;
    margin-right: 0;
}

.Submenu .LeftChain {
    left: 0;
}

.Submenu .RightChain {
    right: 0;
}

/* Themeboxes continuam com as mesmas imagens, mas ficam mais integradas. */
.Themebox {
    margin-bottom: 8px;
}

/* ================================================================
 * OldStyller - correção isolada do News Ticker
 * O HTML usa id="newsticker" (minúsculo), enquanto o CSS clássico
 * usava #NewsTicker. Estas regras restauram o layout original sem
 * interferir no background geral do site.
 * ================================================================ */
.Content #newsticker .BoxContent {
    padding: 5px;
    min-height: 90px;
    height: auto !important;
}

.Content #newsticker .BoxContent .Row {
    position: relative;
    width: 100%;
}

.Content #newsticker .NewsTickerIcon {
    position: absolute;
    top: 1px;
    left: 1px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
}

/* ================================================================
 * OldStyller - identidade visual nova
 * ================================================================ */
html {
    background-image:
        linear-gradient(to bottom, rgba(3, 9, 17, 0.16), rgba(3, 9, 17, 0.48)),
        url('images/header/Tibia-Background-Artwork.jpg');
    background-position:
        center top,
        center top;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
}

#LeftArtwork #TibiaLogoArtworkTop,
#LeftArtwork #TibiaLogoArtworkBottom {
    display: none;
}

#LeftArtwork #Statue_1,
#LeftArtwork #Statue_2 {
    display: none;
}

#OldStyllerLogoArtwork {
    position: absolute;
    top: 27px;
    left: 0;
    width: 166px;
    height: 82px;
    padding-top: 12px;
    color: #e7bd69;
    background: radial-gradient(
        ellipse at center,
        rgba(55, 79, 93, 0.75),
        rgba(8, 16, 25, 0.96) 72%
    );
    border: 1px solid #9a7137;
    box-shadow:
        inset 0 0 0 2px rgba(8, 16, 25, 0.8),
        0 4px 12px rgba(0, 0, 0, 0.5);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    text-shadow:
        0 2px 0 #071019,
        0 0 12px rgba(225, 182, 101, 0.45);
    cursor: pointer;
    z-index: 20;
}
#OldStyllerLogoArtwork span {
    color: #d8e0e3;
}
#OldStyllerLogoArtwork strong {
    color: #e7bd69;
}
#OldStyllerLogoArtwork small {
    display: block;
    margin-top: 7px;
    color: #99a7ad;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: normal;
    letter-spacing: 3px;
    text-shadow: none;
}

.Submenu {
    background-color: #142534;
    border: 1px solid #405365;
}
.SubmenuitemLabel {
    border-bottom-color: #314859;
    color: #d9e1e6;
}
.SubmenuitemLabel a {
    color: #d9e1e6;
}
.SubmenuitemLabel a:hover {
    color: #f0c978;
}

#RightArtwork #Monster,
#RightArtwork #PedestalAndOnline {
    display: none;
}
#RightArtwork #PlayersOnline {
    top: -77px;
    bottom: auto;
    left: 10px;
    width: 112px;
    padding: 9px 0;
    border: 1px solid #a47737;
    border-radius: 2px;
    background: rgba(11, 22, 32, 0.92);
    color: #f0c978;
    font-size: 9pt;
    line-height: 11pt;
}

#Themeboxes #NewcomerBox {
    height: 108px;
    margin-top: 22px;
    margin-bottom: 20px;
    cursor: pointer;
    background: linear-gradient(145deg, #172b3a, #0b151f) !important;
    border: 1px solid #a47737;
    box-shadow: inset 0 0 0 2px rgba(16, 25, 34, 0.8);
}
#Themeboxes #NewcomerBox::before {
    content: 'APOIE O OLDSTYLLER';
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    color: #f0c978;
    font-family: Georgia, serif;
    font-size: 12pt;
    text-align: center;
}
#Themeboxes #NewcomerBox::after {
    content: 'Ajude a manter os reinos online';
    position: absolute;
    top: 49px;
    left: 0;
    width: 100%;
    color: #aebcc5;
    font-size: 8pt;
    text-align: center;
}
#Themeboxes #NewcomerBox .ThemeboxButton,
#Themeboxes #NewcomerBox .Bottom {
    display: none;
}

#Themeboxes #ScreenshotBox {
    margin-top: 18px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, #182b3a, #0b151f) !important;
    border: 1px solid #a47737;
}
#Themeboxes #ScreenshotBox #ScreenshotContent {
    object-fit: cover;
    object-position: 62% center;
    border: 1px solid #526474;
}
#Themeboxes #ScreenshotBox .Bottom {
    display: none !important;
}

#OldStyllerTopLevel {
    width: 180px;
    margin: 24px 0 20px;
    padding: 12px 10px 10px;
    box-sizing: border-box;
    border: 1px solid #a47737;
    background: linear-gradient(145deg, rgba(23, 43, 58, 0.98), rgba(9, 19, 29, 0.98));
    box-shadow:
        inset 0 0 0 2px rgba(8, 16, 25, 0.75),
        0 4px 14px rgba(0, 0, 0, 0.28);
}
#OldStyllerTopLevel .OldStyllerTopLevel__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: #f0c978;
    font:
        bold 12px Georgia,
        serif;
    letter-spacing: 1px;
}
#OldStyllerTopLevel .OldStyllerTopLevel__crest {
    color: #6e91a8;
    font-size: 10px;
}
#OldStyllerTopLevel .OldStyllerTopLevel__subheading {
    margin: 5px 0 10px;
    color: #aebcc5;
    font:
        9px Arial,
        sans-serif;
    text-align: center;
}
#OldStyllerTopLevel .OldStyllerTopLevel__list {
    border-top: 1px solid rgba(164, 119, 55, 0.55);
}
#OldStyllerTopLevel .OldStyllerTopLevel__row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    border-bottom: 1px solid rgba(82, 105, 120, 0.45);
    color: #d8e0e3;
    font:
        9px Arial,
        sans-serif;
    text-decoration: none;
}
#OldStyllerTopLevel .OldStyllerTopLevel__row:hover {
    background: rgba(49, 79, 99, 0.45);
    color: #fff;
}
#OldStyllerTopLevel .OldStyllerTopLevel__rank {
    width: 17px;
    color: #80919b;
    text-align: center;
    font-weight: bold;
}
#OldStyllerTopLevel .OldStyllerTopLevel__rank.is-medal {
    color: #f0c978;
}
#OldStyllerTopLevel .OldStyllerTopLevel__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#OldStyllerTopLevel .OldStyllerTopLevel__level {
    color: #f0c978;
    font-size: 10px;
}
#OldStyllerTopLevel .OldStyllerTopLevel__link {
    display: block;
    margin-top: 10px;
    color: #f0c978;
    font:
        9px Arial,
        sans-serif;
    text-align: center;
    text-decoration: none;
}
#OldStyllerTopLevel .OldStyllerTopLevel__link:hover {
    color: #fff;
}
#OldStyllerTopLevel .OldStyllerTopLevel__link span {
    margin-left: 4px;
    font-size: 13px;
}

#OldStyllerGuildFrags {
    width: 180px;
    margin: 0 0 20px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #6b8190;
    background: rgba(13, 27, 39, 0.95);
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__title {
    margin-bottom: 6px;
    color: #f0c978;
    font:
        bold 10px Georgia,
        serif;
    letter-spacing: 1px;
    text-align: center;
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__row {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 24px;
    border-top: 1px solid rgba(82, 105, 120, 0.45);
    color: #cbd6dc;
    font:
        9px Arial,
        sans-serif;
    text-decoration: none;
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__row:hover {
    color: #fff;
    background: rgba(49, 79, 99, 0.45);
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__row span {
    width: 14px;
    color: #f0c978;
    text-align: center;
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__row b {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__row em {
    color: #aebcc5;
    font-style: normal;
}
#OldStyllerGuildFrags .OldStyllerGuildFrags__empty {
    padding: 8px 0 2px;
    color: #aebcc5;
    font:
        9px Arial,
        sans-serif;
    text-align: center;
}

#Themeboxes > a {
    display: block;
    margin-top: 4px;
}
#Themeboxes > a #TeaserThumbnail {
    margin: 0 auto;
    width: 150px;
}
#Themeboxes > a #TeaserThumbnail img {
    float: none !important;
    display: block;
    width: 150px;
    height: 100px;
    border: 1px solid #a47737;
    opacity: 0.92;
}

/* Fórum: mais espaço, leitura mais limpa e menos aparência de tabela antiga. */
#forum .BoxContent {
    padding: 18px 20px 24px;
}
#forum .BoxContent > table {
    border-collapse: separate;
    border-spacing: 0 4px;
}
#forum .BoxContent table[width='100%'] td {
    padding: 8px 10px;
}
#forum .BoxContent table[width='100%'] tr:first-child td,
#forum .BoxContent .SubHeader {
    background: #263a4b !important;
    color: #f0c978 !important;
}
#forum .BoxContent table[width='100%'] tr:not(:first-child) td {
    border-bottom: 1px solid #c4b18c;
}
#forum .BoxContent a {
    color: #185c91;
    font-weight: 600;
}
#forum .BoxContent a:hover {
    color: #9b6d22;
}
#forum .BoxContent br + table {
    margin-top: 10px;
}

/* Remove os antigos indicadores verdes e a faixa verde do título. */
#MenuColumn [style*='green-light.gif'] {
    display: none !important;
}
.Content .BorderTitleText {
    background-image: linear-gradient(90deg, #263a4b, #172633) !important;
}

/* latestnews: substitui o verde herdado pelo dourado do OldStyller. */
#OldStyllerJourney h2,
#OldStyllerJourney .tg-label,
#OldStyllerSeasonArticle h2,
#OldStyllerSeasonArticle strong,
#OldStyllerSeasonArticle span[style*='#245b30'] {
    color: #2e5f8a !important;
}

/* Limpeza visual: elementos decorativos que ocupavam espaço sem função principal. */
#OldStyllerRadio {
    display: none !important;
}
#Themeboxes #ScreenshotBox {
    display: none !important;
}

.Content #newsticker .NewsTickerText {
    font-size: 9pt;
    position: relative;
    margin-left: 20px;
}

.Content #newsticker .NewsTickerDate {
    font-size: 7pt;
    position: absolute;
    top: 0;
    left: 0;
}

.Content #newsticker .NewsTickerShortText {
    margin-left: 85px;
    height: 14px;
}

.Content #newsticker .NewsTickerFullText {
    margin-left: 85px;
    margin-right: 20px;
    display: none;
}

.Content #newsticker .NewsTickerExtend {
    position: relative;
    top: 1px;
    right: 1px;
    height: 12px;
    width: 12px;
    background-repeat: no-repeat;
    float: right;
    cursor: pointer;
    z-index: 10;
}

/* OLDSTYLLER VISUAL ETAPA 4 - home baseada na estrutura publicada */
:root {
    --os-gold: #d4ad58;
    --os-gold-soft: #f0d58e;
    --os-bg: #101419;
    --os-panel: #171c21;
    --os-panel-2: #1d2329;
    --os-line: rgba(212, 173, 88, 0.42);
    --os-muted: #aeb7be;
}

html {
    background-color: #080d13;
}
body {
    min-width: 960px;
}
#Bodycontainer {
    max-width: 1280px;
}
#ContentRow {
    top: 150px;
}
#ContentColumn {
    margin-left: 210px;
    margin-right: 205px;
}
#MenuColumn {
    width: 190px !important;
}
#ThemeboxesColumn {
    width: 190px !important;
}

/* Home: mais espaço e menos aparência de tabela antiga. */
#ContentColumn .Content > .Box {
    margin-bottom: 16px !important;
    border-color: #765b2e !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.32) !important;
}
#ContentColumn .Content > .Box .BoxContent {
    padding: 11px 12px !important;
}

/* Ticker */
#newsticker {
    border: 1px solid #765b2e !important;
    background: #11161b !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        0 5px 12px rgba(0, 0, 0, 0.24) !important;
}
#newsticker .NewsTickerText {
    color: #dce2e6 !important;
}
#newsticker .NewsTickerDate {
    color: var(--os-gold-soft) !important;
    font-weight: bold !important;
}
#newsticker .NewsTickerShortText {
    border-bottom: 1px solid rgba(212, 173, 88, 0.22);
}

/* Guild frags central */
#ContentColumn .Content #OldStyllerGuildContent,
#ContentColumn .Content .OldStyllerGuildFrags {
    border-color: var(--os-line) !important;
}
#ContentColumn .Content .OldStyllerGuildFrags__row {
    min-height: 31px !important;
    padding: 2px 7px !important;
    border-top-color: rgba(212, 173, 88, 0.2) !important;
}

/* Featured article */
#OldStyllerSeasonArticle {
    max-width: 980px;
    margin: 0 auto;
    color: #d9dee2 !important;
}
#OldStyllerSeasonArticle > div:first-child {
    padding: 10px 8px 16px !important;
    border-bottom-color: rgba(212, 173, 88, 0.35) !important;
}
#OldStyllerSeasonArticle h2 {
    font-size: 30px !important;
    letter-spacing: 0.2px;
    text-shadow: 0 2px 3px #000;
}
#OldStyllerSeasonArticle .tg-links {
    gap: 12px !important;
    margin-top: 18px !important;
}
#OldStyllerSeasonArticle .tg-link {
    min-height: 86px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #8e6d32 !important;
    border-top: 2px solid var(--os-gold) !important;
    background: linear-gradient(180deg, #252b31, #171b1f) !important;
    color: #dce2e6 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease;
}
#OldStyllerSeasonArticle .tg-link:hover {
    transform: translateY(-2px);
    border-color: #e2be6b !important;
    background: linear-gradient(180deg, #30373e, #1c2126) !important;
}
#OldStyllerSeasonArticle .tg-label {
    color: var(--os-gold-soft) !important;
}
#OldStyllerSeasonArticle .tg-description {
    color: #bfc7cc !important;
}

/* Coluna direita: cards com a mesma linguagem visual. */
#ThemeboxesColumn .Themebox,
#ThemeboxesColumn #OldStyllerTopLevel,
#ThemeboxesColumn #OldStyllerGuildFrags,
#ThemeboxesColumn #OldStyllerStatus {
    border-color: #765b2e !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3) !important;
}
#ThemeboxesColumn .Themebox {
    margin-bottom: 14px !important;
}
#OldStyllerTopLevel,
#OldStyllerGuildFrags {
    background: linear-gradient(180deg, #171c21, #11161b) !important;
}
#OldStyllerTopLevel .OldStyllerTopLevel__row:hover,
#OldStyllerGuildFrags .OldStyllerGuildFrags__row:hover {
    background: rgba(212, 173, 88, 0.1) !important;
}

/* Menu: menos altura desperdiçada, mais hierarquia. */
#Menu {
    border-color: #765b2e !important;
    background: rgba(11, 14, 18, 0.96) !important;
}
#Menu .menuitem {
    margin-bottom: 6px !important;
}
#Menu .MenuButton {
    border-color: #765b2e !important;
}
#Menu .MenuButton .Label {
    color: #e4bf69 !important;
}
#Menu .MenuButton:hover .Label {
    color: #fff0bd !important;
}

/* Login */
#Loginbox {
    border-color: #9b7637 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4) !important;
}
#Loginbox #OldStyllerLoginButton {
    background: linear-gradient(180deg, #7b3034, #4a1d20) !important;
    border-color: #c89d4b !important;
    color: #f7d98c !important;
}
#Loginbox #OldStyllerLoginButton:hover {
    background: linear-gradient(180deg, #963a40, #5b2327) !important;
}

/* Rodapé mais discreto. */
#Footer {
    opacity: 0.72;
    margin-top: 18px;
}

@media (max-width: 1080px) {
    #ContentColumn {
        margin-left: 202px;
        margin-right: 195px;
    }
    #MenuColumn {
        width: 182px !important;
    }
    #ThemeboxesColumn {
        width: 180px !important;
    }
}

@media (max-width: 900px) {
    body {
        min-width: 0;
    }
    #Bodycontainer,
    #ArtworkHelper {
        min-width: 0;
        width: 100%;
    }
    #ContentRow {
        top: 120px;
    }
    #MenuColumn,
    #ThemeboxesColumn {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: auto !important;
        margin: 10px 12px !important;
    }
    #ContentColumn {
        margin: 0 12px !important;
    }
    #Menu {
        width: 100% !important;
    }
    #Menu .MenuButton {
        width: 100% !important;
    }
    #Menu .MenuButton .Button {
        width: 100% !important;
    }
    #Themeboxes {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    #OldStyllerTopLevel,
    #OldStyllerGuildFrags {
        width: auto !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 620px) {
    #ContentRow {
        top: 95px;
    }
    #Themeboxes {
        grid-template-columns: 1fr;
    }
    #OldStyllerSeasonArticle .tg-links {
        flex-direction: column;
    }
    #OldStyllerSeasonArticle h2 {
        font-size: 24px !important;
    }
}
