body {
  background-image: url(/templates/tibiacom/images/header/bk.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  background-size: 100% 100%;

  width: 100%;
  margin: 0;
  padding: 0;
  min-width: 1000px;
  background-color: #05070e;
}


img {
  border: none;
}

#ArtworkHelper {
  text-align: center;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  min-width: 1000px;
}

/* container to implement min/max width */
#Bodycontainer {
  text-align: left;
  min-width: 1000px;
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: table;
  width: expression(document.body.clientWidth > 1200? "1200px": "100%");
}

#ContentRow {
  position: relative;
  top: 260px;
}

/* "star-HTML-hack" to correct the position of the content row */
* html #ContentRow {
  display: inline-block;
}

#MenuColumn {
  position: absolute;
  left: 0px;
  top: -90px;
  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: 70px;
  left: 5px;
  height: 130px;
  width: 170px;
  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;
}

#LeftArtwork #LogoLink {
  position: absolute;
  bottom: 14px;
  left: 58px;
  height: 14px;
  width: 50px;
  z-index: 99;
  cursor: pointer;
}

#RightArtwork {
  text-align: left;
  position: absolute;
  top: -110px;
  right: 0px;
  width: 132px;
  background-repeat: no-repeat;
  z-index: 90;
}

#RightArtwork #Monster {
  position: absolute;
  height: 80px;
  width: 80px;
  top: -70px;
  left: -1000px;
  z-index: 15;
  cursor: pointer;
}


/** -------------------------------
 *  Stylesheet declarations for the
 *  LOGINBOX
 *  -------------------------------
 */

/** -------------------------------
 *  Stylesheet declarations for the
 *  LOGINBOX
 *  -------------------------------
 */

.LoginboxContainer {
  position: relative;
  left: 25px;
  top: 8px;
  width: 130px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #2b2b2b, #1a1a1a);
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  padding: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #e0cea4;
  z-index: 50;
}

