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

#ArtworkHelper {
  text-align: center;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  width: 100%;
  /* height: 100%;  <- TO USUWAMY */
  min-width: 1000px;
  min-height: 2800px;
}
.event-card.event-next-up {
  animation: eventBlink 1s infinite;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

@keyframes eventBlink {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-2px);
    opacity: 0.5;
  }
}
/* container to implement min/max width */
#Bodycontainer {
  text-align: left;
  min-width: 1000px;
  max-width: 1200px;
  width: 100%;
  /* height: 100%;  <- TO TEŻ USUWAMY */
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  display: table;
}

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

/* ===========================
   TOP QUICK BAR (REGISTER, DOWNLOAD, ETC.)
   =========================== */

#TopQuickBar {
  position: relative;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 5px;
  max-width: 1200px;
  min-width: 1000px;
  height: 40px; /* 30–50px, możesz zmienić np. na 36 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

#TopQuickBar .topq-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #4b341a;
  background: linear-gradient(180deg, #7a562d 0%, #3f2c15 100%);
  box-shadow: 0 0 8px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* pojedynczy przycisk */
.topq-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  font: bold 11px Verdana, Arial, sans-serif;
  color: #ffe58a;
  text-decoration: none;
  letter-spacing: .3px;
  border: 1px solid #3b2a14;
  background: linear-gradient(180deg,#6f4d26,#3f2c15);
  box-shadow: 0 0 5px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  cursor: pointer;
  transition: transform .06s ease, filter .12s ease, box-shadow .12s ease;
}

.topq-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
}

.topq-btn:active {
  transform: translateY(1px);
}

.topq-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.topq-label {
  text-shadow: 1px 1px 2px #000;
}


/* "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;
  z-index: 50;
}

#ContentColumn {
  position: relative;
  margin: 0px;
  margin-left: 205px;
  margin-right: 205px;
  z-index: 1;   /* też pod menu */
}

#ThemeboxesColumn {
  text-align:  center;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 180px;
  margin: 0px;
  margin-right: 15px;
  margin-left: 25px;
  z-index: 10;  /* niższe niż menu */
}

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


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

.Content .BoxContent {
  padding: 10px;
}

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

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

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

#ContentHelper {
  position: relative;
}

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

.Content .Box {
  font-size: 0pt;
  position: relative;
  margin: 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: 45px;
  height: auto !important;
  height: 415px;
}

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

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

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

/* Content Links */

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

/* Corners */

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

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

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

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

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

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

/* Borders */

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* new error handling concept tests */

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


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

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

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


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

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

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

}
.LabelH td {
  background-color: #d5c0a1;
  padding-left: 5px;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
}

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

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

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

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

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

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

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

/* News Ticker */

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

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

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

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

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

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

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

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

/* Featured Article */

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

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

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

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

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

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

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

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

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

/* News */

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

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

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

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

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

/* News Archive */

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

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

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

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


  /* kolejność: najpierw logo/login, potem content, potem prawa kolumna */
  #MenuColumn {
    margin-bottom: 10px;
  }

  #ContentColumn {
    margin-bottom: 10px;
  }

  #ThemeboxesColumn {
    text-align: center;
    margin-bottom: 20px;
  }

  /* boxy tematyczne na środku */
  #Themeboxes .Themebox {
    margin-left: auto;
    margin-right: auto;
  }

  /* zawartość nie powinna mieć sztywnej wysokości */
  .Content .BoxContent {
    height: auto !important;
    min-height: 0;
  }



/* --- MOBILE MENU TOP BAR (domyślnie ukryty na desktopie) --- */
#MobileMenuBar {
  display: none; /* desktop: niewidoczny */
}

#MobileMenuBar .mm-inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #ffe9b0;
}

#MobileMenuBar .mm-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#MobileMenuBar .mm-dots {
  display: inline-flex;
  gap: 4px;
}

#MobileMenuBar .mm-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe9b0;
  box-shadow: 0 0 4px rgba(0, 0, 0, .8);
}

/* NOWY LEWY SIDEBAR */
/* --- LEWA KOLUMNA: pozycja --- */


