:root{
  --sb-left:240px;
  --sb-right:240px;
  --middle:699px;
  --gap:24px;
  --rx-bg:rgba(20,24,32,.72);
  --rx-stroke:rgba(62,227,242,.25);
  --rx-hover:rgba(62,227,242,.08);
  --rx-text:#cfe7ff;
  --rx-accent:#3ee3f2;
  --rx-warn:#ff6767;
  --rx-r:14px;
  --page-width:calc(var(--sb-left) + var(--middle) + var(--sb-right) + (2 * var(--gap)));
}

*,*::before,*::after{box-sizing:border-box}

#page{width:var(--page-width);margin:0 auto}

.rx-layout{
  display:grid;
  grid-template-columns:var(--sb-left) var(--middle) var(--sb-right);
  column-gap:var(--gap);
  align-items:start
}

.rx-sidebar{
  position:sticky;
  top:20px;
  align-self:start;
  max-height:calc(100vh - 40px);
  overflow:auto;
  scrollbar-gutter:stable both-edges;
  width:100%;
  padding:12px;
  border:1px solid var(--rx-stroke);
  border-radius:var(--rx-r);
  background:var(--rx-bg);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.03);
  content-visibility:auto;
  contain-intrinsic-size:800px 600px
}

.rx-sidebar::-webkit-scrollbar{width:10px}
.rx-sidebar::-webkit-scrollbar-thumb{background:rgba(255,255,255,.08);border-radius:10px}
.rx-sidebar::-webkit-scrollbar-track{background:transparent}

.rx-content{min-width:var(--middle);content-visibility:auto;contain-intrinsic-size:800px 600px}

.rx-group{
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  margin:8px 0;
  background:rgba(0,0,0,.12);
  overflow:clip
}
.rx-summary{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  cursor:pointer;
  color:var(--rx-text);
  font:600 13px/1.2 'Cinzel', serif;
  text-transform:uppercase;
  letter-spacing:.5px
}
.rx-group[open] .rx-summary{background:var(--rx-hover)}
.rx-summary::-webkit-details-marker{display:none}

.rx-ico{
  display:inline-flex;
  width:22px;height:22px;
  align-items:center;justify-content:center;
  color:var(--rx-text);
  filter:drop-shadow(0 0 6px rgba(62,227,242,.4))
}

.rx-list{list-style:none;margin:6px 0 10px;padding:0 6px 8px}
.rx-list li{margin:2px 0}

.rx-link{
  display:flex;align-items:center;gap:10px;
  padding:8px 10px;border-radius:10px;border:1px solid transparent;
  color:var(--rx-text);text-decoration:none;transition:.15s ease;background:transparent;text-align:left
}
.rx-link:hover{background:var(--rx-hover);border-color:rgba(62,227,242,.25)}
.rx-link.is-active{border-color:var(--rx-accent);box-shadow:0 0 12px rgba(62,227,242,.25)}

.rx-warn{color:var(--rx-warn)}

.rx-badge{position:relative}
.rx-badge::after{
  content:"NOWE";
  font-size:10px;font-weight:700;letter-spacing:.5px;
  color:#111;background:var(--rx-accent);
  padding:2px 6px;border-radius:8px;margin-left:auto
}

.rx-sep{height:1px;margin:6px 4px;background:rgba(255,255,255,.08)}

.rx-subgroup{
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  margin:6px 8px 8px;
  background:rgba(0,0,0,.08);
  overflow:clip
}
.rx-subsummary{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;cursor:pointer;
  color:var(--rx-text);font:600 12px/1.2 'Cinzel', serif;text-transform:uppercase;letter-spacing:.4px
}
.rx-subgroup[open] .rx-subsummary{background:rgba(62,227,242,.08)}
.rx-list--sub{padding:0 6px 8px 6px}

.rx-social{
  display:flex;gap:10px;justify-content:center;
  padding-top:8px;margin-top:8px;border-top:1px solid rgba(255,255,255,.06)
}
.rx-social-btn{
  width:38px;height:38px;border-radius:10px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color:#cfe7ff;transition:.15s
}
.rx-social-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(62,227,242,.25);color:var(--rx-accent)}
.rx-widget{margin-top:10px}

.rx-layout{display:none}

