#root .betslip, #root .ticket-tab:has(.ticket-tab-menu) {
    font-size: 0.9rem;
    width: 100%;
    /* padding-top: 6px; */
    border-radius: 0 0 10px 10px;
    border-top: 0;
}

#root .betslip:has(.betslip-empty-message) {
    border: unset;
}

#root .betslip {
    font-size: 0.9rem;
    width: 100%;
    padding-top: 0;
    border-radius: unset;
    border-top: 0;
}

#root .mobile .betslip .betslip-bets-container {
    margin: 0 6px;
}

#root .mobile-betslip {
    background-color: var(--aw-background);
}

#root .betslip button, #root .auth-action {
    /* min-width: 30px; */
    /* max-width: 100%; */
    /* min-height: 30px; */
    /* background-color: var(--c-o1i); */
    /* border-radius: var(--r-d2); */
    /* font-size: 1em; */
    /* font-family: 'IBM Plex Sans'; */
    /* background-color:transparent; */
}

#root .mouse .betslip button.place-bet:not(.place-free-bet):hover {
    /* background-image: var(--g-0); */
    color: var(--aw-label-button-primary-hover);
    background-color: var(--aw-button-primary-hover);
}

#root .quickbet app-popular-bet button span ,#root .betslip app-popular-bet button span {
    display: none;
}

#root .betslip app-popular-bet button:before, #root .quickbet app-popular-bet button:before {
    font: var(--icon-font);
    content: " app-flame";
    font-size: 32px;
    display: inline-block;
    font-style: unset;
    width: 32px;
    min-width: 32px;
    text-align: left;
}
#root .betslip app-popular-bet button:after, #root .quickbet app-popular-bet button:after {
    font: var(--icon-font);
    content: " ba-plus-circle-i";
    font-size: 14px;
    display: inline-block;
    font-style: unset;
    width: 14px;
    min-width: 14px;
    line-height: 14px;
    height: 14px;
    text-align: left;
    position: absolute;
    top: 23px;
    border-radius: 50%;
    left: 16px;
    background-color: var(--o-primary);
}
#root .betslip .bet-remove.grouped {
    margin: 0 5px;
}

#root .betslip-wrapper {
    display: flex;
    max-width: var(--c-r-sidebar-max);
    width: 100%;
    flex-direction: column;
    border: unset;
    padding: 0;
    margin: 0;
    min-inline-size: unset;
}
#root .betslip-wrapper .betslip-container {
    display: inline-flex;
    gap: 8px;
    flex-direction: column;
    margin-bottom: 16px;
}
#root .betslip-wrapper .betslip-container.empty {
    background-color: var(--o-primary);
    padding:var(--s-2x);
    text-align:center;
    height: auto;
    min-height: 52px;
    border-radius:  var(--r-b);
}
#root .betslip-wrapper .betslip-container.empty app-betslip-header {
    display: none;
}
#root .betslip-wrapper .betslip-container .betslip-empty-message {
    margin: auto 0;
    /* padding: 12px 0; */
}

#root .betslip-wrapper .title-container {
    z-index: 1;
    display: flex;
    position: absolute;
    height: 48px;
    padding: 0 16px;
    transform: translateY(-47px);
    overflow: hidden;
    flex-direction: row;
    align-items: center;
    margin-left: 84px;
    display: none;
}

#root .mobile .betslip-wrapper .title-container {
    justify-content: flex-end;
    left: 70px;
    margin-left: unset;
}

#root .mobile app-betslip-new .title-container .betslip-title {
    display: flex;
}

#root .betslip-wrapper .title-container .betslip-label {
    display: none;
}

#root .mobile .betslip-wrapper .title-container .betslip-label {
    font-size: 1rem;
    align-items: center;
    margin-right: 8px;
}

#root .mobile .betslip-wrapper .title-container .betslip-label:before {
    content: " bet-betslip";
    font-family: BIF;
    color: var(--c-f);
    font-size: 24px;
    margin-right: 4px;
}

#root .betslip-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

#root .betslip-wrapper .title-container .betslip-arrow {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px;
    font-size: 0;
}

#root .betslip-wrapper .title-container .betslip-arrow::before {
    content: " ar-down";
    font-family: "BIF";
    display: inline-block;
    font-size: 24px;
    color: var(--c-f)
}

#root .mobile-betslip-view .betslip-wrapper .title-container .betslip-arrow {
    display: none;
}

#root #mainDiv:not(.mobile) .betslip-wrapper .title-container .betslip-arrow {
    display: none;
}

#root .betslip-wrapper .title-container .betslip-counter {
    padding: 4px;
    background-color: var(--o-primary-b);
    min-width: 25px;
    min-height: 24px;
    border-radius: 12px;
    font-size: 1.12em;
    border: 2px solid var(--o-primary);
}

#root .betslip-wrapper .betslip-group-mode-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    margin-right: auto;
    color: var(--c-f-e)
}

#root .betslip-wrapper .betslip-group-mode-wrapper label {
    color: transparent;
    position: relative;
    font-size: 0px;
    display: flex;
    align-items: center;
    padding: 3px;
}

#root .betslip-wrapper #toggle-group-mode-button {
    width: 65px;
    height: 24px;
    border-radius: 50px;
    position: relative;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: transparent;
    border: 1px solid var(--c-tint)
}

#root .betslip-wrapper #toggle-group-mode-button:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .3s;
}

#root .betslip-wrapper #toggle-group-mode-button::after {
    content: "Toggle";
    position: absolute;
    left: unset;
    right: 5px;
    bottom: 4px;
    font-size: 11px;
}

#root .betslip-wrapper #toggle-group-mode-button.toggled:before {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}

#root .betslip-wrapper #toggle-group-mode-button.toggled::after {
    content: "Select";
    left: 8px;
    right: unset;
    transition: .1s;
}

#root .betslip-wrapper .betslip-clear-stake-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

#root .betslip-wrapper .betslip-clear-stake-wrapper label {
    display: none;
}

#root .betslip-wrapper .clear-betslip-stake-button {
    background-repeat: no-repeat;
    background-size: 20px 20px;
    min-width: 24px;
    max-width: 100%;
    background-color: transparent;
}

#root .betslip-wrapper .toggle-group-picker-button, #root .betslip-wrapper .clear-betslip-stake-button {
    height: 24px;
    min-height: 24px;
}

#root .betslip-wrapper app-window-tabs{
    /* padding: 6px; */
    display: flex;
    margin-top: -8px;
    position: sticky;
    top: 60px;
    z-index: 7;
}

#root .desktop .betslip-wrapper app-window-tabs {
    padding: 0
}

#root .betslip-wrapper .window-tabs {
    height: 40px;
    /* padding: 0px 6px; */
    /* margin-bottom: 8px; */
    width: auto;
    display: inline-flex;
    justify-content: space-around;
    background-color: var(--o-primary);
    /* border-radius: var(--r-d2); */
    /* box-shadow: var(--x-surface-i); */
    flex: 1 1 100%;
    box-shadow: var(--x-d-b);
}

#root.ticket-settled .ticket-tab-menu-item.settled, #root:not(.ticket-settled) .ticket-tab-menu-item.open, #root .betslip-wrapper .betslip-tab.tab-selected, #root.show-recent-tickets.ticket-settled .ticket-tab-menu-item.settled, #root.show-recent-tickets:not(.ticket-settled) .ticket-tab-menu-item.open {
    border-radius: 0;
    color: var(--c-f);
    background-color: var(--o-primary-c);
    /* border-radius: var(--r-d2); */
    /* box-shadow: var(--x-d-b); */
    background-color: var(--aw-betslip-tab-selected);
    font-weight: 700;
}

#root .betslip-wrapper .betslip-tab, #root .ticket-tab-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    /* text-transform: uppercase; */
    margin: 0 auto;
    color: var(--c-f-s);
    line-height: 40px;
    flex: 1 1 50%;
    width: unset;
}

#root .betslip-wrapper .betslip-tab.tab-disabled {
    cursor: not-allowed
}

#root .betslip-container .betslip-events-wrapper > app-betslip-event, #root .betslip-container .betslip-events-wrapper > app-betslip-match, #root .betslip-container .betslip-events-wrapper > app-betslip-outright, #root .betslip-container .betslip-events-wrapper > app-betslip-outrights {
    position: relative;
    /* background-color: var(--o-primary-c); */
    background-color: var(--aw-betslip-selection);
    border-radius: var(--r-d2);
    /* background-image: var(--g-1i); */
    /* box-shadow: var(--x-d-t); */
    /* overflow: hidden; */
    /* margin-bottom: 8px; */
    display: flex;
    flex-direction: column;
    /* padding-bottom: 8px; */
}

#root .betslip-container .betslip-events-wrapper > app-betslip-match .bet-container, #root .betslip-container .betslip-events-wrapper > app-betslip-event .bet-container, #root .betslip-container .betslip-events-wrapper > app-betslip-outrights .bet-container {
    display: inline-flex;
    /* gap: 8px; */
    width: 100%;
    flex-direction: column;
}
#root .betslip-container.tab-events .betslip-events-wrapper > app-betslip-match .bet-container .match-not-combinable {
    display:none
}
#root .betslip-bets-container, #root .betslip-events-wrapper {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}
#root .betslip-events-wrapper {
    /* padding:0 4px; */
}

#root .betslip-container .bet-container.outright-bet.not-combined {
    border-radius: 0px;
    margin-bottom: 0
}

#root .betslip-container .bet-container .bet-match-date-time {
    order: 2;
    /* padding: 0px 10px 10px 0px; */
    /* border-top: 1px solid var(--c-o2i); */
    width: 100%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 0px;
    min-width: 80px;
    gap: 8px;
    justify-content: flex-start;
    order: 0;
    color: var(--aw-text-s);
    font-size: 12px;
}