#MenuColumn {
  /* szerokość możesz dopasować pod siebie */
  width: 190px;
  /* lekkie przesunięcie w lewo od środka (odstęp od głównego boxa) */
  margin: 0 22px 0 5px;  /* right = przerwa od ContentColumn */
}

/* --- LEWE MENU: nowy „drewniany” wygląd --- */

.side-nav {
  background: radial-gradient(circle at top left, rgba(120,80,40,0.65), rgba(10,7,4,0.95));
  border: 1px solid #4b341a;
  border-radius: 6px;
  box-shadow:
    0 0 10px rgba(0,0,0,0.75),
    inset 0 0 8px rgba(0,0,0,0.6);
  padding: 10px 10px 12px;
}

/* separator sekcji – trochę jaśniejszy pasek */
.side-section {
  margin-bottom: 14px;
}

.side-section:last-child {
  margin-bottom: 0;
}

/* tytuł sekcji: złota linia jak ramki contentu */
.side-section-title {
  font-family: 'Trebuchet MS', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: #f6d89a;
  padding: 4px 4px 6px;
  border-bottom: 1px solid rgba(255, 229, 154, 0.25);
  margin-bottom: 4px;
  text-shadow: 1px 1px 2px #000;
}

/* linki: delikatnie brązowe, z hoverem i lekkim przesunięciem */
.side-link {
  display: block;
  padding: 5px 7px;
  margin: 1px 0;
  color: #e2d4c0;
  text-decoration: none;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  transition:
    background 0.15s ease-out,
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    color 0.15s ease-out;
}

.side-link .bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f3d37a;
  margin-right: 6px;
  vertical-align: middle;
}

.side-link:hover {
  background: rgba(255, 229, 154, 0.10);
  transform: translateX(2px);
  box-shadow: 0 0 5px rgba(0,0,0,0.6);
  color: #fff3cf;
}

/* aktywna zakładka – złoty pasek jak w starym gesiorze */
.side-link.active {
  background: linear-gradient(90deg, #7a4e12 0%, #b58023 70%, #5b3a12 100%);
  color: #ffffff;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
}

.side-link.active .bullet {
  background: #ffffff;
}
/* --- SERVER STATUS BAR --- */
#ServerStatusBar {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 4px 0 10px;
}

#ServerStatusBar .ss-inner {
  background: linear-gradient(180deg, #876029, #5d421c);
  border: 1px solid #3a2a14;
  box-shadow: 0 0 6px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  padding: 6px 14px;
  border-radius: 6px;
  color: #ffe9b0;
  display: flex;
  align-items: center;
  gap: 8px;
  font: bold 13px Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;
}

/* zielona ikonka „online” */
#ServerStatusBar .ss-icon {
  width: 12px;
  height: 12px;
  background: #57d063;
  border-radius: 50%;
  box-shadow: 0 0 6px #57d063;
}

/* tekst */
#ServerStatusBar .ss-text {
  display: inline-block;
}
/* żeby nie było przerwy między top barem a statusem */
#TopQuickBar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px; /* odstęp dopiero od contentu */
}

/* status przyczepiony bez marginesu */
#ServerStatusBar {
  margin-top: 0;
}

/* mały, półprzezroczysty pasek, szerokość dopasowana do topq-inner */
#ServerStatusBar .ss-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 6px;
  margin-top: -3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(
    180deg,
    rgba(12, 8, 4, 0.75),
    rgba(12, 8, 4, 0.45)
  );
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-top: none;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.1);

  color: #ffe9b0;
  font: bold 12px Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 2px #000;

  text-decoration: none;  /* nie wygląda jak link */
  cursor: pointer;        /* ładny hover jak na link */
  transition: background 0.2s ease-out, filter 0.2s ease-out;
}

/* efekt hover */
#ServerStatusBar .ss-inner:hover {
  filter: brightness(1.15);
}
/* ===========================
   MOBILE (max-width: 980px)
   =========================== */
