body {
  margin: 0px;
  padding: 0px;
  background-color: #051122;
}

#SiteBackground {
  background-color: #051122;
  background-image: var(--site-background-image);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

img {
  border: none;
}

#ArtworkHelper {
  position: relative;
  text-align: center;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
  height: auto;
  min-width: 1000px;
  z-index: 1;
}

/* helper div */
.HelperDivIndicator {
  position: relative;
  cursor: help;
}
.OptionContainer {
  text-align: center;
}

#HelperDivContainer {
  display: none;
  position: absolute;
  width: 225px;
  z-index: 1000;
  color: #5a2800;
  font-family:
    Verdana,
    Arial,
    Times New Roman,
    sans-serif;
  font-size: 9pt;
  text-align: left;
  padding: 10px;
  border: 1px double #5a2800;
  margin-left: 8px;
}

#HelperDivContainer .HelperDivArrow {
  position: absolute;
  top: -1px;
  left: -8px;
  width: 8px;
  height: 13px;
}

#HelperDivContainer #HelperDivHeadline {
  font-size: 12pt;
  font-weight: bold;
}

#HelperDivContainer #HelperDivHeadline {
  position: relative;
  white-space: normal;
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
}

#HelperDivContainer .Ornament {
  width: 220px;
}

#HelperDivContainer #HelperDivText {
  text-align: center;
}

#HelperDivContainer #HelperDivText ul {
  padding-left: 20px;
}

/* container to implement min/max width */
#Bodycontainer {
  text-align: left;
  min-width: 1000px;
  max-width: 1280px;
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: table;
  width: expression(document.body.clientWidth > 1200? '1200px': '100%');
}
#LoginCreateAccountBox p {
  margin: 0;
  padding: 0;
  font-size: 12pt;
}
#LoginFormButtonCell {
  width: 145px;
  vertical-align: top;
  padding-right: 0;
}

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

/* "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: 15px;
  margin-left: 15px;
  padding: 0px;
  font-family: Arial, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  line-height: 12pt;
}

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

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

#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: -17px;
  left: -14px;
  height: 158px;
  width: 196px;
  z-index: 5;
  cursor: pointer;
  border: 0px;
}

#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;
}

.SmallMenuBox#DownloadBox {
  top: 4px;
}
.SmallMenuBox {
  position: relative;
  left: 5px;
  top: 8px;
  width: 100%;
  margin-bottom: 38px;
  background-repeat: no-repeat;
}
.SmallMenuBox#DownloadBox {
  top: 4px;
}
.SmallMenuBox .SmallBoxTop {
  position: absolute;
  left: -5px;
  top: -12px;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
}
.SmallMenuBox#DownloadBox .SmallBoxBorder {
  height: 39px;
}
.SmallMenuBox .SmallBoxBorder {
  position: absolute;
  top: 0;
  height: 52px;
  width: 8px;
  background-repeat: repeat-y;
  z-index: 10;
}
.SmallMenuBox .SmallBoxButtonContainer {
  position: relative;
  height: 39px;
  width: 160px;
  left: 5px;
  background-repeat: repeat-y;
  z-index: 1;
}
#PlayNowContainer {
  position: absolute;
  width: 150px;
  height: 37px;
  top: 1px;
  left: 5px;
  z-index: 99;
}
.SmallMenuBox .BorderRight {
  right: 9px;
}
.SmallMenuBox#DownloadBox .SmallBoxBottom {
  top: 39px;
}
.SmallMenuBox .SmallBoxBottom {
  position: absolute;
  top: 52px;
  left: -5px;
  height: 12px;
  width: 180px;
  background-repeat: no-repeat;
}

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

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

#RightArtwork #Creature {
  position: absolute;
  height: 64px;
  width: 64px;
  top: -136px;
  left: -15px;
  z-index: 15;
  cursor: pointer;
}

#RightArtwork #Boss {
  position: absolute;
  height: 64px;
  width: 64px;
  top: -136px;
  left: 40px;
  z-index: 15;
  cursor: pointer;
}

#PedestalAndOnline {
  position: absolute;
  left: -15px;
  top: -121px;
  width: 161px;
  height: 85px;
}
#Pedestal {
  position: absolute;
  left: -15px;
  top: -121px;
  width: 161px;
  height: 85px;
}

#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;
}

#RightArtwork,
#RightArtwork #Creature,
#RightArtwork #Boss,
#PedestalAndOnline {
  display: none !important;
}

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

#Loginbox {
  position: relative;
  left: 5px;
  top: 8px;
  width: 100%;
  margin-bottom: 38px;
  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: 39px;
  width: 160px;
  background-repeat: repeat-y;
}

#Loginbox #LoginButton {
  position: relative;
  top: 0px;
  left: 5px;
  height: 37px;
  width: 150px;
}

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

#Loginbox #LoginButton #ButtonText {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 37px;
  width: 150px;
  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: 150px;*/
  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: 0px;
  height: 33px;
  width: 7px;
  background-repeat: repeat-y;
}

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

.Submenu {
  position: relative;
  margin-left: 0px;
  margin-right: 0px;
  width: 170px;
}

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

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

.SubmenuitemLabel {
  margin: 0px;
  border-top: 0;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 22px;
  border-bottom: 1px solid #3f3f3f;
  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 #051122;
  border-right-width: 550px;
}

#ContentHelper {
  position: relative;
}

