/* Existing header layout, without presentation attributes in PHP. */
.container-top-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;
}

.container-top-header .top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

button.search-button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.scroll-to-top {
    position: fixed;
    right: 25px;
    bottom: 75px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #005bbb;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    opacity: .85;
}

.scroll-to-top:focus-visible,
button.search-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.special-aaVersion-on .container-top-header {
    display: none;
}

@media (max-width: 600px) {
    .scroll-to-top {
        right: 15px;
        bottom: 65px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: none;
    }
}
