/**
    Marquee Animation Style 
*/

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  overflow: visible;
  overflow-x: clip;
}

.wdt-animation-holder:not(.vertical)
  .wdt-animation-wrapper
  div[class*="-marqee"] {
  width: auto;
  flex: 0 0 auto;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
}

.wdt-animation-holder:not(.vertical)
  .wdt-animation-wrapper
  div[class*="-marqee"]
  .wdt-animation-item {
  display: inline-flex;
  flex: 0 0 auto;
  text-align: center;
  position: relative;
}
.wdt-animation-holder:not(.vertical) .wdt-animation-item {
  padding: 0 clamp(0.625rem, 0.4375rem + 0.9375vw, 1.5625rem); /*  Min-10 & Max-25 */
}

.wdt-animation-holder:not(.vertical)
  .wdt-animation-wrapper
  div[class*="-marqee"].right-to-left {
  -webkit-animation: MarqueeLeft 24s linear infinite 0ms;
  animation: MarqueeLeft 24s linear infinite 0ms;
}
.wdt-animation-holder:not(.vertical)
  .wdt-animation-wrapper
  div[class*="-marqee"].left-to-right {
  -webkit-animation: MarqueeRight 24s linear infinite 0ms;
  animation: MarqueeRight 24s linear infinite 0ms;
}

.wdt-animation-holder:not(.vertical)
  .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(2.125rem, 1.675rem + 2.25vw, 4.375rem); /* Min-34 & Max-70 */
  font-weight: var(--wdtFontWeight_Alt);
  font-family: var(--wdtFontTypo_Alt);
  text-transform: capitalize;
  line-height: 1.15;
}

.wdt-animation-item.text-item,
.wdt-animation-item.text-item a {
  color: rgba(var(--wdtHeadAltColorRgb), 0.1);
  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;
  color: rgba(var(--wdtHeadAltColorRgb), 0.5);
  font-size: clamp( 4.375rem, 3.539rem + 3.8217vw, 8.125rem ); /* Min-70 & Max-130 */
  -webkit-transition: var(--wdt-Ad-Transition);
  transition: var(--wdt-Ad-Transition);
}
.wdt-animation-item.icon-item:hover {
  color: var(--wdtSecondaryColor);
}

.wdt-animation-item.icon-item svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/**
    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 */
}

/**
Brand icon type1 Style 
*/

.wdt-animation-holder:not(.vertical)
  .wdt-animation-wrapper:has(.type1, .type2, .icon-item) {
  mask-image: linear-gradient(
    90deg,
    transparent,
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    var(--wdtBodyBGColor),
    transparent
  );
}
.wdt-animation-holder:not(.vertical) .wdt-animation-item.type1 {
  align-items: center;
  justify-content: center;
  color: rgba(var(--wdtHeadAltColorRgb), 0.5);
  font-size: clamp(5.625rem,4.9283rem + 3.1847vw,8.75rem); /* Min-90 & Max-140 */
  padding: clamp(1.25rem, 1.1107rem + 0.6369vw, 1.875rem) clamp(1.5625rem, 1.2838rem + 1.2739vw, 2.8125rem); /* Min-20 & Max-30 */ /* Min-25 & Max-45 */
  margin: 0 clamp(0.625rem, 0.5553rem + 0.3185vw, 0.9375rem); /* Min-10 & Max-15 */
  border: 0px solid var(--wdtBorderColor);
  background-color: var(--wdtTertiaryColor);
  -webkit-transition: var(--wdt-Ad-Transition);
  transition: var(--wdt-Ad-Transition);
}
.wdt-animation-holder:not(.vertical) .wdt-animation-item.type1 svg {
  width: 1em;
  height: auto;
}
.wdt-animation-holder:not(.vertical) .wdt-animation-item.type1:hover {
  color: var(--wdtAccentTxtColor);
  background-color: var(--wdtSecondaryColor);
  border-color: transparent;
}
/**
    Testimonial Style 
*/
.wdt-animation-item.testimonial-item {
  padding: clamp(1.25rem, 1.1107rem + 0.6369vw, 1.875rem); /* Min-20 & Max-30 */
  background: var(--wdtBodyBGColor);
  border-radius: var(--wdtRadius_Zero);
  -webkit-border-radius: var(--wdtRadius_Zero);
  border: 1px solid rgba(var(--wdtBorderColorRgb), 0.4);
  -webkit-border: 1px solid rgba(var(--wdtBorderColorRgb), 0.4);
  margin: 20px 0;
}
.wdt-animation-item.testimonial-item .testimonial-media-group {
  display: flex;
  align-items: center;
  gap: 10px 15px;
}
.wdt-animation-item.testimonial-item .testimonial-media-group .testimonial-media-content-group {
  line-height: var(--wdtLineHeight_Alt);
}
.wdt-animation-item.testimonial-item .testimonial-media-group .image-item img {
  width: 60px;
  height: 60px;
  -webkit-border-radius: var(--wdtRadius_Zero);
  border-radius: var(--wdtRadius_Zero);
}
.wdt-animation-item.testimonial-item .testimonial-content-group span {
  display: flex;
  font-size: var(--wdtFontSize_H4);
  color: var(--wdtSecondaryColor);
}
.wdt-animation-item.testimonial-item .testimonial-content-group span svg {
  width: 1em;
  height: 1em;
}
.wdt-animation-item.testimonial-item .testimonial-media-content-group .testimonial-text,
.wdt-animation-item.testimonial-item .testimonial-media-content-group .testimonial-text a {
  font-size: calc(var(--wdtFontSize_Base) + 2px);
  color: var(--wdtHeadAltColor);
  font-family: var(--wdtFontTypo_Alt);
  letter-spacing: var(--wdtLetterSpacing_3X);
}
.wdt-animation-item.testimonial-item
  .testimonial-media-content-group
  .testimonial-subtitle {
  font-size: var(--wdtFontSize_Ext);
  color: rgba(var(--wdtHeadAltColorRgb), 0.4);
  font-weight: var(--wdtFontWeight_Alt);
  line-height: 1;
}