.InfoBar {
  position: relative;
  height: 28px;
  top: 6px;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 10px;
  color: #fff;
  font-family:
    Verdana,
    Arial,
    Times New Roman,
    sans-serif;
}
.InfoBar a {
  border: 0;
}
.InfoBarBlock {
  margin-right: 15px;
  border: 0;
}
.InfoBarBigLogo {
  margin-bottom: 0;
  border: 0;
}
.InfoBarSmallElement {
  margin-left: 5px;
  border: 0;
}
.InfoBarNumbers {
  top: -4px;
  position: relative;
}
.InfoBar a {
  font-family:
    Verdana,
    Arial,
    Times New Roman,
    sans-serif;
  font-size: 7pt;
  font-weight: 400;
  color: #fff;
}
.InfoBar a:link {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}
.InfoBar a:visited {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}
.InfoBar a:focus {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}
.InfoBar a:active {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
}
.InfoBar a:hover {
  color: #fff !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
}
.InfoBarLinks {
  text-decoration: none;
  font-size: 10px;
}
.InfoBarLinks a:hover {
  text-decoration: none;
  font-size: 10px;
}

/* "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: 5px;
  margin-bottom: 18px;
  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: 367px;
  height: auto !important;
  height: 387px;
}

/* "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;
}

.SecretAchievementIcon {
  position: absolute;
  width: 44px;
  height: 20px;
  margin-left: 12px;
  margin-top: -2px;
  right: 5px;
}

/* 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: 135px;
  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 #NewcomerBox .ThemeboxButton {
  bottom: 15px;
}

#PremiumBox {
  position: relative;
  height: 204px;
}
#PremiumBoxDecor {
  margin: 0;
  position: absolute;
  top: -28px;
  left: 5px;
  width: 64px;
  height: 64px;
}
#PremiumBoxBg {
  margin: 0;
  position: absolute;
  top: 34px;
  left: 10px;
  width: 160px;
  height: 126px;
}
#PremiumBoxOverlay {
  margin: 0;
  position: absolute;
  top: 34px;
  left: 10px;
  width: 163px;
  height: 26px;
}
#PremiumBoxOverlayText {
  color: #fff;
  font-family: Verdana, sans-serif;
  margin-top: 3px;
  text-align: center;
  font-size: 11px;
}
#PremiumBoxButtonDecor {
  position: absolute;
  width: 114px;
  height: 26px;
  left: 33px;
  bottom: 34px;
  z-index: 25;
}
#PremiumBoxButton {
  position: absolute;
  bottom: 9px;
  left: 18px;
  text-align: center;
}

#Themeboxes #JobBox {
  height: 164px;
}
#Themeboxes #GalleryBox #GalleryContent {
  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: 70px;
  width: 150px;
  top: 37px;
  left: 15px;
  padding-top: 5px;
  overflow: hidden;
}
#Themeboxes #SkyscraperBanner {
  border: 0;
}

#Themeboxes #NetworksBox {
  position: relative;
  height: 204px;
}
#Themeboxes #NetworksBox #FacebookBlock {
  position: relative;
  top: 32px;
  height: 113px;
}
#Themeboxes #NetworksBox #FacebookLikeBox {
  position: relative;
  left: 27px;
  top: 3px;
  height: 60px;
  width: 115px;
  overflow: hidden;
}
#Themeboxes #NetworksBox #FacebookLikeBox div {
  position: relative;
  left: -1px;
  top: -1px;
}
#Themeboxes #NetworksBox #FacebookSendBox {
  position: absolute;
  left: 92px;
  top: 14px;
  width: 50px;
}
#Themeboxes #NetworksBox #FacebookLikes {
  position: relative;
  left: 14px;
  top: 10px;
  width: 155px;
  left: 13px;
  overflow: hidden;
}
#Themeboxes #NetworksBox #FacebookLikes div {
  position: relative;
  left: -69px;
}
#Themeboxes #NetworksBox #TwitterBlock {
  position: relative;
  top: 42px;
  text-align: center;
}

/** -------------------------------
 *  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;
}

.Content .BoxContent td .orange {
  color: #ff9712;
}

/** -------------------------------
 *  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;
}

.FormFieldError {
  font-size: 8pt;
  color: red;
}
.SmallBox {
  position: relative;
  font-size: 1px;
}
.SmallBox .ErrorMessage {
  font-size: 8pt;
  position: relative;
  color: red;
  height: auto;
  min-height: 0;
  background-color: #d4c0a1;
  padding: 5px;
  padding-left: 43px;
}
.SmallBox .Message {
  font-size: 10pt;
  position: relative;
  height: auto;
  min-height: 0;
  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;
  bottom: 0px;
  width: 3px;
  background-repeat: repeat-y;
  height: auto;
}
.SmallBox .BoxFrameVerticalLeft {
  position: absolute;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 3px;
  background-repeat: repeat-y;
  height: auto;
}
.SmallBox .MessageContainer {
  position: relative;
  height: auto;
  min-height: 0;
}
.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;
}

/** ----------------
 *  new process bars
 *  ----------------
 */

#ProgressBar #Headline {
  text-align: center;
  font-size: 14pt;
  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;
}
.Text {
  margin-top: 3px;
  margin-left: 4px;
  margin-bottom: 2px;
  padding: 3px;
  padding-top: 3px;
}

/* 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;
  /*box-shadow: 3px 3px 2px #875f3e;*/
}
.TableShadowContainer {
  position: relative;
  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;
}
/* HEADLESS CONTENT TABLE */
.HeadlessTable {
  border: 0px;
  border-style: solid;
  border-color: #656565;
  border-top-width: 1px;
  border-top-color: white;
  border-left-width: 1px;
  border-left-color: white;
  border-bottom-width: 1px;
  border-right-width: 1px;
  border-right-color: #656565;
  margin-left: 15px;
}
/* LABELS */
.InnerTableContainer .TableContentContainer {
  box-shadow: 3px 3px 2px #875f3e;
}
.TableContentContainer {
  border: 1px solid #5f4d41;
  position: relative;
  margin-right: 7px;
  margin-bottom: 5px;
  height: 100%;
  background-color: #d4c0a1;
  padding: 0;
}
.TableContainer .Table3 .TableContent td {
  border: 1px solid #faf0d7;
}

