/* Social carousel section */
.social-carousel { position: relative; }
.social-carousel .banner { animation: gallery-420 20s linear infinite; color: transparent; height: 56px; background-image: url('/themes/joyba/img/follow-joyba-update.png'); margin-bottom: 80px; }
.social-carousel .gallery { animation: gallery-1518 20s linear infinite; color: transparent; height: 486px; background-image: url('/sites/default/files/2021-06/social-gallery.png'); margin-bottom: 120px; }
.social-carousel .images { opacity: 0; transition: all 0.5s ease-in-out; animation: social-carousel 40s linear infinite; display: flex; flex-wrap: nowrap; align-items: flex-start; white-space: nowrap; }
.social-carousel .images.paused { animation-play-state: paused; }
.social-carousel .images[style] { opacity: 1; }
.social-carousel .images + .loader { position: absolute; border: 8px solid rgba(0, 0, 0, 0.15); border-radius: 50%; border-top: 8px solid rgba(255, 255, 255, 2); width: 120px; height: 120px; animation: spin 2s linear infinite; top: 20%; left: 50%; margin-left: -60px; margin-top: 4px; transition: all 0.25s ease-in-out; }
.social-carousel .images[style] + .loader { opacity: 0; }
.social-carousel .images img { height: auto; padding: 12px 12px 24px; }
.social-carousel .icons { display: flex; padding: 0% 5%; justify-content: flex-end; }
.social-carousel .icons a { display: flex; align-items: center; width: 72px; height: 72px; margin: 0px 12px 12px; }
.social-carousel .icons a[href="toggle-carousel"] { background-image: url('../img/icon-pause.svg'); margin-right: auto; background-position: center; background-size: contain; background-repeat: no-repeat; }
.social-carousel .icons a[href="toggle-carousel"].paused { background-image: url('../img/icon-play.svg'); }

@media(max-width: 800px) {
    .social-carousel .icons a { width: 44px; height: 44px; }
}