.header-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}



.sub .slogan {
	width: calc(100% * 5/12);
	padding-top: 100px;
}

.sub .slogan h1 {
	font-size: clamp(1.2rem, var(--h2), 4vw);
}

.slogan ul {
	padding-left: 1em;
}

.slogan li {
	line-height: 1.3;
}

.slogan li + li {margin-top: 0.5em;}

.no-header .header-image {display: none;}
.no-header header {height: 330px;}
.no-header .absolute .container.items-center {
	align-items: flex-end;
}

.sub.no-header main {
	padding-top: 0;
}

.no-header #formularz.py-sp {
	padding-top: 0;
}

table {
	width: 100%;
	border-radius: .5rem;
	overflow: hidden;
}

th, td {
	border: 0;
	padding: 1em 1.5em;
}

th {
	background-color: var(--primary);
	color: white;
	text-align: left;
}

td {
	background-color: #fff;
	border-bottom: 1px solid var(--bgLight);
}

aside, .sub main {
	padding: calc(var(--sectionPadding) / 2) 0;
}

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

aside h4 {
	font-size: var(--h5);
	margin-top: 0;
}

aside .nav {
	margin: 0;
	padding: 0;
	width: 100%;
}

aside .nav li {
	margin: 0;
	padding: 0;
	list-style: none;
}

aside .nav a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	line-height: 1.3;
	padding: 10px 25px;
	text-decoration: none;
	border-left: 2px solid var(--borderColor);
	transition: all .2s;
	color: var(--textColor);
}

aside .nav a:hover,
aside .nav .active > a,
aside .nav a.active {
	border-left-color: var(--primary);
}

aside .nav a:hover {
	padding-left: 30px;
	padding-right: 20px;
}

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


.gallery a {
	overflow: hidden;
}

.gallery img {
	display: block;
	width: 100%;
	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;
}

header .lead {color: black;}
header a {text-decoration: none;}



/*

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

*/



@media screen and (max-width: 1300px) {
	.header-image {margin-right: -10vw;}
}



@media screen and (max-width: 1199px) {
	.sub .slogan {
		width: calc(100% * 6/12);
		padding-top: 5vh;
	}

	.header-image {margin-right: -15vw;}

	header .lead {
		font-size: 1rem;
	}

	header a {text-decoration: none;}
}


@media screen and (max-width: 1022px) {
	.header-image {display: none;}

	header .absolute {
		position: relative;
		inset: 0;
		width: 100%;
	}

	.sub .slogan {
		width: 100%;
		padding-top: 100px;
		font-size: 1rem;
	}

	header {
		height: auto !important;
	}

	#formularz {padding-top: 0;}
}



@media screen and (max-width: 760px) {
	.slogan {margin-top: 30px;}

	.sub .slogan h1 {
		font-size: 3rem;
	}

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



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

	.slogan {
		text-align: left;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.slogan span, .slogan strong, .slogan small {
		text-align: left;
	}
}