@charset "UTF-8";

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

	--primary-color: #D0C7B8;
	--primary-color-transparent: hsl(38 20% 77% / .5);
	--primary-color-light: hsl(from var(--primary-color) h s calc(l + 5));
	--primary-color-lighter: hsl(from var(--primary-color) h s calc(l + 20));
	--primary-color-dark: hsl(from var(--primary-color) h s calc(l - 10));
	--primary-color-darker: hsl(from var(--primary-color) h s calc(l - 20));
	--bs-border-color: var(--primary-color-light);

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

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 208, 199, 184;

	--bs-light: #ECE9E3;
	--bs-light-rgb: 236, 233, 227;

	--bs-dark: hsl(0, 0%, 0%);
	--bs-dark-rgb: 0, 0, 0;

	--bs-body-color: hsl(0, 0%, 0%);

	--h1-special: clamp(2.5rem, 4vw, 4rem);
	--h1: clamp(2.2875rem, 3.5vw, 3.575rem);
	--h2: clamp(1.83125rem, 2.8vw, 2.8625rem);
	--h3: clamp(1.4625rem, 2.3vw, 2.2875rem);
	--h4: clamp(1.175rem, 2vw, 1.83125rem);
	--h5: clamp(1.15rem, 1.5vw, 1.4625rem);
	--h6: clamp(1rem, 1.2vw, 1.175rem);
	--lead-sm: clamp(.7rem, .8vw, .8rem);
	--lead: var(--h6);
}

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

html {
	scroll-padding-top: 81px;
	scrollbar-gutter: stable;
}

body {
	font-family: var(--font);
	font-size: 1rem;
}

p,
li {
	text-wrap-style: pretty;
}

b,
strong {
	font-weight: 500 !important;
}

small {
	font-size: 0.75rem;
}

.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: 1.5rem;
	font-weight: 500;
	text-wrap-style: balance;


	em {
		font-style: normal;
		color: var(--primary-color);
	}
}


.h1-special {
	font-size: var(--h1-special);
}

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

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

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

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

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

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

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

.lead-sm {
	font-size: var(--lead-sm);
	line-height: 1.3;
	display: inline-block;
}

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

@media (min-width: 1536px) {
	.container {
		max-width: 1470px;
	}
}

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


/*
MARK: navbar
*/

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 1.875rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;

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

	&.affix {
		--bs-navbar-padding-y: .5rem;
		background-color: white;
		box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
	}
}

.navbar-brand {
	margin: 0;
	padding: 0;
	transition: all 200ms;
}

.navbar-brand-image {

	height: 64px;
	transition: height 200ms;
}

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

.navbar-nav .nav-link {
	font-size: 1rem;
	opacity: 1;
	color: var(--bs-dark);
	transition: color 200ms, background-color 200ms;

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

.dropdown-toggle::after {
	width: .5rem !important;
	height: .25rem !important;
	border: 0 !important;
	background-image: url(../img/drop.svg);
	background-size: contain;
	background-repeat: no-repeat;
}

.dropdown {

	&:hover,
	&:focus {
		>.dropdown-menu {
			display: block;
		}
	}
}

.dropdown-menu {
	border: 0;
	min-width: 250px;
	padding: .5rem;
	border-radius: 0;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 100%);
}

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