.TableContainer .GreedyCell {
  width: 80%;
}
.LabelV80 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 80px;
}
.LabelV100 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 100px;
}
.LabelV120 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 120px;
}
.LabelV150 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 150px;
}
.LabelV175 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 175px;
}
.LabelV200 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 200px;
}
.LabelV250 {
  font-weight: 700;
  padding-right: 10px;
  white-space: nowrap;
  vertical-align: top;
  width: 250px;
}

.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;
}
.BigButtonText {
  position: absolute;
  top: 0;
  left: 0;
  width: 135px;
  height: 25px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: 0 0;
  border: none;
  text-align: center;
  color: #ffd18c;
  font-family:
    Verdana,
    Arial,
    Times New Roman,
    sans-serif;
  font-size: 12px;
  font-weight: 400;
  z-index: 20;
  text-shadow:
    -1px -1px 0 #000,
    0 -1px 0 #000,
    1px -1px 0 #000,
    1px 0 0 #000,
    1px 1px 0 #000,
    0 1px 0 #000,
    -1px 1px 0 #000,
    -1px 0 0 #000;
}
.BigButtonText:hover {
  top: 1px;
  left: 1px;
}
.TopButtonContainer {
  position: relative;
  right: 4px;
  top: 4px;
  z-index: 60;
}
* html .TopButtonContainer {
  right: 27px;
}
.TopButtonContainer .TopButton {
  position: absolute;
  right: 0;
  z-index: 55;
  cursor: pointer;
}

.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: 9pt;
  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 .NewsHeadline {
  margin-top: 5px;
}

.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;
}

.Content #News .NewsHeadlineAuthor {
  position: absolute;
  top: 7px;
  right: 10px;
  font-size: 10pt;
  color: white;
}

/* BUTTONS */
.MediumButtonText {
  position: absolute;
  top: 0;
  left: 0;
  height: 37px;
  width: 150px;
  z-index: 20;
}
.MediumButtonBackground {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  height: 37px;
  z-index: 10;
}
.MediumButtonOver {
  position: relative;
  top: 0;
  left: 0;
  width: 150px;
  height: 37px;
  visibility: hidden;
  z-index: 15;
}
.MediumButtonForm {
  margin: 0;
  padding: 0;
}

.moduleRow {
}

.moduleRowOver {
  background-color: #d4c0a1;
  cursor: pointer;
  cursor: hand;
}

/* Modern Tibia-focused polish layer */
:root {
  --mw-bg: #111827;
  --mw-surface: #1a2433;
  --mw-surface-soft: #243245;
  --mw-panel-light: #ead8bb;
  --mw-border: #6f5637;
  --mw-border-soft: rgba(234, 216, 187, 0.28);
  --mw-text: #f4ead9;
  --mw-muted: #b9a991;
  --mw-accent: #2f8f83;
  --mw-danger: #b94a48;
  --mw-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

html {
  background: #051122;
  min-height: 100%;
}

body {
  background-color: #051122;
  color: var(--mw-text);
  font-family: Verdana, Arial, sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
  position: relative;
}

#ArtworkHelper,
#Bodycontainer,
#ContentRow,
#ContentColumn,
#ThemeboxesColumn {
  box-sizing: border-box;
}

#Bodycontainer {
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.34));
}

.Content {
  color: #2e241a;
}

.Content .Box {
  border-radius: 8px;
  overflow: hidden;
}

.Content .BoxContent {
  background:
    linear-gradient(180deg, rgba(255, 250, 239, 0.94), rgba(235, 216, 184, 0.96)),
    #f1e0c6;
  border-color: #c8a777;
  color: #2e241a;
}

.Content .BoxContent,
.TableContentContainer,
.TableContentAndRightShadow {
  border-radius: 8px;
}

.TableContent {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.TableContent td,
.Content .BoxContent td {
  line-height: 1.45;
}

.Content th,
.TableContent th {
  background: linear-gradient(180deg, #6f5637, #4d3824);
  color: #fff6e7;
  letter-spacing: 0;
}

.TableContent tr:hover td {
  background-color: rgba(47, 143, 131, 0.08);
}

.Content a {
  color: #1f6f68;
  font-weight: 700;
}

.Content a:hover {
  color: #0f4f4a;
}

input,
select,
textarea {
  border-radius: 6px;
  border: 1px solid #bfa276;
  box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--mw-accent);
  box-shadow: 0 0 0 2px rgba(47, 143, 131, 0.16);
  outline: none;
}

#Topbar,
#Menu,
#Loginbox,
.Themebox {
  border-radius: 8px;
}

.Themebox {
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
  overflow: hidden;
}

#Themeboxes #RightArtwork,
#RightArtwork {
  position: relative;
}

#Creature,
#Boss {
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.42));
}

.modern-boosted-table {
  width: 100%;
}

.modern-boosted-card {
  min-height: 112px;
}

