:root {
    --en-z-index-marquee: 2147483620;
}

.en-marquee-module * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.en-marquee-module {
    width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    background: #fff;
    /*position: relative;*/
    height: 100%;
    max-height: 40px;
    z-index: var(--en-z-index-marquee);
    display: none;
}

.en-marquee-module .en-marquee-module-content-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 100%;
    position: relative;
    min-height: 10px;
}

.en-marquee-module .en-marquee-module-content {
    display: inline-block;
    text-indent: 0;
    animation: en-marquee 20s linear infinite;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #000;
    white-space: nowrap;
    position: absolute;
    top: 50%;
}

.en-marquee-module .en-marquee-module-content:hover {
    animation-play-state: paused;
}

@keyframes en-marquee {
    0% {
        left: 100%;
        transform: translateY(-50%);
    }

    100% {
        left: 0;
        transform: translateX(-100%) translateY(-50%);
    }
}

.en-marquee-module .en-marquee-popup-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    width: 100%;
    max-width: 400px;
}

.en-marquee-module.popup-top .en-marquee-popup-wrapper {
    transform: translate(-50%, -100%);
    flex-direction: column-reverse;
}

.en-marquee-module:hover .en-marquee-popup-wrapper {
    visibility: visible;
}

.en-marquee-module.popup-bottom:hover .en-marquee-popup-wrapper {
    margin-top: -30px;
}

.en-marquee-module .en-marquee-popup-wrapper .en-marquee-popup-icon {
    border-width: 20px;
    border-style: solid;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #f8f8f8;
    border-left-color: transparent;
}

.en-marquee-module.popup-top .en-marquee-popup-wrapper .en-marquee-popup-icon {
    border-top-color: #f8f8f8;
    border-bottom-color: transparent;
}

.en-marquee-module .en-marquee-popup-wrapper .en-marquee-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    border: 1px solid #aaa;
    border-radius: 8px;
    background-color: #f8f8f8;
}


.en-marquee-module.popup-top .en-marquee-popup-wrapper .en-marquee-popup {
    flex-direction: column-reverse;
}

.en-marquee-module .en-marquee-popup-wrapper .en-marquee-popup .en-marquee-tooltip-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.en-marquee-module .en-marquee-tooltip-buttons button {
    background: #d8d8d8;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 17px;
    cursor: pointer;
    color: #333;
}

.en-marquee-module .en-marquee-tooltip-buttons button[aria-pressed="true"] {
   /* background-color: #009900;*/
}

.en-marquee-module .en-marquee-popup .en-marquee-popup-text {
    color: #000;
    margin-top: 10px;
    font-size: 17px;
    white-space: normal;
    text-align: center;
}

.en-marquee-module .en-marquee-popup .en-marquee-popup-text br {
    display: none;
}

.en-marquee-module.popup-top .en-marquee-popup .en-marquee-popup-text {
    margin-top: 0;
    margin-bottom: 10px;
}

.en-marquee-module .en-marquee-module-content.pause-animation {
    animation-play-state: paused;
}