@media (max-width: 980px) {
#ArtworkHelper {
  background-image: linear-gradient(
    to bottom,
    #120f0b 0%,     /* mroczny top */
    #1e1810 40%,    /* miękkie przejście */
    #2a2217 100%    /* lekko złotawy dół */
  ) !important;

  background-color: #120f0b !important; /* fallback */
  background-size: cover;
  background-position: top center;
  min-height: auto !important;
}

#Bodycontainer {
  background: transparent !important;
}
  /* ogólne – normalny pionowy scroll, bez poziomego */
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  /* TOP BAR MENU – tylko na mobile, przyklejony na górze */
  #MobileMenuBar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, #7a562d, #3f2c15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .8);
    border-bottom: 1px solid rgba(0, 0, 0, .8);
  }

  #MobileMenuBar .mm-inner {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #ffe9b0;
    cursor: pointer;
  }

  /* tło + główny kontener: zwykłe bloki, bez 100% wysokości */
  #ArtworkHelper,
  #Bodycontainer {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    min-width: 0 !important;
    background-size: cover;
    background-position: top center;
  }

  /* TOP QUICK BAR – ukryty na mobile (Register/Download/Highscores/Wiki) */
  #TopQuickBar {
    display: none;
  }

  /* ServerStatusBar – pełna szerokość pod top barem */
  #ServerStatusBar {
    width: 100%;
    padding: 0 6px 6px;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  #ServerStatusBar .ss-inner {
    width: 100%;
    justify-content: center;
    border-radius: 0 0 8px 8px;
  }

  /* ContentRow niżej pod top barem */
  #ContentRow {
    position: static !important;
    top: auto !important;
    padding: 60px 8px 16px !important; /* miejsce pod MobileMenuBar */
    display: block;
  }

  /* środkowa i prawa kolumna jako zwykłe bloki pod sobą */
  #ContentColumn,
  #ThemeboxesColumn {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    clear: both;
  }

  /* box z treścią bez sztywnej wysokości */
  .Content .BoxContent {
    height: auto !important;
    min-height: 0 !important;
  }

  /* --- LEWE MENU: DOMYŚLNIE UKRYTE (wysuwane) --- */

  /* na starcie w ogóle go nie ma w layoucie */
 /* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
/* Overlay na CAŁĄ szerokość, scrolluje się CAŁOŚĆ */
/* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
/* --- LEWE MENU: PANEL WYSUWANY Z PRAWEJ STRONY --- */
#MenuColumn {
  position: fixed !important;
  top: 44px !important;      /* wysokość MobileMenuBar */
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 100% !important;
  margin: 0 !important;

  /* ciemne tło pod panelem */
  background: rgba(0, 0, 0, 0.4);

  /* start: schowane po prawej */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;

  display: block !important;
  z-index: 9998 !important;

  /* UWAGA: overlay nie ma scrolla */
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto !important;

  transition: transform .40s ease, opacity .25s ease;
}

/* Właściwy panel menu – 82% z prawej, tutaj jest scroll */
#MenuColumn .side-nav {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  width: 82% !important;
  max-width: 420px !important;
  margin: 0 !important;

  background: radial-gradient(circle at top left,
    rgba(120, 80, 40, 0.95),
    rgba(5, 3, 2, 0.98)
  ) !important;

  padding: 10px 10px 80px !important;

  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

/* STAN OTWARTY – po kliknięciu MENU */
body.mobile-menu-open #MenuColumn {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* zablokuj scroll tła gdy menu jest otwarte */
body.mobile-menu-open {
  overflow: hidden !important;
  overscroll-behavior: contain;
}

  /* prawa kolumna wycentrowana */
  #ThemeboxesColumn {
    text-align: center;
    margin-bottom: 20px;
  }

  /* CTA przyciski – środek */
  #CTAButtons {
    width: 100%;
    max-width: 420px;
    margin: 10px auto;
    padding: 0 10px;
  }

  /* slider + eventy pod sobą */
  .sshot-and-events {
    flex-direction: column;
  }

  .events-side {
    width: 100%;
    margin-top: 10px;
  }

  .event-card {
    font-size: 11px;
  }

  /* obrazki i tabelki w treści responsywne */
  .Content img {
    max-width: 100%;
    height: auto;
  }

  .Content table {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    display: block;
  }
}
