@import url('./_config.css');

html {
	scroll-behavior: smooth;
	font-variant-ligatures: none;
}

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


body {
	background: url(/assets/img/main-bg.jpg) top no-repeat;
	font-size: 1rem;
}

.pt-sp {padding-top: var(--sectionPadding);}
.pb-sp {padding-bottom: var(--sectionPadding);}
.py-sp {padding-top: var(--sectionPadding); padding-bottom: var(--sectionPadding);}

/* navbar */

.navbar {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

.navbar-wrapper {
	padding: 0 30px;
	border-radius: var(--borderRadius);
	background-color: var(--primary);
	transition: all .2s;
}

.affix .navbar-wrapper {
	margin-top: 0;
	border-radius: 0 0 var(--borderRadius) var(--borderRadius);
}

.affix {
	top: -50px;
}

.navbar-logo {
	display: flex;
	align-items: center;
	margin: 25px 0;
}

.navbar-logo-text {
	color: white;
	display: block;
	line-height: 1.3;
	margin-left: 20px;
	font-size: .75rem;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

.affix .navbar-logo-text {font-size: .6rem;}


.affix .navbar-logo {margin: 10px 0;}

.navbar-logo-image {
	height: 49.3px;
	display: block;
	position: relative;
	z-index: 20;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

.affix .navbar-logo-image {
	height: 36px;
}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}


.navbar-top {
	padding: 10px 0;
}

.navbar-top a {
	color: var(--textColor);
	font-size: .75rem;
	transition: color .2s;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
	-ms-transition: color .2s;
	-o-transition: color .2s;
}

.navbar-top a:hover {
	color: var(--primary);
}

.navbar-top .separator {
	width: 1px;
	height: 30px;
	border-left: 1px solid hsl(0 0% 85%);
}

.navbar-top img {display: block;}


/* navbar-nav */

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: 30px;
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: white;
	font-size: 1rem;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 7px 0;
	transition: all .2s;
	outline: none;
}

.nav-dropdown > a::after {
	filter: brightness(0) saturate(100%) invert(49%) sepia(14%) saturate(1426%) hue-rotate(60deg) brightness(102%) contrast(87%);
	-webkit-filter: brightness(0) saturate(100%) invert(49%) sepia(14%) saturate(1426%) hue-rotate(60deg) brightness(102%) contrast(87%);
}


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: -28px;
	left: 20px;
	width: calc(100% - 10px);
	height: 3px;
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	will-change: transform;
	background-color: #fff;
	transition: all .4s ease-out, visibility 0s .2s ease-out;
	visibility: hidden;
}

.navbar-nav > li:first-child > a::before {
	left: 0;
	width: 100%;
}

.navbar-nav:hover a::before {
	transform: translateX(100%);
}

.navbar-nav:hover li:hover ~ li > a::before {
	transform: translateX(-100%);
}

.navbar-nav:hover li:hover > a::before {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	transform: translateX(0);
}

.navbar-nav .nav-active {
	color: white;
	opacity: .7;
}

.has-dropdown .dropdown,
.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	border-radius: var(--borderRadius);
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.has-dropdown .dropdown {
	left: auto;
	right: 0;
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	transition: all .3s ease;
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}

.has-dropdown .dropdown.open,
.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
	margin-left: 15px;
}

.mobile-menu-toggler span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: white;
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler span:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler span:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler span:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler span:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}


a {text-decoration: none;}



h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
}

b, strong {
	font-weight: 700;
}


main img {
	border-radius: var(--borderRadius);
}

main, aside {
	margin-top: 30px;
}

header .swiper-container {
	border-radius: var(--borderRadius);
}

header .swiper-slide img {
	border-radius: 0;
}

header .swiper-slide .caption {
	background: linear-gradient(transparent, hsl(0, 0%, 0%, .9));
	text-align: left;
	padding-right: 15%;
	font-size: 1rem;
}

.caption-title {
	font-size: var(--h2);
	line-height: 1.1;
	margin-bottom: 1rem;
}

.caption-date {
	font-size: .75rem;
	opacity: .5;
	margin-top: 1rem;
}

header .swiper-pagination-bullet {
	background-color: white;
}

header .swiper-pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 15px;
	padding-bottom: 5px;
}


.btn {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75rem;
	padding: 1.5em 2em;
	letter-spacing: 1px;
	border-radius: var(--borderRadius);
}

.btn.w-full {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}



.card-image {
	border-radius: var(--borderRadius);
	overflow: hidden;
	position: relative;
	width: 100%;
	display: block;
}

