.res-tabs.res-tabs-autoplay .fl-tabs-labels .fl-tabs-label .res-tabs-label-text {
	position: relative;
	overflow: hidden;
}

.res-tabs.res-tabs-autoplay .fl-tabs-labels .fl-tabs-label.res-tabs-autoplay-active .res-tabs-label-text::after {
	animation: res-tabs-loader var(--res-tabs-autoplay-duration, 6000ms) linear forwards;
}

.res-tabs.res-tabs-autoplay .fl-tabs-labels .fl-tabs-label.res-tabs-autoplay-paused-fill .res-tabs-label-text::after {
	animation: none;
	background-size: var(--res-tabs-loader-progress, 0%) 100%;
}

.res-tabs.res-tabs-autoplay .fl-tabs-labels .fl-tabs-label.res-tabs-autoplay-reset .res-tabs-label-text::after {
	animation: none;
	background-size: 0% 100%;
}

.res-tabs.res-tabs-autoplay.res-tabs-autoplay-paused .fl-tabs-labels .fl-tabs-label.res-tabs-autoplay-active .res-tabs-label-text::after {
	animation-play-state: paused;
}

.res-tabs.res-tabs-autoplay.res-tabs-autoplay-paused .fl-tabs-labels .fl-tabs-label.fl-tab-active .res-tabs-label-text::after {
	animation: none;
	background-size: var(--res-tabs-loader-progress, 0%) 100%;
}

@keyframes res-tabs-loader {
	from {
		background-size: 0% 100%;
	}
	to {
		background-size: 100% 100%;
	}
}

@media (min-width: 992px) {
	.res-tabs.res-tabs-autoplay .fl-tabs-panel-content.fl-tab-active {
		animation: res-tabs-fade 300ms ease;
		will-change: opacity;
	}
}

@media (max-width: 991px) {
	.res-tabs.res-tabs-autoplay .fl-tabs-labels .fl-tabs-label .res-tabs-label-text::after {
		opacity: 0;
		animation: none;
	}
}
