﻿
.goto {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: #f0f1f3;
}

    .goto .goto-buttons {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        position: relative;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .goto .goto-buttons::-webkit-scrollbar {
            width: 0;
            height: 0;
        }

@media screen and (max-width: 991px) {
    .goto .goto-buttons {
        gap: 0.5rem;
    }
}

.goto .goto-buttons .goto-button {
    flex: 1;
    user-select: none;
    text-align: center;
    border: 1px solid #dddddd;
    background-color: white;
    padding: 0.65rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    color: var(--theme-dark-blue);
    transition: all 0.05s ease-in-out;
}

@media screen and (max-width: 991px) {
    .goto .goto-buttons .goto-button {
        flex: 0 0 25%;
    }
}

.goto .goto-buttons .goto-button.active, .goto .goto-buttons .goto-button:hover {
    color: white;
    border-color: var(--theme-dark-blue);
    background-color: var(--theme-dark-blue);
}


.goto-sticky {
    width: 100%;
    background-color: rgb(234, 234, 235);
    transition: all 0.2s ease;
    z-index: 10;
}

    .goto-sticky.is-fixed {
        position: fixed; /* FIXED after scroll */
        top: var(--header-height); /* right under main-container */
        left: 0;
        right: 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

/*@media (max-width: 992px) {
    .goto-sticky {
        position: sticky;
        top: 64px;
        z-index: 10;
    }
}
*/
/*@media (min-width: 993px) and (max-width: 1400px) {
    .goto-sticky {
        position: sticky;
        top: 70px;
        z-index: 10;
    }
}
*/
.left-shadow {
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    height: 100%;
    width: 32px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, rgb(245, 245, 247) 75%);
    z-index: 5;
}

.right-shadow {
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    right: 0;
    top: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: right;
    height: 100%;
    width: 32px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgb(245, 245, 247) 75%);
    z-index: 5;
}

    .left-shadow.show,
    .right-shadow.show {
        visibility: visible;
        pointer-events: all;
    }


:root {
    --header-height: 55px;
}

@media (min-width: 993px) {
    :root {
        --header-height: 107px;
    }
}

.goto-dropdown {
    width: 100%;
    padding: 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    font-weight: 600;
    color: var(--theme-dark-blue);
    display: none; /* default hidden for desktop */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem; /* space for chevron */
}



/* Show on mobile (<768px) */
@media screen and (max-width: 767px) {
    .goto-buttons {
        display: none !important; /* hide horizontal buttons */
    }

    .goto-dropdown {
        display: block;
    }
}