
main {
	margin-top: calc(var(--sectionPadding) / 2);
	margin-bottom: var(--sectionPadding);
}

.sub h1 {margin-top: 0;}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
	font-style: normal;
	background: hsla(328, 95%, 46%, 0.122);
}

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


.gallery a {
	overflow: hidden;
}

.gallery img {
	transition: all var(--fastSpeed) var(--easeOutBack);
}

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

.downloads .text {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: 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;
}

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

input[type="checkbox"] {width: auto;}

textarea {
	height: 15.7rem;
}

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

.error {
	border-color: red;
}

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

.star {
	color: red;
}

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

.offer-box {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	border: 1px solid #e2e2e2;
	margin-top: 30px;
	height: calc(100% - 30px);
	transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
	border-radius: .5rem;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

/* .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    content: "";
} */

.offer-box:hover {
	box-shadow: 0px 20px 50px #0000000f;
	border: 1px solid var(--linkColor);
	background: var(--linkColor);
	color: white;
}

.offer-box:hover a {
	color: white;
}

.offer-box:hover h5 {
	color: white;
}

.offer-box:hover img {
	filter: brightness(0) invert(1);
}


#form-wycena textarea {height: 6.5rem;}

@media screen and (max-width: 1023px) {
	aside:not(article+aside) {display: none;}
}

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