.beto-history {
    margin-bottom:10px;
}
.beto-history .history-content-wrapper tbody {
    padding:10px;
    display:flex;
    flex-direction:column;
        background-color: var(--c-grey-background);
}
.history-bet-wrapper {
    display:flex;
    flex-direction:column;
    font:var(--t-small-text-normal);
    margin-bottom:10px;
    background-color:var(--c-off-white);
    color:var(--c-text-dark-blue);
    border-radius:var(--r-10);
    /* border-left:5px solid var(--c-dark-blue-10); */
    display:grid;
    grid-template-columns:calc(50% - 45px) 1fr;
    grid-template-areas:
        "header footer"
        "bets bets"
        "actions actions"
        "info info";
    border-radius:var(--r-10);
    border:1px solid var(--c-dark-blue-2-10);
    overflow:hidden;
}
.history-bet-wrapper.product-live.open {
    background-color:var(--c-open-live)
}
.history-bet-wrapper.product-betting.open {
    background-color:var(--c-open-prematch)
}
.history-bet-wrapper.lost {
    background-color:var( --c-bet-lost);
}
.history-bet-wrapper.won {
    background-color:var(--c-bet-won-05)
}
.history-bet-wrapper.Won-Cashout {
    background-color:var(--c-bet-cashout)
}
 .history-bet-wrapper .bet-infos {
    display: flex;
    grid-area:info
}
.history-bet-wrapper .bet-infos .bet-infos-content {
    width:100%;
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    padding:10px;
    font:var(--t-tiny-text);
    background-color:transparent;
    color:var(--c-dark-blue-2-50);
}
.history-bet-wrapper .bet-infos .bet-infos-content .history-bet-date-time {
    margin-right:5px;
}
.history-bet-wrapper.open .bet-infos .bet-infos-content {
    flex-direction:column;
}
.history-bet-wrapper .bet-infos .bet-infos-title-wrapper {
    display:none;
}
.history-bet-wrapper .history-bet-toggle {
    width:calc(200% + 90px);
    height:100%;
    justify-content:flex-end;
    position:absolute;
    left:0px;
}
.history-bet-wrapper .history-bet-toggle::before {
    content:"";
    position:absolute;
    width:20px;
    height:20px;
    right: -3px;
    top:50%;
    transform:translate(-50%,-50%);
    background-repeat: no-repeat;
    background-image: var(--c-global-icon-spritesheet);
    background-position: -7px -77px;
}
.history-bet-wrapper.expanded .history-bet-toggle::before {
    transform: translate(-50%,-50%) rotate(180deg)
}
.history-bet-wrapper > .history-bet-header {
    display:flex;
    align-items:center;
    align-content:space-between;
    justify-content:space-between;
    min-height:50px;
    /* background-color:var(--c-dark-blue-10); */
    position:relative;
    /* padding-left:45px; */
    /* padding-right:12px; */
    border-top-right-radius:var(--r-10);
    border-bottom-right-radius:var(--r-10);
    flex-wrap:wrap;
    grid-area:header;
    padding:10px;
    color:var(--c-text-dark-blue)
}
.history-bet-wrapper > .history-bet-header::before {
    width:calc((200% + 90px) - 20px);
    height:1px;
    background-color:var(--c-dark-blue-2-10);
    content:"";
    position:absolute;
    left:10px;
    bottom:0px;
}
.history-bet-wrapper > .history-bet-header > div {
    flex:1;
    display:flex;
    /* justify-content:center; */
    padding:2px 4px;
}
.history-bet-wrapper.open > .history-bet-header > div.history-bet-status {
    display:none;
}
.history-bet-wrapper > .history-bet-header > div.history-bet-status {
    padding:2px 5px;
    border:1px solid var(--c-bet-won-full);
    font:var(--t-small-text-bold);
    color:var(--c-bet-won-full);;
    flex:unset;
    border-radius:2px;
    margin-right:auto;
}
.history-bet-wrapper.Won-Cashout > .history-bet-header > div.history-bet-status {
    color:var(--c-bet-cashout-full);
    border-color:var(--c-bet-cashout-full);
    background-image:url()
}
.history-bet-wrapper.lost > .history-bet-header > div.history-bet-status,
.history-bet-wrapper.void > .history-bet-header > div.history-bet-status{
    color:var(--c-bet-lost-full);
    border-color:var(--c-bet-lost-full)
}
.history-bet-wrapper > .history-bet-header > div.history-bet-stake {
    display:none
}
.history-bet-wrapper > .history-bet-header > div:not(.history-bet-toggle) {
     /* min-width:150px; */
}
.history-bet-wrapper > .history-bet-header .history-bet-date-time-id {
    display:none;
    justify-content:flex-end;
    flex: unset;
}
.history-bet-wrapper > .history-bet-header .history-bet-date-time-id div:not(:last-child) {
    margin-right:5px;
}
.history-bet-wrapper > .history-bet-header .history-bet-date-time-id .history-bet-id::before {
    content:"ID:"
}
.history-bet-wrapper > .history-bet-header .history-bet-info {
    display:flex;
   flex-direction:row;
    flex-wrap:wrap;
    justify-content: flex-start;
    white-space:nowrap;
    display:contents;
}
.history-bet-wrapper > .history-bet-header .history-bet-info .history-bet-type {
    text-transform:uppercase;
    display:flex;
    gap:4px;
}
.history-bet-wrapper:not(.open) > .history-bet-header .history-bet-info .history-bet-type::before {
    width:14px;
    height:14px;
    content:"";
    display:block;
    border-radius:50%;
}
.history-bet-wrapper.won > .history-bet-header .history-bet-info .history-bet-type::before  {
    background-color:var(--c-bet-won-full);
    background-image:url(/v3.66/r/images/in2bet/icons/bet_won.svg);
    background-size:100%;
}
.history-bet-wrapper.Won-Cashout > .history-bet-header .history-bet-info .history-bet-type::before  {
    background-color:var(--c-bet-cashout-full);
    background-image:url(/v3.66/r/images/in2bet/icons/cashout.svg);
    background-size:100%;
}
.history-bet-wrapper.lost > .history-bet-header .history-bet-info .history-bet-type::before,
.history-bet-wrapper.void > .history-bet-header .history-bet-info .history-bet-type::before{
    background-color:var(--c-bet-lost-full);
     background-image:url(/v3.66/r/images/in2bet/icons/bet_lost.svg);
    background-size:100%;
}
.history-bet-wrapper > .history-bet-header .history-bet-info .history-bet-lines {
    order:3;
    width:100%;
    font:var(--t-small-text-bold);
}
.history-bet-wrapper > .history-bet-header .history-bet-info div:first-child {
    margin-right:5px;
}
.history-bet-wrapper > .history-bet-header .history-bet-stake span:first-child {
    margin-right:5px;
}
.history-bet-wrapper:not(.expanded) > div:not(.history-bet-header):not(.history-bet-footer):not(.bet-infos) {
    display:none;
}
.history-bet-wrapper .history-bet-content {
    grid-area:bets;
}
.history-bet-wrapper .history-bet-content,
.history-bet-wrapper .history-bet-content app-bet-content{
    display:block
}
.history-bet-wrapper .history-selection-info {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    width:100%;
    margin-bottom:4px;
    
}
.history-bet-wrapper .history-bet-match-details:not(.live-match) .history-match-info .history-bet-match-time{
    /* margin-top:6px; */
    margin-left:auto;
    font-size:8px;
    line-height:1;
    background-color:var( --c-grey-background-2);
    padding:3px;
    border-radius:var(--r-5);
    border:.5px solid var(--c-dark-blue-10);
    text-align:right;
}
.history-bet-wrapper:not(.product-live.open) .history-match-info .history-bet-match-time .match-result:not(.result-0),
.history-bet-wrapper:not(.product-live.open) .history-match-info .history-bet-match-time .match-result-separator{
    display:none
}
.history-bet-wrapper .history-bet-match-details.lost .history-selection-info {
     /* background-color:#ff000038; */
     /* padding:5px 8px; */
}
.history-bet-wrapper .history-bet-match-details.won .history-selection-info {
     /* background-color:#01a70138; */
     /* padding:5px 8px; */
}
.history-bet-wrapper .history-selection-info .selection-status {
    order:2;
     margin-left:auto;
    margin-right:5px;
    display:none;
}
.history-bet-wrapper .history-selection-info .selection-status.pending::before {
    content:var(--t-pending)
}

