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

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--titleWeight);
	color: var(--titleColor);
	margin: 30px 0 20px;
	line-height: 1.1;
}

b, strong {font-weight: var(--boldWeight)}

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

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




/*
			N A V B A R
*/

.navbar {
	background-color: hsla(0, 0%, 100%);
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .3s;
}

.affix {
	box-shadow: 0 10px 20px -5px hsla(0, 0%, 0%, .1);
}

.navbar-logo {
	margin: 15.5px 0;
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--titleColor);
	transition: all .3s;
}

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

.navbar-logo-image {
	display: block;
	height: 84.7px;
	margin-right: 20px;
	transition: all .3s;
}

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

.navbar-logo-text strong,
.navbar-logo-text em {
	font-style: normal;
	display: block;
	line-height: 1.1;
	font-size: 1rem;
	transition: all .3s;
}

.affix .navbar-logo-text strong,
.affix .navbar-logo-text em {
	font-size: 0.75rem;
	line-height: 1.1;
}




/*
			N A V B A R   N A V
*/

.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 a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: var(--titleColor);
	font-size: 1rem;
	font-weight: 600;
	display: inline-flex;
	text-decoration: none;
	padding: 45.5px 50px;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}

.affix .navbar-nav > li > a {
	padding-top: 21px;
	padding-bottom: 21px;
}

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


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	will-change: transform;
	background-color: var(--green);
	transition: all .2s var(--ease);
}

.navbar-nav > li:nth-child(2) > a::before {background-color: var(--blue);}
.navbar-nav > li:nth-child(3) > a::before {background-color: var(--yellow);}
.navbar-nav > li:nth-child(4) > a::before {background-color: var(--purple);}
.navbar-nav > li:last-child > a::before {background-color: var(--navy);}


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

.navbar-nav > li:nth-child(2) a:focus,
.navbar-nav > li:nth-child(2) a:hover,
.navbar-nav > li:nth-child(2) .nav-active,
.navbar-nav > li:nth-child(2) ul .active > a {
	color: var(--blue);
}

.navbar-nav > li:nth-child(3) a:focus,
.navbar-nav > li:nth-child(3) a:hover,
.navbar-nav > li:nth-child(3) .nav-active,
.navbar-nav > li:nth-child(3) ul .active > a {
	color: var(--yellow);
}

.navbar-nav > li:nth-child(4) a:focus,
.navbar-nav > li:nth-child(4) a:hover,
.navbar-nav > li:nth-child(4) .nav-active,
.navbar-nav > li:nth-child(4) ul .active > a {
	color: var(--purple);
}

.navbar-nav > li:last-child a:focus,
.navbar-nav > li:last-child a:hover,
.navbar-nav > li:last-child .nav-active,
.navbar-nav > li:last-child .active > a {
	color: #333;
}

.navbar-nav .nav-active {
	color: var(--blue);
}

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

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

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

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

.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);
} */

.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: 30px;
}

.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: black;
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

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

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

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

.mobile-menu-toggler.active-toggler div: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);
	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;
}


.has-dropdown {
	position: relative;
}

.has-dropdown .dropdown {
	top: calc(100% + 15px);
	right: 0;
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
	position: absolute;
	width: 350px;
}

.has-dropdown input {
	border: 0;
	width: 100%;
	border-bottom: 1px solid var(--borderColor);
	padding: 0.5em 0;
	font-size: 1.2rem;
	transition: all .3s;
	color: var(--textColor);
}

.has-dropdown input:focus {
	border-bottom-color: var(--titleColor);
}






/*
			M A I N   S E C T I O N S
*/

#news .card:first-child img {
	display: block;
	width: 100%;
	height: 520px;
	object-fit: cover;
	object-position: center;
}


#news .md\:w-3-12 {
	padding-left: 50px;
}

.card.over {
	cursor: pointer;
	overflow: hidden;
	border-radius: 12px;
}

.card.over img {
	transition: all var(--normalSpeed) var(--ease);
}

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

.card.over .caption {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 60px;
	color: black;
}

.card.over:first-child .caption {
	justify-content: center;
	width: 50%;
}

.card.over:first-child .caption::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: -5%;
	bottom: 0;
	left: -20%;
	z-index: -1;
	background-color: hsl(155, 100%, 44%, .8);
	transform: skewX(-15deg);
}

.card-title {
	line-height: 1.1;
	font-size: var(--h5);
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}

.card.over:first-child .card-title {
	font-size: var(--h3);
	margin: 10px 0;
}

.card-title--link {
	color: black;
	transition: all .2s;
}

.card:hover .card-title--link,
.card-title--link:hover {
	opacity: .8;
}

.card p {
	margin: 0;
	line-height: 1.45;
}

.card .label {
	background-color: black;
	line-height: 1;
	font-weight: 600;
	font-size: 0.75rem;
	border-radius: 4px;
	padding: 5px 10px;
	color: white;
}

.card-date {color: black;}

.card.horizontal {
	display: flex;
	align-items: center;
	padding-top: 30px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.card.horizontal::before {
	content: '';
	display: block;
	width: 100%;
	height: 100px;
	position: absolute;
	bottom: calc(100% - 15px);
	left: 0;
	background-color: #fff;
	box-shadow: 0 15px 30px -15px hsl(0, 0%, 0%, .1);
}


.card.horizontal .card-image {
	flex-shrink: 0;
	max-width: 200px;
	aspect-ratio: 3/2;
	overflow: hidden;
	border-radius: 8px;
	margin-right: 30px;
}

.card.horizontal .card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: all var(--normalSpeed) var(--ease);
}

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