.LoginContent {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.LoginStatusText {
  font-family: 'Segoe UI', sans-serif;
  font-size: 9px;
  text-align: center;
  color: #e0cea4;
  margin-bottom: 0px;
}

.LoginButtonContainer {
  width: 100%;
}

.LoginButton {
  width: 100%;
  height: 20px;
  background: linear-gradient(to bottom, #5a3b7a, #351c4d);
  border: 1px solid #6d4b90;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.LoginButton:hover {
  background: linear-gradient(to bottom, #6e4b95, #4a2b66);
  border-color: #8e6ab5;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.LoginButton:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.LoginButtonText {
  font-family: 'Cinzel', 'Segoe UI', serif;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.LoginActionText {
  font-size: 9px;
  font-family: 'Segoe UI', sans-serif;
  text-decoration: none;
  cursor: pointer;
  color: #aaa;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  border-bottom: 1px solid transparent;
}

.LoginActionText:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/** -------------------------------
 *  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 */

/* Menuitems - Modernized */

.MenuButton {
  position: relative;
  height: 40px;
  width: 170px;
  display: block;
  cursor: pointer;
  margin-bottom: 2px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s;
  background: linear-gradient(to bottom, #2b2b2b, #1a1a1a);
  border: 1px solid #3d3d3d;
}

.MenuButton:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.MenuButtonInner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: transparent;
  transition: all 0.3s ease;
}

.MenuButtonInner:hover {
  background: linear-gradient(to bottom, #3d2b4d, #251630);
  /* Subtle purple tint on hover */
  border-color: #6a4c9c;
}

.LabelText {
  font-family: 'Cinzel', 'Segoe UI', serif;
  font-size: 16px;
  font-weight: bold;
  color: #e0cea4;
  /* Bone/Gold color */
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.MenuButtonInner:hover .LabelText {
  color: #ffc048;
  /* Brighter gold on hover */
  text-shadow: 0 0 10px rgba(255, 192, 72, 0.5);
}

/* Submenus(items) */

/* Submenus(items) - Modernized (Purple/Gold Fixed) */

.LeftChain {
  position: absolute;
  top: 0px;
  left: -5px;
  height: 33px;
  width: 7px;
  background-repeat: repeat-y;
  z-index: 10;
}

.RightChain {
  position: absolute;
  top: 0px;
  right: -4px;
  height: 33px;
  width: 7px;
  background-repeat: repeat-y;
  z-index: 10;
}

.Submenu {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  /* Deep Purple/Black background to blend with wallpaper */
  background-color: #0f0b15;
  background-image: linear-gradient(180deg, #181020 0% 100%);
  width: 160px;
  border-left: 1px solid #2d2038;
  border-right: 1px solid #2d2038;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.Submenuitem {
  position: relative;
  margin: 0px;
  padding: 0px;
  /* CRITICAL FIX: Override JS old green colors */
  background-color: transparent !important;
  transition: background 0.2s ease;
}

.ActiveSubmenuItemIcon {
  display: none;
}

.SubmenuitemLabel {
  margin: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-align: center;

  /* Font Updates */
  font-family: 'Segoe UI', 'Tahoma', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Submenu links */
.Submenu a:link,
.Submenu a:visited,
.Submenu a:focus {
  /* Color: Light Gold/Bone */
  color: #e0cea4 !important;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  transition: all 0.2s ease;
}

.Submenu a:hover {
  /* Hover: Vibrant Gold - NO SCALING to prevent shaking */
  color: #ffc048 !important;
  text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
  text-decoration: none;
}

/* Row Hover - Fixed to not shake or stick */
.Submenuitem:hover {
  /* Using !important to ensure JS doesn't override this with green */
  background-color: rgba(165, 94, 234, 0.15) !important;
}

/** -------------------------------
 *  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;
}

/* "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;
}

/* 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;
}

#Themeboxes #PremiumBox {
  height: 164px;
}

#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 {
  height: 200px;
  width: 100%;
  margin-top: 10px;
}

/* NEW Badge for Menu */
.menu-new-badge {
  display: inline-block;
  background-color: #d50000;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 5px rgba(213, 0, 0, 0.6);
  border: 1px solid #ff4500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  animation: badgePulse 1.5s infinite alternate;
}

@keyframes badgePulse {
  from {
    box-shadow: 0 0 2px rgba(213, 0, 0, 0.5);
    background-color: #d50000;
  }

  to {
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.8);
    background-color: #ff1a1a;
  }
}

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: 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;
}


/** ----------------
 *  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;
}

/* 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;
  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 */
.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
}

.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;
}

/* 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 .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;
}

/* "NEW" Badge Animation */
@keyframes pulseGlow {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 5px red;
    opacity: 1;
  }

  50% {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px red;
    opacity: 1;
  }

  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 5px red;
    opacity: 0.8;
  }
}

/* "NEW" Badges for specific menu items */
#submenu_vocations .SubmenuitemLabel::after,
#submenu_forja .SubmenuitemLabel::after,
#submenu_thanos .SubmenuitemLabel::after,
#submenu_devilpet .SubmenuitemLabel::after,
#submenu_rush .SubmenuitemLabel::after,
#submenu_arena .SubmenuitemLabel::after,
#submenu_battlefield .SubmenuitemLabel::after,
#submenu_boss_rotation .SubmenuitemLabel::after {
  content: "New";
  position: absolute;
  right: 8px;
  /* Fixed position on the right */
  top: 50%;
  /* Animation included in transform */
  animation: pulseGlow 0.8s infinite alternate ease-in-out;

  background: linear-gradient(180deg, #d50000 0%, #ff0000 100%);
  color: #fff700;
  /* Bright yellow/gold */
  font-family: 'Verdana', sans-serif;
  font-size: 8px;
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid #ff5555;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
  z-index: 999;
  pointer-events: none;
}

/* Removed padding-right to keep main text centered */
#submenu_vocations .SubmenuitemLabel,
#submenu_forja .SubmenuitemLabel,
#submenu_thanos .SubmenuitemLabel,
#submenu_devilpet .SubmenuitemLabel,
#submenu_rush .SubmenuitemLabel,
#submenu_arena .SubmenuitemLabel,
#submenu_battlefield .SubmenuitemLabel,
#submenu_boss_rotation .SubmenuitemLabel {
  position: relative;
  /* No padding-right ensures text stays centered */
}

/* Vocation Selection Cards */
.vocation-card-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.vocation-card {
  background: #0d0d0d;
  border: 2px solid #4a3b2a;
  border-radius: 6px;
  width: 145px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vocation-card:hover {
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.vocation-card.selected {
  border-color: #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  background: #1a1a1a;
}

.vocation-card .card-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #000;
}

.vocation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.vocation-card .card-title {
  padding: 10px;
  font-weight: bold;
  color: #d4af37;
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid #4a3b2a;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vocation-card.selected .card-title {
  color: #fff;
  background: rgba(0, 100, 0, 0.5);
  border-top-color: #00ff00;
}

/* Supreme Vocations */
@keyframes vocation-effect {
  0% {
    text-shadow: 0 0 2px currentColor;
  }

  50% {
    text-shadow: 0 0 5px currentColor, 0 -5px 10px currentColor;
  }

  100% {
    text-shadow: 0 0 2px currentColor;
  }
}

.vocation-hell-wizard {
  color: #00FFFF;
  /* Cyan */
  font-weight: bold;
  animation: vocation-effect 1.5s infinite alternate;
}

.vocation-titan-blader {
  color: #FFFF00;
  /* Yellow */
  font-weight: bold;
  animation: vocation-effect 1.5s infinite alternate;
}

.vocation-force-archer {
  color: #FF0000;
  /* Red */
  font-weight: bold;
  animation: vocation-effect 1.5s infinite alternate;
}

.vocation-high-saintess {
  color: #00FF00;
  /* Green */
  font-weight: bold;
  animation: vocation-effect 1.5s infinite alternate;
}

/* Legendary Vocations - Stronger Effect */
@keyframes legendary-pulse {
  0% {
    text-shadow: 0 0 5px currentColor, 0 -2px 5px currentColor;
    opacity: 0.9;
  }

  50% {
    text-shadow: 0 0 15px currentColor, 0 -10px 20px currentColor, 0 -15px 30px currentColor;
    opacity: 1;
  }

  100% {
    text-shadow: 0 0 5px currentColor, 0 -2px 5px currentColor;
    opacity: 0.9;
  }
}

.vocation-legendary-hell-wizard {
  color: #00FFFF;
  font-weight: bold;
  animation: legendary-pulse 1.5s infinite alternate;
}

.vocation-legendary-titan-blader {
  color: #FFFF00;
  font-weight: bold;
  animation: legendary-pulse 1.5s infinite alternate;
}

.vocation-legendary-force-archer {
  color: #FF0000;
  font-weight: bold;
  animation: legendary-pulse 1.5s infinite alternate;
}

.vocation-legendary-high-saintess {
  color: #00FF00;
  font-weight: bold;
  animation: legendary-pulse 1.5s infinite alternate;
}
/* NEW Badge for Menu */
.menu-new-badge {
    display: inline-block;
    background-color: #d50000;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 5px rgba(213, 0, 0, 0.6);
    border: 1px solid #ff4500;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    animation: badgePulse 1.5s infinite alternate;
}

@keyframes badgePulse {
    from { 
        box-shadow: 0 0 2px rgba(213, 0, 0, 0.5);
        background-color: #d50000;
    }
    to { 
        box-shadow: 0 0 8px rgba(255, 69, 0, 0.8);
        background-color: #ff1a1a;
    }
}