#root .betslip-container .bet-container .bet-match-date-time span {
    /* margin-right: 5px; */
}

#root .betslip-container .bet-container.match-bet.not-combined {
    border-radius: unset;
    margin-bottom: 0;
    background-image: unset
}

#root .bet-container .bet-container {
    box-shadow: none;
}

#root app-betslip-match app-betslip-event .bet-container.match-bet {
    box-shadow: unset;
    background-color: unset
}

app-betslip-match-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: row;
    order: -1;
    gap: 4px;
}

.tab-systems app-betslip-match-header {
    /* flex-direction: column; */
    /* background-color:  var(--c-o); */
}

.tab-events app-betslip-match-header, .tab-multiple app-betslip-match-header, .tab-systems app-betslip-match-header, .bet-container.outright-bet app-betslip-outright-header {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: space-between;
    align-items: end;
    order: -1;
    padding-bottom: 4px;
    /* border-bottom: var(--aw-separator-m); */
}
.tab-events .betslip-match-content {
}

.bet-details-odds {
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: normal;
    display: flex;
    padding: 0 8px;
    order: 1;
    align-items: center;
    min-width: 0;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 36px;
    max-width: 100%;
    gap: 4px;
    flex: 1 1 100%;
    /* background-image:  var(--g-headers); */
}
.tab-systems .bet-details-odds {
    padding-right: 36px;
}

.betslip-container:not(.tab-systems) .bet-details-odds {
    padding: 0px 0 0px 6px;
}

.bet-details-odds .bet-match-info {
    order: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 8px;
}

app-bet-event-actions button {
    height: 30px;
    width: 30px;
}

#root .bet-remove, #root .clear-betslip-button, #root .match-bet button,#root .outright-bet button {
    /* border-radius: var(--r-d2); */
    padding: 0px;
    font-size: 1rem;
    /* border: var(--aw-input-border); */
    background-color: var(--aw-betslip-selection);
    z-index: 5;
    cursor: pointer;
    position:relative;
}

app-betslip-counter {
    margin-left: 4px;
    font-weight: 600
}

#root button.clear-betslip-button {
    width: 100%;
    min-height: 36px;
    padding-left: 18px;
    /* border-radius: var(--r-d2); */
    margin: 0 1px 0 1px;
    background-color: transparent;
    /* box-shadow: var(--x-outline); */
    font-size: 0;
}

#root.collapse .right-sidebar button.clear-betslip-button {
    min-width: 30px !important;
    margin: unset;
    padding: 3px;
}

#root .bet-match-info .sport-icon {
    /* margin: 0px 8px 0px 0px; */
    flex: 0 0 24px;
    /* display: none; */
}

.bet-match-info .sport-icon::before {
    font-size: 22px;
}

.bet-match-tournament-info {
    display: none;
}

.bet-event {
    min-width: 0px;
    overflow: hidden;
    display: inline;
    margin-top: auto;
    margin-bottom: auto;
    height: unset;
    /* line-height: 15px; */
    display: inline-flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-width: 0px;
}

#root .betslip-container .bet-event .match-competitor {
    font-weight: 500;
    /* max-width: 170px; */
    font-size: 1rem;
    font: var(--aw-text-betslip-event);
    /* width: 200px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#root .betslip-container.tab-events .bet-event .match-competitor, #root .betslip-container.tab-multiple .bet-event .match-competitor {
    width: 100%;
}

.bet-event .match-versus {
    display: none;
    font-weight: 300;
    font-size: .8rem;
}

.bet-details-odds app-bet-event-actions {
    order: 3;
    margin-right: 0px;
    margin-left: auto;
    display: flex;
    gap: 0px;
    /* margin-top: -15px; */
    /* margin-right: -3px; */
    flex-direction: column;
    position: absolute;
    top: 4px;
    right: 5px;
}
 app-group-selection button.unselected, app-banker-selection button.unselected {
    background-color: var(--c-o1i)
}

.tab-events .live-match .bet-details-odds, .tab-multiple .live-match .bet-details-odds {
    overflow: hidden;
}

app-bet-event-live-info {
    width: 100%;
    display: inline-flex;
    justify-content: start;
    /* position: absolute; */
    pointer-events: none;
}

app-bet-event-live-info:empty {
    display: none;
}

.bet-live-selection, .match-bet .bet-match-date-time {
    display: flex;
    background-color: unset;
    padding: 0px;
    border-top: 1px solid var(--c-shade);
    padding: 6px 8px 2px 6px;
}

.tab-events .live-match .bet-live-selection, .live-match .bet-live-selection {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    align-items: center;
    justify-content: flex-start;
    position: relative;
    border: none;
    /* box-shadow: var(--x-d-t3); */
    font-size: 10px;
    line-height: 10px;
    height: auto;
    letter-spacing: .125px;
    width: 100%;
    gap: 6px;
    color: var(--aw-live);
}

.bet-live-selection .live-label {
    font-style: normal;
    /* padding: 0px 3px; */
    background-color: var(--c-red);
    height: 12px;
    display: flex;
    align-items: center;
}

.tab-events .live-match .bet-live-selection .live-label, .live-match .bet-live-selection .live-label {
    text-align: right;
    /* margin-right: auto; */
    color: transparent;
    font-size: 0px;
    order: 0;
}

.live-match .bet-live-selection .live-label:before {
    font: var(--icon-font);
    font-size: 10px;
    line-height: 10px;
    height: 12px;
    content: " ti-live-i";
    color: var(--aw-live);
}

#root .bet-live-selection .live-progress {
    /* margin-left: 5px; */
    /* font-weight: 600; */
    /* color: var(--aw-live); */
}

#root .bet-live-selection .live-separator {
    display: none
}

#root .bet-live-selection .live-score {
    margin: unset;
    /* display: flex; */
    /* flex-direction: column; */
    /* font-weight: 600; */
}

.betslip-match-content {
    display: flex;
    align-items: end;
    flex-direction: row;
    justify-content: center;
    /* flex-wrap: wrap; */
    /* box-shadow: var(--x-d-t); */
    /* background-color: var(--o-primary-b); */
    /* overflow:hidden; */
    order: -1;
    /* gap: 8px; */
    position: relative;
    padding-bottom: 8px;
    padding-top: 6px;
    border-top: var(--aw-separator-m);
}

.betslip-events-wrapper > app-betslip-event .betslip-match-content, .betslip-events-wrapper > app-betslip-match app-betslip-event:last-of-type .betslip-match-content {
    /* border-bottom-left-radius:var(--r); */
    /* border-bottom-right-radius:var(--r); */
}

.match-suspended .betslip-match-content .bet-actions > *:not(app-bet-event-actions), .match-suspended .betslip-match-content .bet-stake-payout, .match-suspended .bet-actions:before {
    opacity: 0.4;
}

.outright-bet .bet-stake-payout {
    width: 100%;
}
.betslip-container:not(.tab-events) .outright-bet  .bet-stake-payout {
    display:none;
}
.tab-systems .outright-bet .bet-stake-payout .payout-input {
    margin-left: auto;
    margin-right: 2px;
    margin-bottom: 2px;
}

.outright-bet .betslip-match-content {

    /* flex-wrap: wrap; */
    /* justify-content: flex-end; */
    padding-left: 30px;

}

.tab-events .betslip-match-content {
    position: relative;
    /* flex-wrap: wrap; */
}

#root .tab-events .betslip-match-content .bet-actions .bet-remove {
    right: 0;
    top: 0px;
}

.is-combined .bet-actions .bet-odds-inline,
.not-combinable .combined-odds .inline-odds{
    flex-direction: column;
    visibility: visible !important;
    color:  var(--aw-text-d);
}
.bet-actions .bet-odds-inline .inline-odds {
       margin: 0 4px;
    font-weight: 500;
    font-size: 1rem;
    font: var(--aw-text-betslip-odds);
}
.bet-actions .bet-odds-inline .bet-old-odds {
    font-size: 1rem;
    position: relative;
    text-align: right;
    text-decoration: line-through;
    color: var(--c-f-d);
     
}

.bet-actions {
  padding: 0px 9px 0 8px;
    align-items: end;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    min-height: 36px;
    /* position: relative; */
    flex: 1 1 100%;
}
.tab-events .bet-actions {
     /* padding-right:4px; */
}
.betslip-match-content app-bet-event-actions {
    order: 0;
    position: absolute;
    top: 3px;
    left: 6px;
    cursor: pointer;
    border-radius: var(--r-d2);
    color: var(--aw-text-d);
    cursor: pointer;
}
.tab-events .betslip-match-content app-bet-event-actions {

}

#root .mouse .betslip-match-content app-bet-event-actions:hover {
    /* background-color: var(--o-primary-a); */
    color: var(--aw-text-e);
}

.match-suspended .betslip-match-content app-bet-event-actions {
    justify-content: flex-end;
    flex-direction: row;
    align-items: center;
    display: inline-flex;
    color: var(--aw-text);
}

/* .bet-actions .bet-min-combinations {
 
    display: inline;
    width: 17px;
    height: 11px;
    font-size: 0px;
    text-align: center;
    line-height: 11px;
    padding: 0px 3px 0px 2px;
    border: 1px solid #0000;
    border: 0;
    border-radius: 2px;
    letter-spacing: -1px;
    background-color: var(--o-green-a);
    color: var(--c-s-black);
    font-weight: 700;
    text-wrap: nowrap;

} */

.bet-actions .bet-min-combinations.bet-min-1 , .bet-actions .bet-min-combinations.bet-min-2 , .bet-actions .bet-min-combinations.bet-min-3 , .bet-actions .bet-min-combinations.bet-min-4 {
    font-size: 0;
}