@media (min-width:1025px){
  .rx-layout{display:grid}
  #mobile-header,#menu-overlay,#mobile-social-icons,#event-timer-mobile{display:none!important}
}

@media (max-width:1024px){
  .rx-layout{display:grid!important;grid-template-columns:1fr!important;column-gap:0!important}
  .rx-sidebar{display:none!important}
  .rx-content{display:block!important;min-width:0!important;width:100%!important}
  #page{width:100%!important;margin:0!important;padding:80px 0 0 0!important}

  #mobile-social-icons{display:flex!important;justify-content:center!important;gap:26px!important;margin:10px 0 25px!important}
  #mobile-social-icons a{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:68px!important;height:68px!important;flex:0 0 68px!important;border-radius:50%!important;
    background:#222b38!important;color:#fff!important;text-decoration:none!important;
    box-shadow:0 4px 12px rgba(0,255,255,.2)!important;
    transition:transform .25s ease, box-shadow .25s ease, background-color .25s ease!important
  }
  #mobile-social-icons a i,
  #mobile-social-icons a .fa,
  #mobile-social-icons a .fab,
  #mobile-social-icons a svg{
    font-size:36px!important;line-height:1!important;width:auto!important;height:auto!important
  }
  #mobile-social-icons a:hover{
    transform:scale(1.15)!important;background:#00ffff!important;color:#111822!important;
    box-shadow:0 0 20px rgba(0,255,255,.5)!important
  }
  .rx-sidebar .rx-social,.rx-social-btn{display:none!important}
}


body {
	margin: 0px;
	padding: 0px;
	background: #000000 url('images/background.webp') no-repeat top center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #96a7b8;
	position: relative;
}

body::before {
	content: '';
	display: block;
	width: 100%;
	height: 150px; /* Adjust height as needed */
	background: url('images/background_napis.png') no-repeat center top;
	position: absolute;
	top: 20px;
	left: 0;
}
a
{
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
}

a:hover
{
	color: #b5c7db;
	text-decoration: none;
}


#page{
  width: var(--page-width);
  margin: 0 auto;
}
#header{
  width: 100%;          /* = szerokość #page */
  height: 211px;
  float: none;
}
#menu
{
	float: left;
	font-family: Helvetica;
	font-size: 11px;
}
#menu2
{
	float: right;
}

.nav
{
	height: 34px;
	float: left;
	cursor: pointer;
	background: url('images/menu-button.png') no-repeat;
}
.nav-button {
    width: 193px;
    height: 34px;
    background: url('images/menu-button.png') no-repeat center center;
    background-size: contain;

    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #3ee3f2;
    text-transform: uppercase;
    text-align: center;

    text-shadow:
        0 0 2px #001622,
        0 0 4px #003344,
        1px 1px 1px #000; /* dodatkowa głębia */

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;
    letter-spacing: 0.5px;

    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    position: relative;
    top: -1px;
}

select {
  background-color: #2e3744;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px;
  color: white;
  font-size: 12px;
  cursor: pointer;
}


.nav2
{
	height: 34px;
	float: right;
	cursor: pointer;
	background: url('images/menu-button.png') no-repeat;
}

.links {
    width: 180px;
    background: url('images/menu-chains.png') repeat-y;
    float: left;
    padding-left: 10px;
    display: none; /* ukryte domyślnie, JS je pokaże */
}

	.links ul
	{
		list-style: none;
		margin: 0px;
		padding: 0px;
	}
	
	.links li a
	{
			/*	display: block;*/
		width: 135px;
		background: #121212;
		border-bottom: 1px solid #272727;
		float: left;
		padding: 4px;
		margin-left: 15px;
		color: #ab7831;
		text-decoration: none;
		font-weight: bold;
	}
	
	.links li a:hover
	{
		background: #181818;
		border-bottom: 1px solid #2D2D2D;
		color: #FFF;
	}