.modern-boosted-image {
  float: right;
  margin: 0 0 12px 16px;
  max-width: 96px;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

#NewsTicker .BoxContent,
#FeaturedArticle .BoxContent,
#News .BoxContent {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.NewsHeadlineText,
.NewsTickerText,
.NewsTickerShortText {
  letter-spacing: 0;
}

.BigButton,
.MediumButton,
.ThemeboxButton {
  transition: transform 0.12s ease, filter 0.12s ease;
}

.BigButton:hover,
.MediumButton:hover,
.ThemeboxButton:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.moduleRow,
.moduleRowOver {
  transition: background-color 0.15s ease;
}

@media (max-width: 980px) {
  #ArtworkHelper {
    min-width: 0;
  }

  #Bodycontainer,
  #ContentRow,
  #MenuColumn,
  #ContentColumn,
  #ThemeboxesColumn {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100% !important;
  }

  #ContentRow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    left: auto;
    margin: 0 auto;
    padding: 12px 10px 24px;
    position: relative;
    right: auto;
    top: 0;
  }

  #MenuColumn {
    left: auto;
    margin: 0 auto;
    max-width: 251px;
    order: 1;
    padding: 0;
    position: relative;
    top: auto;
    width: 251px !important;
    z-index: 2;
  }

  #LeftArtwork {
    height: auto;
    left: auto;
    margin: 0 auto 12px;
    position: relative;
    top: auto;
    width: 196px;
  }

  #LeftArtwork #TibiaLogoArtworkTop {
    display: block;
    height: auto;
    left: auto;
    max-width: 196px;
    position: relative;
    top: auto;
    width: 100%;
  }

  #ContentColumn {
    margin: 0 auto;
    max-width: 720px;
    order: 2;
    position: relative;
    z-index: 1;
  }

  #ThemeboxesColumn {
    margin: 0 auto;
    max-width: 220px;
    order: 3;
    position: relative;
    right: auto;
    text-align: center;
    top: auto;
    width: 220px !important;
    z-index: 1;
  }

  #RightArtwork {
    display: none;
  }

  #ContentColumn,
  #ThemeboxesColumn {
    float: none !important;
  }

  .Content .BoxContent,
  .TableContentContainer {
    overflow-x: auto;
  }

  .TableContent {
    min-width: 520px;
  }
}

@media (max-width: 640px) {
  body {
    min-width: 0;
  }

  #ArtworkHelper,
  #Bodycontainer {
    min-width: 0;
  }

  #Bodycontainer {
    padding-left: 8px;
    padding-right: 8px;
  }

  .Content .BoxContent {
    padding-left: 10px;
    padding-right: 10px;
  }

  .TableContent {
    min-width: 460px;
  }
}

/* New top header */
body {
  background-color: #0a0a0a;
}

#SiteBackground {
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  opacity: 0.98;
}

#ArtworkHelper {
  min-width: 1458px;
}

#Bodycontainer {
  max-width: 1718px;
  min-width: 1458px;
  width: 1458px;
  display: block;
  position: relative;
}

#NewTopHeader {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0 auto 18px;
}

#NewTopHeaderBar {
  min-height: 95px;
  width: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
  padding: 0 26px;
}

#NewTopHeaderLogo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

#NewTopHeaderLogo img {
  display: block;
  max-width: 280px;
  width: auto;
  height: auto;
}

#NewTopHeaderNav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1 1 auto;
  min-width: 0;
  transform: translateX(120px);
}

.NewTopHeaderNavItem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.NewTopHeaderNavItem img {
  display: block;
  width: auto;
  height: auto;
  max-height: 24px;
}

.NewTopHeaderNavItem--discord img {
  max-height: 30px;
}

#NewTopHeaderOnline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 235px;
  flex: 0 0 auto;
}

.NewTopHeaderOnlineDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.NewTopHeaderOnlineDot.is-online {
  background: #22c23a;
  box-shadow: 0 0 6px rgba(46, 199, 74, 0.85);
}

.NewTopHeaderOnlineDot.is-offline {
  background: #d63a31;
  box-shadow: 0 0 6px rgba(214, 58, 49, 0.85);
}

#NewTopHeaderOnline a {
  color: #f0e6c5;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.2px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

#NewTopHeaderOnline a:hover {
  color: #fff2cd;
  text-decoration: none;
}

#ContentRow {
  top: 10px;
}

#LeftArtwork {
  display: none;
}

#MenuColumn {
  width: 251px;
  margin-left: 10px;
  margin-right: 0;
}

#ContentColumn {
  margin-left: 286px;
  margin-right: 312px;
}

.Content .BoxContent {
  min-height: 0;
  height: auto !important;
}

.TableContentContainer,
.TableContainer .CaptionContainer,
.TableContainer .CaptionContainer .CaptionInnerContainer {
  height: auto;
  min-height: 0;
}

#Loginbox,
.SmallMenuBox#DownloadBox,
#Menu {
  position: relative;
  left: 0;
  top: 0;
  width: 251px;
  margin-bottom: 14px;
  background: none;
}

#Loginbox #LoginTop.LeftPanelBoxTop,
.SmallMenuBox#DownloadBox .LeftPanelBoxTop,
#Menu #MenuTop.LeftPanelBoxTop {
  position: relative;
  left: 0;
  top: 0;
  width: 251px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat !important;
}

#Loginbox #LoginBottom.LeftPanelBoxBottom,
.SmallMenuBox#DownloadBox .LeftPanelBoxBottom,
#Menu #MenuBottom.LeftPanelBoxBottom {
  position: relative;
  left: 0;
  top: 0;
  bottom: auto;
  width: 251px;
  height: 9px;
  margin-top: -1px;
  background-repeat: no-repeat !important;
}

#Loginbox .LeftPanelBoxBody,
.SmallMenuBox#DownloadBox .LeftPanelBoxBody,
#Menu .LeftPanelBoxBody {
  position: relative;
  left: 0;
  width: 251px;
  box-sizing: border-box;
  padding: 8px 16px 10px;
  background-repeat: repeat-y !important;
}