.bet-actions .bet-min-combinations.bet-min-1:before , .bet-actions .bet-min-combinations.bet-min-2:before , .bet-actions .bet-min-combinations.bet-min-3:before , .bet-actions .bet-min-combinations.bet-min-4:before {
    /* font: var(--icon-font); */
    /* min-width: 24px; */
    /* height: 24px; */
}

/*.bet-actions .bet-min-combinations.bet-min-1:before {
    content: " bet-min-bet-1";
}

.bet-actions .bet-min-combinations.bet-min-2:before {
    content: " bet-min-bet-2";
}

.bet-actions .bet-min-combinations.bet-min-3:before {
    content: " bet-min-bet-3";
}

.bet-actions .bet-min-combinations.bet-min-4:before {
    content: " bet-min-bet-4";
}
*/
#root .mouse .match-invalid-combs .bet-min-combinations:hover::after, #root .mouse .bet-min-combinations:hover::after {
    content: "Minimum Combination";
    text-align: left;
    padding: 3.5px 4px;
    border-radius: 2px;
    position: absolute;
    left: 32px;
    background-color: #000;
    z-index: 1;
    width: auto;
    background-color: var(--o-primary-c);
    font-size: 11.75px
}

#root .bet-remove {
    /* background-color: var(--aw-betslip-selection); */
    /* border-color: var(--c-shade); */
    width: 24px;
    height: 24px;
    /* min-height: 20px; */
    /* z-index: 5; */
    /* order: 3; */
    /* position: relative; */
}

#root .match-suspended .bet-remove {
    /* background-color: var(--c-o2i); */
}

#root .bet-remove::before {
    content: " app-trash";
    font: var(--icon-font);
    font-size: 18px;
    text-align: center;
    display: inline-block;
    line-height: 22px;
    height: 24px;
    width: 24px;
    text-align: center;
}

.bet-actions .bet-match-details,
.bet-actions .bet-match-details app-bet-event-selection {
    width: 100%;
    /* padding: 8px 0 0px 0; */
    display: inline-flex;
    flex: 1 1 0%;
}

.bet-actions .bet-match-selection {
    flex: 1;
    /* padding: 5px 2px; */
    font-size: 1rem;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: baseline;
    color: var(--c-f);
    gap: 5px;
    font: var(--aw-text-betslip-selection);
}

.bet-actions .bet-match-selection span.bms-label {
    font-weight: 600;
    text-decoration: underline var(--c-f-d);
    /* margin-top: 2px; */
    flex: 1 1 100%;
    max-width: calc(100% - 40px);
}

.bet-actions .bet-match-selection span[class^="bms-special"] {
    font-style: italic;
    font-weight: 600;
    color: var(--c-f-s);
    margin: 0 auto 0 8px;
    /* flex: 1 1 100%; */
}

.bet-actions .bet-match-selection span:not(:empty) {
    /* margin-right: 3px; */
    /* text-wrap: wrap; */
        display: inline-flex;
    flex-wrap: wrap;
    min-height: 16px;
    line-height: 16px;
}

.bet-container:not(.outright-bet) .bet-actions .bet-match-selection span:not([class^="bms"]) {
    color: var(--c-f-d);
    display: none;
}

app-changed-odds {
    /* margin-right: 24px; */
    margin-left: auto;
    align-items: center;
    display: flex;
}

body .bet-odds-values .bet-old-odds {
    font-style: italic;
    order: 1;
    position: relative;
    text-decoration: line-through;
}

.bet-odds.up {
    color: var(--o-green-a);
}

.bet-actions .bet-odds-inline .bet-odds {
    margin-left: 4px;
    font-weight: 500;
    font-size: 1rem;
    font: var(--aw-text-betslip-odds);
}

.bet-stake-payout {
    display: flex;
    justify-content: flex-end;
    padding: 0px 8px 0 0;
    /* margin-top: 8px; */
    width: 100%;
    gap: 6px;
    flex: 0 0 100px;
}

.betslip-match-content .bet-stake-payout:empty {
    display: none
}

.tab-events .bet-stake-payout {
    /* display: flex; */
    /* justify-content: flex-end; */
    /* width: 100%; */
    /* margin-top: 0px; */
}

#root app-amount-input {
    display: inline-flex;
    flex: 1;
    /* max-width: calc(50% - 2px); */
    /* min-width: calc(50% - 2px); */
    max-width: var(--s-betslip-input-w);
    min-width: var(--s-betslip-input-w);
}
#root app-amount-input.payout-input {
    display:none
}
#root app-amount-input.stake-input {
    max-width:100px;
}

#root .system-selections app-amount-input {
    max-width: 130px;
    min-width: 100px;
    flex: 1 1 0%;
    margin: 4px 0 0px 8px;
}

#root .system-selections .selection-info {
    margin: 4px 0 4px 0px;
}

#root .bet-stake-payout > .amount-input {
    /* width: 100%; */
}

#root .bet-stake-payout .stake-input {
    /* order: 2; */
}

#root app-amount-input input {
    box-shadow: var(--x-surface-i);
}

#root app-amount-input .stake, #root app-amount-input .payout {
    height: var(--s-input-h-l);
    position: relative;
    font-size: 12px;
    color: var(--c-f-e);
    width: 100%;
    min-width: 100%;
}
#root .betslip-container.tab-events app-amount-input .stake, #root .betslip-container.tab-events app-amount-input .payout {
    display: inline-flex;
    flex-direction:row
}
#root app-amount-input div:is(.multiple-stake, .multiple-payout){
    display: inline-flex;
    flex-direction:column
}
#root app-amount-input div:is(.multiple-stake, .multiple-payout) > span {
    display:inline-flex;
}

#root app-amount-input > .bet-stake {
    margin-right: 0;
}

#root .group-details-container app-amount-input .stake > span,
#root .systems-rows-container app-amount-input .stake > span,
#root .multiple-container app-amount-input .stake > span,
#root .betslip-container.tab-events .bet-container app-amount-input .payout > span,
#root .betslip-container .bet-container app-amount-input .stake > span,
#root .betslip-container .bet-container app-amount-input .payout > span,
#root .betslip-container app-amount-input .systems-stake > span {
    position: absolute;
    top: 4px;
    left: 6px;
    /* z-index: 3; */
    /* pointer-events: none; */
    color:  var(--aw-text-s);
}
#root .betslip-container app-amount-input .systems-stake:not(.zero-value) > span {
    /* display: none; */
}

#root .betslip .numeric-input-wrapper {
    margin-right: unset;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#root .betslip .numeric-input-wrapper.input-active {
    /* border: 2px solid var(--c-o3); */
    /* border-radius: 4px; */
    /* background-color: var(--c-o2i); */
}

#root app-amount-input .stake .currency-symbol, #root app-amount-input .payout .currency-symbol {
    position: absolute;
    left: 6px;
    bottom: 4px;
    font-weight: 400;
    z-index: 3;
    /* color: transparent; */
}

#root .betslip input[type="checkbox"] {
    margin-right: 8px !important
}

#root .betslip .numeric-input-wrapper input {
    width: 100%;
    height: 100%;
    text-align: right;
    font: var(--aw-input-font);
    padding: 19px 8px 4px 8px;
    border: var(--aw-input-border);
    background-color: var(--aw-input-background);
}

#root app-betslip-systems-selection .numeric-input-wrapper input, #root app-betslip-groups .numeric-input-wrapper input, #root app-betslip-footer .numeric-input-wrapper input {
    border: 1px solid var(--c-o3i);
}

#root .mouse .numeric-input-wrapper input:hover {
    /* border-color: var(--c-o2); */
    border: var(--aw-input-border-focus);
}

#root .betslip-events-wrapper app-amount-input .stake input, #root .betslip-events-wrapper app-amount-input .payout input, #root app-betslip-systems-selection app-amount-input .stake input, #root app-betslip-multiples app-amount-input .stake input {
    color: var(--aw-text-s);
    background-color: var(--aw-input-background);
    border: var(--aw-input-border);
}

#root .betslip-events-wrapper app-amount-input .has-value.stake input, #root .betslip-events-wrapper app-amount-input .has-value.payout input, #root app-betslip-systems-selection app-amount-input .has-value.stake input, #root app-betslip-multiples app-amount-input .has-value.stake input {
    color: var(--aw-text);
    background-color:var(--aw-input-background-value);
    border: var(--aw-input-border-value);
}

#root .mouse .betslip-events-wrapper app-amount-input .stake input:hover, #root .mouse .betslip-events-wrapper app-amount-input .payout input:hover, #root .mouse app-betslip-systems-selection app-amount-input .stake input:hover, #root .mouse app-betslip-multiples app-amount-input .stake input:hover {
    color: var(--aw-text-e);
    background-color: var(--aw-input-background-hover);
    border: var(--aw-input-border-hover);
}

#root .betslip-events-wrapper app-amount-input .stake input:focus, #root .betslip-events-wrapper app-amount-input .payout input:focus, #root app-betslip-systems-selection app-amount-input .stake input:focus, #root app-betslip-multiples app-amount-input .stake input:focus {
    color: var(--aw-text-e);
    background-color: var(--aw-input-background-focus);
    border: var(--aw-input-border-focus);
}

.betslip-totals {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.betslip-totals .value-block {
    justify-content: center;
    display: inline-flex;
    flex: 1 1 25%;
    min-width: 0%;
}

.betslip-totals .value-block.total-bonus {
    flex: 0 0 100%;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
    margin-top: 4px;
    border-top: 1px solid #666;
}

.betslip-totals .value-block .total-bonus-wrapper {
    flex-direction: row;
    align-items: center;
    line-height: 14px;
}

.betslip-totals .value-block.total-stake {
    border: 1px solid var(--c-f-d);
    border-width: 0 1px 0 1px;
    justify-content: center;
}

.betslip-totals .value-block.total-payout {
    width: 40%;
}

.betslip-totals .value-block-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 4px;
}