.dropdown-item {
	line-height: 1.2;
	white-space: normal !important;
	padding: 0.25rem .75rem;
	border-radius: 0;
	transition: color 200ms, background-color 200ms;

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

.dropdown-menu .dropdown-toggle::after {
	transform: rotate(-90deg);
}

.navbar a.d-flex {
	color: var(--bs-dark);
	text-decoration: none;
	transition: color 200ms;

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

.langs .dropdown-toggle {
	color: var(--bs-body-color);
	text-decoration: none;
}

.langs .dropdown-menu {
	left: auto;
	right: 0;
	width: fit-content;
	max-width: min-content;
	min-width: 10px;

	a {
		text-decoration: none;
		color: var(--bs-body-color);
		padding: .5rem;
	}
}


/*
MARK:header
*/

header .position-absolute:not(.sub-header-image) {
	background-image: radial-gradient(closest-side, transparent, hsl(40 19% 91% / .85) 80%);
	isolation: isolate;

	&::before {
		content: '';
		display: block;
		position: absolute;
		z-index: -1;
		inset: 0;
		background-image: linear-gradient(to right, hsl(40 19% 91% / .85), transparent 50%);
	}
}

header .container {
	padding-top: 115px;
}

.header__swiper {

	& .swiper-slide {
		display: flex;
		justify-content: flex-end;

		& img {
			width: 100%;
			height: 100vh;
			object-fit: cover;
			object-position: left;
		}
	}
}

header a:not(.btn) {
	color: var(--bs-body-color);
	text-decoration: none;
}

.slogan .btn {
	display: flex;
	align-items: center;
	gap: .5rem;
}

header h1 {
	& small {
		font-size: 1.95rem;
	}

	& strong {
		font-size: 4.35rem;
	}

}



/*
MARK: main content
*/

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

.btn {
	--bs-btn-padding-x: 1.625rem;
	--bs-btn-padding-y: 1.1875rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 500;
	--bs-btn-line-height: 1.3;
	--bs-btn-border-radius: 0;
	transition: transform 200ms, box-shadow 200ms, color 200ms, background-color 200ms;

	&:hover,
	&:focus {
		transform: translateY(-2px);
		box-shadow: 0 .5rem .875rem -0.5rem hsl(0 0% 0% / .15);
	}

	&:active {
		transform: scale(.95) translateY(-2px);
	}
}

.btn-primary {
	color: var(--bs-dark) !important;
	--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-dark);
	--bs-btn-border-color: var(--primary-color-darker);
	--bs-btn-hover-bg: var(--primary-color-dark);
	--bs-btn-hover-border-color: var(--primary-color-dark);
	--bs-btn-active-bg: var(--primary-color-dark);
	--bs-btn-active-border-color: var(--primary-color-dark);
}

.btn-light {
	--bs-btn-color: var(--primary-color);
	--bs-btn-hover-color: var(--primary-color-dark);
	--bs-btn-bg: hsl(0 0% 100%);
	--bs-btn-hover-bg: hsl(0 0% 96%);
	--bs-btn-hover-border-color: hsl(0 0% 96%);
	--bs-btn-active-color: var(--primary-color-light);
	--bs-btn-active-bg: hsl(0 0% 96%);
	--bs-btn-active-border-color: hsl(0 0% 96%);
}

.btn-outline-dark img {
	transition: filter 200ms;
}

.btn-outline-dark {

	&:hover,
	&:focus {
		& img {
			filter: brightness(0) grayscale(1) invert(1);
		}
	}
}


#centrum {
	background-image: url(../img/centrum-bg.png);
	background-size: cover;
}

.parallax-wrapper {
	position: relative;
	height: 540px;
}

.centrum-rings,
.centrum-dots {
	position: absolute;
}

.centrum-rings {
	top: 0;
	left: 0;
	z-index: 3;
}

.centrum-dots {
	bottom: 0;
	left: 0;
	z-index: 1;
}

.centrum-img {
	position: relative;
	z-index: 2;
}


blockquote {
	padding-top: 1rem;
	padding-bottom: 1rem;
	font-size: var(--lead);
	font-style: italic;
	line-height: 1.7;
	font-weight: normal;
	background-image: url(../img/quote.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

div.icon {
	width: auto;
	padding: 20px;
	aspect-ratio: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--bs-light);

	img {
		width: 60px;
	}
}

#uslugi-medyczne {
	.box-wrap {
		flex-basis: 22%;
	}

	.box {
		cursor: pointer;
		transition: all 200ms;

		img {
			transition: filter 200ms;
		}

		&:hover {
			color: white;
			background-color: var(--primary-color-dark) !important;
			transform: translateY(-2px);
			box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, 0.15) !important;

			img {
				filter: brightness(0) grayscale(1) invert(1);
			}

			.btn {
				color: var(--primary-color);
				background-color: white;
			}
		}
	}
}