.LeftPanelBoxTitle {
  color: #d4b073;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

#Loginbox .LeftPanelPrimaryButton,
#Loginbox .LeftPanelSecondaryAction,
.SmallMenuBox#DownloadBox .LeftPanelPrimaryButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #6e4d21;
  background: linear-gradient(180deg, rgba(55, 36, 19, 0.92) 0%, rgba(23, 15, 10, 0.96) 100%);
  box-shadow: inset 0 0 0 1px rgba(191, 147, 72, 0.18);
  color: #f1e3c2;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

#Loginbox #LoginButton.LeftPanelPrimaryButton,
#Loginbox #LoginstatusText_2.LeftPanelSecondaryAction,
.SmallMenuBox#DownloadBox .LeftPanelPrimaryButton--download {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  appearance: none;
}

#Loginbox .LeftPanelPrimaryButton:hover,
#Loginbox .LeftPanelSecondaryAction:hover,
.SmallMenuBox#DownloadBox .LeftPanelPrimaryButton:hover {
  color: #fff5df;
  text-decoration: none;
  border-color: #b78b45;
  background: linear-gradient(180deg, rgba(83, 54, 28, 0.94) 0%, rgba(31, 20, 12, 0.98) 100%);
}

#Loginbox .LeftPanelSecondaryAction {
  margin-top: 8px;
  min-height: 32px;
  font-size: 12px;
  background: rgba(15, 11, 9, 0.82);
  text-transform: none;
}

#Loginbox .LeftPanelImageButton {
  width: 201px !important;
  min-height: 38px;
  height: 38px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: 201px 38px;
  box-shadow: none;
}

#Loginbox .LeftPanelImageButton:hover {
  border: 0;
}

#Loginbox .LeftPanelImageButton--login {
  background-image: url("newimages/themebox/button_loggin.png");
}

#Loginbox .LeftPanelImageButton--login:hover {
  background-image: url("newimages/themebox/button_loggin_hover.png");
}

#Loginbox .LeftPanelImageButton--createacc {
  margin-top: 8px;
  background-image: url("newimages/themebox/button_createacc.png");
}

#Loginbox .LeftPanelImageButton--createacc:hover {
  background-image: url("newimages/themebox/button_createacc_hover.png");
}

#Loginbox .LeftPanelImageButton--myaccount {
  background-image: url("newimages/themebox/button_minhaconta.png");
}

#Loginbox .LeftPanelImageButton--myaccount:hover {
  background-image: url("newimages/themebox/button_minhaconta_hover.png");
}

#Loginbox .LeftPanelImageButton--logout {
  margin-top: 8px;
  background-image: url("newimages/themebox/button_logout.png");
}

#Loginbox .LeftPanelImageButton--logout:hover {
  background-image: url("newimages/themebox/button_logout_hover.png");
}

.SmallMenuBox#DownloadBox .LeftPanelImageButton--download {
  width: 201px !important;
  min-height: 48px;
  height: 48px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background-image: url("newimages/themebox/button_baixar.png");
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: 201px 48px;
  box-shadow: none;
}

.SmallMenuBox#DownloadBox .LeftPanelImageButton--download:hover {
  border: 0;
  background-image: url("newimages/themebox/button_baixar_hover.png");
}

.LeftPanelAccessibleText {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#Menu .LeftPanelBoxBody--menu {
  padding: 8px 10px 10px;
}

#Menu .menuitem + .menuitem {
  margin-top: 6px;
}

#Menu .MenuCategoryButton {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 95, 38, 0.32);
  background: rgba(11, 10, 10, 0.72);
  color: #e5c98b;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
}

#Menu .MenuCategoryButton:hover,
#Menu .MenuCategoryButton.is-open {
  border-color: rgba(202, 151, 72, 0.6);
  background: rgba(21, 16, 13, 0.9);
  color: #f2ddb0;
}

#Menu .MenuCategoryIcon {
  width: 24px;
  height: 24px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: contain;
  flex: 0 0 24px;
}

#Menu .MenuCategoryLabel {
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.2;
}

#Menu .MenuCategoryChevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #c89b56;
  border-bottom: 2px solid #c89b56;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

#Menu .MenuCategoryChevron.is-open {
  transform: rotate(225deg);
}

#Menu .Submenu {
  position: relative;
  width: auto;
  margin: 4px 0 0;
  padding: 2px 0 0 18px;
  background: transparent;
  display: none;
  visibility: hidden;
}

#Menu .Submenu a:link,
#Menu .Submenu a:visited,
#Menu .Submenu a:focus,
#Menu .Submenu a:active,
#Menu .Submenu a:hover {
  text-decoration: none;
}

#Menu .Submenuitem {
  position: relative;
  margin: 0;
  padding: 8px 10px 8px 24px;
  background: transparent;
}

#Menu .Submenuitem:hover {
  background: rgba(31, 22, 16, 0.72);
}

#Menu .Submenuitem.is-active {
  background: transparent;
}

#Menu .ActiveSubmenuItemIcon {
  position: absolute;
  left: 8px;
  top: 13px;
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  visibility: hidden;
}

#Menu .Submenuitem.is-active .ActiveSubmenuItemIcon {
  display: none !important;
  visibility: hidden;
}

#Menu .SubmenuitemLabel {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.4;
}

#Menu .Submenuitem.is-active .SubmenuitemLabel {
  color: #f2ddb0 !important;
}

#ThemeboxesColumn {
  width: 287px;
  margin-right: 15px;
  margin-left: 25px;
}

#Themeboxes .Themebox {
  margin-left: auto;
  margin-right: auto;
}

#Themeboxes .SidebarThemebox {
  position: relative;
  top: 0;
  width: 287px;
  height: auto;
  min-height: 0;
  margin-bottom: 0;
  overflow: visible;
}