#cnt-box
{
	width: 699px;
	float: left;
}

	#top
	{
		width: 699px;
		height: 47px;
		float: left;
		background: url('images/top.png') no-repeat;
	}
	
	#mid
	{
		width: 699px;
		float: left;
		background: url('images/mid.png') repeat-y;
	}
	#top {
    margin-bottom: -1px; /* minimalna korekta */
}

		#margins
		{
			margin-left: 25px;
			margin-right: 25px;
			text-align: justify;
		}
	
	#bot
	{
		width: 699px;
		height: 48px;
		float: left;
		background: url('images/bot.png') no-repeat;
	}
	
	#copyrights
	{
		width: 699px;
		padding: 10px;
		float: left;
		color: #5F5F5F;
		text-align: center;
	}
	
	#kolumna
	{
		width: 176px;
		padding: 2px;
		float: left;
		font-family: Helvetica;
		font-size: 11px;
	}
	
#sociale {
    margin-top: -55px;
    margin-left: 20px;
}

/* Efekt hover tylko na konkretnych ikonach */
#sociale a img {
    transition: opacity 0.3s ease;
}

#sociale a img:hover {
    opacity: 0.7;
}

#sociale2 {
    margin-top: -55px;
    margin-left: 21px;
}

/* Płynne przejście */
#sociale2 a img {
    transition: opacity 0.3s ease;
}

/* Efekt hover tylko na konkretnej ikonie */
#sociale2 a img:hover {
    opacity: 0.7;
}

	

	
	
/** -------------------------------
 *  Stylesheet declarations for the
 *  NEW TABLES
 *  -------------------------------
 */

.TableContainer {
  border: 1px solid #222f3d;
  position: relative;
  width: 100%;
  font-size: 10px;
}
.TableContainer .Odd {
  background-color: #34404d;
}
.TableContainer .Even {
  background-color: #222f3d;
}

/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
  position: relative;
  font-size: 1pt;
  background-color: #222f3d !important;
  height: 100%;
  width: 100%;
  text-align: left;
}
.TableContainer .CaptionContainer .CaptionInnerContainer {
	position: relative;
  background-color: #222f3d;
  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;
}
/* TABLE CONTENT */
.TableContentContainer {
  border: 1px solid #222f3d;
  position: relative;
  margin-right: 4px;
  height: 100%;
  background-color: #495563;
  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: #495563;
  border: 2px solid #222f3d;
}
.TableContainer .Table1 .InnerTableContainer {
  padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
  width: 100%;
  border: 2px solid #222f3d;
  background-color: #34404d;
  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 #222f3d;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
  width: 100%;
  border: 2px solid #222f3d;
  background-color: #34404d;
}
.TableContainer .Table3 .InnerTableContainer {
  width: 100%;
  position: relative;
  margin-top: 5px;
  margin-left: 3px;
}
.TableContainer .Table3 .TableContentAndRightShadow td {
  border: 1px solid #495563;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
  width: 100%;
  border: 2px solid #222f3d;
  background-color: #34404d;
}
.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 #222f3d;
  background-color: #34404d;
}
.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: 10px;
  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: 10px;
}
.TableShadowContainer {
  position: relative;
  widht: 100%;
  margin-right: 5px;
}
.TableBottomShadow {
  position: relative;
  font-size: 10px;
  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: #222f3d;

}
.LabelH td {
  background-color: #222f3d;
  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: #495563;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #34404d;
  padding: 2px;
}

.Content .NewsCategoryIconSmall {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
  background-color: #495563;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #34404d;
  padding: 2px;
}

.Content .NewsCategoryIconSmall {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 16px;
  width: 16px;
  background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
  background-color: #495563;
  padding: 2px;
}

.Content .BoxContent .Even {
  background-color: #34404d;
  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;
}

