html { scroll-behavior: smooth; }

.sub header .swiper-slide img {
	height: 600px;
	width: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.sub main {
	position: relative;
	z-index: 20;
}

.sub #main::before {
	content:'';
	display: block;
	background-color: #fff;
	width: 90%;
	margin-left: 5vw;
	height: 100px;
	margin-top: -100px;
}

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


#boksy {
	margin-top: calc(var(--sectionPadding) / 2);
}

#paralaksa {
	height: 600px;
	background-size: cover;
	background-attachment: fixed;
	margin-bottom: calc(var(--sectionPadding) / 2);
}

#second-content {
	margin-bottom: calc(var(--sectionPadding) / 2);
}

.p-30.bg-light p:last-child {margin: 0;}

.p-30.bg-light h2,
.p-30.bg-light h3,
.p-30.bg-light h4,
.p-30.bg-light h5,
.p-30.bg-light h6 {
	margin-top: 0;
	margin-bottom: 20px;
}

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 #E0E2E6;
	transition: all .2s;
}

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



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

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

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;
	line-height: 1;
	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 hsla(0, 0%, 0%, .1);
}

.downloads a:hover {
	color: var(--primary);
	box-shadow: 0 10px 20px -5px hsla(0, 0%, 0%, .2);
	transform: translateY(-2px);
}

.download-icon {
	position: relative;
	top: -2px;
}

.downloads a strong {
	transition: all .2s;
}

.downloads a:hover strong {
	color: var(--primary);
}

.downloads a img:not(.download-icon) {
	height: 52px;
}

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

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

textarea {
	height: 16.4rem;
}

.ok {
	border-color: #e2e2e2;
}

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


.sub #mapa {
	margin-top: 120px;
}

#boxes .card {
	position: relative;
}

/* :target {
	margin-top: -100px;
}

:target::before {
	content: '';
    display: block;
    position: relative;
	width: 0;
	height: 100px;
    top: -100px;
    visibility: hidden;
} */

.chessboard >.flex {
	box-shadow: 0 0 50px hsla(0, 0%, 0%, .05);
}

.chessboard >.flex:nth-child(odd) {
	flex-direction: row-reverse;
}

.chessboard .flex p {
	font-size: 0.875rem;
}

.chessboard .flex .content {
	flex-direction: column;
	justify-content: center;
	display: flex;
}

.chessboard .card-title {
	height: auto !important;
	margin: 0 0 10px;
}


#info {
	padding-top: var(--sectionPadding);
}


.slider .swiper-slide {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding-bottom: 40px;
}

.slider .swiper-next,
.slider .swiper-prev {
	position: absolute;
	top: calc(50% - 60px);
	z-index: 666;
	padding: 0 15px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}

.slider .swiper-next:hover,
.slider .swiper-prev:hover {
	opacity: 0.7;
}

.slider .swiper-prev {
	left: 0;
}

.slider .swiper-prev:active {
	-webkit-transform: translateX(-2px);
	transform: translateX(-2px);
}

.slider .swiper-next {
	right: 0;
}

.slider .swiper-next:active {
	-webkit-transform: translateX(2px);
	transform: translateX(2px);
}

.slider .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #fff;
	border: 1px solid #e2e2e2;
	opacity: 0.8;
}

.slider .swiper-pagination-bullet:hover {
	opacity: 1;
}

.slider .swiper-pagination-bullet-active {
	background: #e2e2e2;
	opacity: 1;
}

.slider .swiper-slide {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.slider .swiper-slide a {
	max-width: 73%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider .swiper-slide img {
	padding: 30px;
	max-width: 100%;
	display: block;
	border: 1px solid #f2f2f2;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-ms-flex-negative: 1;
	flex-shrink: 1;
	flex-grow: 0;
}



#zapytanie_form form {
	max-height: 70vh;
	overflow-y: auto;
	padding: 0 30px;
}

#zapytanie_form input,
#zapytanie_form textarea {
	padding: 0.5rem;
	font-size: 0.875rem;
}

#zapytanie_form label p,
#zapytanie_form label li {
	font-size: 0.875rem;
}

.garaz-info {display: none;}

.lg-object {
	background-color: #fff;
	padding: 30px;
}

.affix {
	z-index: 888;
}


@media screen and (max-width: 1366px) {
	.sub #main::before {
		width: 95%;
		margin-left: 2.5vw;
	}

	.sub header .swiper-slide img {
		height: auto;
	}
}

@media screen and (max-width: 1024px) {
	.sub #main::before {
		height: 80px;
		margin-top: -80px;
	}
}

@media screen and (max-width: 1022px) {
	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media screen and (max-width: 640px) {
	.sub #main::before {
		display: none;
	}

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

	header .swiper-pagination {display: none;}
}


@media screen and (max-width: 414px) {
	.sub h1 {font-size: var(--h2);}
	.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: 360px) {
	.sub h1 {font-size: var(--h3);}
	.sub h2 {font-size: var(--h4);}
	.sub h3 {font-size: var(--h5);}
	.sub h4 {font-size: var(--h6);}
}