.kk-reslider {
	/* slider variables that you can adjust to change the optics */
	--kk-reslider-items: auto;
	--kk-reslider-item-size: auto;
	--kk-reslider-item-gap: 1rem;
	--kk-reslider-overflow-margin: 4rem;
	--kk-reslider-control-width: 30px;
	--kk-reslider-control-height: 100px;
	--kk-reslider-control-radius: 4px;
	--kk-reslider-control-bg: var(--gray-medium, #e8e8e8);
	--kk-reslider-control-fg: inherit;
	--kk-reslider-control-hover-bg: var(--primary, #919191);
	--kk-reslider-control-hover-fg: white;
	--kk-reslider-control-disabled-bg: var(--kk-reslider-control-bg);
	--kk-reslider-control-disabled-fg: var(--kk-reslider-control-fg);
	--kk-reslider-control-icon-size: 22px;
	--kk-reslider-control-icon-outline: 2px;
	--kk-reslider-control-icon-color: white;
	--kk-reslider-control-next-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTkuNzA3IDE4LjcwN2w2LTZjMC4zOTEtMC4zOTEgMC4zOTEtMS4wMjQgMC0xLjQxNGwtNi02Yy0wLjM5MS0wLjM5MS0xLjAyNC0wLjM5MS0xLjQxNCAwcy0wLjM5MSAxLjAyNCAwIDEuNDE0bDUuMjkzIDUuMjkzLTUuMjkzIDUuMjkzYy0wLjM5MSAwLjM5MS0wLjM5MSAxLjAyNCAwIDEuNDE0czEuMDI0IDAuMzkxIDEuNDE0IDB6Ii8+PC9zdmc+');
	--kk-reslider-control-prev-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTE1LjcwNyAxNy4yOTNsLTUuMjkzLTUuMjkzIDUuMjkzLTUuMjkzYzAuMzkxLTAuMzkxIDAuMzkxLTEuMDI0IDAtMS40MTRzLTEuMDI0LTAuMzkxLTEuNDE0IDBsLTYgNmMtMC4zOTE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cgMTkuNzc3bDIuODMtMi44M2MwLjM5MS0wLjM5MSAwLjM5MS0xLjAyNCAwLTEuNDE0cy0xLjAyNC0wLjM5MS0xLjQxNCAwbC0yLjgzIDIuODNjLTAuMzkxIDAuMzkxLTAuMzkxIDEuMDI0IDAgMS40MTRzMS4wMjQgMC4zOTEgMS40MTQgMHpNMTYuOTQ3IDguNDY3bDIuODMtMi44M2MwLjM5MS0wLjM5MSAwLjM5MS0xLjAyNCAwLTEuNDE0cy0xLjAyNC0wLjM5MS0xLjQxNCAwbC0yLjgzIDIuODNjLTAuMzkxIDAuMzkxLTAuMzkxIDEuMDI0IDAgMS40MTRzMS4wMjQgMC4zOTEgMS40MTQgMHoiPjwvcGF0aD48L3N2Zz4=');
	--kk-reslider-pagination-bg: var(--kk-reslider-control-bg);
	--kk-reslider-pagination-active-bg: var(--gray-dark, #979797);
	--kk-reslider-scroll-padding: 0px;
	--kk-reslider-scroll-margin: 0px;
	--kk-reslider-navigation-padding: 0px;
	--kk-reslider-navigation-offset: 0px;
	--kk-reslider-fadeout-size: min(10%, 80px);

	/* do not change these. they are used internally */
	--kk-reslider-item-basis: calc((100% / var(--kk-reslider-items)) - (1 - 1 / (var(--kk-reslider-items))) * var(--kk-reslider-item-gap));
	--kk-reslider-fadeout-size-start: 0px;
	--kk-reslider-fadeout-size-end: 0px;
	--kk-reslider-fadeout-direction: to right;
	--kk-reslider-items-direction: row;
	--kk-reslider-items-overflow-x: auto;
	--kk-reslider-items-overflow-y: hidden;
	--kk-reslider-items-snap-direction: x;
	--kk-reslider-items-padding: 0 max(var(--kk-reslider-scroll-margin), var(--kk-reslider-scroll-padding));

	display: block;
	width: 100%;
	position: relative;
	padding: 0 var(--kk-reslider-navigation-padding);
	opacity: 0;
	transition: opacity 250ms;
}

.kk-reslider.initialized {
	opacity: 1;
}

.kk-reslider.kk-reslider--vertical {
	--kk-reslider-items-direction: column;
	--kk-reslider-items-overflow-x: hidden;
	--kk-reslider-items-overflow-y: auto;
	--kk-reslider-items-snap-direction: y;
	--kk-reslider-fadeout-direction: to bottom;
	--kk-reslider-items-padding: max(var(--kk-reslider-scroll-margin), var(--kk-reslider-scroll-padding)) 0;
}

.kk-reslider:not(.kk-reslider--fade) {
	--kk-reslider-fadeout-size: 0px !important;
}

.kk-reslider-item {
	position: relative;
	flex-shrink: 0;
	flex-grow: 0;
	min-width: min(100%, var(--kk-reslider-item-size));
	max-width: 100%;
	flex-basis: var(--kk-reslider-item-basis);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	/* performance optimization */
	transform: translate3d(0, 0, 0) scale(1);
	-webkit-touch-callout: none;
}

.kk-reslider--vertical>.kk-reslider-items>.kk-reslider-item {
	min-width: initial;
	max-width: initial;
	min-height: min(100%, var(--kk-reslider-item-size));
	max-height: 100%;
}

.kk-reslider--snap-center>.kk-reslider-items>.kk-reslider-item {
	scroll-snap-align: center;
}

.kk-reslider--snap-skip>.kk-reslider-items>.kk-reslider-item {
	scroll-snap-stop: normal;
}

.kk-reslider-item * {
	-webkit-user-drag: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.kk-reslider-item.kk-reslider-item--first {
	scroll-snap-align: start !important;
}

.kk-reslider-item.kk-reslider-item--last {
	scroll-snap-align: end !important;
}

.kk-reslider-item.kk-reslider-item[disabled] {
	scroll-snap-align: none !important;
}

.kk-reslider-items {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: var(--kk-reslider-items-direction);
	gap: var(--kk-reslider-item-gap);
	position: relative;
	overflow-x: var(--kk-reslider-items-overflow-x);
	overflow-y: var(--kk-reslider-items-overflow-y);
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	scrollbar-width: none;
	scroll-behavior: smooth;
	overscroll-behavior: contain auto;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	contain: content;
	-webkit-mask-image: linear-gradient(var(--kk-reslider-fadeout-direction), transparent, white var(--kk-reslider-fadeout-size-start), white calc(100% - var(--kk-reslider-fadeout-size-end)), transparent);
	mask-image: linear-gradient(var(--kk-reslider-fadeout-direction), transparent, white var(--kk-reslider-fadeout-size-start), white calc(100% - var(--kk-reslider-fadeout-size-end)), transparent);
	padding: var(--kk-reslider-items-padding);
	will-change: scroll-position;
	scroll-padding: var(--kk-reslider-scroll-padding);
	align-items: start;
}

.kk-reslider.kk-reslider--disabled>.kk-reslider-items {
	overflow: hidden !important;
}

.kk-reslider.kk-reslider--snap>.kk-reslider-items {
	scroll-snap-type: var(--kk-reslider-items-snap-direction) mandatory;
}

.kk-reslider.kk-reslider--fade-end:not([data-scrollpos-end="true"]) {
	--kk-reslider-fadeout-size-end: var(--kk-reslider-fadeout-size);
}

.kk-reslider.kk-reslider--fade-start:not([data-scrollpos-start="true"]) {
	--kk-reslider-fadeout-size-start: var(--kk-reslider-fadeout-size);
}

.kk-reslider--horizontal.kk-reslider--center>.kk-reslider-items>.kk-reslider-item:first-child {
	margin-left: auto !important;
}

.kk-reslider--horizontal.kk-reslider--center>.kk-reslider-items>.kk-reslider-item:last-child {
	margin-right: auto !important;
}

.kk-reslider--vertical.kk-reslider--center>.kk-reslider-items>.kk-reslider-item:first-child {
	margin-top: auto !important;
}

.kk-reslider--vertical.kk-reslider--center>.kk-reslider-items>.kk-reslider-item:last-child {
	margin-bottom: auto !important;
}

.kk-reslider--horizontal>.kk-reslider-items>.kk-reslider-item--first {
	scroll-margin-inline-start: var(--kk-reslider-scroll-margin);
}

.kk-reslider--horizontal>.kk-reslider-items>.kk-reslider-item--last {
	scroll-margin-inline-end: var(--kk-reslider-scroll-margin);
}

.kk-reslider--vertical>.kk-reslider-items>.kk-reslider-item--first {
	scroll-margin-block-start: var(--kk-reslider-scroll-margin);
}

.kk-reslider--vertical>.kk-reslider-items>.kk-reslider-item--last {
	scroll-margin-block-end: var(--kk-reslider-scroll-margin);
}

.kk-reslider-items::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}

.kk-reslider-nav {
	pointer-events: none;
}

.kk-reslider-nav-control {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	position: absolute;
	width: min(100%, var(--kk-reslider-control-width));
	height: min(100%, var(--kk-reslider-control-height));
	top: 50%;
	transform: translateY(-50%);
	background: var(--kk-reslider-control-bg);
	color: var(--kk-reslider-control-fg);
	border-radius: var(--kk-reslider-control-radius);
	transition: opacity 150ms ease-in-out, color 150ms, background-color 150ms;
	display: block;
	pointer-events: all;
	cursor: pointer;
	text-align: left;
	border: 0 none;
}

.kk-reslider-nav-control:focus-visible {
	outline: 2px solid var(--kk-reslider-control-hover-bg);
	outline-offset: 1px;
}

.kk-reslider--vertical>.kk-reslider-nav>.kk-reslider-nav-control {
	top: auto;
	left: 50%;
	width: min(100%, var(--kk-reslider-control-height));
	height: min(100%, var(--kk-reslider-control-width));
	transform: translateX(-50%);
}

.kk-reslider-nav-control:hover {
	background: var(--kk-reslider-control-hover-bg);
	color: var(--kk-reslider-control-hover-fg);
}

.kk-reslider-nav-control:after {
	content: "";
	-webkit-mask-size: var(--kk-reslider-control-icon-size);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center center;
	mask-size: var(--kk-reslider-control-icon-size);
	mask-repeat: no-repeat;
	mask-position: center center;
	background: currentColor;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transition: opacity 200ms;
}

.kk-reslider--vertical>.kk-reslider-nav>.kk-reslider-nav-control:after {
	transform: rotate(90deg);
}

.kk-reslider-nav-control--prev {
	left: var(--kk-reslider-navigation-offset);
}

.kk-reslider--vertical>.kk-reslider-nav>.kk-reslider-nav-control--prev {
	top: var(--kk-reslider-navigation-offset);
}

.kk-reslider-nav-control--prev:after {
	-webkit-mask-image: var(--kk-reslider-control-prev-icon);
	mask-image: var(--kk-reslider-control-prev-icon);
}

.kk-reslider-nav-control--next {
	right: var(--kk-reslider-navigation-offset);
}

.kk-reslider--vertical>.kk-reslider-nav>.kk-reslider-nav-control--next {
	bottom: var(--kk-reslider-navigation-offset);
}

.kk-reslider-nav-control--next:after {
	-webkit-mask-image: var(--kk-reslider-control-next-icon);
	mask-image: var(--kk-reslider-control-next-icon);
}

.kk-reslider-nav-control.kk-reslider-nav-control--loading:after {
	-webkit-mask-image: var(--kk-reslider-control-loading-icon);
	mask-image: var(--kk-reslider-control-loading-icon);
	animation: kk-reslider-loading-anim 1500ms linear infinite;
	opacity: 0.3;
}

.kk-reslider[data-scrollpos-end="true"][data-scrollpos-start="true"] .kk-reslider-nav-control {
	display: none;
}

/* only hide navigation if we have a hoverable input device (mice) */
.kk-reslider[data-reslider-navigation-autohide="true"]:not([data-reslider-input="touch"]):not(:focus-within):not(:active):not(:hover)>.kk-reslider-nav>.kk-reslider-nav-control {
	pointer-events: none;
	opacity: 0;
}

.kk-reslider-nav-control[disabled] {
	color: var(--kk-reslider-control-disabled-fg);
	background-color: var(--kk-reslider-control-disabled-bg);
	cursor: not-allowed;
}

.kk-reslider-nav-control[disabled]:after {
	opacity: 0.3;
}

.kk-reslider-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: nowrap;
	overflow-y: hidden;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
	overscroll-behavior: contain auto;
}

.kk-reslider-pagination:not(:empty) {
	margin: 0.75rem 0;
}

.kk-reslider-pagination>.kk-reslider-page {
	cursor: pointer;
	padding: 9px;
	transition: opacity 200ms, transform 200ms;
	color: var(--kk-reslider-pagination-bg);
	border: 0 none;
	background: none;
}

.kk-reslider-pagination>.kk-reslider-page:focus-visible::after {
	outline: 2px solid var(--kk-reslider-control-hover-bg);
	outline-offset: 1px;
}

.kk-reslider-pagination>.kk-reslider-page[data-active="true"] {
	transform: scale(1.4);
	opacity: 1;
	color: var(--kk-reslider-pagination-active-bg);
}

.kk-reslider-pagination>.kk-reslider-page:after {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 7px;
	background: currentColor;
}

@keyframes kk-reslider-loading-anim {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}