#uslugi-medyczne h3 {
	--m: .65rem;
	margin-top: var(--m);
	margin-bottom: var(--m);
}

/* #uslugi-medyczne .btn {margin-top: 0.5rem;} */

section p:has(.btn:only-child) {
	padding-top: .5rem !important;
}

#specjalisci a {
	text-decoration: none;

	span {
		display: flex;
		flex-direction: column;
	}

	img {
		max-width: 200px;
		border-radius: 50%;
		border: 10px solid white;
		aspect-ratio: 1;
		object-fit: cover;
		object-position: top;
	}
}

.home .spec__swiper {
	padding-bottom: var(--xxl) !important;
}

.sub .spec__swiper {
	margin-left: 0;
}

.sub .spec__swiper .swiper-slide {
	min-width: min-content;

	h6 {
		white-space: nowrap;
	}
}

#specjalisci .swiper-pagination {
	display: flex;
}

#specjalisci .swiper-pagination-bullet {
	flex: 1;
	height: 4px;
	border-radius: .15rem;
	background-color: var(--primary-color);
}

.text-primary-dark {
	color: var(--primary-color-dark);
}

.text-primary-darker {
	color: var(--primary-color-darker);
}

.opinie__swiper {
	padding-bottom: var(--xxl) !important;

	.swiper-pagination {
		display: flex;
		align-items: center;
		gap: 5px;
		bottom: 0;
	}

	.swiper-pagination-bullet {
		height: 6px;
		margin: 0;
		background-color: var(--primary-color);
		width: auto !important;
		flex: 1 !important;
		border-radius: 0 !important;
	}
}

section ul {
	list-style: square;
	padding-left: 1.2em;

	li+li {
		margin-top: 0.5rem;
	}
}

section ul li::marker {
	color: var(--primary-color);
}

#opinie {
	background-image: url(../img/opinie-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
}

#misja .simpleParallax {
	width: 50dvw !important;
}

section {
	overflow: hidden;
}

footer iframe {
	width: 100%;
	height: 500px;
	display: block;
	border: 0;
}


.kontaktowa #main a[href*="tel:"] {
	color: var(--bs-body-color);
}

.gap-xxl {
	gap: var(--xxl);
}


footer {
	color: white;
	background-color: var(--bs-dark);

	h4.h5 {
		margin-bottom: 1.5rem;
		padding-bottom: 1.5rem;
		border-bottom: 1px solid hsl(0 0% 100% / .2);
	}
}

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

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

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

footer .list-unstyled li+li {
	margin-top: .25rem;

	& a {
		line-height: 1.1;
	}
}

footer p {
	line-height: 1.3;
	margin-bottom: 0.5rem;
}

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

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

#mapa iframe {
	width: 100%;
	height: 550px;
}


/*
MARK: sub content
*/

.sub {
	padding-top: 124px;

	header .breadcrumb {
		color: var(--bs-body-color);

		.breadcrumb-item,
		a {
			color: var(--bs-body-color);

			&::before {
				color: var(--bs-body-color) !important;
			}
		}

		.active {
			color: var(--bs-body-color);
			opacity: .48;
		}
	}
}

.oferta #main ul,
.sub aside ul:not(.list-group) {
	padding-left: 1.25em;

	li {
		list-style: square;
		/* padding-left: 2rem; */
		position: relative;

		&::marker {
			color: var(--primary-color);
		}

		+li {
			margin-top: 1rem;
		}

		/* &::before {
			content: '';
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			background-image: url(../img/li.svg);
			background-repeat: no-repeat;
			background-size: contain;
			width: 25px;
			height: 25px;
		} */
	}
}

