/* Top Banner Styles */
.top-banner {
    background-color: #808080;
    color: white;
    padding: 10px 60px;
    padding-right: 40px;
    font-size: var(--font-size-small);
    margin-left: -1px;
}

.top-banner > div {
    display: flex;
    width: 100%;
    align-items: center;
}

.top-banner a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-small);
    white-space: nowrap;
}

@media (max-width: 767px){
    .top-banner {
        padding: 5px 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1002;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 440px) {
    .top-banner {
        /* margin-bottom: 0.8rem !important; */
    }
}

/* Announcement Container animation */
.announcement-container {
    display: block;
    width: calc(100% - 50px);
    overflow: hidden;
    position: relative;
}

.announcement-details {
    display: inline-block;
    white-space: nowrap;
    position: relative;
}

/* .announcement-details.marquee {
    animation: marquee 15s linear infinite;
    animation-delay: 5s;
} */

/* .ticker {
  width: 100%;
  max-width: 480px;
  height: 48px;      
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
} */

/* .item {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 16px;
  pointer-events: none;
} */

.vertical-enter-from { transform: translateY(100%); opacity: 0; }
.vertical-enter-active { transition: transform 350ms ease, opacity 350ms ease; }
.vertical-enter-to   { transform: translateY(0%);   opacity: 1; }

.vertical-leave-from { transform: translateY(0%);   opacity: 1; }
.vertical-leave-active{ transition: transform 350ms ease, opacity 350ms ease; }
.vertical-leave-to    { transform: translateY(-100%); opacity: 0; }

.announcement-details::after {
    content: attr(data-text);
    position: absolute;
    left: 100%;
    white-space: nowrap;
    margin-left: 20px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 20px));
    }
}