:root {
	--h1-sub: 3.125rem;
	--leadSize-sub: 1.333rem;
	--text-size-sub: 1.125rem;
}

[x-cloak] {display: none !important;}

.text-light {
	color: hsl(0, 0%, 50%) !important;
}

.sub {
	font-size: var(--text-size-sub);
}

/* article p img {
	max-width: 100%;
	height: auto;
} */

article img:not([src*=".svg"], h3 img) {
	display: block;
	margin-inline:auto;
	max-width: 100%;
	max-height: 70vh;
	object-fit: contain;
	object-position: center;
	height: auto;
}

article h3 img {
	height: auto;
	max-width: 100%;
}

.sub h1 {
	font-size: var(--h1-sub);
}

.sub .lead {
	font-size: var(--leadSize-sub);
}

.share {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid var(--borderColor);
	padding: 40px 0;
}

.share strong {
	color: hsl(0, 0%, 50%);
	line-height: 1.2;
}

.share a {
	opacity: .5;
	transition: opacity .3s;
}

.share a:hover {
	opacity: 1;
}

.dot {
	margin-inline: .5em;
}

article header span a {
	font-weight: 600;
	text-transform: uppercase;
	color: hsl(40, 100%, 47%);
}

.sub h1 {
	margin-top: 0;
	margin-bottom: 30px;
}

.lead {
	margin-top: 0;
	color: var(--primary);
	line-height: 1.5;
}

article ul,
article ol {
	padding-left: 1em;
}

article ol li::marker {color: black;}

article li ul li {
	list-style: disc;
	margin-left: 0.2em;
}

article li ul li::marker {color: var(--secondary);}


.gallery a {
	overflow: hidden;
	width: 100%;
	border-radius: var(--borderRadius);
}

.gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/10;
	object-fit: cover;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}


.downloads a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	box-sizing: border-box;
	padding: 15px 30px;
	text-decoration: none;
	color: var(--textColor);
	transition: all var(--fastSpeed);
	box-shadow: 0 0 30px hsl(0, 0%, 0%, .1);
}

.downloads a:hover {
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, .2);
}

.downloads a img:not(.download-icon) {
	height: 52px;
	border-radius: 0;
}

.download-icon {
	height: 18px;
	display: block;
	margin-left: 30px;
	border-radius: 0;
	filter: grayscale(1);
}

.downloads .size {
	opacity: .6;
	font-size: 0.875rem;
}

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 30px;
}

.downloads strong {
	font-weight: 400;
	line-height: 1.3;
	display: block;
	padding-right: 30px;
}



main hr {
	margin: 60px 0;
}



blockquote {
	margin: 0;
	padding: 0 0 0 1.5rem;
	border-left: 6px solid var(--primary);
}

blockquote em {
	font-size: 1.3125rem;
	margin-bottom: .5em;
}

blockquote em,
blockquote cite {
	display: block;
}

blockquote cite {
	font-style: normal;
}


/* @media screen and (max-width: 1359px) {
	#news .card + .card {margin-top: 30px;}
} */



#news  .card-image {
	width: 250px;
	aspect-ratio: 4/3;
	flex-shrink: 0;
}

#news .card.horizontal p {font-size: .75rem;}

#news .news-category {
	text-transform: uppercase;
	font-weight: 600;
	font-size: .75rem;
	color: hsl(40, 100%, 47%);
}

#news .dot,
#news .card-date {
	color: hsl(0, 0%, 50%);
	font-size: .75rem;
}

.photo img {
	display: block;
	max-width: 100%;
}

.go-to-mainpage {
	background-color: var(--primary);
	color: white;
	padding: 1.2em 2em 1.2em 4em;
	font-size: .75rem;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	border-radius: 0 .25rem .25rem 0;
	box-shadow: 0 2px 5px hsl(0, 0%, 0%, .1), 0 10px 20px -5px hsl(0, 0%, 0%, .15);

	position: fixed;
	bottom: 80px;
	left: 0;
	z-index: 999;
	overflow: hidden;
	transition: all .2s;
}

.go-to-mainpage:hover {
	padding-left: 3.5em;
	color: white;
}

.go-to-mainpage .progress-bar {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background-color: hsl(0, 0%, 95%);
}

