﻿.ib_nav_drawer_menu {
    height: calc(100vh - 52px);
}

.ib-tote-meetings-venues {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.ib-tote-venue-date {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-blue);
}

    .ib-tote-venue-date span {
        font-weight: 600;
    }

.ib-tote-meetings-venue-items {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
}

.ib-tote-meeting-venue-description {
    display: flex;
    flex-direction: column;
}

    .ib-tote-meeting-venue-description span {
        font-weight: 600;
    }

.ib-tote-meeting-venue-action {
    display: flex;
    justify-content: center;
}

.tote-bet-open {
    width: 96px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
    cursor: pointer;
}

    .tote-bet-open:focus,
    .tote-bet-open:active,
    .tote-bet-open:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.active-venue-item .tote-bet-open {
    color: var(--text-state);
    background-color: var(--button-state);
}

.tote_events_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tote_events_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tote_events_container_group {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-blue);
}

.tote_race_meeting_title {
    font-size: 14px;
}

.select_tote_meeting_button {
    width: 100%;
    max-width: 144px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .select_tote_meeting_button:focus,
    .select_tote_meeting_button:active,
    .select_tote_meeting_button:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.tote_events {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.ib-tote-horses-bet-types {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.ib-tote-horses-bet-type-selection-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.ib-tote-featured-bets {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-blue);
}

.ib-all-to-come-action {
    width: calc(33.33% - 3px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px;
}

.color-AT {
    background-color: #9E005D;
}

.color-WN {
    background-color: #25A8E0;
}

.color-PL {
    background-color: #FF1D25;
}

.color-EW {
    background-color: #8BC541;
}

.color-SW {
    background-color: #3B4D81;
}

.color-EX {
    background-color: #F4783B;
}

.color-DB {
    background-color: #00A055;
}

.color-TF {
    background-color: #662D91;
}

.color-QT {
    background-color: #00A99D;
}

.color-JP {
    background-color: #8967AC;
}

.color-P3 {
    background-color: #FAA01E;
}

.color-QU {
    background-color: #3B4D81;
}

.color-PA {
    background-color: #3B4D81;
}

.color-BI {
    background-color: #998675;
}

.color-P6 {
    background-color: #662D91;
}

.ib-all-to-come-action-link {
    width: 100%;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    border-radius: 48px;
    cursor: pointer;
}

    .ib-all-to-come-action-link:focus,
    .ib-all-to-come-action-link:active,
    .ib-all-to-come-action-link:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.ib-ib-tote-horses-bet-type-selection {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.ib-tote-horses-bet-type-selection-race {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .ib-tote-horses-bet-type-selection-race > span {
        width: 100%;
        font-weight: 600;
    }

.ib-tote-horses-bet-type-selection-action {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
}

.ib-bet-type-selction-action {
    width: calc(20% - 4px);
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 48px;
    cursor: pointer;
}

    .ib-bet-type-selction-action:focus,
    .ib-bet-type-selction-action:active,
    .ib-bet-type-selction-action:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.ib-tote-horses-info {
    width: 100%;
    padding: 16px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

    .ib-tote-horses-info ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-left: 24px;
        list-style: disc;
    }

.tote_field_selection_description_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tote_field_selection_info {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    background-color: var(--surface-1);
    border-radius: 48px;
}

.tote_change_bet_link {
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 8px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .tote_change_bet_link:focus,
    .tote_change_bet_link:active,
    .tote_change_bet_link:hover {
        background-color: var(--button-state);
    }

.tote_change_bet_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .tote_change_bet_icon svg {
        width: 24px;
        height: 24px;
        display: block;
    }

.tote_change_bet_link:focus .global_icon_fill,
.tote_change_bet_link:active .global_icon_fill,
.tote_change_bet_link:hover .global_icon_fill {
    fill: var(--icon-state);
}

.tote_change_bet_text {
    font-weight: 600;
}

.tote_change_bet_link:focus .tote_change_bet_text,
.tote_change_bet_link:active .tote_change_bet_text,
.tote_change_bet_link:hover .tote_change_bet_text {
    color: var(--text-state);
}

.tote_field_selection {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.tote_field_selection_text {
    font-weight: 600;
}

.tote_bet_identifier {
    min-width: 60px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 48px;
}

.ib-tote-field-selection-participants {
    width: 100%;
}

.ib-tote-field-selection-participants-modifier {
    width: 100%;
}

.ib-tote-bet-modifier-action {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 4px 8px;
    border-bottom: 1px solid var(--border-blue);
}

.ib-tote-bet-modifier-action-title {
    font-weight: 600;
}

.ib-tote-bet-modifier-action-radio::-webkit-scrollbar {
    display: none;
}

.ib-tote-bet-modifier-action-radio {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
}

.choose-bet-selection {
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 8px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

.ib-tote-label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

.bet-type-value {
    font-size: 12px;
    font-weight: 600;
}

.ib-tote-label input {
    width: 20px;
    height: 20px;
    background-color: var(--button-default);
    border: 1px solid var(--border-default);
}

.ib-tote-field-selection-participants-runners {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
    margin: 4px 0;
}

.ib-tote-field-selection-participants-runners-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ib-tote-participant-runners-title {
    min-height: 36px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
}

    .ib-tote-participant-runners-title span {
        font-weight: 600;
    }

    .ib-tote-participant-runners-title > .ib-tote-odds-toggle {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
    }

.ib-tote-odds {
    font-weight: 600;
}

.ib-tote-participant-runners-title > .ib-tote-odds-toggle > .switch {
    position: relative;
    display: flex;
    width: 48px;
    height: 24px;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .ib-tote-participant-runners-title > .ib-tote-odds-toggle > .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .ib-tote-participant-runners-title > .ib-tote-odds-toggle > .switch > .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

        .ib-tote-participant-runners-title > .ib-tote-odds-toggle > .switch > .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 1px;
            bottom: 1.5px;
            background-color: var(--red);
            border-radius: 50%;
        }

    .ib-tote-participant-runners-title > .ib-tote-odds-toggle > .switch input:checked + .slider:before {
        background-color: var(--green);
        transform: translateX(24px);
    }

.ib-tote-particpant-runners-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1px;
}

.tote-list {
    width: 100%;
    min-height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    padding: 2px;
    background-color: var(--surface-1);
    border-radius: 48px;
}

    .tote-list.not-scratched {
        min-height: 36px;
        font-weight: 600;
        background-color: var(--green);
    }

        .tote-list.not-scratched .ib-tote-horse-runner {
            padding: 0 8px;
        }

    .tote-list.SCR .ib-tote-horse-runner-info span:nth-child(2) {
        text-decoration: line-through;
        text-decoration-color: var(--red);
    }

    .tote-list.SCR .ib-tote-jockey-info span {
        text-decoration: line-through;
        text-decoration-color: var(--red);
    }

    .horses-silks {
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
    }

/*.ib-tote-silk {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

.tote-list:nth-child(1) > .ib-tote-silk {
    display: none;
}

.horses-silks > img {
    width: 24px;
    height: auto;
}

.ib-tote-horse-runner {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ib-tote-horse-runner-info {
    font-size: 12px;
    font-weight: 600;
}

.ib-tote-jockey-info {
    font-size: 12px;
}

.JockeyInfoIcon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
    text-decoration: none !important;
}

    .JockeyInfoIcon::after {
        content: "i";
    }

    .JockeyInfoIcon:focus,
    .JockeyInfoIcon:active,
    .JockeyInfoIcon:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.tote-list:nth-child(1) > .ib-tote-jockey-info {
    display: none;
}

.ib-tote-participant-runners-checkbox {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

.form-fields-wrapper, form, .form-field {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.ib-tote-participant-race-number {
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

    .ib-tote-participant-race-number > span {
        font-size: 14px;
        font-weight: 600;
    }

.ib-tote-field-selection-check-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

.ib-tote-field-selection-check {
    width: 100%;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2px;
    background-color: var(--surface-1);
    border-radius: 48px;
}

    .ib-tote-field-selection-check:nth-child(1) {
        min-height: 36px;
        background-color: var(--green);
        border-radius: 48px;
    }

    .ib-tote-field-selection-check input[type="checkbox"]:not(:checked), .ib-tote-field-selection-check input[type="checkbox"]:checked {
        position: absolute;
        left: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
        width: 0px;
        height: 0px;
        box-sizing: initial;
        display: inline-block;
    }

        .ib-tote-field-selection-check input[type="checkbox"]:not(:checked) + label, .ib-tote-field-selection-check input[type="checkbox"]:checked + label {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

    .ib-tote-field-selection-check input[type="checkbox"]:disabled + label {
        background-color: var(--surface-1);
        border-radius: 50%;
        opacity: 0.50;
    }

    .ib-tote-field-selection-check input[type="checkbox"]:not(:checked) + label:before, .ib-tote-field-selection-check input[type="checkbox"]:checked + label:before {
        content: '';
        position: relative;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        border: 1px solid var(--border-default);
        background-color: var(--button-default);
        border-radius: 50%;
    }

    .ib-tote-field-selection-check input[type="checkbox"]:disabled:not(:checked) + label:before, .ib-tote-field-selection-check input[type="checkbox"]:disabled:checked + label:before {
        box-shadow: none;
        border: 1px solid #f2f2f2;
        background-color: #e9e9e9;
    }

    .ib-tote-field-selection-check input[type="checkbox"]:not(:checked) + label:after, .ib-tote-field-selection-check input[type="checkbox"]:checked + label:after {
        content: '✕';
        position: absolute;
        top: 0;
        left: 0%;
        font-size: 15px;
        font-weight: bold;
        color: var(--text);
        transform: translate(50%, 0%);
    }

    .ib-tote-field-selection-check input[type="checkbox"]:not(:checked) + label:after {
        opacity: 0;
    }

.ib-tote-odds-wrapper {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ib-tote-win-place {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0px;
    padding: 0;
}

    .ib-tote-win-place > span:nth-child(1) {
        width: 50%;
        min-height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
    }

    .ib-tote-win-place > span:nth-child(2) {
        width: 50%;
        min-height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
    }

    .ib-tote-win-place > span:nth-child(3) {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        min-height: 36px;
    }

.ib-tote-particpant-runners-odds {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

    .ib-tote-particpant-runners-odds > div {
        width: 100%;
        min-height: 40px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 1px;
    }

        .ib-tote-particpant-runners-odds > div > div:nth-child(1) {
            width: 50%;
            min-height: 40px;
            text-align: center;
            display: flex !important;
            justify-content: center;
            align-items: center;
            background-color: var(--surface-1);
            border-radius: 8px;
        }

        .ib-tote-particpant-runners-odds > div > div:nth-child(2) {
            width: 50%;
            min-height: 40px;
            text-align: center;
            display: flex !important;
            justify-content: center;
            align-items: center;
            background-color: var(--surface-1);
            border-radius: 8px;
        }

        .ib-tote-particpant-runners-odds > div > div > span {
            min-width: 48px;
            font-weight: 600;
        }

.ib-tote-multi-selection-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ib-tote-field-selection-multi-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ib-tote-race-selection-controls {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 4px;
}

.tote-click-left {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
    cursor: pointer;
}

    .tote-click-left:focus,
    .tote-click-left:active,
    .tote-click-left:hover {
        background-color: var(--button-state);
    }

    .tote-click-left svg {
        width: 24px;
        height: 24px;
        display: block;
    }

    .tote-click-left:focus .global_icon_fill,
    .tote-click-left:active .global_icon_fill,
    .tote-click-left:hover .global_icon_fill {
        fill: var(--icon-state);
    }

    .tote-click-right {
        width: 36px;
        height: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--button-default);
        border: 1px solid var(--border-blue);
        border-radius: 50%;
        cursor: pointer;
    }

        .tote-click-right:focus,
        .tote-click-right:active,
        .tote-click-right:hover {
            background-color: var(--button-state);
        }

        .tote-click-right svg {
            width: 24px;
            height: 24px;
            display: block;
        }

        .tote-click-right:focus .global_icon_fill,
        .tote-click-right:active .global_icon_fill,
        .tote-click-right:hover .global_icon_fill {
            fill: var(--icon-state);
        }

.ib-tote-field-selection-multi-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 4px;
    overflow-x: auto;
}

.ib-tote-field-selection-multi-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.ib-tote-field-selection-multi-scroll {
    width: 270px;
    max-width: 270px;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-1);
    border-radius: 8px;
}

    .ib-tote-field-selection-multi-scroll > form {
        width: 270px;
        max-width: 270px;
        display: flex;
        flex-direction: column;
        padding: 4px;
    }

.ib-tote-multi-title {
    font-weight: 600;
}

.ib-tote-multi-selection-participants {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ib-tote-multi-participant-runners-wrapper {
    width: 100%;
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
}

    .ib-tote-multi-participant-runners-wrapper:nth-child(1) {
        background-color: #4CAF50;
        border-radius: 48px;
    }

.ib-tote-multi-participant-runners {
    width: 100%;
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--surface-2);
    border-radius: 48px;
}

.ib-tote-multi-participant-runners-wrapper:nth-child(1) .ib-tote-multi-participant-runners {
    min-height: initial;
    background-color: initial;
    border-radius: initial;
}

.ib-tote-multi-participant-runners-wrapper > .ib-tote-multi-participant-runners > label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--text);
}

.SCR span {
    text-decoration: line-through;
    text-decoration-color: var(--red);
}

.ib-tote-multi-participant-checkbox input[type="checkbox"]:not(:checked), .ib-tote-multi-participant-checkbox input[type="checkbox"]:checked {
    position: absolute;
    left: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 0px;
    height: 0px;
    box-sizing: initial;
}

    .ib-tote-multi-participant-checkbox input[type="checkbox"]:not(:checked) + label, .ib-tote-multi-participant-checkbox input[type="checkbox"]:checked + label {
        position: relative;
        font-size: initial;
        line-height: 0;
        cursor: pointer;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .ib-tote-multi-participant-checkbox input[type="checkbox"]:not(:checked) + label:before, .ib-tote-multi-participant-checkbox input[type="checkbox"]:checked + label:before {
            content: '';
            position: relative;
            left: 0;
            top: 0;
            width: 24px;
            height: 24px;
            background-color: var(--surface-3);
            border: 1px solid var(--border-default);
            border-radius: 50%;
        }

        .ib-tote-multi-participant-checkbox input[type="checkbox"]:not(:checked) + label:after, .ib-tote-multi-participant-checkbox input[type="checkbox"]:checked + label:after {
            content: 'x';
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -3.5px;
            margin-left: -4.9px;
            font-size: 20px;
            font-weight: 600;
        }

        .ib-tote-multi-participant-checkbox input[type="checkbox"]:not(:checked) + label:after {
            opacity: 0;
            -webkit-transform: scale(0) rotate(45deg);
            transform: scale(0) rotate(45deg);
        }

.ib-tote-multi-participant-runners-wrapper > .ib-tote-multi-participant-runners > label > span {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.ib-tote-field-selection-all-to-come-wrapper::-webkit-scrollbar {
    display: none;
}

.ib-tote-field-selection-all-to-come-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 4px;
    gap: 8px;
    overflow-x: auto;
}

.ib-tote-field-selection-all-to-come {
    width: 270px;
    display: flex;
    flex-direction: column;
}

    .ib-tote-field-selection-all-to-come > form {
        width: 270px;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 8px;
        background-color: var(--surface-1);
        border-radius: 8px;
    }

.ib-tote-all-to-come-race-title {
    width: 100%;
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    background-color: var(--green);
    border-radius: 48px;
}

    .ib-tote-all-to-come-race-title > span {
        width: 100%;
        font-weight: 600;
    }

.ib-tote-win {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.ib-tote-place {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.ib-tote-all-to-come-participants {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 4px;
}

.ib-tote-all-to-come-participant-runners {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.ib-tote-all-to-come-participant-runner-names {
    width: 100%;
    min-height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-all-to-come-participant-runner-names > span {
        font-weight: 600;
    }

.SCR.ib-tote-all-to-come-participant-runner-names > span {
    text-decoration: line-through;
    text-decoration-color: var(--red);
}

.ib-tote-all-to-come-participant-runner-checkbox {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

.ib-tote-all-to-come-participant-runner-checkbox input {
    width: 24px;
    height: 24px;
}

[data-number="1"] {
    background-color: #f44336;
}

    [data-number="1"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="2"] {
    background-color: #FFFFFF;
}

    [data-number="2"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="3"] {
    background-color: #3F51B5;
}

    [data-number="3"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="4"] {
    background-color: #FFEB3B;
}

    [data-number="4"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="5"] {
    background-color: #4CAF50;
}

    [data-number="5"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="6"] {
    background-color: #2E2923;
}

    [data-number="6"] > span {
        color: #D4AF34;
        font-weight: 700;
    }

[data-number="7"] {
    background-color: #FF5722;
}

    [data-number="7"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="8"] {
    background-color: #E91E63;
}

    [data-number="8"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="9"] {
    background-color: #00BCD4;
}

    [data-number="9"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="10"] {
    background-color: #673AB7;
}

    [data-number="10"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="11"] {
    background-color: #9E9E9E;
}

    [data-number="11"] > span {
        color: #f44336;
        font-weight: 700;
    }

[data-number="12"] {
    background-color: #CDDC39;
}

    [data-number="12"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="13"] {
    background-color: #795548;
}

    [data-number="13"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="14"] {
    background-color: #9C27B0;
}

    [data-number="14"] > span {
        color: #FFEB3B;
        font-weight: 700;
    }

[data-number="15"] {
    background-color: #C3B091;
}

    [data-number="15"] > span {
        color: #000000;
        font-weight: 700;
    }

[data-number="16"] {
    background-color: #91D0E0;
}

    [data-number="16"] > span {
        color: #f44336;
        font-weight: 700;
    }

[data-number="17"] {
    background-color: #1A237E;
}

    [data-number="17"] > span {
        color: #ffffff;
        font-weight: 700;
    }

[data-number="18"] {
    background-color: #1B5E20;
}

    [data-number="18"] > span {
        color: #FFEB3B;
        font-weight: 700;
    }

[data-number="19"] {
    background-color: #304FFE;
}

    [data-number="19"] > span {
        color: #f44336;
        font-weight: 700;
    }

[data-number="20"] {
    background-color: #F50057;
}

    [data-number="20"] > span {
        color: #FFEB3B;
        font-weight: 700;
    }

[data-number="21"] {
    background-color: #AB47BC;
}

    [data-number="21"] > span {
        color: #1A237E;
        font-weight: 700;
    }

#jockeyModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: 8px;
    background-color: var(--opacity);
    z-index: 99999;
}

.horseracing-modal-dialog {
    pointer-events: initial;
}

.horseracing-modal-dialog {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 8px;
    background: var(--surface-1);
    border-radius: 8px;
}

.horsracing-modal-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-blue);
}

.horses-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
    cursor: pointer;
}

    .horses-modal-close::after {
        content: "x";
        top: -1px;
    }

    .horses-modal-close:focus,
    .horses-modal-close:active,
    .horses-modal-close:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.horseracing-modal-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
}

.JockeyInfoDiv {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.jockey_info_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jockey_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

.betslip_header {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.betslip_title {
    flex-direction: row;
}

.ib-tote-field-betslip-body {
    width: 100%;
}

#EnquireBet {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#BetSlipEnquireBet {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ib-tote-betslip-check-bet {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    background-color: var(--surface-2);
    border: 1px solid var(--border-blue);
    border-radius: 8px;
}

    .ib-tote-betslip-check-bet > span {
        font-weight: 600;
    }

.ib-tote-betslip-venue {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

    .ib-tote-betslip-venue span:nth-child(2) {
        font-weight: 600;
    }

.ib-tote-betslip-race {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

    .ib-tote-betslip-race span:nth-child(2) {
        font-weight: 600;
    }

.ib-tote-betslip-Bet {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

    .ib-tote-betslip-Bet span:nth-child(2) {
        font-weight: 600;
    }

.ib-tote-betslip-amount-check {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

.ib-tote-betslip-runners {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

.ib-tote-betslip-percentage {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

.ib-tote-betslip-percentage {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-3);
    border-radius: 48px;
}

    .ib-tote-betslip-amount {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 8px;
        background-color: var(--surface-3);
        border-radius: 48px;
    }

    .ib-tote-betslip-amount input::placeholder {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        color: var(--text);
        opacity: 0.50;
    }

    .ib-tote-betslip-amount input {
        min-height: 36px;
        padding: 0 8px;
        background-color: var(--surface-3);
        border: 1px solid var(--border-blue);
        border-radius: 48px;
        outline: 0;
    }

.ib-tote-betslip-action {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ib-tote-betslip-action-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 48px;
    cursor: pointer;
}

    .ib-tote-betslip-action-btn:focus,
    .ib-tote-betslip-action-btn:active,
    .ib-tote-betslip-action-btn:hover {
        background-color: var(--primary-green-hover);
    }

.ib-tote-betslip-action-confrim-bet {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

    .ib-tote-betslip-action-confrim-bet button {
        width: 100%;
        height: 48px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        background-color: var(--button-default);
        border: 1px solid var(--border-blue);
        border-radius: 48px;
    }

        .ib-tote-betslip-action-confrim-bet button:focus,
        .ib-tote-betslip-action-confrim-bet button:active,
        .ib-tote-betslip-action-confrim-bet button:hover {
            color: var(--text-state);
            background-color: var(--button-state);
        }

    .ib-tote-betslip-action-confrim-bet button:nth-child(2) {
        width: 100%;
        height: 48px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        background-color: var(--primary-green);
        border: 1px solid var(--primary-green);
        border-radius: 48px;
    }

        .ib-tote-betslip-action-confrim-bet button:nth-child(2):focus,
        .ib-tote-betslip-action-confrim-bet button:nth-child(2):active,
        .ib-tote-betslip-action-confrim-bet button:nth-child(2):hover {
            color: var(--text);
            background-color: var(--primary-green-hover);
        }

        .ib-tote-betslip-msg {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px;
        }

#BetslipMessage {
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

    #BetslipMessage.alert-danger {
        color: var(--red);
    }

.ib-tote-bet-confirmation {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.ib-tote-bet-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-blue);
}

    .ib-tote-bet-header span {
        font-weight: 600;
    }

.ib-tote-bet-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ib-tote-bet-date {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-bet-date span {
        font-weight: 600;
    }

.ib-tote-bet-venue {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-bet-venue span {
        font-weight: 600;
    }

.ib-tote-bet-race {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-bet-race span {
        font-weight: 600;
    }

.ib-tote-bet-type {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-bet-type span {
        font-weight: 600;
    }

.ib-tote-bet-runners {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 48px;
}

    .ib-tote-bet-runners span {
        font-weight: 600;
    }

.ib-tote-bet-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 8px;
}

    .ib-tote-bet-footer > .ib-tote-bet-alert {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

.ib-tote-bet-alert-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ib-tote-clear-bet-again {
    width: 144px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
    cursor: pointer;
}

    .ib-tote-clear-bet-again:focus,
    .ib-tote-clear-bet-again:active,
    .ib-tote-clear-bet-again:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

    @media only screen and (min-width: 640px) {
        .ib-all-to-come-action {
        width: calc(20% - 4px);
    }
}

@media only screen and (min-width: 1200px) {
    .ib_nav_drawer_settings {
        display: none;
    }

    .select_tote_meeting_button {
        display: none;
    }
}