.history-bet-wrapper .history-selection-info .selection-status.lost::before {
    content:var(--t-lost)
}
.history-bet-wrapper .history-selection-info .selection-status.won::before {
    content:var(--t-won)
}
.history-bet-wrapper .history-selection-info .selection-status.void::before {
    content:var(--t-void)
}
.history-bet-wrapper.Won-Cashout .history-selection-info .selection-status.void::before {
    content:var(--t-cashout)
} 
.history-bet-wrapper .history-selection-info .selection-and-odds {
    display:flex;
    width:100%;
    order:-1;
    font:var(--t-small-text-bold);
    margin-left:18px;
    margin-bottom:5px;
   
}
.history-bet-wrapper .history-bet-match-details.pending .history-selection-info .selection-and-odds {
    margin-left:0px;
}
.history-bet-wrapper .history-selection-info .selection-and-odds .history-bet-selection {
    margin-right:8px;
}
.history-bet-wrapper .history-selection-info .selection-and-odds .history-bet-odds {
    font:var(--t-small-text-bold);
    
    margin-left:auto;
}
.history-bet-wrapper .history-bet-match-details {
    padding:10px;
    background-color:var(--c-background-white);
    padding-left: 34px;
    position:relative;
}
.history-bet-wrapper .history-bet-match-details:not(.pending)::before {
     width: 14px;
    height: 14px;
    content: "";
    display: block;
    border-radius: 50%;
    position:absolute;
    left:10px;
}
.history-bet-wrapper .history-bet-match-details.won::before  {
   
    background-color:var(--c-bet-won-full);
    background-image:url(/v3.66/r/images/in2bet/icons/bet_won.svg);
    background-size:100%;
}
.history-bet-wrapper .history-bet-match-details.lost::before,
.history-bet-wrapper .history-bet-match-details.void::before  {
   
    background-color:var(--c-bet-lost-full);
     background-image:url(/v3.66/r/images/in2bet/icons/bet_lost.svg);
    background-size:100%;
}
.history-bet-wrapper.Won-Cashout .history-bet-match-details.void::before  {
   
    background-color:var(--c-bet-cashout-full);
    background-image:url(/v3.66/r/images/in2bet/icons/cashout.svg);
    background-size:100%;
}