#Themeboxes .SidebarThemebox:last-child {
  margin-bottom: 0;
}

#Themeboxes .SidebarThemeboxHeader {
  width: 287px;
  min-height: 45px;
  box-sizing: border-box;
  padding: 14px 20px 10px;
  background-image: url("newimages/themebox/right_box_top.png");
  background-repeat: no-repeat !important;
  color: #d6bf93;
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

#Themeboxes .SidebarThemeboxContent {
  width: 287px;
  box-sizing: border-box;
  padding: 4px 16px 2px;
  background-image: url("newimages/themebox/right_box_bg.png");
  background-repeat: repeat-y !important;
  color: #e8dcc1;
  font-family: Verdana, Arial, sans-serif;
}

#Themeboxes .SidebarThemeboxBottom {
  width: 287px;
  height: 20px;
  margin-top: -10px;
  margin-bottom: 8px;
  background-image: url("newimages/themebox/right_box_bottom.png");
  background-position: center bottom;
  background-repeat: no-repeat !important;
}

#Themeboxes .SidebarThemeboxButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 30px;
  margin: 6px auto 0;
  border: 0;
  background: url("images/themeboxes/button.png") no-repeat center;
  color: #d5c3af;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

#Themeboxes .SidebarThemeboxButton:hover {
  background-image: url("images/themeboxes/button_over.png");
  color: #fff;
  text-decoration: none;
}

#Themeboxes .SidebarThemeboxButton:focus {
  outline: none;
}

#Themeboxes .SidebarThemeboxImageButton {
  display: block;
  width: 201px;
  height: 48px;
  margin: 2px auto 0;
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: 201px 48px;
  text-indent: -9999px;
  overflow: hidden;
}

#Themeboxes .SidebarThemeboxImageButton--donate {
  background-image: url("newimages/themebox/button_donate.png");
}

#Themeboxes .SidebarThemeboxImageButton--donate:hover {
  background-image: url("newimages/themebox/button_donate_hover.png");
}

#Themeboxes .SidebarThemeboxCopy {
  color: #d5c3af;
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

#Themeboxes .SidebarThemeboxNote {
  color: #ad9c7a;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

#Themeboxes .SidebarThemeboxDivider {
  height: 1px;
  margin: 8px 0;
  background: rgba(214, 191, 147, 0.18);
}

#Themeboxes .SidebarThemeboxList {
  display: grid;
  gap: 0;
}

#Themeboxes .SidebarThemeboxPlayer {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 6px 6px 8px;
  border-bottom: 1px solid rgba(214, 191, 147, 0.12);
  box-sizing: border-box;
  text-align: left;
}

#Themeboxes .SidebarThemeboxPlayer:last-child {
  border-bottom: 0;
}

/* Slot fixo: reservado mesmo quando o outfit nao carrega, para a coluna de
   nomes nunca sair do lugar de uma linha para a outra. */
#Themeboxes .SidebarThemeboxOutfit {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat !important;
}

#Themeboxes .SidebarThemeboxPlayerText {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

#Themeboxes .SidebarThemeboxPlayerName {
  display: block;
  color: #f5ead0;
  font-weight: bold;
  font-size: 11px;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#Themeboxes .SidebarThemeboxPlayerName:hover {
  color: #fff7e3;
  text-decoration: none;
}

#Themeboxes .SidebarThemeboxPlayerMeta {
  display: block;
  margin-top: 1px;
  color: #b8a27c;
  font-size: 10px;
  line-height: 1.15;
}

#Themeboxes .SidebarThemeboxForm {
  margin: 0;
}

#Themeboxes .SidebarThemeboxInput {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #6f5430;
  background: rgba(9, 8, 8, 0.85);
  color: #efe2c4;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  text-align: center;
}

#Themeboxes .SidebarThemeboxInput::placeholder {
  color: #8f7b57;
}

#Themeboxes .SidebarThemeboxInput:focus {
  outline: none;
  border-color: #c79b58;
  box-shadow: 0 0 0 1px rgba(199, 155, 88, 0.25);
}

#Themeboxes .SidebarThemeboxTimerLabel {
  margin-bottom: 6px;
  color: #bfa781;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

#Themeboxes .SidebarThemeboxTimer {
  padding: 12px 10px;
  border: 1px solid rgba(213, 195, 175, 0.35);
  color: #f3e3c1;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
}

#Themeboxes .SidebarThemeboxSchedule {
  display: grid;
  gap: 8px;
}

#Themeboxes .SidebarThemeboxScheduleRow {
  padding: 8px 10px 10px;
  border: 1px solid rgba(213, 195, 175, 0.26);
  background: rgba(11, 10, 10, 0.35);
}

#Themeboxes .SidebarThemeboxScheduleLabel {
  color: #bfa781;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#Themeboxes .SidebarThemeboxScheduleTime {
  margin-top: 4px;
  color: #f3e3c1;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
}

#Themeboxes .SidebarThemeboxRaffleCard {
  padding: 14px 14px 12px;
  border: 2px solid #b9923f;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.9) 0%, rgba(20, 18, 16, 0.92) 100%);
  box-shadow: inset 0 0 0 1px rgba(185, 146, 63, 0.18);
}

#Themeboxes .SidebarThemeboxRaffleLine {
  color: #f5ead0;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
}

#Themeboxes .SidebarThemeboxRaffleLine span {
  color: #e5c98b;
}

#Themeboxes .SidebarThemeboxRaffleTokens {
  margin-top: 6px;
  color: #d8c6a4;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

#Themeboxes .SidebarThemeboxRaffleTokens span {
  color: #f5ead0;
}