#sprawdz-takze {
	border-left: 3px solid var(--bs-light);

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

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

.sub .specjalisci a {
	text-decoration: none;
}

.tabs-control {
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-top: 2px solid var(--bs-light);
	border-bottom: 2px solid var(--bs-light);
}

.tabs-control a {
	padding: .5rem .65rem;
	font-size: .875rem;
	font-weight: 400;
	border-width: 2px;
	color: var(--primary-color-darker);
	border-color: var(--primary-color-dark);
}

.cennik .table {
	--bs-table-bg: transparent;
	margin-bottom: 0;
}

.bg-light .table table {
	width: 100%;
	margin-bottom: 0;

	tr {
		background-color: transparent;
		box-shadow: none !important;
		border-color: hsl(0 0% 0% / .15) !important;
	}

	tr:first-child {
		border-top: 1px solid hsl(0 0% 0% / .15) !important;
	}

	th,
	td {
		color: var(--bs-body-color);
		padding: 0.5rem;
		background-color: transparent !important;
	}

	td:last-child {
		text-align: right;
		white-space: nowrap;
	}

	+h5 {
		margin-top: 2rem;
	}
}

.bg-light:has(.table)+.bg-light:has(.table) {
	margin-top: 1.5rem;
}

.card {
	/* cursor: pointer; */

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

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

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

.card-image {
	overflow: hidden;

	img {
		transition: transform 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	}
}

.card-body {
	padding: 1.5rem;
}

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

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

	&: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;

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

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

.bg-light .downloads a.bg-light {
	background-color: white !important;
	border-color: white !important;
	box-shadow: 0 .25rem .5rem -0.25rem hsl(0 0% 0% / .15);

	transition: box-shadow 200ms, transform 200ms;
	z-index: 1;

	&:hover {
		box-shadow: 0 .35rem .5rem -0.25rem hsl(0 0% 0% / .25);
		transform: translateY(-2px);
		z-index: 2;
	}
}

.sub-pages-item #pliki {
	overflow: visible;
}

.form-control {
	padding: 1rem 1.25rem;
	border-radius: 0;
	border-width: 2px;
	border-color: var(--bs-light);

	&.error {
		border-color: red;
	}
}

textarea {
	height: 11.5em;
}

.error-msg {
	color: red;
}



/* MARK: Tomek */

/* ─── HERO ───────────────────────────────────────── */
.hero-section {
	position: relative;
	overflow: hidden;
}

.hero-section .container {
	z-index: 3;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -80px;
	width: 420px;
	height: 420px;
	background: rgba(255, 255, 255, .99);
	border-radius: 50%;
	z-index: 2;
	filter: blur(100px);
	animation: heroFloat 8s ease-in-out infinite;
}

.hero-section::after {
	content: '';
	position: absolute;
	bottom: -100px;
	left: -60px;
	width: 320px;
	height: 320px;
	background: rgba(255, 255, 255, .99);
	border-radius: 50%;
	z-index: 2;
	filter: blur(100px);
	animation: heroFloat 11s ease-in-out infinite reverse;
}

@keyframes heroFloat {
	0% {
		transform: translate(0, 0) scale(1);
	}

	33% {
		transform: translate(18px, -22px) scale(1.04);
	}

	66% {
		transform: translate(-12px, 14px) scale(0.97);
	}

	100% {
		transform: translate(0, 0) scale(1);
	}
}

#hero {
	position: relative;
}

.hero-image {
	position: absolute;
	width: 100%;
	height: 100%;
	mix-blend-mode: luminosity;
}

.hero-image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse at center,
			rgba(208, 199, 184, 0.72) 0%,
			rgba(208, 199, 184, 0.72) 45%,
			rgba(208, 199, 184, 0.85) 75%,
			rgba(208, 199, 184, 1) 100%);
}