.go-to-mainpage .val {
	transition: width 600ms var(--ease);
	/* transition-delay: 100ms; */
	height: 100%;
	width: 0%;
	display: block;
	background-color: var(--primary);
}

.go-to-mainpage.counting .val {
	animation: countval 3000ms ease 1 forwards;
}


.search-result {
	border-top: 1px solid var(--borderColor);
	margin-top: 15px;
	padding-top: 15px;
}

.search-result .clra .date {
	font-size: .75rem;
	color: hsl(0, 0%, 50%);
}

.search-result h5 {margin: 15px 0;}
.search-result h5 a {
	text-decoration: none;
	color: var(--titleColor);
	transition: color .2s;
}

.search-result h5 a:hover {
	color: var(--primary);
}

.search-result .more {
	text-decoration: none;
	color: var(--primary);
	transition: color .2s;
}

.search-result .more:hover {
	color: var(--primaryLight);
}

.pagination a {
	text-decoration: none;
}





@keyframes countval {
	0% {width: 0;}
	33% {width: 33.3%;}
	66% {width: 66.6%;}
	100% {width: 100%;}
}


.block.movie {margin-bottom: 30px;}

#galeria {clear: both;}

p.photo {
	display: flex;
	justify-content: center;
}

p.photo img {
	display: block;
	max-width: 100%;
	height: auto;
}

.event {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	border-bottom: 1px solid var(--borderColor);
	transition: all .3s;
}

.event > * {
	flex: 1;
}

.event:nth-child(odd) {
	background-color: var(--bgLight);
}

.event:hover {
	background-color: var(--primary);
	color: white;
}

.event .title {
	display: block;
	line-height: 1.3;
}

.small-title {
	font-size: 1rem;
	margin-bottom: 0;
	margin-top: 0;
	color: var(--primary);
}

.small-title + .main .main-event > h2:first-of-type {margin-top: 10px; margin-bottom: 30px;}

.event-data {
	padding: 30px;
	background-color: var(--bgLight);
}

.event-data strong {
	display: inline-block;
	min-width: 200px;
}

#actions + .addeventdiv {margin-top: 30px;}





/*
		K O M E N T A R Z E
*/

.comment + .comment {
	margin-top: 1.3rem;
}

.important-comment > .bg-light p {
	color: var(--primary);
	font-weight: 600;
}

.super-important-comment > .bg-light p {
	font-weight: 600;
	font-size: 1rem;
}

/* .bad-comment > .bg-light,
.bad-comment > .comment-author {
	opacity: .7;
}

.super-bad-comment > .bg-light, .super-bad-comment > .comment-author {
	opacity: .4;
} */

.comment p {
	margin-top: 0;
	margin-bottom: .5em;
	font-size: 0.875rem;
	line-height: 1.5;
}

.comment .btn {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--textColor) !important;
	background-color: transparent;
	padding: 0
}

.comment .comment-show-thread {
	color: white !important
}

/* .comment-actions {font-size: 0.875rem;} */

.comment-vote-up,
.comment-vote-down {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	padding: 0;
	margin-right: 3px;
	cursor: pointer;
	border: 0;
	color: transparent;
	background-size: contain !important;
	display: block;
}

.comment-vote-up {background: transparent url(/assets/img/like.png) center no-repeat}
.comment-vote-down {background: transparent url(/assets/img/dislike.png) center no-repeat}

.comment-votes {
	margin-left: .5rem;
}

.comment-rating-plus {color: green;}
.comment-rating-minus {color: red;}

.comment-tooltip {
	bottom: calc(100% + 10px);
	white-space: nowrap;
	font-size: 0.6875rem;
	text-transform: uppercase;
	padding: 0.4em .8em;
	background-color: var(--primary);
	color: white;
	display: none;
}

.comment-tooltip--show {
	display: block;
	animation: comment-tooltip 2s ease 1 forwards;
}

@keyframes comment-tooltip {
	0% {
		opacity: 0;
		transform: translateY(10px);
	}

	25% {
		opacity: 1;
		transform: translateY(0);
	}

	75% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(10px);
	}
}

.comment-tooltip::after {
	content: '';
	display: block;
	position: absolute;
	bottom: -20px;
	left: calc(50% - 10px);
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top-color: var(--primary);
}

.comment-report {
	font-weight: 600;
	color: var(--secondary);
	text-transform: uppercase;
}

