@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: "Outfit", sans-serif;

	--primary-color: hsl(66 70% 51%);
	--primary-color-light: hsl(66 70% 61%);
	--primary-color-dark: hsl(66 70% 41%);

	--xxl: 5rem;
	--xl: calc(var(--xxl) / 2);

	--bs-primary: hsl(66 70% 51%);
	--bs-primary-rgb: 200, 218, 43;

	--bs-light: hsl(48 50% 96%);
	--bs-light-rgb: 250, 248, 240;

	--bs-dark: hsl(207 62% 18%);
	--bs-dark-rgb: 17, 48, 73;

	--bs-secondary-color: hsl(207 62% 18% / .5);

	--bs-body-color: hsl(207 62% 18%);
	--bs-border-color: hsl(247 16% 89%);

	--h1: clamp(2.075rem, 2.075rem + ((1vw - 0.2rem) * 1.333), 2.9875rem);
	--h2: clamp(1.725rem, 1.725rem + ((1vw - 0.2rem) * 1.333), 2.4875rem);
	--h3: clamp(1.4375rem, 1.4375rem + ((1vw - 0.2rem) * 1.333), 2.075rem);
	--h4: clamp(1.2rem, 1.2rem + ((1vw - 0.2rem) * 1.333), 1.725rem);
	--h5: clamp(1.15rem, 1.15rem + ((1vw - 0.2rem) * 1.333), 1.4375rem);
	--h6: clamp(1.1rem, 1.1rem + ((1vw - 0.2rem) * 1.333), 1.2rem);
	--lead: var(--h5);
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
	outline-offset: 2px;
}

a {
	color: var(--bs-dark);
	text-decoration: underline;
	transition: color 200ms, text-decoration-color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
		text-decoration-color: var(--primary-color);
	}
}

body {
	font-family: var(--font);
	line-height: 1.7;
	padding-top: 198.2px;
	background-color: white;
}

.semibold,
b,
strong {
	font-weight: 600 !important;
}

.font-size-12px {
	font-size: .75rem;
}

.font-size-14px {
	font-size: .875rem;
}

.font-size-16px {
	font-size: 1rem;
}

.font-size-18px {
	font-size: 1.125rem;
}

.font-size-20px {
	font-size: 1.25rem;
}

.font-size-22px {
	font-size: 1.375rem;
}

.font-size-24px {
	font-size: 1.5rem;
}

.font-size-26px {
	font-size: 1.625rem;
}

.font-size-28px {
	font-size: 1.75rem;
}

.font-size-30px {
	font-size: 1.875rem;
}

.font-size-32px {
	font-size: 2rem;
}

.font-size-34px {
	font-size: 2.125rem;
}

.font-size-36px {
	font-size: 2.25rem;
}

.font-size-38px {
	font-size: 2.375rem;
}

.font-size-40px {
	font-size: 2.5rem;
}

.font-size-42px {
	font-size: 2.625rem;
}

.font-size-44px {
	font-size: 2.75rem;
}

.font-size-46px {
	font-size: 2.875rem;
}

.font-size-48px {
	font-size: 3rem;
}

.font-size-50px {
	font-size: 3.125rem;
}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px,
[src*="_72px"] {
	width: 72px;
}

.icon-48px,
[src*="_48px"] {
	width: 48px;
}

.icon-32px,
[src*="_32px"] {
	width: 32px;
}

.icon-16px,
[src*="_16px"] {
	width: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-family: var(--font);
	margin-bottom: 1rem;
	font-weight: 600;
	color: var(--bs-dark);
}

h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em,
.h1 em,
.h2 em,
.h3 em,
.h4 em,
.h5 em,
.h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
}

h2,
.h2 {
	font-size: var(--h2) !important;
}

h3,
.h3 {
	font-size: var(--h3) !important;
}

h4,
.h4 {
	font-size: var(--h4) !important;
}

h5,
.h5 {
	font-size: var(--h5) !important;
}

h6,
.h6 {
	font-size: var(--h6) !important;
}

.lead {
	font-size: var(--lead);
}

.container-fluid {
	padding-inline: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 5rem);
}

@media (min-width: 1330px) {
	.container {
		max-width: 1290px;
	}
}

.inset-0 {
	inset: 0;
}

.p-xxl {
	padding: var(--xxl);
}

.p-xl {
	padding: var(--xl);
}

.px-xxl {
	padding-inline: var(--xxl)
}

.px-xl {
	padding-inline: var(--xl)
}

.pt-xxl {
	padding-top: var(--xxl);
}

.pb-xxl {
	padding-bottom: var(--xxl);
}

.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}

.mt-xxl {
	margin-top: var(--xxl);
}

.mb-xxl {
	margin-bottom: var(--xxl);
}

