@charset "UTF-8";

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

	--primary-color: hsl(356 79% 42%);
	--primary-color-light: hsl(356 79% 52%);
	--primary-color-dark: hsl(356 79% 32%);

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

	--bs-primary: hsl(356 79% 42%);
	--bs-primary-rgb: 192, 22, 34;

	--bs-light: hsl(220 22% 92%);
	--bs-light-rgb: 230, 233, 239;

	--bs-dark: black;
	--bs-dark-rgb: 0, 0, 0;

	--bs-body-color: black;

	--bs-link-color: var(--primary-color);
	--bs-link-color-rgb: 192, 22, 34;
	--bs-link-decoration: none;
	--bs-link-hover-color: var(--primary-color-dark);
	--bs-link-hover-color-rgb: 146, 17, 26;

	--h1: clamp(3.55rem, 3.55rem + ((1vw - 0.2rem) * 1.333), 6.3125rem);
	--h2: clamp(2.6625rem, 2.6625rem + ((1vw - 0.2rem) * 1.333), 4.7375rem);
	--h3: clamp(2rem, 2rem + ((1vw - 0.2rem) * 1.333), 3.55rem);
	--h4: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 1.333), 2.6625rem);
	--h5: clamp(1.3125rem, 1.3125rem + ((1vw - 0.2rem) * 1.333), 2rem);
	--h6: clamp(1.25rem, 1.25rem + ((1vw - 0.2rem) * 1.333), 1.5rem);
	--lead: clamp(1.15rem, 1.15rem + ((1vw - 0.2rem) * 1.333), 1.3125rem);
}

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

a:not(.nav-link, .btn, .card-title-link, .coach-link, .dropdown-item) {
	text-decoration: none;

	&:hover,
	&:focus {
		text-decoration: underline;
	}
}

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

body {
	font-family: var(--font);
	line-height: 1.7;
}

.list-group-item {
	transition: color 200ms, background-color 200ms;
}

.list-group-item.active {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.list-group-item:not(.active):hover,
.list-group-item:not(.active):focus {
		color: var(--primary-color);
		background-color: transparent;
}

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

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

.pe-xxl {
	padding-right: 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: 1rem;
}

/*  MARK: navbar  */

.navbar {
	--bs-navbar-padding-x: 0;
	--bs-navbar-padding-y: 3rem;
	--bs-navbar-active-color: white;
	--bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, background-color 200ms;
	background-color: transparent;
}

.navbar.affix {
	background-color: var(--primary-color);
	--bs-navbar-padding-y: .5rem;
}

.sub .navbar {
	background-color: white;
}

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

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

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

.navbar-nav .nav-link {
	font-weight: 400;
	color: white;
	opacity: 1;

	background-color: hsl(0 0% 100% / 0);
	transition: color 200ms, background-color 200ms;

	&:hover,
	&:focus,
	&.active,
	&.show,
	&.open {
		color: white;
		background-color: hsl(0 0% 100% / .2);
	}
}

.dropdown-menu {
	border: 0;
	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(-20px);
	opacity: 0;
}

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

@keyframes dropdown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}

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



.dropdown-item {
	padding: 0.25rem .5rem;
	border-radius: .25rem;
	transition: color 200ms, background-color 200ms;
}

.dropdown-menu li+li>.dropdown-item {
	margin-top: .25rem;
}

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

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

.langs .dropdown-toggle::after {
	display: none;
}

#search-input {
	width: 300px;
	border-radius: .25rem 0 0 .25rem;
}

#search-input+button {
	border-radius: 0 .25rem .25rem 0;
}

/*  MARK: header  */