.history-bet-wrapper .history-bet-match-details.betbuilder-match app-bet-match {
    display:flex;
    flex-direction:column;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match app-bet-match .history-combine-info {
    order:-2;
    display:flex;
    justify-content:space-between;
    font:var(--t-small-text-bold);
        margin-left: 18px;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match.pending app-bet-match .history-combine-info {
    margin-left:0px
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match app-bet-match .history-combine-info .combine-type{
    display:none;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match app-bet-match .history-combine-info::before {
    content:"Bet Builder"
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match app-bet-match .history-match-info {
    order:-1;
    margin-bottom:10px;
    margin-top:5px;
}
.history-bet-wrapper .history-bet-match-details div[class*="history-selection-info-"]{
    position:relative;
    display:flex;
    flex-wrap:wrap;
    padding-bottom:5px;
}
.history-bet-wrapper .history-bet-match-details .history-bet-match-wrapper[class*="selections-"] app-bet-match{
    display:flex;
    flex-direction:column;
}
.history-bet-wrapper .history-bet-match-details:not(.betbuilder-match) .history-bet-match-wrapper[class*="selections-"] .history-match-info{
    order:-1;
   
}
#root .history-bet-wrapper .history-bet-match-details:not(.betbuilder-match) .history-bet-match-wrapper[class*="selections-"] .match-and-time {
     font:var(--t-small-text-bold)
}
.history-bet-wrapper .history-bet-match-details div[class*="history-selection-info-"] .market-name{
    width:100%;
}
.history-bet-wrapper .history-bet-match-details div[class*="history-selection-info-"] .selection-and-odds {
    display:flex;
    flex:1;
    justify-content:space-between;
    font:var(--t-small-text-bold)
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"]::before {
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background-color:var(--c-background-white);
    border:1px solid var(--c-dark-blue);
    left:-22px;
    top:4px;;
   
    position:absolute;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"]:not(:nth-last-child(3))::after {
    content:"";
    width:1px;
    height:calc(100% - 13px);
    background-color:var(--c-dark-blue);
    left: -18px;
    top: 15px;
    position:absolute;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .history-bet-selection {
    font:var(--t-small-text-bold);
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .selection-status:not(.pending) {
    width:14px;
    height:14px;
    border-radius:50%;
    margin-right:5px;
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .selection-status.won {
    background-color:var(--c-bet-won-full);
     background-image:url(/v3.45/r/images/in2bet/icons/bet_won.svg);
    background-size:100%;
    
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .selection-status.lost{
    background-color:var(--c-bet-lost-full);
      background-image:url(/v3.45/r/images/in2bet/icons/bet_lost.svg);
    background-size:100%;
    
}
.history-bet-wrapper.Won-Cashout .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .selection-status.void{
    background-color:var(--c-bet-lost-full);
      background-image:url(/v3.45/r/images/in2bet/icons/cashout.svg);
    background-size:100%;
    
}
.history-bet-wrapper .history-bet-match-details.betbuilder-match div[class*="history-selection-info"] .market-name {
    width:100%;
}
.history-bet-wrapper .history-bet-match-details .sport-icon {
    font-size:0px;
    position:absolute;
    top: 7px;
    left: 29px;
    transform:scale(.7)
}
.history-bet-wrapper .history-bet-match-details.pending .sport-icon {
    left:6px
}
.history-bet-wrapper .history-bet-match-details:not(:last-child) {
    border-bottom:1px solid var(--c-dark-blue-10)
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .market-name {
     font:var(--t-tiny-text);
    gap:2px;
}
#root .history-bet-wrapper .match-and-time {
    font:var(--t-tiny-text);
    display:flex;
    align-items:center;
}
#root .history-bet-wrapper .match-date-code-wrapper{
    margin-top:6px;
    display:flex;
    display:none
}
.history-bet-wrapper .match-date-code-wrapper .betslip-match-code {
    display:none;
}
.history-bet-wrapper .history-systems-wrapper {
    display:none;
    flex-direction:column;
    width:100%;
}
.history-bet-wrapper .history-systems-wrapper .history-system-wrapper.history-bet-header {
    background-color:var(--c-dark-blue-10);
}
.history-bet-wrapper .history-systems-wrapper .history-system-wrapper {
    display:flex;
}
.history-bet-wrapper .history-systems-wrapper .history-system-wrapper > div {
    flex:1;
    text-align:center;
    padding:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:20%;
}
.history-bet-wrapper .history-bet-footer {
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    /* border-top:1px solid var(--c-dark-blue-10); */
    grid-area:footer;
    margin:10px 0px;
    padding:0px 10px;
    margin-right: 34px;
    gap:5px;
    font:var(--t-tiny-text);
    color:var(--c-text-dark-blue);
    border-right:1px solid var(--c-dark-blue-2-10);
}
.history-bet-wrapper .history-bet-footer > div {
    padding:10px;
    padding: 0px;
    display:flex;
    align-items:flex-end
}
.history-bet-wrapper .history-bet-footer > div.history-bet-odds {
    order:-1;
    font:var(--t-tiny-text-bold)
}
.history-bet-wrapper .history-bet-footer > div.history-bet-odds span:last-child:before {
    content:"@"
}
.history-bet-wrapper .history-bet-footer > div.history-bet-odds span:first-child{
    display:none;
}
.history-bet-wrapper .history-bet-footer > div span:last-child {
    font:var(--t-tiny-text-bold)
}
.history-bet-wrapper .history-bet-footer > div span:first-child {
    margin-right:6px;
    text-align:right;
    /* white-space:nowrap; */
}
.history-bet-wrapper .history-bet-footer > div span:first-child::after {
    content:":"
}
.history-bet-wrapper .history-actions-wrapper {
    padding:8px;
    display:flex;
    justify-content:center;
     border-top:1px solid var(--c-dark-blue-10);
    grid-area:actions;
    background-color:var(--c-background-white);
    position:relative;
    gap:10px
}
#root .history-bet-wrapper .history-actions-wrapper .history-bet-cashout {
    width:100%;
    max-width:100%;
}
#root .history-bet-wrapper .history-actions-wrapper .history-bet-reload{
    position:absolute;
    right:10px;
    bottom:0px;
    transform:translateY(calc(100% + 10px));
    max-height:24px;
    min-height:24px;
    padding:0;
    font-size:8px;
    line-height:1px;
    min-width:53px;
    border-radius:var(--r-5);
    color:var(--c-dark-blue-50);
}
#root .history-bet-wrapper .history-actions-wrapper button {
    min-height:40px;
    background-color:transparent;
    color:var(--c-text-dark-blue);
    border:1px solid var(--c-dark-blue-50);
    font:var(--t-small-text-bold);
    max-width:180px;
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-error {
    max-width:100%;
}
.history-bet-wrapper .history-actions-wrapper button:last-child:not(:only-child) {
    /* margin-right:8px; */
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-cancel {
    background-color:transparent;
    color:var(--c-text-dark-blue);
    border:1px solid var(--c-text-dark-blue);
    order:-1;
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-confirm {
     background-color:var(--c-accent-color);
    color:var(--c-text-light-e);
    border:1px solid var(--c-accent-color);
}
.history-bet-wrapper.product-live .live-match .history-bet-match-name .match-competitors {
    display:flex;
    flex-direction:column;
    margin-right:auto
}
.history-bet-wrapper.product-live .live-match .history-bet-match-name .match-competitors .match-versus {
    display:none;
}
.history-bet-wrapper.product-live  .live-match .history-bet-match-time {
    display:flex;
    align-items:center;
    margin-left:auto;
    gap:10px;
}
.history-bet-wrapper.product-live  .live-match .history-bet-match-time .history-match-set-scores {
    display:none
}
.history-bet-wrapper.product-live  .live-match .history-bet-match-time .history-match-score {
    display:flex;
    flex-direction:column;
    font:var(--t-tiny-text-bold);
    color:var(--c-action);
}
.history-bet-wrapper.product-live  .live-match .history-bet-match-time .history-match-minute {
    order:3;
    padding:3px;
    padding-bottom:1px;
    background-color:var(--c-emphasis);
    color:var(--c-text-light);
    font-size:8px;
    line-height:1;
    border-radius:4px;
}
.history-bet-wrapper.product-live .live-match  .history-bet-match-time::before {
    content:"Live";
     padding:3px;
    background-color:var(--c-emphasis);
    color:var(--c-text-light-e);
    font-size:6px;
    line-height:1;
    border-radius:4px;
}
.history-bet-wrapper.product-live .live-match .history-bet-match-time .history-match-score .score-separator {
    display:none;
}

.beto-history tfoot {
    font:var(--t-small-text-normal)
}
.beto-history tfoot .history-bet-footer {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
}
.beto-history tfoot .history-bet-footer > div:not(:last-child) {
    margin-bottom:4px;
}
.beto-history tfoot .history-bet-footer-dates {
    width:100%;
}
.beto-history tfoot .history-bet-footer-dates span:first-child::after {
    content:"-";
    margin:0px 5px
}
.beto-history tfoot .history-bet-footer > div:not(.history-bet-footer-dates) span:first-child::after {
    content:":";
    margin-right:5px;
}
.beto-history tfoot .history-bet-footer > div:not(.history-bet-footer-dates) {
    margin-right:10px;
}
.beto-history .no-history-records {
    font:var(--t-small-text-normal);
    text-align:center;
    margin:10px;
}
.history-bet-wrapper.has-bet-builder::after{
    display:none;
}
/*.history-bet-wrapper.has-bet-builder .history-bet-header .history-bet-info::after {
    content:"BB";
    margin-left:5px;
}*/
.bet-history-wrapper .history-filter label{
    display:none
}
.bet-history-wrapper .history-filter label {
    
}
.bet-history-wrapper .history-filter p-dropdown{
    display:none;
}
.bet-history-wrapper .history-filter app-window-tabs .window-tabs {
    justify-content:flex-start;
    gap:10px;
    padding:0 10px;
}
.bet-history-wrapper .history-filter app-window-tabs .window-tab {
    width:unset;
    padding-bottom:3px;
}
.bet-history-wrapper .history-filter app-window-tabs .window-tab.tab-selected {
    position:relative;
    
}
.bet-history-wrapper .history-filter app-window-tabs .window-tab.tab-selected::before {
    content:"";
    position:absolute;
    bottom:0px;
    left:0px;
    width:100%;
    height:2px;
    border-radius:var(--r-10);
    background-color:var(--c-dark-blue-2)
}
#root .bet-history-wrapper .history-from,
#root .bet-history-wrapper .history-to,
#root .bet-history-wrapper .history-show{
    display:none!important;
}
.bet-history-wrapper .bet-history.settled .history-bet-wrapper.open {
    display:none;
}
.bet-history-wrapper .bet-history.settled .status-tab.tab-open {
    display:none;
}