.betslip-totals .value-block-wrapper > * {
    min-height: 16px;
    font-size: 13px;
}

.betslip-totals .value-block-wrapper label {
    padding: 3px;
    text-align: center;
}

.betslip .block-value {
    padding: 0 3px;
    text-align: center;
    /* line-height: 16px; */
    /* font-size: 1rem; */
    /* font-weight: 500; */
}

.system-odds-wrapper .block-value {
    font: var(--aw-text-betslip-odds)
}

#root .betslip-totals .checkbox-wrapper {
    width: 50%;
    padding: 8px 8px 16px;
    order: 1;
}

#root .betslip-totals .checkbox-wrapper.special-bonus {
    width: 100%;
    padding-top: 0;
    margin-top: -5px;
}

app-betslip-special-bonus div {
    flex-direction: row;
    display: inline-flex;
}

.betslip-totals .accept-odd-changes, .betslip-totals .betslip-per-line {
    align-items: center;
    justify-content: left;
    display: inline-flex;
    width: unset;
}

app-popular-bet, #root app-popular-bet button {
    width: 100%;
    order: 2;
    display: flex;
    align-items: center;
    position: relative;
}

app-popular-bet {
    width: auto;
}

#root .quickbet app-popular-bet button, #root .betslip app-popular-bet button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 48px;
    border: var(--aw-button-secondary-border);
    /* transition: .1s ease-in; */
    /* bottom: 10px; */
    border-radius:  var(--r-d2);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: var(--aw-button-secondary);
    /* box-shadow: var(--x-surface-c); */
    /* border-right: 1px solid var(--c-o3i); */
    color: var(--c-f);
}

#root .mouse .quickbet app-popular-bet button:hover, #root .mouse .betslip app-popular-bet button:hover {
    background-color: var(--aw-button-secondary-hover);
    color: var(--aw-label-button-secondary-hover);
}

#root .quickbet app-popular-bet button {
    bottom: unset;
    position: relative;
    order: -10
}

#root button.place-bet, #root .book-bet {
    justify-content: center;
    align-items: center;
    border: unset;
    flex-direction: column;
    display: inline-flex;
    flex: 1 1 0%;
    background-color: var(--aw-button-primary);
    color: var(--aw-label-button-primary);
    /* box-shadow: var(--x-surface-c); */
    min-height: var(--s-button-h-l);
    transition: 0.1s;
    width: calc(100% - 43px);
    order: 2;
    border-radius: var(--r-d2);
    font-weight: 600;
    background-size: 600% 300%;
    background-position: 50% 102%;
    line-height: 13px;
    padding: 8px;
    text-align: center;
    font-size: 15px;
    position: relative;
}

#root .mouse button.place-bet:not(.place-bet-disabled):hover, #root .mouse .book-bet:not(.selected):hover, #root .mouse .betslip .confirm-bet-wrapper .confirm-bet:hover {
    /* background-image: var(--g-0); */
}

#root .book-bet {
    background-color: var(--aw-button-secondary);
    border:  var(--aw-button-secondary-border);
    color: var(--aw-label-button-secondary);
    /* background-image: linear-gradient( .47turn , var(--o-primary-b), transparent 95%); */
    margin-top: var(--s-x);
    min-width: 100%;
}
#root .book-bet:disabled {
    color: var(--aw-label-button-secondary-disabled);
} 

#root .place-bet.place-bet-disabled {
    background-color: var(--aw-button-primary-disabled);
    /* background-color: var(--c-o2); */
    /* background-image: var(--g-1); */
    /* box-shadow: var(--x-surface-c); */
    /* background-size: 600% 600%; */
    /* font-weight: normal; */
    /* letter-spacing: 0.5px; */
    justify-content: center;
    align-items: center;
    color: var(--aw-label-button-primary-disabled);
}

#root .place-bet.place-bet-disabled .place-bet-message, #root .book-bet.book-bet-disabled .place-bet-message {
    /*     font-size:0; */
    /* display: none; */
}

#root .view-page-outrights .place-bet.place-bet-disabled, #root .view-page-outrights .book-bet.book-bet-disabled {
    border-radius: 4px;
}

.place-disabled-preset, .book-disabled-preset {
    letter-spacing: 0;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1rem;
    font-weight: 500;
    font-style: italic;
    margin-top: 2px;
    letter-spacing: 0.3px;
    text-wrap: wrap;
    /* color:  var(--aw-label-button-primary-disabled); */
}
.book-disabled-reason {
    display: none
}

.betslip .confirm-bet-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: var(--s-col-pad);
    order: 1;
}

.systems-rows-container, .multiple-container, .systems-container {
    border-radius: var(--r-d2);
    margin-bottom: 6px;
}

.groups-container, .systems-rows-container, .multiple-container,.systems-container {
    /* padding: 8px 0 10px 0; */
    background-color: var(--aw-betslip-acca);
    /* box-shadow: var(--x-d-t); */
    overflow: hidden;
}

.system-header-wrapper, .multiple-header, .system-header {
    display: flex;
    align-items: center;
}

#root .system-title, .group-combination-stake-type span {
    padding: 4px;
    font-size: 12px;
    margin-right: auto;
}

.add-new-system, .remove-system {
    font-size: 0px;
    min-width: 24px;
    min-height: 24px;
    padding: 0px;
    background-color:transparent;
}

#root .remove-system:before {
    content: " ba-close-b";
    font: var(--icon-font);
    width: 24px;
}

.add-new-system::before {
    content: " ba-plus";
}

.remove-group-system::before {
    content: " ba-close-b";
}

.add-new-system::before, .remove-system::before,.remove-group-system::before {
    font: var(--icon-font);
    text-align: left;
    display: inline-block;
    min-width: 24px;
}

#root .add-new-system {
    font-size: 0;
    background-color:transparent;
    display:none
}

#root .system-selections, #root .group-details-container, #root .multiple-wrapper, #root .system-stake-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 8px 8px;
    box-shadow: var(--x-d-t3);
    /* background-color: var(--o-primary-b); */
    gap: 6px;
    font: var(--aw-text-betslip-selection);
}

#root .multiple-wrapper {
    justify-content: flex-end
}

#root .group-details-container:last-of-type, #root .system-selections:last-of-type, #root .multiple-wrapper:last-of-type {
    border-bottom: unset
}

.multiple-wrapper .multiple-type, .multiple-wrapper .multiple-lines, .multiple-wrapper .multiple-odds, .multiple-wrapper .multiple-payout {
    display: inline-flex;
    flex: 1 1 0%;
    justify-content: flex-start;
    order: -1;
    height: var(--s-button-h);
}

.multiple-wrapper .multiple-type {
    /* flex: unset; */
    /* width: 100%; */
    height:  var(--s-2x);
    margin-top: 3px;
}

.multiple-wrapper .multiple-type .block-label {
    display: none;
}

.multiple-wrapper .multiple-odds {
    justify-content: center;
}

.multiple-wrapper .multiple-lines {
    justify-content: flex-start;
}

.multiple-wrapper .multiple-payout {
    display: none;
}

.multiple-wrapper .multiple-odds .multiple-odds-wrapper {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}

.multiple-wrapper .multiple-lines .multiple-lines-wrapper {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

.group-selections, .systems-selections {
    order: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2px;
    border-radius: var(--r-x2);
    gap: 2px;
    /* box-shadow: var(--x-surface-i); */
    flex: 0 1 auto;
    min-width: 0%;
    border:1px solid var(--c-o2i)
}

#root .systems-selections {
    order: -2;
}

#root .systems-remove-wrapper {
    order: -1;
    margin: 2px 0 2px auto;
}

.system-selections, .system-header-wrapper, .group-combination-stake-type, .group-details-container, .multiple-header {
    padding: 0 8px 8px;
    justify-content: space-between;
}

#root .systems-selections button, #root .group-selections button {
    border-radius: 50%;
    height: 28px;
    width: 28px;
    background-color: var(--c-o2i);
    /* background-image: var(--g-1i); */
    padding: 0;
    text-align: center;
    font-weight: 500;
    color: var(--c-f);
    font-size: 1rem;
}

.system-element {
    width: fit-content;
    display: inline-block;
}

.system-selection-data {
    flex: 0 0 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.system-stake-wrapper .value-block .value-block-wrapper {
    display: flex;
    flex-direction: column;
}

#root .system-stake-wrapper .value-block.system-type {
    /* width: 100%; */
    flex: 1 1 0%;
    /* flex: unset; */
    display:  inline-flex;
    font: var(--aw-font-coupon-subheader);
}

.system-stake-wrapper .value-block.system-type .value-block-wrapper {
    align-items: flex-start;
}

.system-stake-wrapper .value-block.system-type .value-block-wrapper .block-label {
    display: none;
}

.system-stake-wrapper .value-block.system-odds .value-block-wrapper {
    align-items: flex-start;
}

.system-stake-wrapper .value-block.system-lines .value-block-wrapper {
    align-items: flex-start;
}

.groups-container {
    margin-top: 1px;
    margin-bottom: 1px;
    border-radius: var(--r);
    margin-bottom: 4px;
}

.group-combination-stake-type {
    line-height: 30px;
    padding: 0;
}

.selections.group-name-wrapper {
    display: flex;
    /* width: 100%; */
    flex-wrap: wrap;
    flex: 1;
    
}

.group-name {
    display: flex;
    order: 1;
    margin-left: auto;
    height: 24px;
}

app-banker-selection {
    order: 0;
}