header {
	background-image: url(../img/headerbg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 100dvh;

	padding-top: 144px !important;
}

header {
	& .btn-primary {
		border-radius: 0;
		transform: skewX(-15deg);

		& span {
			transform: skewX(15deg);
			display: block;
		}
	}
}

header .position-absolute {
	pointer-events: none;

	& a {
		pointer-events: all;
	}
}

/*  MARK: main content */

.btn {
	--bs-btn-padding-x: 1.875rem;
	--bs-btn-padding-y: 1.25rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-font-weight: 700;
	--bs-btn-line-height: 1.5;
	--bs-btn-border-radius: 0;
}

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

.home #news {
	background-image: url(../img/whitebg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

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

.card-img-top .badge {
	top: 1rem;
	right: 1rem;
}

.card-img-top img {
	width: 100%;
	height: auto;
	aspect-ratio: 470 / 313;
	transition: transform 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

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

.card-body {
	padding: 1.75rem 0 0;
}

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

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

.baner {
	background-image: url(../img/banerbg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	padding: clamp(30px, 3vw, 80px);

	& .btn {
		transform: none;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: .5rem;

		& span {
			transform: none;
			display: block;
		}
	}
}

#rozgrywki {
	background-image: url(../img/greybg.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.event {
	z-index: 1;
	transition: transform 300ms, box-shadow 300ms, z-index 300ms;

	&:hover,
	&:focus {
		transform: scale(1.01);
		box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25) !important;

		&+div {
			z-index: 1;
		}
	}
}

div:has(.event:hover, .event:focus) {
	z-index: 2;
}

.btn:has(img) {
	display: inline-flex;
	align-items: center;
	gap: .75rem;

	& img {
		transition: transform 200ms;
	}

	&:hover img,
	&:focus img {
		transform: translateX(5px);
	}
}

#marki .d-flex {
	aspect-ratio: 4/3;
	border-right: 1px solid var(--bs-border-color);
	border-bottom: 1px solid var(--bs-border-color);

	& a {
		display: block;
		transition: transform 300ms;

		&:hover,
		&:focus {
			transform: scale(1.05);
		}
	}

	& img {
		max-width: 100%;
		max-height: 150px;
	}
}

#marki .d-flex:nth-child(3n) {
	border-right: 0;
}

#marki .d-flex:nth-last-child(-n+3) {
	border-bottom: 0;
}



/*  MARK: stopka */

footer .col.pe-xxl {
	flex-basis: 17%;
}

footer h2 {
	margin-bottom: 2rem !important;
}

footer a {
	text-decoration: none;
	color: hsl(0 0% 100% / .7);
	transition: color 200ms;
}

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

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

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

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

/*  MARK: sub content  */

.sub {
	padding-top: 144px;
}

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

.sub main:has(aside#rozgrywki) {
	padding-bottom: 0;
}

.sub .navbar-nav .nav-link {
	color: var(--bs-body-color);

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

		&::after {
			filter: invert(0);
		}
	}
}

.sub .navbar .social-media img,
.sub .navbar .dropdown.search>a img,
.sub .dropdown-toggle::after {
	filter: invert(1);
}

.sub .affix {
	background-color: white;
	box-shadow: 0 0 1.5rem hsl(0 0% 0% / .15);
}

.breadcrumb .breadcrumb-item a {
	color: var(--bs-dark);
	opacity: 0.5;
	text-decoration: none;
	transition: opacity 200ms;

	&:hover,
	&:focus {
		opacity: 1;
	}
}

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

.breadcrumb .breadcrumb-item+.breadcrumb-item::before {
	background-image: url(../img/breadcrumb-divider.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
	content: "";
	display: inline-block;
	width: 3.5px;
	height: 6.5px;
	padding: 0 0.75rem 0 0;
	margin-top: .65em;
}

aside ul a {
	display: block;
	color: var(--bs-body-color);
	text-decoration: none;
	transition: color 200ms, transform 200ms;

	&:hover,
	&:focus {
		transform: translateX(3px);
	}

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

.lead {
	padding-inline-start: 1em;
	border-left: .5em solid var(--primary-color);
}

.sub main img {
	border-radius: .25rem;
}

aside {
	padding-top: 25px;
}

aside .sticky-top {
	top: 100px;
}

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

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

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

.form-control,
.form-check-input {
	border-radius: .25rem;
	padding: 0.75rem;
}

.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

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

.error-msg {
	color: red;
}

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


.navbar-dark,
.navbar[data-bs-theme=dark] {
	--bs-navbar-toggler-border-color: rgba(255, 255, 255, 1);
	--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='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
	border-radius: 0;
}



.coach_photo {
	position: relative
}

.coach_photo .rounded-circle {
	border: 5px solid #fff;
	background: #fff;
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
}

.coach_photo .level {
	position: absolute;
	z-index: 20;
	bottom: -25px;
	right: -5px
}

.from img {
	display: block;
	margin-right: 10px
}

.coach_lvl {
	display: block;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase
}

.coach_data {
	margin: 15px 0 30px;
	width: 100%
}

.coach_data li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 10px 15px;
	border-top: 1px solid rgba(255, 255, 255, .2)
}

.coach_data li span {
	min-width: 45%
}

.coach_data li:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .2)
}


