/* --- ANIMACJE --- */
@keyframes pulsowanie-zlota {
	0% { box-shadow: 0 0 4px rgba(212, 175, 55, 0.3); border-color: #d4af37; }
	50% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.7); border-color: #ffd700; }
	100% { box-shadow: 0 0 4px rgba(212, 175, 55, 0.3); border-color: #d4af37; }
}

@keyframes blask-swiec {
	0% { text-shadow: 1px 1px 2px #000, 0 0 5px rgba(212, 175, 55, 0.2); }
	50% { text-shadow: 1px 1px 2px #000, 0 0 15px rgba(255, 215, 0, 0.6); }
	100% { text-shadow: 1px 1px 2px #000, 0 0 5px rgba(212, 175, 55, 0.2); }
}

@keyframes lewitacja {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

/* --- SCROLLBAR I ZAZNACZANIE --- */
::-webkit-scrollbar {
	width: 6px; 
	height: 6px; 
}
::-webkit-scrollbar-track {
	background: #111111; 
}
::-webkit-scrollbar-thumb {
	background: #8b794a; 
	border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
	background: #b5a08b; 
}

::selection {
	background-color: #d4af37;
	color: #000000;
}
::-moz-selection {
	background-color: #d4af37;
	color: #000000;
}

/* --- STYLE BAZOWE I WINIETA --- */
body {
	font-family: 'Palatino Linotype', serif;
	color: #e8e6e3;
	background-image: url('gfx/bg.jpg');
	background-position: top center;
	background-attachment: fixed;
}

/* Mroczna winieta na brzegach ekranu */
body::after {
	content: "";
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.85);
	pointer-events: none; 
	z-index: 9999;
}

/* --- NEWSY --- */
.newsContents {
	padding: 40px;
	width: 531px;
}

.newsButtonsArea {
	font-family: 'Palatino Linotype', serif;
	font-size: 15px;
	text-align: center;
	top: 85px;
	position: relative;
}

.newsMoreButton {
	font-family: 'Palatino Linotype', serif;
	color: #d4af37;
	font-size: 17px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqwcAAJEAh4YQ8jwAAAAASUVORK5CYII=);
	border: 1px solid #d4af37;
	padding: 6px 15px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

.newsMoreButton:hover {
	color: #ffd700;
	background-color: rgba(212, 175, 55, 0.1);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
	border-color: #ffd700;
	transform: scale(1.05);
}

.newsMoreButton:active {
	transform: scale(0.98) translateY(2px);
	box-shadow: 0 0 2px rgba(212, 175, 55, 0.8);
}

.newsTitle {
	text-align: center;
	font-size: 40px;
	font-variant: all-petite-caps;
	font-family: 'Palatino Linotype', serif;
	position: relative;
	top: -125px;
	color: #d4af37;
	animation: blask-swiec 4s infinite alternate; 
}

.newsAuthor {
	text-align: center;
	position: relative;
	top: -125px;
	font-family: 'Palatino Linotype', serif;
	color: #b5a08b;
}

.newsImg {
	margin-left: calc(100% - 509px);
	margin-top: -125px;
	transition: transform 0.4s ease;
}

.newsImg:hover {
	transform: scale(1.03);
}

.klimat {
	width: 300px;
	border: 1px solid #d4af37;
	padding: 5px;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 5px;
	margin-top: 5px;
	background-color: rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
	border-radius: 4px;
}

/* --- POWIADOMIENIA --- */
.notification {
	width: 370px;
	border: 0px;
	background-image: url(../../modules/notifications/bg.png);
	padding: 10px;
	position: fixed;
	z-index: 500;
	background-color: #1a1a1a;
	display: block;
	text-align: right;
	border-top: 2px solid #d4af37;
	border-right: 2px solid #d4af37;
	font-weight: bold;
	font-size: 14px;
	color: #e8e6e3;
	box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.8);
	opacity: 1.0 !important;
	filter: alpha(opacity=100) !important;
	border-radius: 0 0 0 8px;
}

.notification img {
	float: left;
	margin-right: 10px;
	border-radius: 2px;
}

#notification_close {
	float: right;
	margin-right: 0px;
	color: #d4af37;
	cursor: pointer;
	transition: color 0.3s;
}

#notification_close:hover {
	color: #ff0000;
}

th {
	padding-top: 4px;
	font-weight: bold;
	color: #d4af37;
}

ul li {
	list-style-image: url(gfx/p.png);
}

ul {
	padding-left: 15px;
}

/* --- NICKI --- */
.nick {
	color: #dcd4b8 !important;
	text-shadow: none; 
	transition: color 0.3s ease;
}

.nick:hover {
	color: #ffffff !important;
}

/* --- TYPOGRAFIA I NAGŁÓWKI --- */
.pageTitle {
	font-size: 30px;
	font-variant: all-petite-caps;
	font-family: 'PoetsenOne', serif;
	color: #d4af37;
	text-align: center;
	margin-bottom: 5px;
	border: 1px solid transparent; 
	padding: 5px;
	animation: blask-swiec 4s infinite alternate; 
}

.title {
	text-align: center !important;
	font-variant: all-petite-caps;
	font-family: 'PoetsenOne', serif;
	font-size: 25px;
	color: #d4af37;
	animation: blask-swiec 4s infinite alternate; 
	position: relative;
	left: -20px; /* <--- ZMIENIAJ TĘ WARTOŚĆ */
}

.title2 {
	text-align: center !important;
	font-variant: all-petite-caps;
	font-family: 'PoetsenOne', serif;
	color: #d4af37;
	font-size: 30px;
	text-shadow: 1px 1px 2px #000;
	position: relative;
	left: -20px; /* <--- ZMIENIAJ TĘ WARTOŚĆ */
}



.meta {
	font-weight: bold;
	color: #b5a08b;
}

h3 {
	font-variant: all-petite-caps;
	font-family: 'PoetsenOne', serif;
	color: #d4af37;
	font-size: 30px;
	margin-left: 49px;
	border-bottom: none; 
	display: inline-block;
	padding-bottom: 5px;
	position: relative; 
}

h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

/* --- BOKSY INFORMACYJNE --- */
.ignis-error-box {
	background-color: rgba(255, 0, 0, 0.1);
	border-left: 4px solid #cc0000;
	border-bottom: 1px solid #cc0000;
	padding: 8px;
	color: #ff6666;
	text-align: left;
	font-weight: bold;
	margin-bottom: 5px;
	border-radius: 2px;
}

.ignis-info-box {
	background-color: rgba(0, 162, 232, 0.1);
	border-left: 4px solid #00A2E8;
	border-bottom: 1px solid #00A2E8;
	padding: 8px;
	color: #66c2ff;
	text-align: left;
	font-weight: bold;
	margin-bottom: 5px;
	border-radius: 2px;
}

.wyr1 a {
	color: #E3A802;
	text-shadow: 0 0 5px rgba(227, 168, 2, 0.4);
}

.wyr2 a {
	color: #0889FB;
	text-shadow: 0 0 5px rgba(8, 137, 251, 0.4);
}

/* --- STRUKTURA GŁÓWNA --- */
#main_header {
	overflow: auto;
	margin-top: -9px;
	margin-left: -16px;
	width: 1278px;
	height: 1264px;
}