/*
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
}


aside .list-group-item {
	padding: 0;
}

aside .nav-link {
	padding: .5rem;
	transition: color 200ms;

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

.container .container {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

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

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

.person-features ul {
	padding: 0 !important;
	margin-top: 0.5rem;
	margin-bottom: 0 !important;
	list-style: none !important;

	li {
		list-style: none !important;
		color: var(--bs-body-color);
		font-size: .875rem;
		padding-left: 1.5rem;
		white-space: nowrap;

		background-image: url(../img/ul-icon-1.svg);
		background-repeat: no-repeat;
		background-size: 16px;
		background-position: 0 center;

		+li {
			margin-top: 0.25rem;
		}
	}

	/* li:nth-child(2) {background-image: url(../img/ul-icon-2.svg);} */
	li:nth-child(2) {
		background-image: url(../img/ul-icon-2.svg);
	}

	li:nth-child(3) {
		background-image: url(../img/ul-icon-3.svg);
	}
}

.person {
	text-decoration: none !important;

	& img {
		transition: transform 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	}

	&:hover {
		& img {
			transform: scale(1.1);
		}
	}
}

/*
.person-photo {
	box-shadow: 0 .5rem 1rem -0.5rem hsl(0 0% 0% / .25);
}
*/

.person .small {
	line-height: 1.15;
}

.spec__swiper .person-features li:nth-child(n+3),
.specjalisci .person-features li:nth-child(n+3) {
	display: none;
}

.hours-table {

	& tr:first-child td {
		padding-top: 0;
	}

	& ul+h4 {
		margin-top: 2.5rem;
	}

	&table {
		width: 100%;
		border: 0;
		margin-bottom: 1.5rem;
	}

	& th,
	& td {
		padding: 0.5rem .25rem;
		border: 0;
	}

	& td:last-child {
		text-align: right;
	}

	& tr:not(:last-child) td {
		border-bottom: 1px solid var(--bs-border-color);
	}
}

@media (max-width: 1399px) {
	.hours-title {
		width: 100%;
		text-align: center;
	}

	.hours-table {
		text-align: center;
		width: 100%;

		& tr {
			width: 100%;
			display: flex;
			justify-content: center;

			& th,
			& td {
				display: block;
			}
		}
	}
}

@media (min-width: 1536px) {
	.hours-title {
		border-right: 1px solid #000;
		padding-right: clamp(.5rem, 1vw, 1rem);
		margin-right: clamp(.5rem, 1vw, 1rem);
	}
}

main {
	overflow: hidden;

	&:has(.paralaksa:last-child) {
		padding-bottom: 0;
	}
}

.clearfix {
	clear: both;
}

.paralaksa {
	width: 100dvw;
	height: 600px;
	/* margin-left: 50%;
	transform: translateX(-50%); */
	overflow: hidden;
	margin-top: var(--xxl);

	.simpleParallax {
		height: 600px;
	}

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.has-breadcrumb {
	position: relative;
	overflow: hidden;
	background-color: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
	content: var(--bs-breadcrumb-divider, "/");
}

/* .breadcrumb-item:first-child a { */
/* 	display: inline-flex; */
/* 	gap: .5rem; */
/* 	align-items: center; */
/**/
/* 	&::before { */
/* 		content: ''; */
/* 		width: 18px; */
/* 		height: 18px; */
/* 		background-image: url(../img/home.svg); */
/* 		background-repeat: no-repeat; */
/* 		background-size: contain; */
/* 	} */
/* } */



.sub-pages-item {
	.list-group-item {
		background-color: transparent;
		padding-inline: 0;
	}

	li+li {
		margin-top: 0;
	}

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

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

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

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

#marki {
	color: var(--bs-body-color);
}

.marka {
	height: 100px;
}

#marki .swiper-wrapper {
	transition-timing-function: linear !important;
}

label a {
	color: var(--primary-color)
}

