/* Match Innomax React .header-style-two/.header-style-five .header-top */
body.innomax-react,
body.innomax-react .ae-anno-announcement-wrapper {
    font-family: "YekanBakh", sans-serif;
}

body.innomax-react .ae-anno-announcement-wrapper {
    --background-color: #212877;
    --text-color: #fff;
    --font-size: 12px;

    background-color: #212877 !important;
    color: #fff;
    text-align: center;
    position: relative;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 5px 2.5rem;
    min-height: 0;
    height: auto;
    gap: 0;
}

body.innomax-react:has(.ae-anno-announcement-wrapper) .header-top {
    display: none !important;
}

body.innomax-react .ae-anno-announcement__items {
    justify-content: center !important;
    max-width: 100% !important;
    margin: 0 auto;
    gap: 0;
}

body.innomax-react .ae-anno-announcement {
    flex: 0 1 auto;
    width: 100%;
}

body.innomax-react .ae-anno-announcement__content {
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

body.innomax-react .ae-anno-announcement__text,
body.innomax-react .ae-anno-announcement__text p {
    display: inline;
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
}

body.innomax-react .ae-anno-announcement__action {
    display: inline;
}

body.innomax-react .ae-anno-announcement__button {
    display: inline;
    font-size: 12px;
    font-weight: 700;
    color: #ffd00e !important;
    margin-inline-start: 25px;
    text-decoration: underline;
    white-space: nowrap;
}

body.innomax-react .ae-anno-announcement__button:hover {
    color: #ffd00e !important;
    opacity: 0.9;
}

body.innomax-react .ae-anno-announcement__controls {
    position: absolute;
    inset-inline-start: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 1;
}

body.innomax-react .ae-anno-announcement__controls button svg {
    height: 0.75rem;
    width: 0.75rem;
}

body.innomax-react .ae-anno-announcement__dismiss-button {
    position: absolute;
    inset-inline-end: 30px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    opacity: 0.85;
}

body.innomax-react .ae-anno-announcement__dismiss-button-icon {
    height: 0.875rem;
    width: 0.875rem;
}

@media (max-width: 991px) {
    body.innomax-react .ae-anno-announcement-wrapper {
        padding-inline: 2rem;
    }

    body.innomax-react .ae-anno-announcement__button {
        margin-inline-start: 10px;
    }

    body.innomax-react .ae-anno-announcement__controls {
        inset-inline-start: 10px;
    }

    body.innomax-react .ae-anno-announcement__dismiss-button {
        inset-inline-end: 10px;
    }
}

@media (max-width: 667px) {
    body.innomax-react .ae-anno-announcement__content {
        flex-wrap: wrap;
        row-gap: 2px;
    }
}