/** --------------------------------------
 *  ### 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: #495563;
  padding: 5px;
  padding-left: 43px;
}
.SmallBox .Message {
  font-size: 10pt;
  position: relative;
  height: 100%;
  background-color: #495563;
  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;
}
.green {
color: green;
text-decoration: none;
}
.animation {
visibility: hidden;
}

#fanback {
display:none;
background:rgba(0,0,0,0.8);
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
z-index:99999;
}
#fan-exit {
width:100%;
height:100%;
}
#JasperRoberts {
background:white;
width:420px;
height:250px;
position:absolute;
top:58%;
left:63%;
margin:-220px 0 0 -375px;
-webkit-box-shadow: inset 0 0 50px 0 #939393;
-moz-box-shadow: inset 0 0 50px 0 #939393;
box-shadow: inset 0 0 50px 0 #939393;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: -220px 0 0 -375px;
}
#TheBlogWidgets {
float:right;
cursor:pointer;
background:url(https://mrozuots.pl/addons/TheBlogWidgets.png) repeat;
height:15px;
padding:20px;
position:relative;
padding-right:40px;
margin-top:-20px;
margin-right:-22px;
}
#news-text img{
max-height: 620px;
max-width: 620px;
}
 labell {
    display: inline-block;
    width: 5em;
  }
    .submenu-item {
	display: none;
    }
  .ui-tooltip {
    box-shadow: 0 0 7px black;
  }
@font-face {
  font-family: "robotoreg";
  src: url('roboto_reg.ttf');
}
@font-face {
  font-family: "robotothin";
  src: url('roboto_thin.ttf');
}

/* <= 767px */
@media (max-width: 767px) {
  body {
    background: #000 url('images/background.webp') no-repeat top center;
    font-family: 'Roboto', sans-serif;
  }

  #kolumna, #stream, #menu, #header, #news-section, #mobile-only-script, body::before {
    display: none !important;
  }

  #page { width: 100% !important; margin: 0 !important; padding: 80px 0 0 !important; }

  /* header */
  #mobile-header{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px;
    background:rgba(0,0,0,.8); padding:8px 12px; min-height:50px;
  }
  #mobile-logo{ height:32px; margin:0; }

  .center-elements{ position:static; transform:none; left:auto; display:flex; justify-content:center; gap:8px; flex-wrap:nowrap; }

  /* PRZYCISKI — jedna, mobilna definicja */
  #download-button, #register-button{
    display:inline-block; padding:8px 12px; margin:0;
    font-size:12px; line-height:1; border-radius:8px;
    background:#2a3444; color:#fff; text-decoration:none;
    box-shadow:0 0 6px rgba(0,0,0,.3);
    transition:background-color .3s, transform .2s;
    text-transform:uppercase; font-weight:bold;
  }
  #download-button:hover, #register-button:hover{ background:#3b475c; transform:translateY(-1px); }

  /* burger */
  #menu-button{ background:none; border:0; cursor:pointer; display:grid; place-items:center; width:40px; height:36px; margin:0; z-index:2; }
  #menu-button .bar{ width:24px; height:3px; margin:3px 0; background:#fff; border-radius:2px; transition:all .2s; }

  /* overlay */
  #menu-overlay{
    display:none; position:fixed; inset:0; background:#181c24; z-index:999;
    color:#fff; text-align:left; padding-top:60px; overflow-y:auto;
  }
  #menu-overlay.show{ display:block; }

  .menu-container{ display:flex; flex-direction:column; padding:20px; }
  .category{ display:flex; flex-direction:column; margin-bottom:20px; }
  .category-header{
    font-size:20px; font-weight:bold; color:#f0f0f0;
    padding:20px; border-bottom:1px solid #f0f0f0; cursor:pointer;
    display:flex; justify-content:space-between; align-items:center;
  }
  .category-header:hover{ background-color:rgba(255,255,255,.2); }

  .expand-icon{ font-size:28px; color:#f0f0f0; transition:transform .3s; transform:translateX(-20px); }
  /* obrót przy otwartym submenu (współczesne przeglądarki) */
  .category:has(.submenu.show) .expand-icon{ transform:translateX(-20px) rotate(90deg); }

  .submenu{ display:none; list-style:none; padding:0; margin:0; }
  .submenu.show{ display:flex; flex-direction:column; flex-wrap:wrap; max-height:50vh; }

  .submenu li{ flex:1 1 50%; }
  .submenu a{
    color:#fff !important; text-decoration:none !important;
    font-size:15px; font-weight:bold; padding:15px 20px; display:block;
    transition:background-color .3s;
  }
  .submenu a:hover{ background-color:rgba(255,255,255,.2) !important; }
}

/* doprecyzowanie mniejszych progów */
@media (max-width: 480px){
  #mobile-logo{ height:28px; }
  .center-elements{ gap:6px; }
  #menu-button{ width:36px; height:32px; }
  #download-button, #register-button{ padding:6px 10px; font-size:11px; border-radius:7px; }
}
@media (max-width: 360px){
  #download-button, #register-button{ padding:5px 8px; font-size:10px; }
}