#Themeboxes .SidebarThemeboxRaffleCountdown {
  margin-top: 6px;
  color: #e5c98b;
  font-family: Verdana, Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

#Themeboxes .SidebarThemeboxRaffleBar {
  height: 20px;
  margin-top: 10px;
  background: #3b372f;
  border: 1px solid rgba(185, 146, 63, 0.35);
}

#Themeboxes .SidebarThemeboxRaffleBarFill {
  height: 100%;
  width: 0;
  background: #c2271c;
  transition: width 1s linear, background-color 1s linear;
}

body.DownloadPopupOpen {
  overflow: hidden;
}

#DownloadPopupOverlay {
  position: fixed;
  inset: 0;
  z-index: 90000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

#DownloadPopupOverlay.is-open {
  display: flex;
}

#DownloadPopupDialog {
  position: relative;
  width: min(760px, calc(100vw - 48px));
  min-height: 506px;
  background-image: url("newimages/themebox/bg_popup_download.png");
  background-position: center;
  background-repeat: no-repeat !important;
  background-size: 100% 100%;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

#DownloadPopupChrome {
  padding: 34px 38px 36px;
}

#DownloadPopupClose {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(212, 176, 115, 0.4);
  border-radius: 50%;
  background: rgba(8, 6, 4, 0.78);
  color: #f4e0b9;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

#DownloadPopupClose:hover {
  background: rgba(18, 13, 9, 0.92);
  border-color: rgba(212, 176, 115, 0.72);
  color: #fff4d9;
}

#DownloadPopupTitle {
  margin-bottom: 18px;
  color: #e6c689;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

#DownloadPopupBody {
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 20px 24px 22px;
  border: 1px solid rgba(212, 176, 115, 0.3);
  border-radius: 16px;
  background: rgba(8, 7, 7, 0.76);
  box-sizing: border-box;
}

#DownloadPopupLoading,
.DownloadPopupError {
  color: #f5ead0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.DownloadPopupSection {
  color: #f5ead0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.DownloadPopupSectionTitle {
  margin: 0 0 12px;
  color: #e6c689;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.DownloadPopupIntro {
  margin: 0 0 14px;
  text-align: center;
}

.DownloadPopupAgreement {
  padding: 18px 18px 10px;
  border: 1px solid rgba(212, 176, 115, 0.24);
  border-radius: 14px;
  background: rgba(15, 12, 10, 0.54);
}

.DownloadPopupAgreementCopy p {
  margin: 0 0 12px;
}

.DownloadPopupGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.DownloadPopupCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 240px;
  padding: 20px 18px;
  border: 1px solid rgba(212, 176, 115, 0.28);
  border-radius: 16px;
  background: rgba(14, 11, 9, 0.58);
  color: #f5ead0;
  text-align: center;
  text-decoration: none;
}

.DownloadPopupCard:hover {
  border-color: rgba(230, 198, 137, 0.56);
  background: rgba(22, 16, 12, 0.72);
  color: #fff3d6;
  text-decoration: none;
}

.DownloadPopupCardIcon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.DownloadPopupCardIcon--windows {
  width: 96px;
  height: 96px;
}

.DownloadPopupCardTitle {
  color: #f3e3c1;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.DownloadPopupCardSubtitle {
  color: #d4b073;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.DownloadPopupCardMeta {
  color: #bfa781;
  font-size: 12px;
}

.DownloadPopupNotice {
  margin-top: 18px;
  padding: 16px 18px 6px;
  border: 1px solid rgba(212, 176, 115, 0.24);
  border-radius: 14px;
  background: rgba(15, 12, 10, 0.54);
}

.DownloadPopupNotice p {
  margin: 8px 0 0;
}

.DownloadPopupActions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.DownloadPopupActionButton {
  min-width: 150px;
  padding: 10px 18px;
  border: 1px solid #b78b45;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(190, 132, 64, 0.94) 0%, rgba(120, 72, 28, 0.98) 100%);
  color: #fff6e2;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.DownloadPopupActionButton:hover {
  filter: brightness(1.08);
}

.DownloadPopupActionButton--secondary {
  border-color: rgba(212, 176, 115, 0.34);
  background: rgba(17, 13, 10, 0.88);
  color: #e2c995;
}

/* A largura fixa de 1458px tambem precisa caber nos desktops menores. */
@media (max-width: 1458px) {
  #ArtworkHelper,
  #Bodycontainer {
    min-width: 0;
  }

  #Bodycontainer {
    width: 100%;
    max-width: 1458px;
    padding: 0 10px;
    box-sizing: border-box;
  }
}

@media (max-width: 1200px) {
  #NewTopHeaderBar {
    gap: 18px;
    padding: 0 18px;
  }

  #NewTopHeaderLogo img {
    max-width: 220px;
  }

  #NewTopHeaderNav {
    gap: 22px;
    transform: translateX(80px);
  }

  #NewTopHeaderOnline {
    min-width: 180px;
  }
}

@media (max-width: 980px) {
  #NewTopHeaderBar {
    min-height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
    justify-content: center;
    background-size: cover;
  }

  #NewTopHeaderLogo,
  #NewTopHeaderOnline {
    justify-content: center;
    width: 100%;
  }

  #NewTopHeaderNav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    transform: none;
  }

  #NewTopHeaderOnline {
    min-width: 0;
  }

  #Themeboxes .SidebarThemebox,
  #Themeboxes .SidebarThemeboxHeader,
  #Themeboxes .SidebarThemeboxContent,
  #Themeboxes .SidebarThemeboxBottom {
    width: 100%;
    max-width: 287px;
  }

  #DownloadPopupDialog {
    width: min(720px, calc(100vw - 24px));
  }

  #DownloadPopupChrome {
    padding: 28px 18px 20px;
  }

  #DownloadPopupBody {
    max-height: 72vh;
    padding: 18px 14px;
  }

  .DownloadPopupGrid {
    grid-template-columns: 1fr;
  }

  .DownloadPopupActions {
    flex-direction: column;
  }

  .DownloadPopupActionButton {
    width: 100%;
  }
}