aside .list-unstyled a {
	text-decoration: none;
	color: var(--bs-body-color);
	transition: color 200ms;

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


.footer-facebook-link {
	font-size: var(--h5);
	transition: opacity 200ms;

	&:hover,
	&:focus {
		color: white;
		opacity: .7;
	}
}

.btn-mydr-pp {
	width: 100%;
	max-width: 100%;
	height: auto;
	background-image: none;
	background-color: var(--primary-color);

	padding: 1.1875rem 1.625rem;
	font-size: var(--h6);
	font-weight: 500;
	line-height: 1.3;
	transition: background-color 200ms;

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

.btn-mydr-pp::after {
	content: 'Umów wizytę przez MyDr';

}

hr {
	border-color: var(--primary-color-light);
}

aside .bg-white {
	position: relative;
}

.offer-index {
	clear: both;
}


.sub .aside-specjalista ul:not(.list-group) {
	padding-left: 0 !important;
	margin-bottom: 1.5rem;

	& li {
		font-weight: bold;
		list-style: none !important;
		padding: 0;
		text-align: center;
		text-transform: uppercase;
		color: var(--primary-color);
		font-size: var(--lead);
		line-height: 1.3;
	}

	& li+li {
		margin-top: .75rem !important;
	}
}

.sub aside table {
	display: block;
	padding-left: 40%;
	position: relative;
	font-weight: bold;
	text-transform: uppercase;

	& tbody {
		display: block;
		width: 100%;
	}

	& tr {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		width: 100%;
	}

	& td {
		padding-top: 0;
		border: 0;
		color: var(--bs-dark);
		line-height: 1.1;
	}
}

.sub aside table::before {
	content: 'GODZINY PRZYJĘĆ';
	padding-right: .75rem;
	line-height: 1.1;
	border-right: 2px solid var(--bs-dark);
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0;
}



.p-xl-5.border.border-3 {
	border-radius: 0;
	border-color: var(--primary-color) !important;

	& .overflow-hidden.rounded-4 {
		box-shadow: 0 .5rem 1rem -0.5rem hsl(0 0% 0% / .35);
	}
}



aside .position-sticky {
	top: 100px;
	bottom: 0;
}

@media (max-height: 780px) {
	aside .position-sticky {
		position: relative !important;
	}
}


.specjalisci-title {
	display: flex;
	align-items: center;
	gap: 1rem;

	&::after {
		content: '';
		display: inline-block;
		width: 100%;
		height: 1px;
		background-color: var(--primary-color);
	}
}

.table>tbody {
	vertical-align: inherit;
	background-color: transparent !important;
}

.cennik .table h5 {
	display: inline-block;
	font-weight: normal;
	padding-left: 1.25rem;
	border-left: 4px solid var(--primary-color-dark);
}

a.text-dark {
	transition: color 200ms;
}

a.text-dark:hover,
a.text-dark:focus {
	color: var(--primary-color) !important;
}


.col-price {
	width: 130px;
}

.col-time {
	width: 130px;
}

span.person-photo {
		--s: 170px;
		width: var(--s) !important;
		height: var(--s) !important;
	}

/*
MARK: media query
*/

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

	.navbar .btn-primary {
		font-size: 1rem;
	}

	.offcanvas-body.gap-5 {
		gap: 1.5rem !important;
	}

	.sub aside table {
		padding-left: 0;
	}

	.sub aside table::before {
		padding-right: 0;
		margin-top: 1.5rem;
		padding-bottom: .5rem;
		margin-bottom: 0.5rem;
		border-right: 0;
		border-bottom: 2px solid var(--bs-dark);
		position: relative;
		top: auto;
		left: auto;
		display: block;
		text-align: center;
	}

	span.person-photo {
		--s: 150px;
		width: var(--s) !important;
		height: var(--s) !important;
	}
}

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

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

	.navbar {
		--bs-navbar-nav-link-padding-x: .75rem;
	}

	#marki .d-flex {
		flex-wrap: wrap !important;
		justify-content: center !important;
	}
}


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

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

	.navbar .btn-primary {
		font-size: 0.875rem;
		padding: .75rem 1rem;
	}

	.navbar-nav .nav-link {
		font-size: .875rem;
	}
}