.group-details-container .selections .remove-group-system, .group-details-container .selections .add-new-group-system, .selections.group-name-wrapper .group-name button.banker {
    margin-right: 0;
    margin-left: 4px;
}

.group-selections {
    max-width: calc(100% - 56px);
}

.narrow {
    width: fit-content;
    display: inline-block;
}

#root .groups-container button.selected, #root .systems-rows-container button.selected, .groups-container button.selected {
    background-color: var(--aw-emphasis);
    font-weight: 600;
    /* box-shadow: var(--x-surface); */
    color: var(--aw-label-button-primary);
}

#root .groups-container button.banker.selected,#root .bet-details-odds app-bet-event-actions app-banker-selection button.selected {
    box-shadow: unset;
    background-color: var(--aw-primary);
    color: var(--aw-text);
    font-weight: 600;
}

.group-details-container .selection-data, .selection-info, .all-groups-container, .selection-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.selection-info .value-block {
    height: 32px;
}

.group-details-container .selection-data {
    justify-content: center;
    width: 100%;
    align-items: center;
    height: 36px;
}

.stake.multiple-stake, .systems-stake, .group-stake {
    max-width: 120px;
    margin-right: unset;
    width: 100%;
}

.group-stake, .groups-stake {
    vertical-align: top;
    order: 3;
}

#root .betslip-bets-container .groups-container>div:has(.all-groups-container):before {
    content: "Group Systems";
    /* padding: 0 12px; */
    font-size: 1.1rem;
    margin-right: auto;
    line-height: 30px;
}

.group-details-container.all-groups-container .selections {
    /* width: 100%; */
    display: flex;
    flex-direction: row;
    flex: 1;
}
.group-details-container .selection-info .value-block {
    height:unset
}
#root .group-details-container .selection-info .value-block label {
    padding:0px 4px;
}
#root .group-payout,
#root .group-system-payout{
    display:none;
}
.group-name {
    display: flex;
    order: -1;
    margin-left: unset;
    height: unset;
    align-items: center;
    gap: 2px;
    padding: 2px;
}

.group-details-container .selection-data {
    justify-content: space-between;
    width: unset;
    flex-direction:column;
    align-items:flex-end;
    height: auto;
}
.group-details-container .selection-data .selection-info {
    margin-bottom:4px;
}
.group-details-container .value-block-wrapper {
    flex-direction:row;
}
.group-details-container .banker {
    display:none;
}
.system-payout {
    display: none;
}

.system-selection-data .system-lines-wrapper, .system-selection-data .system-stake-wrapper, .system-selection-data .system-odd-wrapper, .system-selection-data .system-payout-wrapper, .system-odds-wrapper, .group-lines, .group-odds, .group-payout, .group-lines-wrapper, .group-odds-wrapper {
    align-items: center;
    justify-content: center;
    display: flex;
    flex: 1;
    flex-direction: column;
}

#root .betslip .value-block-wrapper label {
    padding: 0 3px 4px;
    color: var(--c-f-s);
}

#root .betslip .total-bonus .value-block-wrapper label {
    padding: 0 3px;
}

#root .betslip .total-bonus .value-block-wrapper .block-value {
    font-weight: 600;
    color: var(--f-promotions-2);
}

.theme-light #root .betslip .total-bonus .value-block-wrapper .block-value {
}

#root .system-title, .group-combination-stake-type span, #root .groups-container>div:has(.all-groups-container):before, #root .multiple-header, #root .system-header {
    padding: 8px;
    font-size: 1.1em;
    margin-right: auto;
    text-indent: 4px;
    font-weight: 600;
    font: var(--aw-font-coupon-subheader);
}

#root .multiple-header, #root .system-header {
    /* height: 32px; */
    padding: 8px;
    /* text-transform: uppercase; */
}
#root .multiple-header {
    display: none;
}

.group-container {
    visibility: visible;
    position: absolute;
    z-index: 100;
    right: 30px;
    top: 0px;
}

.group-bankers, .system-bankers {
    display: flex;
    align-items: center;
    border-radius: 50%;
    height: 28px;
    width: 28px;
    font-weight: 600;
    background-color: transparent;
    box-shadow: var(--x-surface);
    justify-content: center;
    box-sizing: inherit;
}

.system-stake-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.system-stake-wrapper .value-block:not(.system-payout) {
    flex: 1 1 0%;
}


.betslip-bets-container .system-plus {
    display: none;
}

#root .no-groups {
    width: 100%;
    height: 27px;
   
    border-radius: 2px;
    text-align: center;
    display: flex;
    ; box-sizing: border-box;
    line-height:1.2
}

.groups {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    background-color: var(--aw-primary);
    gap:2px;
    padding:2px 0px;
      padding-left:2px;
    
}

.group-button {
    width: calc(33% - 2px);
    height: 30px;
    
    border-radius: 2px;
    align-items: center;
    justify-content: center;
    display: flex;
    box-sizing: border-box;
    line-height:1.2
  
}

.inactive {
    filter:saturate(0)
}
#root button.group,
#root button.banker{
    width:28px;
    height:28px;
    border-radius:50%;
    background-color: var(--c-o2i);
    font:var(--c-font);
    line-height:1.4
}
#root button.group:disabled,
#root button.banker:disabled{
    color:var(--c-o2)
}
#root .bet-container button.banker {
    margin-top:4px;
}

#root .bet-container button.banker.selected {
    color:var(--c-s-white-e)
}
#root button.group.grp-a, #root .group-button.button-A, .grp-a {
    background-color: var(--o-yellow)!important;
   color:var(--c-s-black)
}

#root button.group.grp-b, #root .group-button.button-B, .grp-b {
    background-color: #8a2be2!important;
    color: var(--c-s-white);
}

#root button.group.grp-c, #root .group-button.button-C, .grp-c {
    background-color: #4472c4!important;
    color: var(--c-s-white);
}

#root button.group.grp-d, #root .group-button.button-D, .grp-d {
    background-color: #ed7d31!important;
    color: var(--c-s-white);
}

#root button.group.grp-e, #root .group-button.button-E, .grp-e {
    background-color: #8dd474!important;
    color: var(--c-s-black);
}

#root button.group.grp-f, #root .group-button.button-F, .grp-f {
    background-color: #ffc000!important;
    color: var(--c-s-black);
}

#root button.group.grp-g, #root .group-button.button-G, .grp-g {
    background-color: #5b9bd5!important;
    color: var(--c-s-white);
}

#root button.group.grp-h, #root .group-button.button-H, .grp-h {
    background-color: #70ad47!important;
    color: var(--c-s-white);
}

#root button.group.grp-i, #root .group-button.button-I, .grp-i {
    background-color: #f69200!important;
    color: var(--c-s-white);
}

#root button.group.grp-j, #root .group-button.button-J, .grp-j {
    background-color: #838383!important;
    color: var(--c-s-white);
}

#root button.group.grp-k, #root .group-button.button-K, .grp-k {
    background-color: #418ab3!important;
    color: var(--c-s-white);
}

#root button.group.grp-l, #root .group-button.button-L, .grp-l {
    background-color: #df5327!important;
    color: var(--c-s-white);
}

.suspended-label {
    display: none;
    padding: 0 5px;
    order: -1;
    color: var(--m-emphasis-b);
}

.betslip-events-wrapper > app-betslip-event > .bet-container.match-bet.match-suspended::before, app-betslip-match > .bet-container.match-bet.match-suspended::before {
    content: "\eab5";
    font:var(--icon-font);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* width: 100%; */
    /* height: calc(100% - 55px); */
    /* z-index: 4; */
    font-size: 1rem;
    border-radius: 50%;
    /* animation: flash 2s ease-in-out infinite; */
    /* box-sizing: border-box; */
    /* border-width: 0 1px 1px 1px; */
    /* top: 55px; */
    background-color: var(--o-primary-a);
    /* border-top: 0; */
    width: 24px;
    height: 24px;
    left: 8px;
    top: 30px;
    /* left:6px; */
    z-index: 2;
    color: var(--aw-text-s);
    /* color:  var(--o-yellow); */
}
/* 
/* HTML: <div class="loader"></div> */
.betslip-events-wrapper > app-betslip-event > .bet-container.match-bet.match-suspended::after, app-betslip-match > .bet-container.match-bet.match-suspended::after {
    content: "";
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(farthest-side, var(--aw-text) 94%, #0000) top / 2px 2px no-repeat, conic-gradient(#0000 30%, var(--aw-text));
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 2px), var(--aw-text) 0);
    animation: l13 1.5s infinite linear;
    width: 24px;
    height: 24px;
    left: 8px;
    top: 30px;
    position:absolute;
    z-index: 2;
}
@keyframes l13{ 
  100%{transform: rotate(1turn)}
}
*/
.betslip-empty-message {
    text-align: center;
    padding: 24px 0px 20px 0px;
    font-size: 1rem;
    background-color: var(--o-primary-b);
    border-radius: var(--r-b);
    margin: -12px 0 0;
    font-style: italic;
    color: var(--c-f-s);
    transform: translateY(-6px);
}

#root #mainDiv:not(.mobile) .betslip-container.empty .title-container {
    display: none;
}

#root .betslip-wrapper #bet-error-placeholder {
    width: 100%;
}

#root .betslip-wrapper .bet-error {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    background-color: var(--o-red-b);
    color: var(--c-s-white);
    order: 1;
    line-height: 1.2em;
    margin: var(--s-col-pad);
    border-radius: var(--r-d2);
}

#root .betslip-wrapper .bet-error .error-description {
    text-align: center;
    width: 100%;
}

#root .betslip-wrapper .bet-close-error {
    width: 24px;
    height: 24px;
    background-color: var(--c-o1i);
    background-image: url(/v1.13/r/images/site/icons/Close.svg);
    background-size: 24px 24px;
    background-position: center;
    margin-left: 6px;
}