.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {
	padding-top: var(--xl);
}

.pb-xl {
	padding-bottom: var(--xl);
}

.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}

.mt-xl {
	margin-top: var(--xl);
}

.mb-xl {
	margin-bottom: var(--xl);
}

.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

.mt-3xxl {
	margin-top: calc(var(--xxl) * 3);
}

#main ol li ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main ol li+li {
	margin-top: 1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 0;
	--bs-navbar-active-color: var(--primary-color);
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: box-shadow 200ms, transform 200ms;
	background-color: white;
}

.hidden-top.affix {
	transform: translateY(-100%);
}

.navbar.affix {
	box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
}

.navbar-brand {
	margin: 0;
	padding: 0;
}

.navbar-brand-image {
	height: 42px;
	transition: height 200ms;
}

.affix .navbar-brand-image {
	height: 25px;
}

.social-media img {
	height: 24px;
}



.navbar-top-right>a,
.navbar-top-right>.social-media {
	position: relative;
	padding-left: 1.75rem;

	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		width: 1px;
		height: 58px;
		transform: translateY(-50%);
		background-color: var(--bs-border-color);
	}
}

.navbar-nav .nav-link {
	font-weight: 400;
	font-size: var(--h6);
	color: var(--bs-dark);
	transition: color 200ms;
	padding-top: 30px;
	padding-bottom: 30px;
	line-height: 1;
	transition: padding 200ms, color 200ms;
}

.affix .navbar-nav .nav-link {
	padding-top: 15px;
	padding-bottom: 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	color: var(--primary-color);
}


.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: 0;
	content: "";
	border: 0;
	width: .5rem;
	height: .5rem;
	background-image: url(../img/drop.svg);
	background-repeat: no-repeat;
	background-size: contain;
}

.navbar-nav>li>.dropdown-menu>li>a {
	font-size: var(--h6);
	font-weight: 600;
}

.dropdown-menu {
	border: 0;
	min-width: 266px;
	box-shadow: 0 0 1rem hsl(0 0% 0% / .15);
	padding: 1.5rem;
	border-radius: .25rem;
	transition: transform 200ms, opacity 200ms;

	& a {
		color: var(--bs-dark);
		text-decoration: none;
		display: block;
	}
}

.dropdown-menu.show {
	animation: dropdown 200ms forwards;
}

@keyframes dropdown {
	from {
		transform: translateY(-1.5rem);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.dropdown-item {
	padding: 0.25rem 0;
	transition: color 200ms, border-color 200ms;
	border-bottom: 1px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--primary-color);
	background-color: transparent;
	border-bottom-color: var(--primary-color);
}

.navbar-top .container {
	padding-top: 30px;
	padding-bottom: 30px;
	transition: padding 200ms;
}

.navbar-bottom .container {
	border-top: 1px solid var(--bs-border-color);
}

.affix {
	& .navbar-top .container {
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

.navbar-top {
	& .dropdown-toggle::after {
		display: none;
	}

	& a:not(.btn) {
		color: var(--bs-dark);
		text-decoration: none;
		transition: color 200ms;

		&:hover,
		&:focus {
			color: var(--primary-color);
		}
	}

	& button {
		border: 0;
		padding: 0;
		background-color: transparent;
	}
}

.dropdown-item {
	white-space: normal;
	line-height: 1.3;
}

/*  MARK: header  */

.baner {
	background-image: url(../img/header.png);
	background-repeat: no-repeat;
	background-size: auto 150%;
	background-position: center;
	height: 560px;

	animation: zoom-bg-out 5s 1 cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes zoom-bg-out {
	from {
		background-size: auto 150%;
	}

	to {
		background-size: auto 100%;
	}

}

header .boksy {
	transform: translateY(50%);

	& a {
		text-decoration: none;
		color: var(--bs-dark);
		transition: color 200ms;

		&:hover,
		&:focus {
			color: var(--primary-color);
		}
	}

	& .shadow {
		box-shadow: 0 .25rem 3rem hsl(0 0% 0% / .12) !important;
	}
}

header .shadow {
	padding: 30px;
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1rem;
	--bs-btn-font-size: var(--h6);
	--bs-btn-font-weight: 600;
	--bs-btn-line-height: 1.3;
	--bs-btn-border-radius: .25rem;
}

.btn-primary {
	--bs-btn-bg: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color-light);
	--bs-btn-hover-border-color: var(--primary-color-light);
	--bs-btn-active-bg: var(--primary-color-dark);
	--bs-btn-active-border-color: var(--primary-color-dark);

	--bs-btn-color: var(--bs-dark);
	--bs-btn-hover-color: var(--bs-dark);
	--bs-btn-active-color: var(--bs-dark);
}

.btn-outline-primary {
	--bs-btn-color: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-bg: var(--primary-color);
	--bs-btn-hover-border-color: var(--primary-color);
	--bs-btn-active-bg: var(--primary-color);
	--bs-btn-active-border-color: var(--primary-color);
}

p:last-child {
	margin-bottom: 0;
}

.card-body {
	padding: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 40px);
}

.card-title-link {
	color: var(--bs-dark);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

#news .swiper-wrapper {
	align-items: stretch !important;
}

#news .swiper-slide {
	height: auto !important;
}

.card {
	border: 0 !important;
}

.card.shadow {
	box-shadow: 0 0.25rem 3.75rem hsl(219 36% 15% / .12) !important;
}

.card[x-data] {
	cursor: pointer;
}

.card-img-top img {
	height: auto;
	object-fit: cover;
	aspect-ratio: 16/10;
	transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card[x-data]:hover,
.card-img-top:hover img {
	transform: scale(1.05);
}

.btn:has(img) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

#news .swiper {
	padding-bottom: 3.5rem;
	overflow: visible;
}

#news .swiper-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.25rem;
}