/* ===========================
    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 .wdt-animation-item {
  display: block;
}
.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;
  }
}

/* Reliance  */

.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item) div[class*="-marqee"] .wdt-animation-item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: start;
  border: none;
}
.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item) .wdt-animation-item {
  padding: 30px;
  margin: 0 15px;
  height: 100%;
  background-color: var(--wdtTertiaryColor);
}
.wdt-animation-item.testimonial-item .testimonial-description {
  max-width: 450px;
  width: 100%;
  margin-bottom: 20px;
}

.wdt-animation-item.testimonial-item .testimonial-content-group {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  margin-bottom: 14px;
}

@media screen and (max-width: 1024px) {
  .wdt-animation-item.testimonial-item .testimonial-description {
    max-width: 400px;
  }
}
@media screen and (max-width: 767px) {
  .wdt-animation-item.testimonial-item .testimonial-description {
    max-width: 350px;
  }
}
@media screen and (max-width: 479px) {
  .wdt-animation-item.testimonial-item .testimonial-description {
    max-width: 310px;
  }
}
.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item)::before,
.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item)::after {
  content: "";
  height: 100%;
  width: clamp(3.125rem, 2.4283rem + 3.1847vw, 6.25rem);
  z-index: 1;
  position: absolute;
  top: 0;
}
.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item)::after {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}
.wdt-animation-holder .wdt-animation-wrapper:has(.testimonial-item)::before {
  right: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
}

.wdt-animation-item.testimonial-item .wdticon-stars::before,
.wdt-animation-item.testimonial-item .wdticon-stars::after {
  content: "\e807 \e807 \e807 \e807 \e807";
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  letter-spacing: 0.2em;
  font-family: "Reliance Icons";
  width: auto;
}
.wdt-animation-item.testimonial-item .wdticon-stars::after {
  content: "\e806 \e806 \e806 \e806 \e806";
  display: block;
  z-index: 1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  color: currentColor;
  background-clip: text;
  background-image: linear-gradient(
    to right,
    currentColor 50%,
    currentColor 50%
  );
  -webkit-text-fill-color: transparent;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: left center;
}

.wdt-animation-item.testimonial-item .testimonial-rating {
  display: inline-block;
  list-style: none;
  margin: 0 0px;
  padding: 0;
  vertical-align: top;
}

.wdt-animation-item.testimonial-item .testimonial-content-group .wdticon-stars {
  position: relative;
  display: inline-block;
  font-size: inherit;
  line-height: 1;
  color: var(--wdtSecondaryColor);
  margin: 0;
}



/**
    Animation Gallery Style 
*/

.wdt-animation-item.gallery-items {
  flex-wrap: wrap;
  justify-content: center;
  width: 350px;
  height: 600px;
  padding: 0 10px;
}

.wdt-animation-item.gallery-items .gallery-img {
  flex: 1 1 100%;
  position: relative;
}

.wdt-animation-item.gallery-items .gallery-img~.gallery-img {
  flex: 1 1 50%;
}

.wdt-animation-item.gallery-items .gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.wdt-animation-holder:not(.vertical) .wdt-animation-item.gallery-items {
  padding: 0 10px;
}