#main_center {
	width: 1232px;
	margin: 0 auto;
}

#main_table td {
	vertical-align: top;
}

.main_table_menus {
	width: 215px;
}

.block {
	width: 540px;
	padding: 5px;
}

.normal1 {
	color: #e8e6e3;
	font-family: 'Palatino Linotype', serif;
}

.normal2 {
	font-family: 'Palatino Linotype';
	font-size: 16px;
	margin-top: 0px;
	color: #e8e6e3;
}

.normal3 {
	font-family: 'Palatino Linotype';
	font-size: 20px;
	font-variant: small-caps;
	margin-top: 0px;
	color: #d4af37;
}

/* --- DOMY (Z EFEKTEM HOVER) --- */
.dom1 { color: #CE2E3D; text-shadow: 0 0 2px rgba(206, 46, 61, 0.5); transition: all 0.3s ease; }
.dom1:hover { text-shadow: 0 0 10px rgba(206, 46, 61, 0.9); color: #ff4a5e; }

.dom2 { color: #4288D8; text-shadow: 0 0 2px rgba(66, 136, 216, 0.5); transition: all 0.3s ease; }
.dom2:hover { text-shadow: 0 0 10px rgba(66, 136, 216, 0.9); color: #6bb0ff; }

.dom3 { color: #CFB24D; text-shadow: 0 0 2px rgba(207, 178, 77, 0.5); transition: all 0.3s ease; }
.dom3:hover { text-shadow: 0 0 10px rgba(207, 178, 77, 0.9); color: #f5d45d; }

.dom4 { color: #578C64; text-shadow: 0 0 2px rgba(87, 140, 100, 0.5); transition: all 0.3s ease; }
.dom4:hover { text-shadow: 0 0 10px rgba(87, 140, 100, 0.9); color: #76bd88; }

.block-wrapper {
	width: 225px;
	padding: 0px 0px 0px 15px;
}

/* --- MENU --- */
.menu-left {
	padding: 0px 0px 35px 15px;
	width: 272px;
	margin-bottom: 165px;
	margin-top: 65px;
	background-image: url('gfx/block-down.png'), url('gfx/block-middle.png');
	background-repeat: no-repeat, no-repeat;
	background-position: bottom center, top center;
	background-size: 272px 45px, 272px calc(100% - 45px);
	color: #ccced7;
}

.menu-left img {
	margin-top: -175px;
	margin-left: -23px;
	margin-bottom: -25px;
}

.menu-right {
	padding: 0px 0px 35px 5px;
	width: 272px;
	margin-bottom: 165px;
	margin-top: 65px;
	margin-left: 5px;
	background-image: url('gfx/block-down.png'), url('gfx/block-middle.png');
	background-repeat: no-repeat, no-repeat;
	background-position: bottom center, top center;
	background-size: 272px 45px, 272px calc(100% - 45px);
	color: #ccced7;
}

.menu-right img {
	margin-top: -175px;
	margin-left: -18px;
	margin-bottom: -25px;
}

/* --- EFEKTOWNE LINKI W MENU I BLOKACH ("KRÓLEWSKI ODDECH") --- */
.block a, .menu-left a, .menu-right a {
	color: #faebc8;
	font-weight: normal;
	letter-spacing: 0px;
	transition: color 0.3s ease, text-shadow 0.3s ease, letter-spacing 0.3s ease;
	position: relative;
	display: inline-block;
}

.block a:hover, .menu-left a:hover, .menu-right a:hover {
	color: #ffffff;
	text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
	letter-spacing: 1px; /* Subtelne rozsunięcie liter */
}

.block a::after, .menu-left a::after, .menu-right a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 1px;
	display: block;
	margin-top: 2px;
	right: 50%;
	background: #d4af37;
	transition: width 0.3s ease, right 0.3s ease;
}

.block a:hover::after, .menu-left a:hover::after, .menu-right a:hover::after {
	width: 100%;
	right: 0;
}

/* --- SEKCJE INDEX --- */
.index {
	width: 540px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqwcAAJEAh4YQ8jwAAAAASUVORK5CYII=);
	border: 1px solid #d4af37;
	box-shadow: 0 0 15px rgba(0,0,0,0.5), inset 0 0 20px rgba(212,175,55,0.05);
	margin-top: -80px;
	padding: 15px; 
	margin-left: 9px;
	margin-right: 9px;
	text-align: justify;
	border-radius: 4px;
}

.index p {
	margin: 0;
	line-height: 1.6;
}

.normalindex {
	width: 852px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqwcAAJEAh4YQ8jwAAAAASUVORK5CYII=);
	border: 1px solid #d4af37;
	box-shadow: 0 0 15px rgba(0,0,0,0.5);
	margin-top: -80px;
	padding-right: 75px;
	margin-left: 9px;
	margin-right: 9px;
	text-align: center;
	border-radius: 4px;
}

.no-menu {
	width: 1063px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqwcAAJEAh4YQ8jwAAAAASUVORK5CYII=);
	border: 1px solid #d4af37;
	box-shadow: 0 0 15px rgba(0,0,0,0.5);
	margin-top: -80px;
	padding-right: 75px;
	margin-left: 9px;
	margin-right: 9px;
	text-align: center;
	border-radius: 4px;
}

/* --- PUNKTY Z EFEKTEM LEWITACJI --- */
#points {
	position: relative;
	top: -10px;
}

#points div {
	width: 80px;
	text-align: center;
	float: left;
	font-size: 18pt;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.pkt-rogacz { 
	margin-left: 135px; margin-top: -180px; position: absolute; font-size: 25pt; color: #fa8072; font-family: 'Palatino Linotype', serif; 
	animation: lewitacja 4s ease-in-out infinite; 
}
.pkt-lunatyk { 
	margin-left: 450px; margin-top: -180px; position: absolute; font-size: 25pt; color: #add8e6; font-family: 'Palatino Linotype', serif; 
	animation: lewitacja 3.5s ease-in-out infinite 1s; 
}
.pkt-lapa  { 
	margin-left: 770px; margin-top: -180px; position: absolute; font-size: 25pt; color: #eee8aa; font-family: 'Palatino Linotype', serif; 
	animation: lewitacja 4.5s ease-in-out infinite 0.5s; 
}
.pkt-glizdogon { 
	margin-left: 1055px; margin-top: -180px; position: absolute; font-size: 25pt; color: #98fb98; font-family: 'Palatino Linotype', serif; 
	animation: lewitacja 3.8s ease-in-out infinite 1.5s; 
}

/* --- DOMY I PREFEKCI NA GÓRZE --- */
.op-rogacz { margin-left: 40px; margin-top: -365px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype'; color: #e8e6e3; text-shadow: 1px 1px 2px #000; }
.pref-rogacz { margin-left: 40px; margin-top: -300px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #f0ead6; text-shadow: 1px 1px 2px #000; } 

.op-lunatyk { margin-left: 353px; margin-top: -380px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #e8e6e3; text-shadow: 1px 1px 2px #000; }
.pref-lunatyk { margin-left: 353px; margin-top: -300px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #f0ead6; text-shadow: 1px 1px 2px #000; } 

.op-lapa { margin-left: 665px; margin-top: -380px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #e8e6e3; text-shadow: 1px 1px 2px #000; }
.pref-lapa { margin-left: 665px; margin-top: -300px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #f0ead6; text-shadow: 1px 1px 2px #000; } 

.op-glizdogon { margin-left: 967px; margin-top: -380px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #e8e6e3; text-shadow: 1px 1px 2px #000; }
.pref-glizdogon { margin-left: 967px; margin-top: -300px; position: absolute; font-size: 25px; font-family: 'Palatino Linotype', serif; color: #f0ead6; text-shadow: 1px 1px 2px #000; } 

.content_block {
	background-image: url('gfx/news-middle.png');
	background-repeat: no-repeat;
	background-size: 616px calc(100% - 95px);
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 30px;
	margin-bottom: 125px;
}

.content_block .content-block-fimg {
	width: 616px;
	margin-left: 0px;
	padding-bottom: 14px;
	margin-top: -105px;
}

.content_block .content-block-limg {
	width: 616px;
	margin-bottom: 3px;
	margin-left: 0px;
}

/* --- LINKI GŁÓWNE --- */
a {
	text-decoration: none;
	color: #faebc8; 
	transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
	text-decoration: none;
	color: #ffffff;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

#content {
	width: 1140px;
	margin: 0 auto;
	border: 1px solid transparent;
}

#content > #content_big {
	width: 550px;
	float: left;
	border: 1px solid transparent;
	margin-left: 8px;
}

/* --- STOPKA --- */
#footer {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqwcAAJEAh4YQ8jwAAAAASUVORK5CYII=);
	border-top: 1px solid #d4af37;
	box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
}

.marquee {
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
	animation: marquee 50s linear infinite;
	color: #d4af37;
}

.marquee:hover {
	animation-play-state: paused;
}

/* --- TABELE I FORMULARZE --- */
.block table {
	border-collapse: collapse;
}

.block table td {
	font-family: Georgia, serif;
	font-size: 16px;
	padding-top: 1px;
	padding-right: 5px;
	padding-bottom: 1px;
	padding-left: 5px;
	color: #b5a08b;
}

legend {
	border: 1px solid #d4af37;
	font-variant: small-caps;
	color: #ffd700;
	background-color: #111;
	padding: 2px 8px;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
}

input {
	border: 1px solid #d4af37;
	background-color: #1a1a1a;
	font-family: Georgia, serif;
	font-size: 13px;
	color: #e8e6e3;
	padding: 4px;
	border-radius: 3px;
	transition: all 0.3s;
}

input:focus {
	outline: none;
	background-color: #000;
	animation: pulsowanie-zlota 2s infinite ease-in-out; 
}

input[type=radio] {  
	font-family: Georgia, serif;
	font-size: 13px;
	color: #d4af37;
	cursor: pointer;
}

.block legend a {
	color: #faebc8;
}

textarea {
	position: relative;
	padding: 6px;
	width: 180px;
	height: 60px;
	color: #e8e6e3;
	outline: none;
	border: 1px solid #d4af37;
	background: #1a1a1a;
	border-radius: 4px;
	font-family: Georgia, serif;
	transition: all 0.3s;
}

textarea:focus {
	outline: none;
	background: #000;
	animation: pulsowanie-zlota 2s infinite ease-in-out; 
}