#news .swiper-pagination-bullet {
	width: 0.75rem;
	height: 0.75rem;
	background-color: hsl(0 0% 0% / .5);
	transition: background-color 200ms, width 200ms, height 200ms;
}

#news .swiper-pagination-bullet-active {
	background-color: var(--primary-color);
	width: 1rem;
	height: 1rem;
}

#news .container-fluid {

	&::before {
		content: '';
		display: block;
		width: 150px;
		height: 100%;
		background-image: linear-gradient(to left, hsl(0 0% 100% / 0), var(--bs-light));
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;
		pointer-events: none;
	}

	&::after {
		content: '';
		display: block;
		width: 150px;
		height: 100%;
		background-image: linear-gradient(to right, hsl(0 0% 100% / 0), var(--bs-light));
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		pointer-events: none;
	}

	& .swiper-button-prev,
	& .swiper-button-next {
		width: 48px;
		height: 48px;
		border-radius: 50%;
		background-image: url(../img/prev.svg);
		padding: 0;
		box-shadow: 0 0 1rem hsl(0 0% 0% / .15);

		transition: transform 200ms;

		&:active {
			transform: scale(0.9) !important;
		}

		&::before,
		&::after {
			display: none;
		}
	}

	& .swiper-button-next {
		background-image: url(../img/next.svg);
	}

	& .swiper-button-prev:hover {
		transform: translateX(-3px);
	}

	& .swiper-button-next:hover {
		transform: translateX(3px);
	}
}

.news-header-img {
	aspect-ratio: 16/10;
}

@media (min-width: 991px) {
	aside.ps-lg-5 {
		border-left: 1px solid var(--bs-border-color);
	}
}

.gospodarczy-gostyn-images {
	width: 100%;
	aspect-ratio: 1/1;

	& .gospodarczy-gostyn-image-wrapper-1,
	& .gospodarczy-gostyn-image-wrapper-2,
	& .gospodarczy-gostyn-image-wrapper-3 {
		border-radius: .75rem;
		overflow: hidden;
	}
}

.gospodarczy-gostyn-image-wrapper-1 {
	position: relative;
	z-index: 1;
	width: 63.33%;
	height: auto;
	aspect-ratio: 1/1;
}

.gospodarczy-gostyn-image-1,
.gospodarczy-gostyn-image-2,
.gospodarczy-gostyn-image-3 {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
}

.gospodarczy-gostyn-image-wrapper-2 {
	position: absolute;
	top: 5%;
	right: 5%;
	z-index: 2;
	width: 26.67%;
	height: auto;
	aspect-ratio: 1/1;
}

.gospodarczy-gostyn-image-wrapper-3 {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 3;
	width: 63.33%;
	height: auto;
	aspect-ratio: 1/1;
}

p:has(.btn:only-child) {
	margin-top: 1.5rem;
}

#banery a {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 286/132;

	& img.position-relative {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

	& span+img {
		transition: transform 300ms;
	}

	&:hover,
	&:focus {
		& img.position-relative {
			transform: scale(1.1);
		}

		& span+img {
			transform: rotate(45deg);
		}
	}

	& .position-absolute {
		padding: 1.5rem;
		background-color: var(--bs-secondary-color);


		& .h5 {
			color: white;
			margin: 0;
		}
	}
}

#marki a img {
	width: 100%;
	max-height: 105px;
	object-fit: contain;
}




/*  MARK: stopka */

footer h2 {
	color: white !important;
	margin-bottom: 1.5rem !important;
}

footer table td {
	background-color: transparent !important;
	color: white !important;
	border-color: hsl(0 0% 100% / .25);
}