/* MARK: tabs */

.nav-tabs {
	border-bottom: 1px solid var(--bs-border-color);
	margin-bottom: 0;
}

.nav-tabs .nav-link {
	background-color: var(--bs-light);
	border: none;
	border-radius: 0;
	color: var(--bs-body-color);
	font-weight: 500;
	padding: 0.75rem 1.5rem;
	transition: all 0.2s ease-in-out;
	margin-right: 0;
	border-top: 1px solid var(--bs-border-color);
	border-right: 1px solid var(--bs-border-color);
	border-bottom: 0;
	position: relative;

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

		&::after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 3px;
			background-color: var(--primary-color);
		}
	}
}

.nav-tabs .nav-link:first-child {
	border-left: 1px solid var(--bs-border-color);
}

.tab-content {
	border: 1px solid var(--bs-border-color);
	border-top: none;
	padding: 1.5rem;
}

.tab-pane {
	animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

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

.typ-m .nav-link .ball {
	opacity: .25;
	filter: grayscale(1);
}

/* .typ-m .nav-item:first-child .nav-link .ball:nth-child(1) {
	opacity: 1;
	filter: none;
} */

.typ-m .nav-item:nth-child(2) .nav-link .ball:nth-child(1) {
	opacity: 1;
	filter: none;
}

.typ-m .nav-item:nth-child(3) .nav-link .ball:nth-child(1),
.typ-m .nav-item:nth-child(3) .nav-link .ball:nth-child(2) {
	opacity: 1;
	filter: none;
}

.typ-m .nav-item:nth-child(4) .nav-link .ball:nth-child(1),
.typ-m .nav-item:nth-child(4) .nav-link .ball:nth-child(2),
.typ-m .nav-item:nth-child(4) .nav-link .ball:nth-child(3) {
	opacity: 1;
	filter: none;
}





/* MARK: ambasadorzy */


.sortable {
	border-spacing: 0;
	box-shadow: 0 10px 30px #f1f1f1
}

.sortable thead td {
	font-weight: 700;
	text-align: center;
	text-transform: uppercase
}

.sortable tr {
	border: none;
	box-shadow: 0 10px 30px #f1f1f1
}

.sortable td,
.sortable th {
	padding: 15px;
	border: none;
	vertical-align: middle
}

.sortable th {
	background: var(--primary-color);
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	text-align: left;
	text-transform: capitalize;
	vertical-align: baseline;
	white-space: nowrap;
	transition: all .2s
}

.sortable th:hover {
	background: var(--primary-color-dark);
}

.sortable th:hover::after {
	color: inherit;
	content: " \025B8"
}

.sortable th::after {
	color: transparent;
	content: " \025B8"
}

.sortable th.dir-d {
	background: var(--primary-color-light)
}

.sortable th.dir-d::after {
	color: inherit;
	content: " \025BE"
}

.sortable th.dir-u {
	background: var(--primary-color-light)
}

.sortable th.dir-u::after {
	color: inherit;
	content: " \025B4"
}

#filters {
	width: calc(100% - 60px);
	padding: 30px;
	background-color: var(--bs-dark);
	color: #fff;
	margin-bottom: 15px
}

#filters legend {
	font-weight: 700;
	margin: 0;
}

#filters input {
	min-width: 38%;
	padding: 15px;
	border: 0;
	border-radius: .5rem
}

#by_country {
	margin-right: 15px
}

.sortable .show {
	display: table-row
}

.sortable .hidden {
	display: none
}

.coach_data li strong {
	flex-basis: 30%;
	flex-shrink: 0
}

.coach_data li span {
	min-width: 45%;
	flex-grow: 1
}