.card.horizontal .label {
	background-color: var(--primary);
	color: black;
}


.btn {
	align-items: center;
	justify-content: center;
	padding: 1em 2em;
	font-weight: 600;
	font-size: 1rem;
	border-radius: 12px;
}

#news .btn {
	margin-top: 30px;
}


#komunikaty a {
	display: block;
	padding: 15px;
	line-height: 1.1;
	border-radius: 12px;
	color: var(--titleColor);
}

#komunikaty a small {
	text-transform: uppercase;
	display: block;
	margin-bottom: 5px;
}

#komunikaty a strong {
	transition: color .2s;
}

#komunikaty a:hover strong {
	color: var(--red);
}

#komunikaty a:nth-child(even) {
	background-color: var(--bgLight);
}

#skroty .btn {
	margin-top: 0;
	display: flex;
	justify-content: flex-start;
	text-transform: none;
	padding: .4em .8em;
}

#skroty .btn img {
	width: 42px;
	aspect-ratio: 1/1;
	object-fit: contain;
	object-position: center;
}

#banery {margin-top: 30px;}

.btn.alt {
	background-color: #fff;
	border: 2px solid var(--borderColor);
	height: 80px;
	transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.btn.alt:hover {
	background-color: var(--primary);
	border: 2px solid var(--primary);
}


#partnerzy a {
	display: flex;
	align-items: center;
	justify-content: center;
}

#partnerzy a img {
	max-width: 100%;
	max-height: 120px;
	mix-blend-mode: darken;
	transition: all var(--normalSpeed) var(--ease);
}

#partnerzy a:hover img {
	transform: scale(1.05);
}




/*
			F O O T E R
*/

.madeby {
	color: hsl(0, 0%, 0%, .5);
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

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


footer .container {
	position: relative;
	overflow: hidden;
}

footer .container::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	bottom: 100%;
	left: 0;
	position: absolute;
	background-color: #fff;
	box-shadow: 0 15px 30px -15px hsl(0, 0%, 0%, .1);
}

footer hr {
	opacity: .2;
	background-color: black;
	margin: calc(var(--sectionPadding) / 2) 0 40px;
}

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

footer li {
	margin: 0 0 .5em 0;
	padding: 0 0 0 15px;
	list-style: none;
	position: relative;
}

footer li::before {
	content: '';
	display: block;
	width: 6px;
	height: 10px;
	position: absolute;
	top: 8.5px;
	left: 0;
	background: url(/assets/img/bullet.svg) center no-repeat;
}

footer a {
	color: var(--textColor);
	text-decoration: none;
	transition: color .2s;
}

footer a:hover {
	color: var(--yellow);
}




/*
			K E Y F R A M E S
*/

@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);}
}






/*

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

*/



@media screen and (max-width: 1536px) {
	.navbar-nav > li > a {padding-left: 30px; padding-right: 30px;}
}


@media screen and (max-width: 1360px) {
	.card-title {font-size: 1rem;}

	.card.over:not(:first-child) .caption {
		padding: 20px;
	}
}

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

	.navbar-logo-text strong, .navbar-logo-text em {
		font-size: 1.2rem;
	}

	#news .md\:w-3-12 {
		padding-left: 15px;
	}
}


@media screen and (max-width: 1199px) {
	.navbar-logo-image {
		height: 60px;
		margin-right: 10px;
	}

	.navbar-logo-text strong, .navbar-logo-text em {
		font-size: 1.1rem !important;
	}

	.navbar-nav > li > a {
		padding-left: 15px;
		padding-right: 15px;
	}

	.has-dropdown.ml-50 {margin-left: 30px;}

	#news .grid .card:first-child {
		grid-column: span 2;
	}

	#skroty .btn {
		padding: .5em 1em;
	}

	#skroty .btn:hover {
		padding-left: 1.25em;
		padding-right: .75em;
	}

	.copy {
		font-size: 0.8125rem;
	}

	footer .lg\:w-4-12 .flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	footer .lg\:w-4-12 .flex img {
		margin-right: 0;
		margin-bottom: 15px;
	}
}


@media screen and (max-width: 1000px) {
	.has-dropdown.ml-50 {margin-left: 0;}

	#news .md\:w-3-12 {
		margin-top: 30px;
	}

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

	.flex.last {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
}

@media screen and (max-width: 620px) {
	:root {
		--sectionPadding: 50px !important
	}
	.home header .swiper-slide img {
		height: 300px;
		width: 100%;
		object-fit: cover;
		object-position: center;
	}

	#news .grid .card:first-child {
		grid-column: span 1;
	}
}




@media screen and (max-width: 580px) {
	#news .card:first-child img {
		height: 300px;
		width: 100%;
		object-fit: cover;
		object-position: center;
	}

	.card.over:first-child .card-title {
		font-size: var(--h4);
	}
}


@media screen and (max-width: 400px) {
	.navbar-logo-image {
		height: 44px;
		margin-right: 10px;
	}
	.navbar-logo-text strong, .navbar-logo-text em {
		font-size: .8rem !important;
	}
}