footer .accordion-item {
	background-color: transparent !important;
	border: 0 !important;
	color: white !important;
}

footer .accordion-button {
	background-color: transparent !important;
	color: white !important;
	border-radius: 0 !important;
	border-bottom: 1px solid hsl(0 0% 100% / .25);
}

.accordion-button::after {
	filter: grayscale(1) brightness(0) invert(1);
}


footer a {
	text-decoration: none;
	color: white;
	transition: color 200ms;
}

footer a:hover,
footer a:focus {
	color: var(--primary-color-light);
}


.madeby {
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.15em 0.2em 0 0;
}

/*  MARK: sub content  */

#breadcrumb a {
	color: var(--bs-secondary-color);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

#breadcrumb .breadcrumb-item.active {
	color: var(--bs-dark);
}

main:has(#sub-pages:last-of-type) {
	padding-bottom: 0;
}



.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: .75rem;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;
}

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

.form-control,
.form-check-input {
	border-radius: .25rem;
	padding: .75rem;
	transition: border-color 200ms;

	&:hover,
	&:focus {
		border-color: var(--primary-color);
	}
}

.form-control.error {
	border-color: red;
}

.error-msg {
	color: red;
}

aside .list-group .list-group-item {
	border: 0;
	transition: color 200ms, padding 200ms, opacity 200ms;
	padding-left: 1em !important;
	color: var(--bs-body-color) !important;
	opacity: .7;

	border-left: 1px solid var(--bs-border-color) !important;

	&:hover,
	&:focus {
		color: var(--bs-dark) !important;
		padding-left: 1.1em !important;
		opacity: 1;
	}
}

aside .list-group .active {
	opacity: 1 !important;
	background-color: transparent !important;
	color: var(--bs-dark) !important;
	border-left-color: var(--bs-dark) !important;
}

/*  MARK: paginator  */

.pagination {
	display: flex;
}

.pagination li {
	display: none;
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block;
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all .2s;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 600;
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	cursor: text;
}

.pagination .insertPage+.insertPage {
	display: none;
}





/*  MARK: RWD  */

@media (max-width: 1199px) {

	section:has([data-aos=fade-right]),
	section:has([data-aos=fade-left]) {
		overflow: hidden;
	}

	.navbar-brand-image {
		height: 37px;
	}

	.navbar-bottom .container {
		border: 0;
	}

	body {
		padding-top: 98.2px;
	}

	.navbar-nav .nav-link {
		padding-top: 10px;
		padding-bottom: 10px;
		padding-inline: .5rem;
		border-radius: .25rem;
		color: white;

		&:hover,
		&:focus,
		&.active,
		&.show {
			background-color: var(--primary-color-dark);
			color: var(--bs-dark);
		}
	}

	.dropdown-toggle::after {
		filter: invert(1);
	}

	.navbar-nav {
		display: flex;
		gap:.5rem;
		flex-direction: column;
	}
}

@media (max-width: 991px) {
	.baner {
		height: 430px;
	}

	#gospodarczy-gostyn {
		margin-top: var(--xxl) !important;
	}

	header .boksy {
		transform: none;
	}

	.row:has(aside.pe-lg-5) {
		& aside {
			order:2;
			margin-top: 2rem;
		}

		& article {
			order:1
		}
	}

	.news-header {
		padding-bottom: var(--xl);
	}
}


@media (max-width: 767px) {
	#marki .d-flex {
		flex-wrap: wrap;

		& a {
			flex-basis: 25%;
		}
	}

	main {
		overflow: hidden;
	}
}


@media (max-width: 575px) {
	.navbar-brand-image {
		height: 30px;
	}

	.baner {
		height: auto;
		padding-bottom: var(--xxl);

		& .mt-xl {
			margin-top: 0;
		}
	}

	#news .swiper {

		&::before,
		&::after {
			display: none;
		}
	}

	#news .swiper-button-prev,
	#news .swiper-button-next {
		display: none;
	}

	#news .bg-light {
		padding-inline: 1.5rem !important;
	}

	header .badge.h6 {
		font-size: clamp(.66rem, .66rem + ((1vw - 0.2rem) * 1.333), 1rem) !important;
	}

	header strong.h1 {
		font-size: var(--h3) !important;
	}

	#banery a {
		& .position-absolute {
			& .h5 {
				font-size: clamp(.75rem, .75rem + ((1vw - 0.2rem) * 1.333), 1rem) !important;
			}
		}

		& span+img {
			width: .66rem;
		}

		& .position-absolute {
			padding: 0.5rem;
		}
	}

	#breadcrumb nav {
		font-size: .75rem;
		line-height: 1.3;
	}
}


@media (max-width: 399px) {
	.navbar-brand-image {
		height: 24px;
	}
}