#root .mouse .betslip-wrapper .bet-close-error:hover {
    background-color: var(--c-o2i);
}

app-betslip-auth-response {
    width: calc(100% - 2px)
}

.authorisation-declined,.authorisation-limit {
    min-height: 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    order: -1
}

.authorisation-limit {
    color: var(--c-f);
    font-weight: 700
}

.authorisation-declined {
    background-color: var(--o-red);
    background: linear-gradient(to left,var(--o-red-a),var(--o-red-b));
    font-weight: 700
}

.authorisation-declined span,.authorisation-limit span {
    padding-right: 3px;
}

.authorisation-limit span:first-child::before {
    content: " ba-warning";
    font: var(--icon-font);
}

.authorisation-limit span:first-child {
    font-size: 0px;
}

.auth-response-container {
    display: flex;
    flex-direction: column;
    font-size: 1em;
}

.authorisation-pending {
    order: -1;
    text-align: center;
    padding-bottom: 8px;
}

.auth-actions-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.auth-actions-container button {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    width: 100%
}

.auth-actions-container button.cancel-bet {
    margin-left: var(--s-col-pad);
    box-shadow: var(--x-surface-b)
}

.auth-actions-container button:only-child {
    width: 100%;
    background-color: var(--o-primary);
    max-width: 100%;
}

#root .auth-response-container .inline-betslip {
    width: 100%!important;
    height: auto!important
}

app-betslip-authorisations .authorisation-wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 8px 24px;
    background-color: var(--o-primary-bh)
}

app-betslip-authorisations .auth-action {
    width: 100%;
}

.window-tabs.auth-responses-tabs {
    background-color: var(--o-primary-c)
}

.window-tabs.auth-responses-tabs .window-tab {
    display: flex;
    align-items: center;
    justify-content: center
}

.window-tabs.auth-responses-tabs .window-tab.tab-selected {
    background-color: var(--o-primary-b)
}

.authorisation-new-odds {
    display: flex;
    flex-direction: column
}

.authorisation-new-odds .changed-odd-details {
    padding: 5px;
    background-color: var(--o-primary)
}

.authorisation-new-odds .changed-odd-details:not(:last-child) {
    border-bottom: 1px solid var(--o-primary-b)
}

.authorisation-new-odds .new-odds-message.warning {
    background-color: var(--o-yellow);
    display: flex;
    justify-content: center;
    height: 2px;
    font-size: 0
}

.authorisation-new-odds .new-odds-message.warning+.new-odds-message {
    display: flex;
    justify-content: center;
    font-size: 12px;
    padding: 2px
}

.authorisation-new-odds .changed-odd-details {
    display: flex;
    flex-wrap: wrap
}

.authorisation-new-odds .changed-odd-details .match-description,.authorisation-new-odds .changed-odd-details .bet-description {
    width: 100%;
    text-align: left
}

.authorisation-new-odds .changed-odd-details span:not(.match-description):not(.bet-description):not(.new-odds) {
    color: var(--o-yellow);
    font-style: italic
}

.authorisation-new-odds .changed-odd-details span.new-odds {
    color: var(--o-yellow);
    margin-left: 5px
}

#root .body .betslip .authorisation-limit,#root .mobile .mobile-betslip-view .betslip .authorisation-limit {
    background: 0 0;
    font-weight: unset
}

#root .body .betslip .authorisation-limit span.warning,#root .mobile .mobile-betslip-view .betslip .authorisation-limit span.warning {
    font-size: 0;
    margin: 5px 0px;
}

.promo-banners {
    display: flex;
    flex-direction: column;
}

#root .tabbed-betslip-container > app-widget-host > * {
    margin-left: 2px;
    margin-right: 4px;
    width: calc(100% - 2px);
}

app-betslip-clear-stake {
    display: none;
}

#root .desktop .match-suspended .bet-remove {
    /* width: 28px; */
    /* background-color: unset; */
    /* height: 28px; */
    /* font-size: 20px; */
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* text-align: center; */
}

#root .mouse .match-suspended .bet-remove:hover {
    color: var(--c-f-e);
}

/* Remove Betslip + Quickbet Scrollbar */
.mobile-betslip-view .ui-dialog-content::-webkit-scrollbar:vertical {
    width: 0px;
}

#root .mobile-betslip-view .tabbed-betslip-menu .tabbed-betslip-menu-item:first-of-type {
    min-width: unset;
}

#root .mobile-betslip-view .tabbed-betslip-menu .tabbed-betslip-menu-item.betslip-tab {
    width: 100%;
}

#root .mobile-betslip-view .tabbed-betslip-menu .tabbed-betslip-menu-item.betslip-tab {
    font-size: 1.1em;
    height: 60px;
    min-height: 100%;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
}

#root .mobile-betslip-view app-close-modal-button.close-modal-button {
    min-width: 30px;
    display: flex;
    justify-content: center;
    position: absolute;
    width: calc(100% - 100px);
    margin: 0 auto;
    left: 50px;
    height: 60px;
}

#root .mobile-betslip-view .close-modal-button a {
    font-size: 0px;
    color: transparent;
    width: 100%;
    align-items: end;
}

#root.show-recent-tickets .mobile-betslip-view .close-modal-button {
    pointer-events: none;
}

#root .betslip-container input:not([type="checkbox"]) {
    box-shadow: none;
    background-color: var(--aw-input-background);
}

/* Claim Bonus Button + Message */
.betslip-totals .bonus-wrapper {
    color: var(--c-f);
    font-family: var(--c-font);
    font-size: 1rem;
    padding: 8px;
    border-radius: var(--r);
    margin: 8px 0 8px;
    background-image: var(--g-0);
    /* box-shadow: var(--x-surface-b); */
    flex-direction: row;
    display: inline-flex;
    flex-wrap: nowrap;
    flex: 0 0 100%;
    border: 1px solid var(--c-f-d);
    align-items: center;
}

.theme-light .betslip-totals .bonus-wrapper {
    /* --o-yellow: var(--o-green-b); */
    border: 1px solid var(--c-f-d);
    background-image: none;
}

@media (prefers-color-scheme: light) {
    .theme-auto .betslip-totals .bonus-wrapper {
        --o-yellow: var(--o-green-b);
    }
}

.betslip-totals .bonus-wrapper:before {
    content: " fn-gift";
    font: var(--icon-font);
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 4px;
    /* line-height: 100%; */
    /* height: 100%; */
    color: var(--aw-emphasis);
    /* flex: 0 0 32px; */
    /* justify-content: center; */
    /* align-items: center; */
}

.betslip-totals .bonus-message {
    display: inline-block;
    padding: 0 4px;
    height: auto;
    line-height: 1.1em;
}

.betslip-totals .bonus-message span {
    white-space: break-spaces;
    display: inline;
}

.betslip-totals .bonus-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 24px;
    color: var(--o-yellow);
    display: none;
}

.betslip-totals .bonus-extra-percentage {
    font-weight: 600;
    color: var(--aw-emphasis);
}

.betslip-totals .bonus-message .bonus-extra-selections, .betslip-totals .bonus-message .bonus-min-odds {
    font-weight: 600;
    color: var(--aw-emphasis);
}

#root button.place-bet.place-free-bet {
    flex: 0 0 100%;
    background-color: unset;
    order: 1;
    border-radius: 4px;
    margin-bottom: 16px;
    /* background-image: var(--g-1); */
    border: var(--aw-button-secondary-border);
    color: var(--aw-label-button-secondary);
}
#root button.place-bet.place-free-bet.place-free-bet-disabled .place-disabled-preset {
    opacity: 0.3;
    display: none;
}
#root button.place-bet.place-free-bet.place-free-bet-disabled {
    opacity: 0.4;
    /* display: none; */
}

#root .mouse button.place-bet.place-free-bet:not(.place-free-bet-disabled)::hover {
    /* background-image: var(--g-0); */
    color: var(--aw-label-button-secondary-hover);
}

/* Button Corner Radius Adjustments */
#root .betslip-totals.has-popular-bet button.place-bet:not(.place-free-bet) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-right: 40px;
}

/*  */
.betslip button {
    /* font-size: 1rem; */
}

/* BETBUILDER Styling */
.betbuilder-toggle {
    display: inline-flex;
    order: -1;
    height: 100%;
    border-radius: 20px;
    transition: .4s;
    border: var(--aw-chip-border);
    background-color: var(--aw-chip-background);
    overflow:  hidden;
    width: 118px;
    min-width: 118px;
}
#root .betbuilder-toggle:empty {
    display:none !important;
}

.betbuilder-enabled .betbuilder-toggle {
    /* background-color: var(--c-o1i); */
    transition: .4s;
}

.theme-light .betbuilder-enabled .betbuilder-toggle {
    /* background-color: var(--c-o3); */
}

:root .betbuilder-toggle .toggle-switch-text {
    font-size: 0px!important;
    width: 0px;
    display: none;
}

.betbuilder-toggle .toggle-switch-container .toggle-switch:after {
    content: "Bet Builder";
    min-width: 80px;
    width: auto;
    /* font-size: 1.1rem; */
    padding: 0px 12px 0 26px;
    height: 28px;
    line-height: 29px;
    display: inline-flex;
    text-align: center;
    color: var(--aw-text-d);
    transition: 0.4s;
    transform: translateX(-101px);
    white-space: nowrap;
    justify-content: center;
}
#root .desktop .betbuilder-toggle:hover .toggle-switch-container .toggle-switch:after, #root .desktop .betbuilder-toggle:hover .toggle-switch-container .toggle-switch span:before{
    color: var(--aw-text-e)
}
#root .betbuilder-toggle:hover .toggle-switch-container .toggle-switch span:before{
    background-color: var(--o-primary-c);
}
.betbuilder-enabled .betbuilder-toggle .toggle-switch-container .toggle-switch:after {
    transform: translateX(0px);
}

