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

.sub.header {
	max-height: 300px;
	overflow: hidden;
	display: flex;
	align-items: center;

}

.sub.header h1 {
	margin: 0;
	color: white;
}

.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,
asde .nav .active > a,
aside .nav a.active {
	border-left-color: var(--primary);
}

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

asde .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;
}

form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 15rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}



/*

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

*/


@media screen and (max-width: 1299px) {
	h2 {font-size: var(--h3);}
	h3 {font-size: var(--h4);}
	h4 {font-size: var(--h5);}
	h5 {font-size: var(--h6);}
}


@media screen and (max-width: 1199px) {
	header .slogan h1 {font-size: var(--h3);}

	.bg-light.p-40 {padding: 15px;}
}



@media screen and (max-width: 1023px) {
	.md\:w-4-12 + .md\:w-4-12 {margin-top: 50px;}
	.md\:w-4-12 img.w-full {margin-bottom: 20px; max-height: 70vh; object-fit: cover;}

	.kontaktowa iframe {
		margin: 30px 0;
		display: block;
		width: 100%;
		height: 350px;
	}
}

@media screen and (max-width: 799px) {
	.sub.header .swiper-container img {
		width: 100%;
		height: 250px;
		object-fit: cover;
		object-position: right center;
	}

	.sub.header .slogan h1 {
		color: var(--primary);
	}
}





@media screen and (max-width: 590px) {
	.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;
	}


	.sub.header .swiper-container img {
		height: 200px;
	}

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


	.grid-cols-3 {grid-template-columns: 1fr 1fr; margin-bottom: 30px;}


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


@media screen and (max-width: 479px) {
	.gallery a {margin-bottom: 30px;}
}