.wdt-animation-item.gallery-items .gallery-img:nth-child(1):not(:only-child) {
  margin-bottom: 20px;
}

.wdt-animation-item.gallery-items .gallery-img:nth-child(2):has(~ .gallery-img) {
  padding-right: 10px;
}

.wdt-animation-item.gallery-items .gallery-img:nth-child(3) {
  padding-left: 10px;
}

.wdt-animation-item.gallery-items .gallery-img .wdt-gallery-img {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.wdt-animation-item.gallery-items .gallery-img .wdt-gallery-img:after {
  content: '';
  position: absolute;
  background: var(--wdtAccentTxtColor);
  width: 32px;
  height: 32px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M97.05,84.25,79.17,66.37a6.67,6.67,0,0,0-8.29-.91l-3.59-3.4a37.52,37.52,0,1,0-5.64,5.64l3.58,3.39a6.66,6.66,0,0,0,.87,8.35L84,97.32a6.66,6.66,0,0,0,9.42,0l3.65-3.65A6.66,6.66,0,0,0,97.05,84.25ZM62.11,57.15a30.68,30.68,0,0,1-5.67,5.6,30.41,30.41,0,1,1,5.67-5.6Z'/%3E%3Cpath d='M57,35.92v5.22a1.14,1.14,0,0,1-1.14,1.14H41.88V56.14a1.23,1.23,0,0,1-1.23,1.23h-5a1.24,1.24,0,0,1-1.24-1.23V42.28h-14a1.14,1.14,0,0,1-1.14-1.14V35.92a1.14,1.14,0,0,1,1.14-1.14h14V20.93a1.24,1.24,0,0,1,1.24-1.24h5a1.23,1.23,0,0,1,1.23,1.24V34.78H55.83A1.14,1.14,0,0,1,57,35.92Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M97.05,84.25,79.17,66.37a6.67,6.67,0,0,0-8.29-.91l-3.59-3.4a37.52,37.52,0,1,0-5.64,5.64l3.58,3.39a6.66,6.66,0,0,0,.87,8.35L84,97.32a6.66,6.66,0,0,0,9.42,0l3.65-3.65A6.66,6.66,0,0,0,97.05,84.25ZM62.11,57.15a30.68,30.68,0,0,1-5.67,5.6,30.41,30.41,0,1,1,5.67-5.6Z'/%3E%3Cpath d='M57,35.92v5.22a1.14,1.14,0,0,1-1.14,1.14H41.88V56.14a1.23,1.23,0,0,1-1.23,1.23h-5a1.24,1.24,0,0,1-1.24-1.23V42.28h-14a1.14,1.14,0,0,1-1.14-1.14V35.92a1.14,1.14,0,0,1,1.14-1.14h14V20.93a1.24,1.24,0,0,1,1.24-1.24h5a1.23,1.23,0,0,1,1.23,1.24V34.78H55.83A1.14,1.14,0,0,1,57,35.92Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  z-index: 2;
  opacity: 0;
  -webkit-transform: scale(1.25);
  transform: scale(1.25);
  -webkit-transition: var(--wdt-Ad-Transition);
  transition: var(--wdt-Ad-Transition);
}

.wdt-animation-item.gallery-items .gallery-img .wdt-gallery-img:before {
  content: "";
  position: absolute;
  inset: 10px;
  background-color: rgb(var(--wdtSecondaryColorRgb), .8);
  border-radius: inherit;
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  opacity: 0;
  transition: var(--wdt-Ad-Transition);
  pointer-events: none;
  z-index: 1;
}

.wdt-animation-item.gallery-items .gallery-img:hover .wdt-gallery-img:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.wdt-animation-item.gallery-items .gallery-img:hover .wdt-gallery-img:before {
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
}

.wdt-animation-item.gallery-items .gallery-img .wdt-gallery-img img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transition: var(--wdt-Ad-Transition);
  -webkit-transition: var(--wdt-Ad-Transition);
}

.wdt-animation-item.gallery-items .gallery-img:hover .wdt-gallery-img img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.mfp-wrap.mfp-gallery .mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  top: 0;
  transform: translate(20px, 20px);
  font-size: 1.75em;
  cursor: pointer;
  background-color: var(--wdtAccentTxtColor);
  color: var(--wdtLinkColor);
}

.mfp-wrap.mfp-gallery .mfp-image-holder .mfp-close:hover {
  background: var(--wdtLinkHoverColor);
  color: var(--wdtAccentTxtColor);
}

.mfp-container button.mfp-arrow {
  background: transparent;
}