.betbuilder-toggle .toggle-switch-container .toggle-switch:before {
    content: "Bet Builder";
    /* min-width: 105px; */
    width: auto;
    /* font-size: 1.1rem; */
    padding: 0px 19px 0 12px;
    height: 28px;
    line-height: 29px;
    display: inline-flex;
    text-align: end;
    /* border-radius: 20px; */
    color: var(--aw-label-button-primary);
    transform: translateX(-92px);
    transition: 0.4s;
    font-weight: 700;
    white-space: nowrap;
    background-color: var(--aw-emphasis);
}

.betbuilder-enabled .betbuilder-toggle .toggle-switch-container .toggle-switch:before {
    /* text-align: start; */
    transform: translateX(0px);
}

.betbuilder-toggle .toggle-switch-container .toggle-switch {
    height: 28px;
    width: auto;
    overflow: hidden;
    display: flex;
}

.betbuilder-toggle .toggle-switch-container .toggle-switch .slider {
    background-color: transparent !important;
    /* border: 2px solid var(--c-f-x); */
}

.betbuilder-enabled .betbuilder-toggle .toggle-switch-container .toggle-switch .slider {
    /* background-color: var(--o-primary-a)!important; */
    /* border: 2px solid var(--aw-emphasis); */
}

.betbuilder-toggle .toggle-switch-container .toggle-switch input {
    display: none
}

.betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    /* height: 24px !important; */
    /* width: 24px !important; */
    /* min-width: 20px; */
    /* top: 2px; */
    /* left: 2px !important; */
    /* background-color: var(--aw-coupon-events-live); */
}

.theme-light .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    /* background-color: var(--aw-carousel-selected)!important; */
}

:root .betbuilder-enabled .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    background-color: var(--o-primary-c);
    transform: translateX(86px)!important;
    color:  var(--test);
    border-color: var(--o-primary);
}

:root .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    content: "\e944";
    font-family: 'BIF';
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 24px;
    width: 24px;
    color: var(--aw-text);
    transition: .4s;
    background-color: var(--o-primary-b);
    border-radius: 20px;
    border: 2px solid var(--aw-background);
}

