html {
	scroll-behavior: smooth;
	scroll-padding-top: 200px;
	scroll-margin-top: 200px;
}

.navbar {
	border-bottom: 1px solid hsl(0, 0%, 0%, .1);
}

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

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

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

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;
	text-decoration: none;
	padding: 10px 25px;
	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);}



aside .card {
	margin-bottom: 30px;
}

aside .card-image {
	width: 100px;
	margin-right: 20px;
}

aside .card-image::after {display: none;}

aside .card-title {
	margin: 0 0 5px;
	line-height: 1.1;
}


#main ol li::marker {color: var(--textColor);}

.gallery a {
	overflow: hidden;
	border-radius: 8px;
}

.gallery img {
	width: 100%;
	display: block;
	transition: all var(--normalSpeed) var(--ease);
}

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


.downloads a {
	display: flex;
	border-radius: 8px;
	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;
}

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



table {
    width: 100%;
    padding: 0px;
    overflow: hidden;
    border: 20px solid #e6e8eb;
    border-radius: 12px;
    border-collapse: separate;
	background: #e6e8eb;
	margin: 30px 0;
}
table th {
	text-align: left;
}

table small {
	line-height: 1;
}

table tr {
    background: white;
	border: none;
	border-bottom: 1px solid #e6e8eb;
}

table tr:last-of-type {
	border-bottom: none;
}

table tr th,
table tr td {
	border: none;
}

table tr th, table tr td {
	border-bottom: 1px solid #e6e8eb;
}

table tr,
table tr th,
table tr td {
	padding: 2rem 2rem;
	transition: 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
/*
table tr:hover td {
	background-color: #e6e8eb;
}
*/
table tr:first-child td:first-child {
    border-top-left-radius: 12px;
}

table tr:first-child td:last-child {
    border-top-right-radius: 12px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

table tr td p:first-of-type {
	margin-top: 0px;
}

table tr td p:last-of-type {
	margin-bottom: 0px;
}

table.cennik h5 {
	margin-top: 0px;
	margin-bottom: 5px;
}




/*


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


*/



@media screen and (max-width: 1020px) {
	.sub section {
		overflow: visible;
	}

	.flex.row {
		margin-left: 0;
		margin-right: 0;
	}

	.circle.w-full {
		width: 50%;
		aspect-ratio: 1/1;
		margin: 0 auto 30px;
	}

	section .justify-between.mb-60, section .justify-between.mb-60 .flex {
		text-align: left;
	}

	.bg-light h3.ml-30 {margin-left: 0;}

	.bg-primary .ml-30 {margin-left: 0 !important; margin-top: 15px;}
}



@media screen and (max-width: 920px) {
	#main .grid-cols-2 {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 720px) {
	.grid .bg-light,
	.grid .bg-primary {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	.grid .bg-light h3 {
		margin-top: 15px;
	}
}



@media screen and (max-width: 590px) {
	.sub h1 {font-size: var(--h3)}
	.sub h2 {font-size: var(--h4)}
	.sub h3 {font-size: var(--h5)}
	.sub h4 {font-size: var(--h6)}
	.sub h5 {font-size: var(--h6)}

	.flex.row {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.flex.row span + span .btn {
		margin-top: 15px;
	}

	.thumbnail.right {
		float: none;
		max-width: 100%;
		margin: 0 0 30px 0;
	}

	.circle.w-full {
		width: 60%;
	}
}