@media only screen and (min-width: 768px) {
    #mobile-header, #menu-overlay {
        display: none !important;
    }
}
.rx-timer{ margin-bottom:12px }

#event-timer{
  background-color:#111822;
  border:2px solid #00ffff;
  border-radius:10px;
  padding:8px;
  text-align:center;
  font-family:'Cinzel', serif;
  color:#00ffff;
  text-shadow:0 0 8px #00ffff;
  font-size:13px;
}

.event-subtext{
  margin-top:6px;
  font-size:11px;
  color:#ffffff;
  text-shadow:0 0 4px #3ee3f2;
  font-weight:bold;
}

#countdown{
  font-size:16px;
  font-weight:bold;
  letter-spacing:1px;
}

/* ten blok NIE może chować #event-timer na desktopie */
@media (max-width:1024px){
  #event-timer{ display:none !important; } /* tylko mobile */
}
/* MOBILE TIMER – wygląd i kolory */
#event-timer-mobile{
  margin:10px auto;
  padding:10px;
  max-width:320px;
  background-color:#111822;
  border:2px solid #00ffff;
  border-radius:10px;
  text-align:center;
  font-family:'Cinzel',serif;
  color:#00ffff;
  text-shadow:0 0 6px #00ffff;
  font-size:18px;
  display:block; /* upewnij się że nie jest ukryty */
}
#event-title-mobile{ font-weight:700; margin-bottom:4px; }
#countdown-mobile{
  font-size:28px;
  font-weight:700;
  margin-top:5px;
  letter-spacing:1px;
}

/* warianty kolorów jak na desktopie */
#event-timer-mobile.default-event #event-title-mobile,
#event-timer-mobile.default-event #countdown-mobile{
  color:#00ffff; text-shadow:0 0 6px #00ffff;
}
#event-timer-mobile.boss-event #event-title-mobile,
#event-timer-mobile.boss-event #countdown-mobile{
  color:#ff4c4c; text-shadow:0 0 8px #ff0000;
}
#event-timer-mobile.tc-event #event-title-mobile,
#event-timer-mobile.tc-event #countdown-mobile{
  color:#ffd700; text-shadow:0 0 8px #ffaa00;
}

/* Desktop chowa mobilny timer; na mobile NIE chowaj */
@media (min-width:1025px){
  #event-timer-mobile{ display:none !important; }
}

@media (max-width: 767px) {
  #news-text img,
  #cnt-box img,
  .rx-content img,
  .submenu img {
    max-width: 100%;
    height: auto !important;
  }
  
  /* 1) Środek ma elastyczną szerokość */
#cnt-box {
  position: relative;
  width: min(100vw, var(--middle)) !important;
  max-width: 100% !important;
  margin: 0 auto;
  box-sizing: border-box;
  /* przenosimy TŁO z #mid tutaj, żeby wszystko skalowało się identycznie */
  background: url('images/mid.png') repeat-y center top;
  background-size: 100% auto; /* żadnych szpar */
}

/* 2) Top i bot jako pseudo-warstwy jednego pudełka */
#cnt-box::before,
#cnt-box::after{
  content:"";
  position:absolute;
  left:0; right:0;
  pointer-events:none;
}
#cnt-box::before{
  top:0; height:47px;                           /* wysokość jak w oryginale */
  background: url('images/top.png') no-repeat center top;
  background-size: 100% 100%;
}
#cnt-box::after{
  bottom:0; height:48px;                        /* wysokość jak w oryginale */
  background: url('images/bot.png') no-repeat center bottom;
  background-size: 100% 100%;
}

/* 3) Stare dekoracje wyłączamy, a #mid dostaje padding zamiast grafiki */
#top, #bot { display:none !important; }

#mid{
  width: 100% !important;
  float: none !important;
  background: none !important;                  /* mid nie rysuje już tła */
  padding-top: 47px;                            /* rezerwa pod ::before */
  padding-bottom: 48px;                         /* rezerwa pod ::after  */
}

}
/* Skalowanie zawartości zakładek tylko na mobile */
@media (max-width: 767px) {
  .fit-wrap {
    position: relative;
    overflow: hidden;     /* obetnij to, co wyjdzie poza skalę */
    width: 100%;
  }
  .fit-inner {
    display: inline-block;
    transform-origin: top left; /* skala od lewego górnego rogu */
  }
}
