/* Custom Counter */
.custom-counter-container {
	display: block;
	width: 100%;
}

.custom-counter-container .custom-counter-horizontal {
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-counter-content {
	--cw-counter-media-gap: 16px;
}

.custom-counter-content.custom-counter-has-media {
	display: flex;
}

.custom-counter-body {
	min-width: 0;
}

.custom-counter-media-top {
	flex-direction: column;
	align-items: inherit;
}

.custom-counter-media-bottom {
	flex-direction: column;
	align-items: inherit;
}

.custom-counter-media-left {
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.custom-counter-media-right {
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.custom-counter-media-top .custom-counter-media-wrapper {
	margin-bottom: var(--cw-counter-media-gap);
}

.custom-counter-media-bottom .custom-counter-media-wrapper {
	margin-top: var(--cw-counter-media-gap);
}

.custom-counter-media-left .custom-counter-media-wrapper {
	margin-right: var(--cw-counter-media-gap);
}

.custom-counter-media-right .custom-counter-media-wrapper {
	margin-left: var(--cw-counter-media-gap);
}

.custom-counter-container .custom-counter-horizontal.custom-counter-align-top {
	align-items: flex-start;
}

.custom-counter-container .custom-counter-horizontal.custom-counter-align-middle {
	align-items: center;
}

.custom-counter-container .custom-counter-horizontal.custom-counter-align-bottom {
	align-items: flex-end;
}

.custom-counter-number-wrapper {
	display: inline-flex;
	align-items: baseline;
	line-height: 1;
}

.custom-counter-number {
	display: inline-block;
	font-weight: bold;
	line-height: 1;
}

.custom-counter-media-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-counter-container[data-media-animation="true"]:not(.cw-counter-media-ready) .custom-counter-media-wrapper {
	opacity: 0;
	visibility: hidden;
}

.custom-counter-icon,
.custom-counter-image,
.custom-counter-lottie {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.custom-counter-icon i,
.custom-counter-icon svg,
.custom-counter-icon svg * {
	transition: color 0.25s ease, fill 0.25s ease, stroke 0.25s ease;
}

.custom-counter-image img {
	display: block;
	max-width: 100%;
	transition: border-radius 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.custom-counter-lottie,
.custom-counter-inline-svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	min-width: 1em;
	min-height: 1em;
}

.custom-counter-lottie {
	width: var(--cw-counter-lottie-width, 96px);
	height: var(--cw-counter-lottie-height, 96px);
}

.custom-counter-lottie svg,
.custom-counter-inline-svg svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.custom-counter-svg-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.custom-counter-prefix,
.custom-counter-suffix {
	display: inline-block;
	line-height: 1;
}

.custom-counter-title {
	margin: 0;
	line-height: 1.2;
}

.custom-counter-description {
	margin-top: 10px;
	line-height: 1.4;
}

.elementor-counter-title-before .custom-counter-title,
.elementor-counter-title-after .custom-counter-title {
	display: block;
}

.elementor-counter-title-start .custom-counter-horizontal {
	flex-direction: row;
}

.elementor-counter-title-end .custom-counter-horizontal {
	flex-direction: row-reverse;
}

.cc-odometer {
	display: inline-flex;
	align-items: flex-end;
	overflow: hidden;
	vertical-align: bottom;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-shadow: inherit;
}

.cc-digit-wrap {
	display: inline-flex;
	flex-direction: column;
	height: 1em;
	overflow: hidden;
	line-height: inherit;
}

.cc-digit-strip {
	display: flex;
	flex-direction: column;
	will-change: transform;
}

.cc-digit-strip span {
	display: block;
	line-height: 1em;
	text-align: center;
}

.cc-char {
	display: inline-block;
	line-height: inherit;
	white-space: pre;
}

@media (max-width: 767px) {
	.custom-counter-container .custom-counter-horizontal {
		flex-direction: column !important;
		text-align: center;
	}

	.custom-counter-media-left,
	.custom-counter-media-right {
		flex-direction: column;
	}

	.custom-counter-media-left .custom-counter-media-wrapper,
	.custom-counter-media-right .custom-counter-media-wrapper {
		margin-right: 0;
		margin-left: 0;
	}

	.custom-counter-media-left .custom-counter-media-wrapper {
		margin-bottom: var(--cw-counter-media-gap);
	}

	.custom-counter-media-right .custom-counter-media-wrapper {
		margin-top: var(--cw-counter-media-gap);
	}

	.elementor-counter-title-start .custom-counter-title,
	.elementor-counter-title-end .custom-counter-title {
		margin: 10px 0 !important;
	}

	.custom-counter-number-wrapper {
		margin-bottom: 0 !important;
	}
}
