﻿.horizontal_scroll_menu_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.horizontal_scroll_menu_left, .horizontal_scroll_menu_right {
    width: 36px;
    height: 36px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
}

    .horizontal_scroll_menu_left:focus,
    .horizontal_scroll_menu_left:active,
    .horizontal_scroll_menu_left:hover,
    .horizontal_scroll_menu_right:focus,
    .horizontal_scroll_menu_right:active,
    .horizontal_scroll_menu_right:hover {
        background-color: var(--button-state);
    }

    .horizontal_scroll_menu_left svg, 
    .horizontal_scroll_menu_right svg {
        width: 24px;
        height: 24px;
        display: block;
    }

    .horizontal_scroll_menu_left:focus .global_icon_fill,
    .horizontal_scroll_menu_left:active .global_icon_fill,
    .horizontal_scroll_menu_left:hover .global_icon_fill,
    .horizontal_scroll_menu_right:focus .global_icon_fill,
    .horizontal_scroll_menu_right:active .global_icon_fill,
    .horizontal_scroll_menu_right:hover .global_icon_fill {
        fill: var(--icon-state);
    }

    .horizontal_scroll_menu::-webkit-scrollbar {
        display: none;
    }

.horizontal_scroll_menu {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    overflow-x: auto;
}

.horizontal_scroll_menu_link {
    min-width: 108px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 8px;
}

    .horizontal_scroll_menu_link:focus,
    .horizontal_scroll_menu_link:active,
    .horizontal_scroll_menu_link:hover {
        background-color: var(--button-state);
    }

    .horizontal_scroll_menu_link[data-active="true"] {
        background-color: var(--button-state);
    }

    .horizontal_scroll_menu_icon {
        width: 24px;
        min-height: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .horizontal_scroll_menu_icon img {
        width: 24px;
        height: auto;
        display: block;
    }

.horses_menu_link .horizontal_scroll_menu_icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sport_menu_link .horizontal_scroll_menu_icon svg {
    width: 24px;
    height: 24px;
    display: block; 
}

.horizontal_scroll_menu_link:focus .global_icon_fill,
.horizontal_scroll_menu_link:active .global_icon_fill,
.horizontal_scroll_menu_link:hover .global_icon_fill {
    fill: var(--icon-state);
}

.horizontal_scroll_menu_link[data-active="true"] .global_icon_fill {
    fill: var(--icon-state);
}

.horizontal_scroll_menu_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.horizontal_scroll_menu_link:focus .horizontal_scroll_menu_text,
.horizontal_scroll_menu_link:active .horizontal_scroll_menu_text,
.horizontal_scroll_menu_link:hover .horizontal_scroll_menu_text {
    color: var(--text-state);
}

.horizontal_scroll_menu_link[data-active="true"] .horizontal_scroll_menu_text {
    color: var(--text-state);
}


@media only screen and (min-width: 680px) {
    .horizontal_scroll_menu_left, .horizontal_scroll_menu_right {
        display: flex;
    }
}

@media only screen and (min-width: 1200px) {
    .horizontal_scroll_menu_container {
        padding: 0;
    }
}