@media (max-width: 1199px) {
	.navbar {
		--bs-navbar-toggler-border-color: var(--primary-color);
		--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='hsla(186, 74%, 46%, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

	header .container {
		padding-top: 100px;
	}

	.header__swiper img {
		height: 100dvh;
		object-fit: cover;
	}

	.gap-xxl {
		gap: 1rem !important;
	}

	header .position-absolute:not(.sub-header-image) {

		&::before {
			background-image: linear-gradient(to right, hsl(40 19% 91% / .85) 40%, transparent 60%);
		}
	}
}


@media (max-width: 991px) {
	.gap-xxl {
		gap: 1rem !important;
	}

	#misja {
		padding-top: var(--xxl);
		padding-bottom: var(--xxl);

		.simpleParallax {
			width: 100% !important;
			margin-top: 2rem;

			img {
				width: 100%;
				height: auto;
				aspect-ratio: 16/9;
				object-fit: cover;
				object-position: top;
			}
		}
	}

	textarea.form-control {
		min-height: 10.5em;
	}

	#opinie .col-lg-3 {
		margin-bottom: 3rem;
	}

	footer iframe {
		height: 450px;
	}

	footer {
		text-align: center;

		.d-flex {
			justify-content: center !important;

			&.pe-xl-5 {
				span:first-child {
					text-align: left;
					display: block;
					width: 110px;
				}

				span:last-child {
					width: 100px;
					text-align: right;
				}
			}
		}

		.opacity-50 {
			display: block;
			margin: 1rem auto;
		}
	}

	.footer-logo {
		margin-inline: auto;
		display: inline-block;
		width: auto;
	}

	.social {
		margin: 1rem 0 2rem;
	}

	header:not(.sub header) .position-absolute {
		position: relative !important;
		padding: 3.5rem 0 0;
		background-image: none;

		&::before {
			display: none;
		}
	}

	header {
		background-color: hsl(40 19% 91%);
	}

	.header__swiper {
		&::before {
			content: '';
			display: block;
			position: absolute;
			inset: 0;
			z-index: 2;
			background-image: linear-gradient(to bottom, hsl(40 19% 91%) 20%, transparent 40%);
		}
	}

	.header__swiper .swiper-slide img {
		max-width: 100%;
		height: auto;
	}
}


@media (max-width: 575px) {
	:root {
		--xxl: 3rem;
	}

	header,
	main,
	footer {
		overflow: hidden;
	}

	header:not(.sub header) .position-absolute {
		padding: 1.5rem 0 0;
	}

	header {
		text-align: center;

		.d-flex {
			justify-content: center;
		}
	}

	header p:has(a) {
		display: flex;
		gap: 0.5rem;
		flex-direction: column;
		align-items: center;
		text-align: center;

		a {
			flex-direction: column;
			align-items: center;
			text-align: center;
		}
	}

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

	#uslugi-medyczne .row {
		--bs-gutter-x: 1.25rem
	}

	span.person-photo {
		--s: 90px;
		width: var(--s) !important;
		height: var(--s) !important;
	}

	.position-sticky {
		position: relative !important;
	}

	aside .position-sticky {
		top: auto;
		bottom: auto;
		margin-bottom: 1.5rem;
	}

	.cennik .hero-section::before {
		width: 220px;
		height: 220px;
		background: rgba(255, 255, 255, .9);
		filter: blur(100px);
	}

	.cennik .hero-section::after {
		width: 120px;
		height: 120px;
		background: rgba(255, 255, 255, .7);
		filter: blur(100px);
	}
}