.comment-show-thread.btn {
	line-height: 1;
	margin-top: 0.5em;
	padding: .5em .8em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--secondary);
	color: white;
	border-radius: .25rem;
}

.thread {
	width: calc(100% - 50px);
}

.thread .bg-light {
	background-color: hsl(220, 13%, 90%);
	border-radius: var(--borderRadius);
}

.comment-report-popup {
	position: fixed;
	z-index: 9999999;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	isolation: isolate;
}

.comment-report-popup--wrapper {
	width: 80vw;
	max-width: 500px;
	position: relative;
	z-index: 10;
}

.comment-report-popup--close {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #fff;
	color: red;
	font-family: monospace;
	font-size: 1.3125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -15px;
	right: -15px;
	text-decoration: none;
}

.comment-report-popup--close:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 10px -5px hsl(0 0% 0% / .4);
}

.comment-report-popup--content {
	padding: 30px;
	background-color: #fff;
}

.comment-report-popup--content h5 {
	margin-top: 0;
}

.comment-report-popup--content p {
	margin-bottom: 30px;
}

.comment-report-popup--content textarea, #add-comment textarea {
	height: 7.5em;
	margin-bottom: 15px;
}

.comment-report-popup--content .btn {
	background-color: var(--secondary);
	color: white;
	padding: 1em 2.5em;
	margin-top: 15px;
}



.comment-report-popup--backdrop {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: hsl(0 0% 0% / .4);
}

.resp .ok {
	display: block;
	padding: 15px;
	text-align: center;
	background-color: green;
	border-radius: .5rem;
	color: white;
	font-weight: 600;
}

.resp .error {
	display: block;
	padding: 15px;
	text-align: center;
	background-color: red;
	border-radius: .5rem;
	color: white;
	font-weight: 600;
}


.comment-author-row {
	display: flex;
	align-items: baseline;
	color: hsl(0, 0%, 64%);
}

.comment-author {
	display: block;
	color: black;
	font-size: 18px;
	margin-right: .2em;
}



.click-widget {margin-top: 30px !important;}


.sresponse div {
	padding: 0.7em 1.3em;
	border-radius: .25rem;
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	-ms-border-radius: .25rem;
	-o-border-radius: .25rem;
	color: white;
	font-weight: 600;
	margin-top: 5px;
}

.sresponse .ok2 {
	background-color: hsl(126, 97%, 25%);
}
.sresponse .error2 {
	background-color: hsl(0, 100%, 40%);
}




.gallery-index .card {
	flex-direction: column;
	display: flex;
	gap: 20px;
}

.gallery-index .card-title--link {
	text-decoration: none;
	color: var(--titleColor);
}

.gallery-index .card-title--link:hover,
.gallery-index .card:hover .card-title--link {
	color: white;
}

.gallery-index .card-image {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.gallery-index .card-image img {
	transition: transform var(--normalSpeed) var(--ease);
	-webkit-transition: transform var(--normalSpeed) var(--ease);
	-moz-transition: transform var(--normalSpeed) var(--ease);
	-ms-transition: transform var(--normalSpeed) var(--ease);
	-o-transition: transform var(--normalSpeed) var(--ease);
}

.gallery-index .card:hover .card-image img {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
}



.reklama-w-kosciannet img {
	max-width: 50%;
	height: auto;
	display: block;
	border: 2px solid var(--bgLight);
}


/* ankieta */

.sonda {
	display: flex;
	justify-content: center;
}

.sonda .content-frame {
	min-width: 60%;
}

#ankieta {
	background-color: var(--bgLight);
	margin: 30px 0 0;
	padding: 30px 60px;
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

#ankieta p {
	font-weight: bold;
}

#ankieta ul {
	margin: 0 0 1.7rem;
	padding: 0;
}

#ankieta li {
	list-style: none;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

#ankieta li input {margin-right: 5px;}

#ankieta .buttons input {
	width: auto;
	color: white;
	padding: 1em 2em;
	display: inline-block;
	border: 0;
	border-radius: var(--borderRadius);
	background-color: var(--primary);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.showdetail {
	float: left;
	width: 100%;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid #ddd;
}

.pasek {
	background: #0f4071;
	margin: 15px 0 5px;
	height: 10px;
	float: left;
}

