@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Eudoxus Sans', sans-serif;

	--primary-color: hsl(172 59% 30%);
	--primary-color-light: hsl(172 59% 40%);
	--primary-color-dark: hsl(172 59% 20%);

	--xxl: 7.5rem;
	--xl: 3.75rem;

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 31, 122, 110;

	--bs-light: hsl(231 28% 95%);
	--bs-light-rgb: 239, 240, 246;

	--bs-dark: hsl(180 53% 7%);
	--bs-dark-rgb: 9, 29, 29;

	--bs-body-color: var(--bs-dark);

	--bs-link-hover-color: var(--primary-color);
	--bs-link-hover-color-rgb: var(--bs-primary-rgb);

	--h1: clamp(2.44375rem, 4vw, 3.8125rem);
	--h2: clamp(1.95625rem, 3vw, 3.05rem);
	--h3: clamp(1.5625rem, 2.5vw, 2.44375rem);
	--h4: clamp(1.25rem, 2vw, 1.95625rem);
	--h5: clamp(1.15rem, 1.5vw, 1.5625rem);
	--h6: clamp(1.1rem, 1.25vw, 1.25rem);
	--lead: var(--h6);

	--affix-height: 80px;
}

[x-cloak] {
	display: none !important;
}

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

@view-transition {
	navigation: auto;
}

html {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	scroll-padding-top: var(--affix-height);
}

body {
	font-family: var(--font);
	line-height: 1.60;
	padding-top: 217px;

	&:has(.fixed-alert) {
		padding-top: 275px;
	}
}

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

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;
	text-wrap: balance;
}

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

.lead,
p {
	text-wrap: pretty;
}

.container-fluid {
	padding-inline: 3vw;
}

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

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

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

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



/*  MARK: navbar  */

.fixed-alert {
	z-index: 9999;
}

.fixed-alert+.navbar {
	margin-top: 58px;
}

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 1.875rem;
	--bs-navbar-active-color: var(--primary-color);
	--bs-navbar-nav-link-padding-x: 1rem;
	background-color: #fff;

	transition: padding 200ms, box-shadow 200ms;
}

.navbar.affix {
	--bs-navbar-padding-y: .5rem;
	box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition-behavior: allow-discrete;
	transition: transform 300ms, opacity 300ms;

	&.show {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}
}

.offcanvas-top {
	border-bottom: 1px solid var(--bs-border-color);
	padding-bottom: var(--bs-navbar-padding-y);

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

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

.offcanvas-bottom {
	padding-top: calc(var(--bs-navbar-padding-y) - 1rem);
}

.navbar-brand {
	padding: 0;
	margin-right: 1.875rem;
}

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

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

.navbar-nav .nav-link {
	color: var(--bs-body-color);
	transition: color 200ms, background-color 200ms;

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

.dropdown-menu {
	border: 0;
	min-width: 250px;
	max-width: 300px;
	padding: .75rem;
	border-radius: 0;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 100%);
	transform: translateY(-1rem);
	opacity: 0;
	pointer-events: none;
	display: block;
	transition: transform 200ms cubic-bezier(0.165, 0.84, 0.44, 1), opacity 200ms cubic-bezier(0.165, 0.84, 0.44, 1);
	transition-behavior: allow-discrete;

	& a {
		white-space: normal;
		line-height: 1.3;
	}

	&.show {
		transform: translateY(0);
		opacity: 1;
		pointer-events: all;
	}
}

.dropdown-item {
	padding: 0.25rem .75rem;
	transition: color 200ms, background-color 200ms;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.navbar-nav .active>a {
	color: white;
	background-color: var(--primary-color);
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: 1px;
	content: "";
	border: 0;
	width: 10px;
	height: 7px;
	background-image: url(../img/drop.svg);
	background-size: contain;
	background-repeat: no-repeat;
	transition: filter 200ms;
}

.dropdown-toggle:hover::after,
.dropdown-toggle:focus::after,
.dropdown-toggle.active::after {
	filter: invert(1);
}

.dropdown:hover,
.dropdown:has(a:hover, a:focus) {

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

	&>.dropdown-menu {
		transform: translateY(0);
		pointer-events: all;
		opacity: 1;
	}
}

.dropdown-menu .dropdown-menu {
	top: 0;
	left: 100%;
}

/*  MARK: header  */

.header-image {
	object-fit: cover;
	object-position: right;
}


/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: .875rem;
	--bs-btn-font-weight: 400;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 0;
	font-family: var(--font);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

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

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

#porady {
	background-image: url(../img/greenbg.webp);
	background-size: cover;

	& .card-title-link {
		color: white;
		text-decoration: none;
		transition: color 200ms;

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

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

	&:hover {
		& .card-img-top img {
			transform: scale(1.1);
		}
	}
}

.card {
	border: 0;
	border-radius: 0;
	background-color: transparent;
}

.card-img-top {
	overflow: hidden;
	display: block;
	border-radius: 0;

	& img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 376/251;
		object-fit: cover;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}
}

.card-body {
	padding-inline: 0;
}

#szkolenia small {
	display: block;
	line-height: 1.15;
	margin: 1rem 0;
	opacity: .48;
}

#szkolenia .swiper {
	overflow: visible;
	padding-bottom: var(--xl) !important;
}

#szkolenia .swiper-wrapper {
	align-items: stretch;

	& .swiper-slide {
		height: auto;
	}
}

