/**
    Marquee Animation Style 
*/

.wdt-animation-holder { mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%); }
.wdt-animation-wrapper { position: relative; display: flex; flex-flow: row nowrap; overflow: visible; overflow-x: clip; }

.wdt-animation-wrapper div[class*="-marqee"] { width: auto; flex: 0 0 auto; display: grid; grid-auto-flow: column; align-items: center; }

.wdt-animation-wrapper div[class*="-marqee"] .wdt-animation-item { display: inline-flex; flex: 0 0 auto; text-align: center; position: relative; }
.wdt-animation-wrapper div[class*="-marqee"] .wdt-animation-item i { display: inline-flex; }
.wdt-animation-wrapper .wdt-animation-item { padding: 0 clamp(1.875rem, 1.5963rem + 1.2739vw, 3.125rem); /*  Min-30 & Max-50 */ }

.wdt-animation-wrapper div[class*="-marqee"].right-to-left { 
    -webkit-animation: MarqueeLeft 24s linear infinite 0ms; animation: MarqueeLeft 24s linear infinite 0ms; }
.wdt-animation-wrapper div[class*="-marqee"].left-to-right { 
    -webkit-animation: MarqueeRight 24s linear infinite 0ms; animation: MarqueeRight 24s linear infinite 0ms; }
  
.wdt-animation-wrapper:hover div[class*="-marqee"] { -webkit-animation-play-state: paused; animation-play-state: paused; }

@keyframes MarqueeLeft { 
    from { margin-left: 0; } 
    to { margin-left: var(--wdt-marque-Margin-Width); } 
}
@keyframes MarqueeRight { 
    from { margin-left: var(--wdt-marque-Margin-Width); } 
    to { margin-left: 0; } 
}

/**
    Animation Text Style 
*/

.wdt-animation-item.text-item { display: inline-block; font-size: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */
    font-weight: var(--wdtFontWeight_Alt); font-family: var(--wdtFontTypo_Alt); text-transform: capitalize; line-height: 1; }

.wdt-animation-item.text-item,
.wdt-animation-item.text-item a { color: var(--wdtHeadAltColor); text-decoration: none !important; }
.wdt-animation-item.text-item a:hover { color: var(--wdtPrimaryColor); }

/**
    Animation Icon Style 
*/

.wdt-animation-item.icon-item { display: flex; align-items: center; justify-content: center;
    font-size: clamp(4.375rem, 3.539rem + 3.8217vw, 8.125rem); /* Min-70 & Max-130 */ color: rgba(var(--wdtHeadAltColorRgb),0.2);transition: var(--wdt-Ad-Transition);-webkit-transition: var(--wdt-Ad-Transition); }

.wdt-animation-item.icon-item svg { width: 1em; height: 1em; fill: currentColor; }
.wdt-animation-item.icon-item:hover { color: var(--wdtHeadAltColor); }

/**
    Animation Image Style 
*/

.wdt-animation-item.image-item img { object-fit: cover; object-position: center;
    width: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */
    height: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */ }

/* ===========================
    Vertical Animation Style
=========================== */

.wdt-animation-holder.vertical {
    overflow: hidden;
    max-height: 600px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, var(--wdtHeadAltColor) 5%, var(--wdtHeadAltColor) 95%, transparent 100%);
    mask-image: linear-gradient(to top, transparent 0%, var(--wdtHeadAltColor) 5%, var(--wdtHeadAltColor) 95%, transparent 100%);
}
.wdt-animation-holder.vertical .wdt-animation-wrapper {
    height: var(--wdt-marque-height);
}

.wdt-animation-holder.vertical .wdt-animation-wrapper { flex-flow: column nowrap; }
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"] {grid-auto-flow: row;}
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].top-to-bottom,
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].top-to-bottom~div[class*="-cloned-marqee"] {
    -webkit-animation: MarqueeTop 24s linear infinite 0ms;
    animation: MarqueeTop 24s linear infinite 0ms;
}
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].bottom-to-top,
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].bottom-to-top~div[class*="-cloned-marqee"] {
    -webkit-animation: MarqueeBottom 24s linear infinite 0ms;
    animation: MarqueeBottom 24s linear infinite 0ms;
}
.wdt-animation-wrapper:hover div[class*="-marqee"] {
    -webkit-animation-play-state: paused !important;
    animation-play-state: paused !important;
}
@keyframes MarqueeTop {
    from { transform: translateY(var(--wdt-marque-Margin-height)); }
    to { transform: translateY(0); }
}

@keyframes MarqueeBottom {
    from { transform: translateY(0); }
    to { transform: translateY(var(--wdt-marque-Margin-height)); }
}

/**
    Responsive - AT Media Query
    --------------------------------
*/
@media screen and (max-width:1280px) {
    .wdt-animation-holder.vertical {
        max-height: 550px;
    }
}
@media screen and (max-width:1024px) {
    .wdt-animation-holder.vertical {
        max-height: 450px;
    }
}
@media screen and (max-width:479px) {
    .wdt-animation-holder.vertical {
        max-height: 400px;
    }

}