.card-image img {
	display: block;
	width: 100%;
	position: relative;
	z-index: 1;
	transition: transform var(--fastSpeed) var(--easeOutCubic);
}

.card-image:hover img {
	transform: scale(1.1);
}


.card-body {
	padding-top: 30px;
}

.card-body p {
	font-size: 0.875rem;
	margin-bottom: 0;
}

.card-date {
	opacity: 0.5;
}

.card-title {
	margin: 5px 0 20px;
}

.card-title--link {
	color: var(--titleColor);
	transition: color .2s;
}

.card-title--link:hover {
	color: var(--primary);
}


.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 3px 4px 0 0;
	font-size: 0.6875rem;
}


main + aside {
	padding-left: 60px !important;
}

aside h3 {
	margin-top: 0;
	margin-bottom: 30px;
}

#skroty a {
	margin-bottom: 10px;
	background-color: #fff;
	padding: 20px;
	border-radius: var(--borderRadius);
	line-height: 1.1;
	color: var(--titleColor);
	transition: all .2s;
	box-shadow: 0 0 50px hsl(0, 0%, 0%, .1);
}

#skroty a:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 20px -10px hsl(0, 0%, 0%, .2);
}

#skroty a strong {
	font-size: 1rem;
}

.harmonogram-baner {
	display: block;
	width: 100%;
	height: 289.6px;
	background: url(/assets/img/aside-box-bg.png) center no-repeat;
	background-size: contain;
	color: white;
	padding: 80px 30px 30px;
	margin-top: 30px;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.harmonogram-baner:hover {
	filter: drop-shadow(0 8px 15px hsl(0 0% 0% / .3)) brightness(1.1);
	transform: translateY(-2px);
	-webkit-transform: translateY(-2px);
	-moz-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	-o-transform: translateY(-2px);
	-webkit-filter: drop-shadow(0 8px 15px hsl(0 0% 0% / .3)) brightness(1.1);
}

.harmonogram-baner strong {
	font-size: var(--h4);
	line-height: 1.1;
	margin-bottom: 0.8rem;
	display: block;
}

.harmonogram-baner span {
	margin-bottom: .8rem;
}

.harmonogram-baner em {
	font-style: normal;
	font-weight: bold;
	color: var(--primary);
}

.harmonogram-baner .pobierz {
	line-height: 1;
}

.harmonogram-baner .more {
	font-family: monospace;
	line-height: 1;
	display: block;
	font-weight: bold;
	margin-left: 0.5rem;
	transform: translateY(5.5px);
	-webkit-transform: translateY(5.5px);
	-moz-transform: translateY(5.5px);
	-ms-transform: translateY(5.5px);
	-o-transform: translateY(5.5px);
}




footer {
	background-color: var(--primary);
	color: white;
	font-size: .875rem;
}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: 0;
}

footer ul {
	margin: 0 0 3rem;
	padding: 0;
}

footer li {
	margin: 0 0 1rem 0;
	padding: 0;
	list-style: none;
}

footer li a {
	line-height: 1.3;
	display: block;
}

footer a {
	color: white;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .8;
	text-decoration: underline;
}


footer .separator {
	margin-inline: .6em
}


.dropdown form {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	flex-wrap: nowrap;
	height: 50px;
}

.dropdown input {
	border-radius: var(--borderRadius) 0 0 var(--borderRadius);
	flex-grow: 1;
	min-width: 200px;
}

.dropdown .btn {
	border-radius: 0 var(--borderRadius) var(--borderRadius) 0;
	padding-top: 0;
	padding-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}


#news h1 {
	position: relative;
	overflow: hidden;
	z-index: 20;
	margin-bottom: 60px;
}

#news h1::after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: var(--borderColor);
	position: absolute;
	top: 50%;
	left: 16rem;
	z-index: -1;
}


#news .grid {
	gap: 60px
}

#news .card-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16/10;
	object-fit: cover;
}

body .uwy.userway_p2 .uai {top: auto !important; bottom: 0 !important;}