#szkolenia .swiper-pagination {
	width: 100%;
	left: 0;
	display: flex;
	gap: .5rem;
}

#szkolenia .swiper-pagination-bullet {
	flex: 1;
	border-radius: 0;
	margin: 0;
	transition: background-color 200ms, opacity 200ms;

	&:hover {
		opacity: .7;
	}
}

#szkolenia .swiper-pagination-bullet-active {
	background-color: var(--primary-color);
	opacity: 1 !important;
}



/*  MARK: stopka */

.sub {
	& h1 {
		font-size: var(--h2) !important;
	}

	& h2 {
		font-size: var(--h3) !important;
	}

	& h3 {
		font-size: var(--h4) !important;
	}

	& h4 {
		font-size: var(--h5) !important;
	}

	& h5 {
		font-size: var(--h6) !important;
	}
}

.text-bg-dark .text-muted {
	color: hsl(0 0% 70%) !important;
	opacity: 1 !important;
}

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

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

.list-unstyled li+li {
	margin-top: 0.75em;
}

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

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

/*  MARK: sub content  */

.sub .swiper__image {
	height: 600px;
}

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

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.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: 0;
	transition: color 200ms, border-color 200ms;

	& .h5 {
		font-size: 1rem !important;
		font-weight: normal;
	}
}

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

.form-control {
	padding: .75rem 1rem;
	border-radius: 0;
}

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

.error-msg {
	color: red;
}

#accordionStopka {

	& .accordion-item,
	& .accordion-item * {
		color: white;
		padding-inline: 0;
		background-color: transparent;
	}

	& .accordion-item {
		border-color: hsl(0 0% 100% / .1);
	}

	& .accordion-button {
		color: hsl(0 0% 70%) !important;
		opacity: 1 !important;
	}

	& .accordion-button::after {
		content: 'Sprawdź';
		padding: 0;
		border: 0;
		width: auto;
		background-color: transparent;
		color: white !important;
	}

	& .accordion-button:not(.collapsed)::after {
		transform: none;
		content: 'Zwiń';
	}

}

.sub #main a {
	color: var(--primary-color);
	transition: color 200ms;

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


/*  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: 500;
}

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

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


.list-group {
	--bs-list-group-active-color: var(--primary-color);
	--bs-list-group-active-bg: var(--bs-light);
	--bs-list-group-active-border-color: var(--bs-light);
	--bs-list-group-item-padding-x: 0;
	--bs-list-group-item-padding-y: 0;


	& .list-group-item a {
		padding: 0.5rem 1rem;
		display: block;
		text-wrap: balance;
		transition: color 200ms, background-color 200ms, border-color 200ms, transform 200ms;

		&.active {
			color: var(--primary-color);
			background-color: var(--bs-light);
		}
	}
}

.list-group-item a {
	color: var(--bs-body-color);
	text-decoration: none;
}

.list-group-item a:hover,
.list-group-item a:focus {
	color: var(--primary-color);
	transform: translateX(3px);
}

/* MARK: Tomek */

.accordion-item:first-of-type {
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
}

.accordion-item:last-of-type {
	border-bottom-right-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
}

.accordion-item:not(:first-of-type) {
	border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}

.accordion-button:not(.collapsed) {
	color: var(--bs-accordion-active-color);
	background-color: var(--bs-light);
	box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.mt-lg-n-xxl {
	margin-top: 3rem;
}

main:has(.subpage:last-child) {
	padding-bottom: 0 !important;
}

@media (min-width: 992px) {
	.mt-lg-n-xxl {
		margin-top: -6.25rem;
	}
}

.staff-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: .75rem;
}

.staff-list li {
	display: flex;
	flex-direction: column;
	gap: .15rem;
	padding: .75rem 1rem;
	border: 1px solid var(--bs-border-color);
	background: var(--bs-light);
	transition: box-shadow .2s, border-color .2s;
}

.staff-list li:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, .09);
	border-color: var(--bs-primary);
}

.staff-list li strong {
	font-size: .875rem;
	font-weight: 600;
	color: var(--bs-dark);
}

.staff-list li em {
	font-size: .78rem;
	color: var(--bs-secondary);
	font-style: italic;
	line-height: 1.4;
}

.staff-list li a {
	font-size: .8rem;
	color: var(--bs-primary);
	text-decoration: none;
	margin-top: .2rem;
	word-break: break-all;
}

.staff-list li a:hover {
	text-decoration: underline;
}

/*  MARK: RWD  */


@media (width < 1400px) {
	.navbar {
		--bs-navbar-nav-link-padding-x: .5rem;
	}

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


@media (width < 1200px) {
	.navbar-brand-image {
		height: 110px;
	}

	body {
		padding-top: 170px;

		&:has(.fixed-alert) {
			padding-top: 170px;
		}
	}

	.fixed-alert.fixed-top {
		top: auto;
		right: auto;
		bottom: 1rem;
		left: 1rem;
	}

	.offcanvas {
		height: 100dvh !important;
	}

	.offcanvas-body {
		text-align: center;
	}


	.offcanvas-body .d-flex:is(div, p) {
		flex-direction: column;
		align-items: flex-start;
		text-align: center;
	}

	.dropdown-menu {
		transform: none;
		pointer-events: all;
		opacity: 1;
		position: static;
		box-shadow: none;
		text-align: center;
		width: 100%;
		max-width: 100%;
	}

	.btn {
		--bs-btn-padding-x: 1.5rem;
		--bs-btn-padding-y: 1rem;
	}
}