.academy-thumb {
	position: relative;
	margin-bottom: 30px;
	overflow: hidden;

	& .img-fluid {
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}

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

.academy-thumb .academy-name {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	bottom: 0;
	right: 0;
	padding: 10px 20px;
	background: white;
	color: #000;
	font-weight: 700;
	transition: all .2s
}

.academy-thumb .academy-name::before {
	content: '';
	background: var(--primary-color)
}

.academy-thumb .academy-name img {
	margin-right: 0;
	margin-left: 10px
}

.coach-link {
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	color: var(--primary-color);
	text-decoration: none;
	transition: color 200ms, text-decoration 200ms;

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

small {
	font-size: .75rem;
}

.text-loose {
	letter-spacing: 0.1em;
}


.event-page img {
	mix-blend-mode: multiply;
}

.event-page .list-group-item {
	background-color: transparent;
	padding-inline: 0;
	border-color: hsl(0 0% 0% / .15);
}

.event-page .alert {
	padding-top: 0;
	padding-bottom: 0;
	padding-inline-start: 1.5em;
	border: 0;
	border-left: .35em solid var(--primary-color);
	border-radius: 0;

	& a {
		word-break: break-all;
	}
}

.aside_content.text-bg-dark {
	background-image: linear-gradient(45deg, hsl(224, 26%, 14%), hsl(223, 25%, 30%));
}

.sub main img:not(.social_media img) {
	max-width: 100%;
	height: auto;
}

a[href*="call"], .sortable a {
	white-space: nowrap;
	break-inside: avoid;
}


/*  MARK: RWD  */


@media (max-width: 1399px) {
	.navbar {
		--bs-navbar-nav-link-padding-x: .65rem;
	}

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

	.logosy img {
		max-height: 40px;
	}

	.navbar-nav .nav-link {
		padding-inline: 1rem;
		text-align: center;
	}

	.sub .navbar-nav .nav-link {
		color: white !important;

		&::after {
			filter: invert(0);
		}
	}

	.dropdown-item {
		text-align: center;
	}

	.sub .wyszukiwarka img {
		filter: invert(1);
	}
}

@media (max-width: 1199px) {
	footer .col.pe-xxl {
		flex-basis: 100%;
		padding-right: calc(var(--bs-gutter-x) * .5) !important;
	}

	header,
	main,
	footer {
		overflow-x: hidden;
	}

	.nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: clamp(.875rem, 1vw, 1rem);
	}
}


@media (max-width: 991px) {

	[data-aos-delay] {
		animation-delay: 0ms !important;
		transition-delay: 0ms !important;
	}

	header .position-absolute {
		position: relative !important;
	}

	#marki .d-flex:nth-child(3n) {
		border-right: 1px solid var(--bs-border-color);
	}

	#marki .d-flex:nth-last-child(-n+3) {
		border-bottom: 1px solid var(--bs-border-color);
	}

	#marki .d-flex:nth-child(2n) {
		border-right: 0;
	}

	/* #marki .d-flex:nth-last-child(-n+2) {
		border-bottom: 0;
	} */

	#marki .d-flex:last-child {
    border-bottom: 0;
}

	footer .col.pe-xxl {
		text-align: center;
	}

	footer .social-media {
		justify-content: center;
	}



}


@media (max-width: 767px) {
	:root {
		--xxl: 3.5rem;
	}

	footer .col {
		flex: 100%;
		text-align: center;
	}

	header {
		min-height: fit-content;
		padding-bottom: 144px;
		padding-top: 144px !important;
	}

	.breadcrumb-wrapper::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2;
		height: 100%;
		width: 3rem;
		background-image: linear-gradient(to right, transparent, var(--bs-light) 80%);
		pointer-events: none;
		touch-action: none;
	}

	#breadcrumb {
		padding-bottom: 0 !important;
		overflow-x: auto;
	}

	.breadcrumb {
		padding-bottom: 1rem;
		flex-wrap: nowrap;
		width: max-content;
		font-size: 0.75rem;
		padding-right: 1.5rem;
	}

	.breadcrumb-item {
		display: inline;
		white-space: nowrap;
	}

	.nav-tabs {
    flex-direction: column;
	}

	.nav-tabs .nav-link {
		padding: 0.5rem 1rem;
		width: 100%;
		display: flex !important;
		align-items: center !important;
		flex-direction: row !important;
		gap: 1rem;
	}
}


@media (max-width: 575px) {
	#search-input {
		width: 200px;
	}

	.navbar {
		--bs-navbar-toggler-padding-x: .5rem;
		--bs-navbar-padding-y: 1rem;
	}

	.langs img {
		height: 24px;
	}

	.navbar-brand+.gap-3 {
		gap: .75rem !important;
	}

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

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

	.sub {
		padding-top: 72px;
	}

	h1.h2.mb-5 {
		margin-bottom: 1.5rem !important;
	}

	#marki .d-flex.p-5 {
		padding: 15px !important;
	}

	.box h3 {
		font-size: var(--h5) !important;

		& + img {
			max-width: 70%;
			margin-bottom: 1rem;
		}
	}

	.box .btn {
		padding: 10px 15px;
		font-size: 1rem;
	}
}