.pasek[style="width: 0%; clear: both;"] {
	height: 0px;
}

.odpowiedz {
	font-weight: bold;
	color: #0f4071;
}

.trescsmsup {
	font-weight: bold;
}

.glosow {
	float: right;
	color: #0f4071;
	font-weight: bold;
	font-size: 25px !important;
	margin-bottom: -15px;
}

.help {
	clear: both;
	width: 100%;
}



/* W Y N I K I   A N K I E T Y */


.row.page-body {
	justify-content: center;
}

.sonda_section {
	padding: 2rem;
	margin-bottom: 2rem;
	background-color: var(--bgLight);
	border-radius: var(--borderRadius);
	-webkit-border-radius: var(--borderRadius);
	-moz-border-radius: var(--borderRadius);
	-ms-border-radius: var(--borderRadius);
	-o-border-radius: var(--borderRadius);
}

.sonda_section table, .sonda_section th, .sonda_section td {
	background-color: transparent;
	border: 0;
	padding: 0;
}

.sonda_section td br,
.sonda_section th:empty,
.sonda_section td:empty {
	display: none;
}

.sonda_section td {
	padding: .5em 1em .5em 0;
	line-height: 1.2;
	white-space: nowrap;
}

.sonda_section + .back em::before {
	content: '<';
	font-family: monospace;
	font-weight: normal;
	display: inline-block;
	margin-right: 0.25em;
	font-style: normal;
}

.sonda_section td img {
	filter: saturate(2) hue-rotate(201deg) brightness(.5);
	-webkit-filter: saturate(2) hue-rotate(201deg) brightness(.5);
}


.lg-outer .lg {
	background-color: black !important;
}

#galeria + * {margin-top: calc(var(--sectionPadding)/2);}

.see-also-grid .card-image img {
	height: auto;
	display: block;
	aspect-ratio: 16/10;
	object-fit: cover;
}

/*

			M E D I A
			Q U E R I E S

*/

@media screen and (max-width: 1660px) {
	.share strong {font-size: 0.75rem;}
}

@media screen and (max-width: 1230px) {
	.share strong {display: none;}

	.share a.mt-30:first-of-type {margin-top: 0;}
}


@media (max-width: 1199px) {

	div:empty:not(.reakcje :empty, .navbar-nav-more :empty, .fill:empty, .bar:empty) {display: none;}
}


@media screen and (max-width: 970px) {
	aside.w-1-12 {
		width: 0;
		max-width: 0;
		flex-basis: 0;
		padding: 0 !important;
	}
	main.w-11-12 {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}
	.share {
		position: fixed !important;
		right: 0;
		bottom: 15px;
		top: auto !important;
		z-index: 999;
		border-radius: .5rem 0 0 .5rem;
		border-right: 0;
		width: 38px;
		height: auto;
		padding: 30px 0;
		background-color: #fff;
	}

	.go-to-mainpage {display: none !important;}
}


@media screen and (max-width: 760px) {
	.sub h1 {font-size: var(--h2);}
	.sub h2 {font-size: var(--h3);}
	.sub h3 {font-size: var(--h4);}
	.sub h4 {font-size: var(--h5);}
	.sub .lead {font-size: 1.25rem;}

	.reklama-w-kosciannet img {
		float: none;
		max-width: 100%;
		margin: 0 auto 30px;
	}
}


@media screen and (max-width: 599px) {
	.download-icon, .downloads .size {display: none;}

	.downloads a {
		padding: 15px;
	}

	.downloads .text {
		margin-left: 15px;
	}

	.downloads strong {
		padding-right: 0;
		font-size: 0.875rem;
	}

	.downloads a img:not(.download-icon) {
		height: 30px;
	}


	#news .card-image {
		width: 100%;
		aspect-ratio: 16/9;
	}

	.eventList .event {
		text-align: left;
		align-items: flex-start;
		flex-direction: column;
	}

	.event-data {
		line-height: 1.2;
	}

	.event-data strong {
		display: block;
		min-width: 100%;
	}

	.event-data strong:not(:first-child) {margin-top: 1rem;}


	.sub h1 {font-size: var(--h3);}
	.sub h2 {font-size: var(--h4);}
	.sub h3 {font-size: var(--h5);}
	.sub h4 {font-size: var(--h6);}
}