.floating-widgets {
    position: fixed;
    top: 0;
    right: 20px;
    z-index: 1111;
    height: 100vh;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.floating-widgets img {
	filter: drop-shadow(0px 1px 3px #27314010);
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.floating-widgets img:hover {
	transform: scale(1.05);
}




/*
			C O N T R A S T   A N D   F O N T   S I Z E   C H A N G E
*/

.high-contrast {
	background-color: black;
	background-image: none;
	color: white;
}

.high-contrast .navbar-wrapper {
	background-color: black;
	border: 1px solid white;
}

.high-contrast header .swiper-slide .caption {
	background: #191919;
	padding: 30px;
}

.high-contrast .card-title--link,
.high-contrast h1,
.high-contrast h2,
.high-contrast h3,
.high-contrast h4,
.high-contrast h5,
.high-contrast h6 {
	color: white;
}

.high-contrast main a {color: yellow;}
.high-contrast main a:hover {color: yellow; text-decoration: underline;}

.high-contrast .card-date {
	color: white;
	opacity: 1;
}

.high-contrast .btn {
	background-color: yellow;
	color: black;
}


.high-contrast .btn:hover {
	background-color: black;
	outline: 1px solid yellow !important;
	color: yellow;
}

.high-contrast footer {
	background-color: black;
}

.high-contrast .navbar-top a {
	color: yellow;
}

.high-contrast .navbar-top a:not([target="_blank"]) img {
	filter: invert(1) brightness(1);
	-webkit-filter: invert(1) brightness(1);
}

.high-contrast .nav-dropdown > a::after {
	filter: brightness(2) invert(1);
	-webkit-filter: brightness(2) invert(1);
}

.high-contrast .bg-white {
	background-color: #191919;
}

.high-contrast .segregation-results h5 em {color: yellow;}

.medium-font {font-size: 18px}
.big-font {font-size: 20px}

.medium-font .navbar-nav > li > a {
	font-size: 0.77777777777777777778rem;
}

.big-font .navbar-nav > li > a {
	font-size: 0.7rem;
}

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




@media screen and (max-width: 1536px) {
	.navbar-nav > li > a {
		font-size: .875rem;
	}

	.navbar-nav > li > a {
		padding: 9.5px 0;
	}
}

@media screen and (max-width: 1330px) {
	.navbar-logo-image {height: 37px;}

	.navbar-logo-text {
		margin-left: 15px;
		font-size: .65rem;
	}

	.navbar-nav > li > a {
		padding: 5.5px 0;
	}

	.affix .navbar-nav > li > a {padding: 0;}

	.affix .navbar-nav a::before {bottom: -14px;}
}

@media screen and (max-width: 1300px) {
	.navbar-wrapper {
		padding: 0 20px;
	}
}


@media screen and (max-width: 1280px) {
	main + aside {
		padding-left: 15px !important;
	}

	.navbar-nav > li > a {
		padding: 5.5px 0;
	}

	.navbar-nav a::before {
		left: 11px;
		width: calc(100% + 1px);
	}

	.navbar-nav > li:not(:first-child) {
		padding-left: 20px;
	}
}


@media screen and (max-width: 1199px) {
	main + aside {
		padding-left: 15px !important;
	}

	.navbar-nav > li > a {font-size: .75rem;}

	.navbar-nav > li:not(:first-child) {
		padding-left: 15px;
	}

	.navbar-nav a::before {
		left: 7px;
		width: calc(100% + 1px);
	}

	.nav-dropdown > a::after {display: none;}

	.navbar-logo-text {
		margin-left: 10px;
		font-size: .55rem;
	}

	#skroty a img {margin-right: 15px;}

	.harmonogram-baner strong {
		font-size: var(--h5);
		line-height: 1.1;
		margin-bottom: 0.5rem;
		margin-top: 0.5rem;
		display: block;
	}

	footer {
		font-size: .75rem;
	}

	footer h2 {font-size: var(--h4);}

	footer .last {
		flex-direction: column;
		align-items: center;
	}

	.madeby {margin-top: 15px;}
}



@media screen and (max-width: 1023px) {

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	.floating-widgets {
		right: 7px;
		justify-content: flex-end;
		align-items: flex-end;
	}

	.harmonogram-baner {
		max-width: 400px;
		margin: 30px auto 0;
	}

	footer {
		text-align: center;
	}

	footer .md\:w-9-12 {
		margin-top: 50px;
	}

	.copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.copy .separator {display: none;}

	.bottom .gap-60 {gap: 15px;}

	main+aside {
		padding-left: 0 !important;
	}
}




@media screen and (max-width: 799px) {
	.bottom > .container > .flex {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
}



@media screen and (max-width: 760px) {
	.bottom img {max-width: 25vw;}
}

@media screen and (max-width: 639px) {
	.navbar-top a.flex span {display: none;}
	.navbar-top a.flex img.mr-10 {margin-right: 0;}

	.navbar-top .gap-30 {gap:15px}
}



@media screen and (max-width: 599px) {
	.font-smaller,
	.font-bigger,
	.contrast,
	.navbar .separator {display: none;}

	.caption-title {font-size: var(--h3);}
}


@media screen and (max-width: 370px) {
	.navbar-logo-text {display: none;}
	.caption-title {font-size: var(--h4);}
}