.WorldPlayersLetters {
  color: #5c4a2e;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.8;
  padding: 6px 4px;
  text-align: center;
}

.WorldPlayersLetters a {
  color: #24406b;
  padding: 0 2px;
  text-decoration: none;
}

.WorldPlayersLetters a:hover {
  text-decoration: underline;
}

.WorldPlayersLetterOff {
  color: #5c4a2e;
  opacity: 0.45;
  padding: 0 2px;
}

.WorldPlayersLetters a.WorldPlayersLetterActive {
  background-color: #5c4a2e;
  border-radius: 2px;
  color: #faf0d7;
  padding: 1px 5px;
}

.WorldPlayersLetterAll {
  margin-right: 6px;
}

/* This account notice must only be as tall as its two rows of content. */
.AccountRegistrationNotice,
.AccountRegistrationNotice .TableContent,
.AccountRegistrationNotice .TableContent tbody,
.AccountRegistrationNotice .TableContent tr,
.AccountRegistrationNotice .TableContent td {
  height: auto !important;
  min-height: 0 !important;
}

/* =========================================================================
   Layout responsivo - correcao de cascata
   =========================================================================

   O bloco `@media (max-width: 980px)` la em cima (por volta da linha 2505) ja
   empilhava as colunas corretamente, mas nunca teve efeito: regras SEM media
   query declaradas depois dele o sobrescreviam, porque media query nao soma
   especificidade e, com peso igual, vence a ultima declarada.

   Os tres culpados eram:
     #MenuColumn       { margin-left: 10px }               (~linha 2763)
     #ContentColumn    { margin-left: 286px; margin-right: 312px }  (~2769)
     #ThemeboxesColumn { margin-left: 25px; margin-right: 15px }    (~3106)

   Aquele `margin-left: 286px` era o motivo de o conteudo aparecer cortado pela
   direita no celular: a coluna cabia na tela, mas nascia 286px fora dela.

   Por isso este bloco fica no FIM do arquivo - e a unica posicao em que ele
   ganha a cascata sem precisar de `!important` em tudo.
   ====================================================================== */

@media (max-width: 980px) {
  #ArtworkHelper,
  #Bodycontainer {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  #ContentRow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    top: 0;
    left: auto;
    right: auto;
    padding: 12px 8px 24px;
    position: relative;
  }

  #MenuColumn,
  #ContentColumn,
  #ThemeboxesColumn {
    box-sizing: border-box;
    float: none !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-width: 0;
    position: relative;
    top: auto;
  }

  #MenuColumn {
    max-width: 251px;
    order: 1;
    width: 100% !important;
  }

  #ContentColumn {
    max-width: 100%;
    order: 2;
    width: 100% !important;
  }

  /* Coluna da direita (Donate, Discord, Highscores, Buscar Personagem,
     Server Save) fica fora do celular: empilhada, ela empurrava o rodape para
     centenas de pixels abaixo do conteudo que o jogador veio ler. Tudo o que
     ha nela ja esta acessivel pelo menu em gaveta. */
  #ThemeboxesColumn,
  #LeftArtwork,
  #RightArtwork {
    display: none;
  }

  /* Tabela larga rola dentro da propria caixa em vez de esticar a pagina. */
  .TableContentContainer,
  .Content .BoxContent {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  /* Imagem de noticia nao pode ser mais larga que a coluna. */
  .Content img,
  .BoxContent img,
  .TableContent img,
  .Content video {
    height: auto;
    max-width: 100%;
  }

  .Content iframe,
  .Content canvas,
  .Content svg {
    max-width: 100%;
  }

  /* A 320px a gaveta tem menos de 251px uteis apos borda e padding. */
  #MenuColumn #Loginbox,
  #MenuColumn #DownloadBox,
  #MenuColumn #Menu,
  #MenuColumn .LeftPanelBoxTop,
  #MenuColumn .LeftPanelBoxBody,
  #MenuColumn .LeftPanelBoxBottom,
  #MenuColumn .LeftPanelImageButton {
    max-width: 100%;
    box-sizing: border-box;
  }

  #MenuColumn .LeftPanelBoxTop,
  #MenuColumn .LeftPanelBoxBody,
  #MenuColumn .LeftPanelBoxBottom {
    background-size: 100% auto;
  }

  #Menu .MenuCategoryLabel,
  #Menu .SubmenuitemLabel {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Itens flex e status devem poder encolher sem alargar o documento. */
  #NewTopHeaderLogo,
  .NewTopHeaderNavItem {
    min-width: 0;
    max-width: 100%;
  }

  #NewTopHeaderLogo img,
  .NewTopHeaderNavItem img {
    max-width: 100%;
  }

  #NewTopHeaderLogo img {
    width: 220px;
  }

  #NewTopHeaderOnline a {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .NewTopHeaderOnlineDot {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  /* O `min-width: 460px` herdado obrigava a rolar ate as tabelas simples.
     Quem realmente precisa de largura ja rola dentro do container acima. */
  .TableContent {
    min-width: 0;
  }

  #ContentRow {
    padding-left: 6px;
    padding-right: 6px;
  }

  /* Alvos de toque: 44px e o minimo confortavel para o dedo. */
  .Content a,
  .BoxContent a {
    word-break: break-word;
  }
}