.betbuilder-enabled .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:after {
    /* transform: translateX(90px); */
    /* color: var(--aw-label-button-primary); */
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-betslip-combine-selections {
  display: inline-flex;
    /* order: 3; */
    /* background-color: var(--o-blue-a); */
    width: 100%;
    height: auto;
    min-height: 28px;
    line-height: 11px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0px 16px 0 10px;
    color: var(--c-s-white);
    position: relative;
    order: 5;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-match-combine {
    width: 100%;
    display: flex;
    align-items: center;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-match-combine:before {
    /* content: "\e944"; */
    font-family: 'BIF';
    font-size: 24px;
    line-height: 24px;
    /* position: absolute; */
    left: 0px;
    height: 24px;
    width: 20px;
    color: var(--aw-betbuilder);
    /* height: calc(100% - 20px); */
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-match-combine:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: var(--aw-betbuilder);
    min-width: 2px;
    left: 15px;
    top: -9px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 100%;
    padding-left: 15px;
    line-height: 11px;
    height: 100%;
    color: var(--c-f);
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-odds {
    font-weight: 700;
    font-size: 14px;
    text-align: end;
    margin-right: 0;
    line-height: 14px;
    margin-left: auto;
}
.betslip-container:not(.tab-events) app-combine-selections .combined-odds {
    font-weight: 700;
    font-size: 14px;
    text-align: end;
    margin-right: 0;
    line-height: 14px;
    margin-left: auto;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections {
    display: inline-flex;
    flex: 1 1 100%;
    margin-right: auto;
    align-items: center;
    height: 100%;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections span.description {
    color: var(--o-blue-a);
    font-weight: 700;
    font-size: 14px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections span.status {
    padding-left: 8px;
    font-weight: 700;
    text-decoration: underline
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-actions:before {
    content: "";
    display: block;
    height: calc(100% + 8px);
    max-width: 2px;
    min-width: unset;
    background-color: var(--aw-emphasis);
    position: absolute;
    left: 15px;
    top: -8px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-betslip-event:first-of-type .bet-container .bet-actions:before {
    height: 50%;
    bottom: -1px;
    top: unset;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-actions {
    /* padding-left: 4px; */
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-match-details {
    display: flex;
    align-items: center;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-match-details:before {
    content: "\e917";
    font-family: 'BIF';
    display: inline-flex;
    min-width: unset;
    width: 16px;
    height: 16px;
    background-color: var(--o-primary-b);
    border-radius: 10px;
    font-size: 16px;
    color: var(--aw-button-primary);
    z-index: 1;
    line-height: 16px;
    text-align: start;
    text-indent: 0px;
    margin-left: 4px;
    margin-right: 4px;
}

.bet-match-combine.selection-needed, .bet-match-combine.selection-invalid {
    /* padding: 10px 10px; */
    font-size: 1rem;
    position: relative;
}

.bet-match-combine.selection-needed span.warning-sign {
    font-size: 0px
}

.bet-match-combine.selection-needed span.warning-message-0 {
    height: 28px;
    line-height: 28px;
    display: inline-block
}

.bet-match-combine:is(.selection-needed, .selection-invalid) .bet-match-combine-warning {
    padding-left: 29px;
    color: var(--aw-emphasis);
    /* font-weight:500; */
    line-height: 20px;
    height: auto;
}

.bet-match-combine:is(.selection-needed, .selection-invalid) .bet-match-combine-warning:before {
    bottom: calc(50% - 14px);
    content: "\e944";
    font-family: 'BIF';
    font-size: 28px;
    /* line-height: 27px; */
    position: absolute;
    left: 6px;
    width: 20px;
    color: var(--aw-emphasis);
    -webkit-font-smoothing: antialiased;
    line-height: 28px;
}

/********* BetBuilder Switch *********/

/*
/* 1 */
/*
.betbuilder-toggle {
    display: inline-flex;
    order: -1;
    height: 32px;
    border-radius: 20px;
    transition: .4s;
    border: var(--aw-chip-border);
    background-color: var(--aw-chip-background);
    overflow: hidden;
    width: 125px;
    min-width: 125px;

.betbuilder-enabled .betbuilder-toggle {
    transition: .4s;
}
/* 2a span */
/*
:root .betbuilder-toggle .toggle-switch-text {
    font-size: 0px !important;
    width: 0px;
    display: none;
    margin-left:10px;
*/
/* 2b toggle-on label */
/* 
.betbuilder-toggle .toggle-switch-container .toggle-switch:before {
    content: "Bet Builder";
    width: auto;
    padding: 0px 24px 0 12px;
    height: 30px;
    line-height: 32px;
    display: inline-flex;
    text-align: end;
    color: var(--aw-label-button-primary);
    transform: translateX(-92px);
    transition: 0.4s;
    font-weight: 500;
    white-space: nowrap;
    background-color: var(--aw-emphasis);
}
*/
/* toggle notch*/
/* 
:root .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    content: "\e944";
    font-family: 'BIF';
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    position: absolute;
    left: 0px;
    top: 2px;
    height: 24px;
    width: 24px;
    color: var(--aw-text);
    transition: .4s;
    background-color: var(--o-primary-b);
    border-radius: 20px;
    border: 2px solid var(--aw-background);

*/
/* toggle-off label */
/* 
.betbuilder-toggle .toggle-switch-container .toggle-switch:after {
    content: "Bet Builder";
    min-width: 72px;
    width: auto;
    padding: 0px 12px 0 28px;
    height: 30px;
    line-height: 32px;
    display: inline-flex;
    text-align: end;
    color: var(--c-f);
    transition: 0.4s;
    transform: translateX(-101px);
    white-space: nowrap;
*/


.bet-container .bet-builder-on {

}
app-betslip-combine-selections {
    display: inline-flex;
    flex:1 1 100%;
    padding: 0 32px 0 10px;
    align-items: end;
    min-height: 28px;
}
.bet-match-combine, app-combine-selections {
    display: inline-flex;
    flex: 1 1 100%;
}
app-combine-selections button.combine-selections.inactive {
    display: inline-flex;
}
app-combine-selections button span,
app-betslip-combine-selections app-combine-selections div.combined-odds {
    height: 100%;
    line-height: 28px;
    display:  inline-flex;
    align-items: center;
}
#root .betslip .place-bet {
    display:none
}
#root .book-bet {
    min-width:unset;
    margin-top:0px;
        background-color: var(--aw-button-primary);
    color: var(--aw-label-button-primary);
}
#root .book-bet:disabled {
        background-color: var(--aw-button-primary-disabled);
        color: var(--aw-label-button-primary-disabled);
}
#root .betslip-totals.has-popular-bet .book-bet{
        border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-right: 40px;
}
.betslip-container  app-changed-odds {
    /* display: none; */
order:3
}
.outright-bet .bet-details-odds .bet-match-info {
    font: var(--aw-text-betslip-event);
}
.outright-bet .bet-actions .bet-match-selection span:last-child {
    text-decoration:underline var(--c-f-d);
    font-weight:600;
}
.betslip-container:not(.tab-events) .offers-combine app-betslip-combine-selections {
    display: inline-flex;
    /* order: 3; */
    /* background-color:  var(--o-blue-a); */
    width: 100%;
    height: auto;
    min-height: 28px;
    line-height: 11px;
    font-size: 1rem;
    font-weight: 500;
    padding: 0px 16px 0 10px;
    color: var(--c-s-white);
    position: relative;
    order: 5;
}

.betslip-container:not(.tab-events) .offers-combine .bet-match-combine {
    width: 100%;
    display: flex;
    align-items: center;
}
.betslip-container:not(.tab-events) .offers-combine .bet-match-combine app-combine-selections>button:before {
    content: "\e944";
    font-family: 'BIF';
    font-size: 20px;
    line-height: 20px;
    /* position: absolute; */
    text-align: center;
    height: 20px;
    min-width: 20px;
    width: 20px;
    color: var(--aw-text);
    /* height: calc(100% - 20px); */
    border: 2px solid var(--aw-chip-border);
    border-radius:  20px;
    background-color: var(--o-primary-c);
    top: 0;
    position: relative;
    float: left;

}
.betslip-container:not(.tab-events) .offers-combine.is-combined .bet-match-combine app-combine-selections>button:before {
    color: var(--aw-betslip-selection);
    border: 2px solid var(--aw-chip-border);
    background-color: var(--aw-betbuilder);
    float: right;

}
.betslip-container:not(.tab-events) .offers-combine .bet-match-combine app-combine-selections>button:before {
    
}
.betslip-container:not(.tab-events) .offers-combine.bet-builder-on .bet-match-combine app-combine-selections>button:after {
    content: "Bet Builder OFF";
    position: absolute;
    left: 50px;
    width:  auto;
    text-wrap:  nowrap;
    font-size: 13px;
    /* text-transform: uppercase; */
    color: var(--aw-text-d);
    font-weight: 500;
    line-height:  18px;
}
.betslip-container:not(.tab-events) .offers-combine.is-combined .bet-match-combine app-combine-selections>button:after {
    content: "Bet Builder ON";
    color: var(--aw-text);
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-match-combine:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: var(--aw-betbuilder);
    min-width: 2px;
    left: 43px;
    top: -9px;
}

.betslip-container:not(.tab-events) .offers-combine app-combine-selections {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1 1 100%;
    /* padding-left: 8px; */
    line-height: 13px;
    height: 35px;
    color: var(--c-f);
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-odds {
    font-weight: 700;
    font-size: 14px;
    text-align: end;
    margin-right: 0;
    line-height: 14px;
    margin-left: auto;
}
.betslip-container:not(.tab-events) app-combine-selections .combined-odds {
    font-weight: 700;
    font-size: 14px;
    text-align: end;
    margin-right: 0;
    line-height: 14px;
    margin-left: auto;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections {
    display: inline-flex;
    flex: 1 1 100%;
    margin-right: auto;
    align-items: center;
    height: 100%;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections span.description {
    color: var(--o-blue-a);
    font-weight: 700;
    font-size: 14px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-combine-selections .combined-selections span.status {
    padding-left: 8px;
    font-weight: 600;
    text-decoration: underline;
    font-size: 14px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-actions:before {
    content: "";
    display: block;
    height: calc(100% + 8px);
    max-width: 2px;
    min-width: unset;
    background-color: var(--aw-emphasis);
    position: absolute;
    left: 43px;
    top: -8px;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on app-betslip-event:first-of-type .bet-container .bet-actions:before {
    height: 50%;
    bottom: -1px;
    top: unset;
}

.betslip-container:not(.tab-events, .tab-multiple, .tab-systems) .betslip-match-content:has(.bet-stake-payout) .bet-actions {
    /* padding-right: 8px; */
}
#root .betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-actions .bet-min-combinations {
    /* margin-left: 2px; */
    /* margin-right:2px; */
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-match-details {
    display: flex;
    align-items: center;
}

.betslip-container:not(.tab-events) .is-combined.bet-builder-on .bet-container .bet-match-details:before {
    content: "\e917";
    font-family: 'BIF';
    display: inline-flex;
    min-width: unset;
    width: 16px;
    height: 16px;
    background-color: var(--o-primary-b);
    border-radius: 10px;
    font-size: 16px;
    color: var(--aw-button-primary);
    z-index: 1;
    line-height: 16px;
    text-align: start;
    text-indent: 0px;
    margin-left: -2px;
    margin-right: 4px;
}

.bet-match-combine.selection-needed, .bet-match-combine.selection-invalid {
    /* padding: 10px 10px; */
    font-size: 1rem;
    position: relative;
}

.bet-match-combine.selection-needed span.warning-sign {
    font-size: 0px;
    display: none;
}

.bet-match-combine.selection-needed span.warning-message-0 {
    height: auto;
    line-height: 16px;
    display: inline-block
}

.bet-match-combine:is(.selection-needed, .selection-invalid) .bet-match-combine-warning {
   padding-left: 29px;
    color: var(--aw-emphasis);
    /* font-weight: 500; */
    line-height: 16px;
    height: auto;
    min-height: 24px;
    display: inline-flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.bet-match-combine:is(.selection-needed, .selection-invalid) .bet-match-combine-warning:before {
    bottom: calc(50% - 14px);
    content: "\e944";
    font-family: 'BIF';
    font-size: 24px;
    /* line-height: 27px; */
    position: absolute;
    left: 0px;
    top: 0;
    width: 24px;
    height: 24px;
    color: var(--aw-emphasis);
    -webkit-font-smoothing: antialiased;
    line-height: 20px;
    display:  inline-flex;
}

/********* BetBuilder Switch *********/


/* 1 */
/*
.betbuilder-toggle {
    display: inline-flex;
    order: -1;
    height: 32px;
    border-radius: 20px;
    transition: .4s;
    border: var(--aw-chip-border);
    background-color: var(--aw-chip-background);
    overflow: hidden;
    width: 125px;
    min-width: 125px;

.betbuilder-enabled .betbuilder-toggle {
    transition: .4s;
}
/* 2a span */
/*
:root .betbuilder-toggle .toggle-switch-text {
    font-size: 0px !important;
    width: 0px;
    display: none;
    margin-left:10px;
*/
/* 2b toggle-on label */
/* 
.betbuilder-toggle .toggle-switch-container .toggle-switch:before {
    content: "Bet Builder";
    width: auto;
    padding: 0px 24px 0 12px;
    height: 30px;
    line-height: 32px;
    display: inline-flex;
    text-align: end;
    color: var(--aw-label-button-primary);
    transform: translateX(-92px);
    transition: 0.4s;
    font-weight: 500;
    white-space: nowrap;
    background-color: var(--aw-emphasis);
}
*/
/* toggle notch*/
/* 
:root .betbuilder-toggle .toggle-switch-container .toggle-switch .slider:before {
    content: "\e944";
    font-family: 'BIF';
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    position: absolute;
    left: 0px;
    top: 2px;
    height: 24px;
    width: 24px;
    color: var(--aw-text);
    transition: .4s;
    background-color: var(--o-primary-b);
    border-radius: 20px;
    border: 2px solid var(--aw-background);

*/
/* toggle-off label */
/* 
.betbuilder-toggle .toggle-switch-container .toggle-switch:after {
    content: "Bet Builder";
    min-width: 72px;
    width: auto;
    padding: 0px 12px 0 28px;
    height: 30px;
    line-height: 32px;
    display: inline-flex;
    text-align: end;
    color: var(--c-f);
    transition: 0.4s;
    transform: translateX(-101px);
    white-space: nowrap;
*/


.bet-container .bet-builder-on {

}
app-betslip-combine-selections {
    display: inline-flex;
    flex:1 1 100%;
    padding: 0 32px 0 10px;
    /* align-items: end; */
    min-height: 24px;
}
.bet-match-combine, app-combine-selections {
    display: inline-flex;
    flex: 1 1 100%;
}
app-combine-selections button.combine-selections.inactive {
    display: inline-flex;
}
app-combine-selections button span,
app-betslip-combine-selections app-combine-selections div.combined-odds {
    height: 100%;
    line-height: 28px;
    display:  inline-flex;
    align-items: center;
}
app-combine-selections button span {
    display: none
}
app-betslip-combine-selections .match-not-combinable {
    order:-1
}
#root app-betslip-combine-selections .bet-match-combine .combine-selections {
    border: var(--aw-input-border);
    border-radius: 20px;
    width: 44px;
    background-color: var(--aw-input-background);
    /* left: 1px; */
}
#root .mouse app-betslip-combine-selections .bet-match-combine .combine-selections:hover {
    background-color: var(--aw-input-background-hover);
}
#root .mouse .offers-combine:not(.is-combined) app-betslip-combine-selections .bet-match-combine .combine-selections:hover::before {
    background-color: var(--o-primary-d);
    color: var(--aw-text-e);
}
.offers-combine .match-not-combinable {
    display: none;        
}

.bet-actions .bet-match-details, .bet-actions .bet-match-details app-bet-event-selection {
    width: 100%;
    /* padding: 8px 0 0px 0; */
    display: inline-flex;
    flex: 1 1 0%;
}
.bet-actions .bet-match-selection span.bms-label, .bet-container.outright-bet .bet-match-selection span:last-child {
    font-weight: 600;
    text-decoration: underline var(--c-f-d);
    /* margin-top: 2px; */
    flex: 1 1 100%;
    max-width: calc(100% - 40px);
}
#root .systems-selections {
    order: -2;
}
#root .switch-systems-button {
    order:2;
    font-size:0px;
    border:0px;
    display:flex;
    align-items:center;
    background-color:transparent;
    
}
#root .switch-systems-button::after {
    content:attr(title);
    min-width:unset;
    font-family:var(--c-font);
    width:unset;
    display:block;
    font-size:0.9rem;
}
#root .switch-systems-button::before {
       content: "bif-ed-league-table-b";
    font: var(--icon-font);
    font-size:18px;
    width: 24px;
    height:100%;
    padding-bottom:4px
}
#root app-betslip-systems .switch-systems-button::before {
     content: "bif-ba-drag";
      font-size:24px;
     padding-bottom:2px
}