/* 15/01/2021 ThV  */
/* LIVE Coupons fixes */
#root .markets-header-wrapper .market-header .market-type-selection {
    white-space: nowrap;
    line-height: 32px;
   font-weight:normal;
    overflow: hidden;
    /* mv: changed 1 line below */
    /* tex-overflow: ellipsis; */
    text-overflow: ellipsis;
    display: block; 
    text-align: center;
}

/* All coupons */
#root .match-live-info .match-score-server-set-wrapper {
    justify-content: flex-end;
}

/* Football coupon */
#root .match-sport-football .match-set-scores {
    display: none;
}

/* Basketball coupon */
#root .events-tournament-content .events-tournament-wrapper .match-sport-soccer .item-info-wrapper .match-live-info .match-set-scores, #root .events-tournament-content .events-tournament-wrapper .match-sport-soccer .item-info-wrapper .match-live-info .match-server, #root .events-tournament-content .events-tournament-wrapper .match-sport-basketball .item-info-wrapper .match-live-info .match-set-scores, #root .events-tournament-content .events-tournament-wrapper .match-sport-basketball .item-info-wrapper .match-live-info .match-server {
    display: none;
}

/* Snooker coupon */
#root .match-sport-snooker .match-schedule .match-neutral {
    display: none;
}

#root .match-sport-snooker .match-live-info .match-progress {
    display: none;
}

/* Tennis coupon */
#root .match-sport-tennis .match-info .match-neutral {
    display: none;
}

/* Volleyball coupon */
#root .match-sport-volleyball .match-live-info .match-period {
    /* not to collapse the alignment */
    height: 16px;
}

#root .match-sport-volleyball .match-live-info .match-minute {
    display: none;
}

/* Ice hockey */
#root .match-sport-ice-hockey .match-set-scores {
    display: none;
}

.itf-women {
    background-image: url(/v1.730/r/images/flags/itfw.svg);
}

.itf-men {
    background-image: url(/v1.730/r/images/flags/itf.svg);
}

.atp {
    background-image: url(/v1.730/r/images/flags/atp.svg);
}

.wta {
    background-image: url(/v1.730/r/images/flags/wta.svg);
}

.nav-category-icon.tennis {
    background-image: url(/v1.730/r/images/flags/tennisflag.svg);
}

.international-youth {
    background-image: url(/assets/themes/betomall/images/icons/flags/international-clubs.svg);
}
/*
.default-flag {
    background-image: url("betomall/images/icons/flags/international.svg");
}*/

.turkey-amature,.turkeyamature {
    background-image: url("betomall/images/icons/flags/turkey.svg");
}

/* Bug http://bugs.zapnet.com.cy/show_bug.cgi?id=230 */
#root .content .events-tournament-content .events-tournament-wrapper .events-item-wrapper .match-info .match-teams {
    flex-direction: column;
}

#root .content .live-sports-coupon .events-tournament-content .events-tournament-wrapper .events-item-wrapper .match-info .match-teams .match-team-separator {
    display: none;
}

/* live-booked aspect */
.is-live-booked:after {
    /* border: 1px solid black; */
    /* border-radius: 2px; */
    /* content: 'live'; */
    /* font-size: 10px; */
    /* line-height: 1em; */
    /* padding: 0 2px; */
}

/* dimension of odd on 3-columns when it's 1 or 2 on last row */
@media (min-width: 1280px) {
    #root .content .match-markets-wrapper .match-market .market-content.over-3 .match-odd {
        max-width: 33.33%;
        
    }
}

#root .content .match-markets-wrapper .match-market.market-code-goalscorer .market-content .match-odd {
    flex: 0 0 calc(100% - 4px);
    max-width: 100%;
    overflow: hidden;
    border-right: 0;
}
#root .content .match-markets-wrapper .match-market.market-code-goalscorer .market-content .match-odd .odd {
  
    width:50px;
}

/* match page market specials */
.market-header .market-name + .market-special:before {
    content: ' ';
}

/* selections on live match page sidebar */
#root .live-match-side-coupon .events-item-wrapper.match-is-live {
    flex-direction: column;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-markets-wrapper {
    display: block !important;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-markets-wrapper .match-market {
    height: 32px;
    margin: 4px 0;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-odd .odd {
    justify-content: space-between;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-odd .odd.odd-locked {
    height: 32px;
}

.match-markets-wrapper .match-odd.odd-locked > span {
    display: flex;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-odd .odd span {
    margin: initial;
}

#root .live-match-side-coupon .events-item-wrapper.match-is-live .match-odd .odd .mobile-outcome {
    display: block;
    /* font-weight: normal; */
    /*color: var(--c-black);*/
}

#root .live-match-side-coupon .match-is-live.selected-match .match-odd .odds-selection-default:not(.odds-bet-slip-selected) .odd .mobile-outcome {
    color: var(--c-white); 
}

#root .live-match-side-coupon .match-is-live.selected-match .match-odd .odds-selection-default:not(.odds-bet-slip-selected) .odd span:not(.mobile-outcome) {
    color: var(--c-white-e);
    /*color: var(--c-black-e)*/
}

/* correct score fix */
.market-correct-score-win, .market-correct-score-draw, .market-correct-score-loose {
    flex: 1;
}

/* temp patch */
#root .content .events-tournament-content .events-tournament-wrapper .item-info-wrapper .match-live-info .match-cards, #root .content .events-tournament-content .events-tournament-wrapper .item-info-wrapper .match-live-info .match-corners {
    display: none;
}

#root .history-header div.ui-dropdown-trigger {
    margin-top: 0;
    width: 2em;
}
#root .mobile .body .user-page-content,
#root .user-nav-container {
    /* border-radius: 34px; */
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
}




#root .user-page-content app-menu li.cms-menu-open-bets a,
#root .user-page-content app-menu li.cms-menu-settled-bets a {
    width: unset;
    /* line-height: 2.2; */
    font-size: 15px;
    /* font-weight: bold; */
}
#root .user-page-content app-menu.open-bets-menu li.cms-menu-open-bets,
#root .user-page-content app-menu.open-bets-menu li.cms-menu-settled-bets {
   max-width:unset;
   min-height:32px;
}
#root .mobile .body .content.user-page-content>app-widget-host {
    padding: 0;
}

#root .mobile.view-page-user-closedbets-last24 .mobile-user-nav-helper,
#root .mobile.view-page-user-closedbets-last48 .mobile-user-nav-helper,
#root .mobile.view-page-user-closedbets-daterange .mobile-user-nav-helper,
#root .mobile.view-page-user-openbets .mobile-user-nav-helper {
    display: none;
}

#root .mobile .user-page-content app-menu li.cms-menu-settled-bets a {
    /* color: black; */
}

#root .mobile .user-page-content app-menu li.cms-menu-settled-bets a.active {
    color: white;
}

#root .mobile.view-page-user-openbets .history-bet-wrapper .history-bet-header .history-bet-status {
    display: none;
}


#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details {
    background-color: white;
    border-bottom: 0;
}

#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details:not(:last-child) {
    border-bottom: 1px solid var(--c-shade);
    padding-bottom: 2px;
}


.history-bet-wrapper.expanded app-bet-match>div[class^="history-selection-info"] {
    margin: 0;
    margin-top: 10px;
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match {
    padding-top:33px;
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match .history-bet-match-wrapper::before {
    content:"Bet Builder";
    display:flex;
    align-items:center;
    position:absolute;
    width:calc(100% - 80px);
    padding:0px 10px;
    height:26px;
    top:6px;
    font-weight:bold;
    background-image:url(/v1.014/r/images/site/icons/BB_Icon_Green_New.svg);
    background-repeat:no-repeat;
    background-position: 132px center;
    padding-left: 57px;
}
#root .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match:after {
    /* top: 14px; */
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match {
    position:relative;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match .history-combine-info  {
    align-self:flex-start;
    position:absolute;
    top: -22px;
    right:0px;
    /* margin-top: 14px; */
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"] {
    position:relative;
    margin-left: 74px;
    padding: 6px 4px;
    margin-top: 0px;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]::before {
   content: "";
    width: 16px;
    height: 2px;
    position: absolute;
    background-color: var(--c-emphasis);
    left: -16px;
    top: 50%;
    transform: translate(0%, -50%);
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]::after {
    content: "";
    width: 2px;
    height: 100%;
    position: absolute;
    background-color: var(--c-emphasis);
    left: -16px;
    top: 0px;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]:first-child::after {
    top: 50%;
    height: 50%;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]:first-child {
    /* padding-top:0px; */
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]:nth-last-child(3)::after {
    height: 50%;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.betbuilder-match app-bet-match > div[class^="history-selection-info"]:nth-last-child(3) {
    padding-bottom:0px;
}
#root .history-bet-header+.history-system-wrapper>div span:first-child,
#root .accumulator+.group.history-system-wrapper>div span:first-child {
    font-weight: normal;
    border-bottom: 1px solid #001849;
    font-size: 13px;
    min-height: 30px;
}

.history-systems-wrapper {
    margin-top: 6px;
    grid-area: betsystem;
}

.history-bet-wrapper .history-system-wrapper>div span:last-child {
    font-weight: normal;
}






#root .user-page-content button,
body .ui-widget input,
body .ui-widget select,
body .ui-widget button,
body .ui-widget textarea {
    font-family: Roboto;
}

#root .user-page-content .history-actions-wrapper button,
body .ui-widget input,
body .ui-widget select,
body .ui-widget button,
body .ui-widget textarea {
    font-size: 15px;
    font-weight: bold;
    line-height: 18px;
}

.history-bet-wrapper~hr {
    border-top: 1px solid #1D58FF;
}


/* 28/04 DS Changes */

 
/* */
.history-bet-wrapper {
    background-color: var(--c-white-e);
    color:var(--c-black);
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    margin: .5em 0;
    border-radius: 20px;
    box-shadow: 2px 4px 10px 0 rgba(0, 0, 0, 0.15);
    border: none;
    position: relative;
    padding-bottom:5px;
    font-size: 13px;
}
#root app-history .history-bet-wrapper:not(:first-child) {
    margin: 40px 0;
}
#root app-history .history-bet-wrapper:last-child {
   margin-bottom: 20px;
}
#root app-history .history-bet-wrapper:first-child {
    margin-bottom: 40px;
    /* margin-top: -6px; */
}
.history-bet-wrapper:not(:last-child)::after {
   content:"";
   width:100%;
   height:2px;
   position:absolute;
   background-color:var(--c-emphasis);
   bottom: -20px;
}
.history-bet-wrapper .history-bet-header {
    align-items: center;
    border-bottom: 2px solid var(--c-shade);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0.25em .5em;
    padding: 6px 24px;
    padding-right: 50px;
}

.history-bet-wrapper .history-bet-header .history-bet-toggle {
    align-items: center;
    border-radius: 50%;
    color: black;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-right: .5em;
    right: 0;
    top: 55px;
    background-color: var(--c-white);
     /* position: absolute; */
    /* z-index: 999; */
    top: 10px;
    width: 24px;
    height: 24px;
    /* border: 1px solid var(--c-emphasis); */
    right: 15px;
    align-self:center;
    justify-self:center;
}

.history-bet-wrapper .history-bet-header .history-bet-toggle:before {
    content: '';
    background-image: url(/v1.036/r/images/site/icons/NonSelected.svg);
    background-size: 24px;
    background-position: center;
    width: 24px;
    height: 24px;
}

.history-bet-wrapper .history-bet-header .history-bet-info .history-bet-type {
    color: #333;
    /* font-size: 12px; */
    font-weight: 600;
    display: none;
    margin-right: 8px;
}

.history-bet-wrapper .history-bet-header .history-bet-info .history-bet-lines {
    font-weight: 400;
    display: none;
}

.history-bet-wrapper .history-bet-header .history-bet-status {
    margin-left: auto;
    padding: 0px 6px;
    display:none;
}

.history-bet-wrapper .history-bet-header .history-bet-status.lost {
    background-color: #f7b3b3;
}

.history-bet-wrapper .history-bet-header .history-bet-status.won {
    background-color: lightgreen;
}

.history-bet-wrapper .history-bet-header .history-bet-status.pending {
    background-color: lightgrey;
}

.history-bet-wrapper .history-bet-header .history-bet-status.open {
    /* mv: Make background yellow for history-bet-status open */
    /* mv: changed line below */
    /* background-color: lightgrey; */
    background-color: var(--c-yellow);
}

.history-bet-wrapper .history-bet-content {
    display: flex;
    flex-direction: row;
    /* padding: 8px; */
    height: auto;
    flex-wrap: wrap;
    padding-right: 30px; 
   
}

.history-bet-wrapper .history-bet-content .history-bet-match-details {
    align-items: center;
    display: flex;
    flex-direction: row;
}

.history-bet-wrapper .history-bet-content .history-bet-match-details div {
    display: none;
}

.history-bet-wrapper .history-bet-content .history-bet-match-details:before {
    border: 1px solid #ccc;
    border-radius: 50%;
    color: #fff;
    content: '';
    display: inline-block;
    height: 16px;
    margin-right: .5em;
    width: 16px;
}
.history-bet-wrapper:not(.expanded) .history-bet-content .history-bet-match-details.pending {
    background-color:transparent;
   border:1px solid var(--c-black);
   padding: 0px;
}
.history-bet-wrapper:not(.expanded) .history-bet-content .history-bet-match-details.won {
    background-color: var(--c-green);
}

.history-bet-wrapper:not(.expanded) .history-bet-content .history-bet-match-details.lost {
    background-color: var(--c-red);
}
.history-bet-wrapper:not(.expanded) .history-bet-content .history-bet-match-details.void {
   
    background-color:var(--c-grey-2)
}

.history-bet-wrapper:not(.expanded) .history-bet-content .history-bet-match-details {
   width: 10px;
   height: 10px;
   border-radius:50%;
   padding:5px;
   margin-right: 4px;
}
#root .history-bet-wrapper .history-bet-content {
    grid-area:betcontent;
}
#root .history-bet-wrapper:not(.expanded) .history-bet-content {
   padding: 0px 22px;
   grid-area:betcontent;
   display:flex;
   align-items: center;
   padding-bottom: 5px;
   padding-left: 26px;
}
.history-bet-wrapper:not(.expanded) app-bet-content {
   display:contents;
}
.history-bet-wrapper:not(.expanded) {
    display:grid;
    width:100%;
    grid-template-columns:auto 1fr 1fr 50px;
    grid-template-areas:"betid betcopy betdate bettogle"
                         "betcontent betcontent bettime bettogle"
                         "betsystem betsystem betsystem betsystem"
                         "betfooter betfooter betfooter betfooter"
                         "betactions betactions betactions betactions";
    color:var(--c-black)
 }
 .history-bet-wrapper.expanded {
    display:grid;
    width:100%;
    grid-template-columns:auto 1fr 1fr 50px;
    grid-template-areas:"betid betcopy betdate bettogle"
                         "bettime bettime bettime bettogle"
                          "betcontent betcontent betcontent betcontent"
                         "betsystem betsystem betsystem betsystem"
                         "betfooter betfooter betfooter betfooter"
                         "betactions betactions betactions betactions";
    color:var(--c-black)
 }
app-history .history-bet-wrapper .history-bet-id {
   grid-area:betid;
   padding-top:10px;
   padding-left: 24px;
}
app-history .history-bet-wrapper .history-bet-id-copy {
   grid-area:betcopy;
   padding-top:10px;
  
}
app-history .history-bet-wrapper .history-bet-date {
   grid-area:betdate;
   padding-top:10px;
   /* padding-right: 50px; */
}
app-history .history-bet-wrapper .history-bet-time {
   grid-area:bettime;
   /* padding-right: 52px; */
   padding-bottom: 5px;
}
app-history .history-bet-wrapper .history-bet-toggle {
   grid-area:bettogle
}
.history-bet-wrapper .history-bet-header {
   display:contents
}
.history-bet-wrapper .history-actions-wrapper {
    /* width: 186px; */
    min-height: 38px;
    align-self: center;
    display: flex;
    margin-top: 4px;
    grid-area:betactions;
    justify-content:space-between;
    padding:0 20px;
    width:100%;
    margin-bottom: 4px;
}
.history-bet-wrapper .history-actions-wrapper:empty {
   display:none;
}
.history-bet-wrapper .history-bet-header .history-bet-date-time-id {
   display:contents;
}
.history-bet-wrapper .history-bet-footer {
    background-color: var(--c-paper);
    border-top: 1px solid var(--c-shade);
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    grid-area:betfooter;
    border-top: 2px solid var(--c-shade);
   border-bottom-left-radius:20px;
   border-bottom-right-radius:20px;
   overflow:hidden;
}

.history-bet-wrapper .history-bet-footer > div, .history-bet-wrapper .history-system-wrapper > div {
    /* border-right: var(--b-border); */
    display: flex;
    flex:1 1 100%;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    padding: 2px 8px;
    background-color: var(--c-white-e);
}
.history-bet-wrapper .history-bet-footer > div.history-bet-stake {
   padding-top: 12px;
}
.history-bet-wrapper .history-system-wrapper > div , .history-bet-wrapper .history-bet-footer > div span {
    /* font-size: 12px; */
}
.history-bet-wrapper .history-bet-footer>div.history-bet-possible-winnings span,
.history-bet-wrapper .history-bet-footer>div.history-bet-winnings span{
    font-size: 15px;
}
.history-bet-wrapper .history-system-wrapper > div span:last-child, .history-bet-wrapper .history-bet-footer > div span:last-child {
    font-weight: bold;
    /* font-size: 12px; */
}

.history-bet-wrapper .history-system-wrapper > div:last-child, .history-bet-wrapper .history-bet-footer > div:last-child {
    border-color: transparent;
}
.history-systems-wrapper .history-system-wrapper > div {
    flex: 1;
}
app-history .history-bet-wrapper .history-bet-footer >div > span:first-child {
    white-space: nowrap;
    margin-right:5px;
}
#root .history-bet-wrapper .history-bet-cashout {
    background-color: var(--c-green);
    color: #fff;
    padding: .5em;
    text-align: center;
    /* max-width:330px; */
    width:100%;
}
#root .history-bet-wrapper .history-bet-cashout.success {
   background-color:transparent;
   color:var(--c-green);
   box-shadow:unset;
   border:0;
   margin-bottom: 5px;
   height: auto;
}
.history-bet-wrapper .history-bet-cashout span {
    font-weight: bold;
}

.history-bet-wrapper.expanded .history-bet-header .history-bet-toggle:before {
    content: '';
   background-image: url(/v1.036/r/images/site/icons/Selected.svg);
    /* transform: rotate(180deg); */
}

.history-bet-wrapper.expanded .history-bet-content {
    flex-direction: column;
    padding-bottom: 0;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details {
    align-items: flex-start;
    /* border-bottom: 1px solid var(--c-shade); */
    /* margin-top: .5em; */
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .history-bet-match-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 8px;
    /* background-color: var(--c-white-e); */
    border-bottom: 1px solid var(--c-shade-b);
    /* border-top: 1px solid var(--c-shade-b); */
    margin-top: -36px;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .history-bet-match-wrapper .selection-and-odds {
    display:contents;
    flex-direction: row;
    font-weight: bold;
    justify-content: space-between;
    line-height: 1.5;
    flex: 1;
    /* font-size: 12px; */
    margin-left: 50px;
    /*order: 1;*/
    padding-left: 0 !important;
    padding-right: 24px;
    padding-top: 0;
    width: auto;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .history-bet-match-wrapper .market-name {
   font-style: normal;
   row-gap: 2px;
   /* margin-top: 8px; */
   color: #1D58FF;
   display: contents;
   /* font-size: 12px; */
   padding-right:20px;
   margin-top: 0;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .history-bet-match-wrapper .match-and-time {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 0;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details:last-child {
    border-bottom: 0;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details:first-child {
    margin-top: 0;
}

.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details div {
    display: block;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details div.sport-icon {
    display:none;
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details div.history-bet-odds{
   order:3;
   margin-left:auto;
   margin-right:24px;
   display: flex;
   align-items:center;
}
.history-bet-wrapper.expanded  .history-bet-content  .history-bet-match-details.match-market-suspended div.history-bet-odds::before {
   content:"";
   width:15px;
   height:15px;
   background-image:url(/v1.018/r/images/site/icons/lock_blue.svg);
   margin-right:5px;
   display:block;
   background-repeat:no-repeat;
   background-position:center;
}
.history-bet-wrapper.expanded  .history-bet-content  .history-bet-match-details.match-market-suspended div.history-bet-odds{
   color:var(--c-grey-2)
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .history-match-info {
    gap: 6px;
    /* grid-row: 1; */
    grid-row: 20;
    grid-column: 1 / -1;
    display: flex;
    line-height: 15px;
    margin-top: 0px;
}
.history-bet-wrapper .history-bet-content .history-bet-match-details .history-bet-match-wrapper .history-bet-match-name .match-competitors {
    display: flex;
    flex-direction: column;
    /* font-size: 12px; */
    overflow: hidden;
    font-size: 13px;
    font-weight: normal;
}
.history-bet-wrapper .history-bet-content .history-bet-match-details .history-bet-match-wrapper .history-bet-match-name .match-competitor {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
   padding:1px 2px;
}
.history-bet-wrapper .history-bet-content .history-bet-match-details .history-bet-match-wrapper .history-bet-match-name .match-competitor.home {
   margin-bottom:2px;
}
.history-bet-header .history-bet-date-time-id {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    flex: 1 1 100%;
    margin: 0 auto;
    order: -1;
}
.history-bet-wrapper .history-bet-header .history-bet-status {
    margin-left: unset;
    order: 3;
    margin-top: 2px;
}

.history-bet-header .history-bet-date, .history-bet-header .history-bet-time {
    /* font-size: 12px; */
    order: 1;
    margin-right: 2px;
    margin-left: auto;
    text-align: right;
}



.history-bet-wrapper .bet-infos {
    display: none;
}


.history-bet-wrapper.expanded .history-bet-content {
    padding-right: 0;
    border-top: 2px solid var(--c-shade);
}
.history-bet-toggle {
    flex-shrink: 0;
}

.history-bet-time {
    white-space: nowrap;
    width:100%;
}

.history-bet-lines.single {
    display: none;
}
.history-bet-id-copy {
    display:flex;
    align-items: center;
    position:relative;
    z-index: 7;
}
.history-bet-id-copy-notify {
    position:absolute;
    font-size:0px;
    transform:translate(14px,-14px)
}
.history-bet-id-copy-notify::before {
    content:"Copied!";
    font-size:12px;
    padding:5px;
    background-color:var(--c-emphasis);
    color:var(--c-white-e);
     border-radius:5px;
    border-bottom-left-radius:0px;
}
#root .history-bet-id-copy input {
     width: 14px;
    height: 15px;
    background-image: url(/v1.02/r/images/site/icons/CopyIcon.svg);
    min-height:15px;
    background-color:transparent;
    border:0;
    padding:0;
    font-size:0px;
    position: relative;
    z-index: 9;
}
#root .history-bet-wrapper .history-actions-wrapper .history-bet-cancel {
    background-color:transparent;
   color:var(--c-black);
   border:2px solid var(--c-black-e)
}

#root .history-bet-wrapper .history-actions-wrapper .history-bet-cancel {
    display: none
}

#root .history-bet-wrapper .history-actions-wrapper .history-bet-cancel.cashout {
    display: block
}

#root .history-bet-wrapper .history-actions-wrapper button {
    border-radius: 10px;
    line-height: 18px;
    color: var(--c-white);
    margin-bottom: 5px;
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-error {
   margin-bottom: 68px;
   position:relative;
   min-height:42px;
   background-color:transparent;
   box-shadow:var(--s-button);
   border:2px solid var(--c-black)
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-error::before {
   content:"Check Again";
   color:var(--c-black)
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-error div {
   font-size:13px;
   position:absolute;
   color:var(--c-red);
   width:calc(100% + 40px);
   left:-20px;
   top: calc(42px + 12px);
   padding: 6px;
   border-top:2px solid var(--c-grey);
   border-bottom:2px solid var(--c-grey);
}
#root .history-bet-wrapper .history-actions-wrapper button.history-bet-error div::before {
   content:"";
   width:10px;
   height:10px;
   background-image:url(/v1.036/r/images/site/icons/Attention_Triangle_red.svg);
   background-size:10px;
   background-position:center;
   background-repeat:no-repeat;
   display:inline-block;
}
#root .history-bet-wrapper .history-actions-wrapper .history-bet-confirm,
#root .history-bet-wrapper .history-actions-wrapper .history-bet-cancel{
   width:calc(50% - 10px);
   flex: unset;
   height: unset;
   min-height: 41px;
}
#root .history-bet-confirm.cashout:disabled {
    background: transparent;
    color: var(--c-black);
    opacity: 1;
   width:calc(100%);
   box-shadow:unset;
   border:0;
   display:flex;
   align-items:center;
   justify-content:center;
}

.history-bet-confirm.cashout:disabled p-progressspinner {
   position:unset;
   transform:none;
   margin-right:8px;
}
.history-bet-confirm.cashout:disabled p-progressspinner .ui-progress-spinner {
   width:25px!important;
   height:25px!important;
   
}
.history-bet-confirm.cashout:disabled p-progressspinner .ui-progress-spinner svg {
   background-image:url(/v1.010/r/images/site/icons/Loading.svg);
   background-size:25px;
   background-position:center;
}
.history-bet-confirm.cashout:disabled p-progressspinner .ui-progress-spinner svg * {
   opacity:0;
}
#root .history-bet-confirm.cashout:disabled ~ .history-bet-cancel {
   display:none;
}
app-history .history-bet-wrapper .history-bet-id {
    border-radius: var(--r);
    /* border: 1px solid lightgrey; */
    text-transform: uppercase;
    /* font-size: 12px; */
    line-height: 13px;
    letter-spacing: 1px;
    margin-left: 2px;
    padding: 0 2px;
}

app-history .history-bet-wrapper .history-bet-id:before {
    content: "#";
    opacity: .7
}

#root app-history .history-header .history-filter {
    display: none
}
#root .mobile app-history .history-bet-wrapper .history-bet-info {
    display: none;
}
#root  app-history .history-bet-wrapper .history-bet-id {
    display:flex;
    align-items: center;
    padding-top: 10px;
    padding-left: 24px;
}
#root  app-history .history-bet-wrapper .history-bet-id:before {
    content: "ID: ";
    opacity: 1;
}
#root  app-history .history-bet-wrapper:not(.open) .history-bet-id:after {
   content:"";
   width:12px;
   height:12px;
   order:-1;
   border-radius:50%;
   margin-right:5px;
}
#root  app-history .history-bet-wrapper.lost .history-bet-id:after {
   background-color:var(--c-red)
}
#root  app-history .history-bet-wrapper.won .history-bet-id:after {
   background-color:var(--c-green)
}
#root  app-history .history-bet-wrapper.Won-Cashout .history-bet-id:after {
   background-color:var(--c-grey-2)
}
#root .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details:after {
   content: counter(css-counter);
   /* height: 15px; */
   margin: unset;
   order: -1;
   position: absolute;
   text-align: center;
   /* width: 15px; */
   border-radius: 50%;
   height: 24px;
   left: 26px;
   line-height: 24px;
   top: 6px;
   transform: none;
   width: 24px;
   border: 1px solid black;
   font-size: 13px;
   font-weight: 500;
}

#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .market-name, #root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .match-and-time {
    margin-left: 56px;
}

.history-bet-match-wrapper .selection-status {
    display:none;
}

 app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .selection-and-odds .history-bet-selection {
    font-size: 13px;
    display:flex;
    align-items:center;
    order: -1;
}
 app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .selection-status {
    content:"";
    width: 9px;
    height: 9px;
    display:block;
    border-radius:50%;
    margin-left:5px;
    order: 3;
}
 app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.void .selection-status{
     background-color:var(--c-grey-2); 
} 
 app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.lost .selection-status{
    background-color:var(--c-red);
} 
app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.won .selection-status{
    background-color:var(--c-green);
}

#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .market-name span {
    /* flex:1; */
    width: 100%;
    order: 3;
}

/*Betslip changes 22/03/2021*/
#root .history-bet-wrapper .history-system-wrapper > .history-system-lines, #root .history-bet-wrapper .history-system-wrapper > .history-system-odds {
    display: flex;
}

#root .betslip-container .betslip-bets-container .betslip-totals .total-payout,
#root .betslip-container .betslip-bets-container .betslip-totals .query-maxpayout {
    /* flex: 0 0 calc(50% - 4px); */
    /* margin-left: auto; */
    justify-content: center;
    order: 0;
}



#root  .history-system-wrapper .history-system-type, #root .system .single.history-system-wrapper .history-system-type, #root .multiple .accumulator.history-system-wrapper .history-system-type {
    display: none
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details .match-and-time {
    align-items: flex-end;
    flex-direction: row;
    gap: 6px;
    justify-content: space-between;
    max-width: calc(100% - 74px);
    /*max-width: unset;*/
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details:not(.pregame-match) .match-and-time {
    margin-right: 24px;
    padding: 6px 0;
    padding-top: 8px;
   
}
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.won,
.history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.lost {
    border-left: 0;
}

.mobile .history-bet-content .history-bet-match-details .match-and-time .history-bet-match-time {
    text-align: right;
}
.history-bet-content .history-bet-match-details.live-match .match-and-time .history-bet-match-time {
   color:var(--c-green);
   font-weight:bold;
}
.history-bet-content .history-bet-match-details .match-and-time .history-match-score > span {
   padding:0px 2px;
   background-color:var(--c-primary);
   color:var(--c-white);
   border-radius:2px;
}
.history-bet-content .history-bet-match-details .match-and-time .history-match-score > span.score-home {
   margin-bottom:2px
}
app-bet-builder-toggle:empty {
    display: none;
}
#root .history-bet-wrapper.product-betting.expanded .history-bet-content .history-bet-match-details:not(.live-match):not(.pregame-match) .match-date-code-wrapper {
    display: none;
}


.history-bet-wrapper .history-bet-content .history-bet-match-details .history-bet-match-wrapper .history-bet-match-name .match-versus {
    display: none;
}
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time {
    /*align-content: flex-end;*/
    column-gap: 4px;
    display: flex;
    /*font-size: .875em;*/
    font-size: 12px;
    /*flex-direction: column;*/
    /*flex-wrap: wrap;*/
    /*text-align: right;*/
    justify-content: flex-end;
}
.history-bet-content .history-bet-match-details.live-match .history-match-info .match-and-time .history-bet-match-time {
    /*align-items: center;*/
    display: contents;
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.live-match .match-and-time {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
#root app-history .history-bet-wrapper.expanded .history-bet-content .history-bet-match-details.live-match .match-and-time .history-bet-match-name {
    margin-right: auto;
}
.history-bet-content .history-bet-match-details.live-match .history-match-info .match-and-time .history-match-score {
    display: flex;
    flex-direction: column;
    order: 2;
}
.history-bet-content .history-bet-match-details.live-match .history-match-info .match-and-time .score-separator {
    display: none;
}
.history-bet-content .history-bet-match-details .match-and-time .history-bet-match-time .match-result-separator {
    display: none;
}
.history-bet-content .history-bet-match-details .match-and-time .history-bet-match-time .match-result:last-child {
    text-align: right;
    /*width: 100%;*/
}
#root .history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .history-match-set-scores {
    display: inline-flex;
    /* width: 100%; */
}
#root .history-bet-content .history-bet-match-details.live-match .history-match-info .match-and-time .history-bet-match-time .history-match-set-scores {
    display:none;
}
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .match-result {
    align-items: center;
    display: flex;
    flex-direction: column;
}
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .match-result.result-0 {
    font-weight: bold;
}
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .match-result.result-0 .part-1,
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .match-result.result-0 .part-2{
   padding: 0px 3px;
   background-color:var(--c-primary);
   color:var(--c-white);
   border-radius: 3px;
}
.history-bet-content .history-bet-match-details .history-match-info .match-and-time .history-bet-match-time .match-result .part-1 {
   margin-bottom:2px;
}
/* Antepost outrights */
.outrights-coupon .outright-heading-container .events-outright-market {
    align-items: center;
    display: flex;
}
.history-systems-wrapper {
    display: none;
}

.history-systems-wrapper .history-system-wrapper {
    display: flex;
}
.history-systems-wrapper .history-system-wrapper:not(:last-child){
   border-bottom:2px solid var(--c-shade)
}


.history-systems-wrapper .history-system-wrapper span {
    display: block;
}

.expanded .history-systems-wrapper {
    display: block;
}
.history-bet-wrapper.received-bonus-boost .history-bet-possible-bonus::before{
    width:24px;
    height:24px;
    content:"";
    background-image:url(/v1.090/r/images/site/icons/DPB_icon.svg);
    background-size:24px;
    background-repeat:no-repeat;
    background-position:center;
}
.history-bet-wrapper.received-bonus-boost .history-bet-possible-bonus span:first-child {
    font-size:0px;
}
.history-bet-wrapper.received-bonus-boost .history-bet-possible-bonus span:first-child::before {
    content:"DPB";
    font-size:13px;
}
/* Fix for the match page specials alignment */
#root .match-page .sports-match-wrapper .markets-content-wrapper .match-markets-wrapper .market-group .match-market {
    align-items: center;
    flex-direction: row;
}

/* Fix for outright betslip */
.bet-container.outright-bet app-betslip-outright {
    width: 100%;
    /* position:relative; */
}

/* Fix for responsible gaming */
#root app-self-suspension app-label-value .label-value-container .element {
    position: relative;
}

#root app-self-suspension app-label-value .label-value-container .element input {
    padding: 5px 6px;
}

/* Fix for header login error */
#root .desktop .header .login .form-row:last-child .form-element-error {
    border: 0;
}

#root .desktop .header .login .form-row:last-child .form-element-error .clear-login-error {
    display: none;
    margin-left: auto;
    margin-right: 4px;
}

/* Mobile match page toggle fix */
#root .markets-content-wrapper .match-markets-wrapper .match-market .market-header .market-toggle {
    transform: rotate(-180deg);
}

#root .markets-content-wrapper .match-markets-wrapper .match-market .market-header.collapsed .market-toggle {
    transform: rotate(0deg);
}

#root .markets-content-wrapper .match-markets-wrapper .match-market .market-header.collapsed + .market-content {
    display: none;
}

/* Match page bet special fix */
#root .match-page .markets-content-wrapper .match-markets-wrapper .match-market div .market-special {
    border: 0;
    margin: 1px 0 0 4px;
}

/* Generic UL definition */
ul {
    list-style-type: none;
}

/* Outrights fix */
#root .events-tournaments-wrapper .events-category-header-outrights {
    justify-content: flex-start;
    align-items: center;
}

#root .outrights-item .outright-title .match-info .events-outright-wrapper .outright-heading-container {
    flex: 1;
}

#root .outrights-item .outright-title .match-info .events-outright-wrapper .outright-heading-container .events-outright-market {
    margin-left: 4px;
    padding: 0;
}

#root .outrights-item .outright-title .match-info .events-outright-wrapper {
    align-items: center;
    display: flex;
}

.events-sport-wrapper .events-sport-header .events-sport-name-wrapper {
    flex: 1;
}

.allow-expand-everything {
    margin-left: auto;
}

/* Outrights toggles */
.toggle-button {
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    height: 24px;
    justify-content: space-around;
    margin-left: auto;
    text-indent: 0;
    width: 24px;
}

.toggle-button:after {
    content: '+';
}

.toggle-button.expanded:after {
    content: '-';
}

.market-drop-down-heading + .toggle-button {
    margin-left: 8px;
}

.events-tournaments-wrapper > .toggle-button {
    margin: 4px 8px;
}


.events-item-wrapper .toggle-button {
    margin: 2px 4px;
    order: 4;
}

.events-item-wrapper .expanded-match-details {
    display: flex;
    order: 5;
    width: 100%;
}

.events-item-wrapper .has-toggle {
    flex-shrink: 0;
    order: 5;
    width: 36px;
}

.outright-title {
    align-items: center;
    display: flex;
}

.events-tournaments-wrapper .has-toggle {
    width: 40px;
}

#root .desktop .left-sidebar .sports-coupon.small .events-tournament-wrapper .events-item-wrapper {
    align-items: center;
    border-bottom: 1px solid var(--c-shade-b);
    position: relative;
}

#root .mobile .sports-coupon.small .events-tournament-wrapper .events-item-wrapper .match-market-wrapper {
    min-height: 38px;
    margin-top: auto;
}

#root .sports-coupon.small .events-tournament-wrapper .events-item-wrapper .toggle-button {
    margin: 2px 0 2px 8px;
}

#root .sort-by-Time .events-tournaments-wrapper > app-market-headings-container {
    flex: 1;
}

.events-sport-header .has-toggle {
    width: 32px;
}

.events-item-wrapper .expanded-match-details {
    flex-direction: column;
    padding-top: 4px;
}

#root .events-item-wrapper .expanded-match-details .markets-content-wrapper .match-markets-wrapper .match-market {
    flex-direction: column;
    margin-left: 0;
}

/* patch */
#root .content .events-tournament-content .events-tournament-wrapper .events-item-wrapper:not(.match-is-live) .expanded-match-details .match-markets-wrapper .match-market .market-content .match-odd {
    flex: 1;
    max-width: 100%;
}

#root .content .events-tournament-content .events-tournament-wrapper .events-item-wrapper:not(.match-is-live) .expanded-match-details .match-markets-wrapper .match-market .market-content.over-3 .match-odd {
    max-width: 33%;
}

/* Featured leagues */
.sports-featured .featured-leagues-content .featured-league span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* League select */
.league-select-page .nav-sports-page .nav-sport-wrapper .nav-sport-panel .nav-category-wrapper .nav-category .nav-category-toggle {
    background: rgba(0, 0, 0, .2) url(http://demo.boawin.com/r/images/site/icons/Arrow_Down.svg) center center no-repeat;
    border-radius: 50%;
    display: block !important;
    margin-left: 8px;
    order: 5;
    transform: rotate(180deg);
}

.league-select-page .nav-sports-page .nav-sport-wrapper .nav-sport-panel .nav-category-wrapper .nav-category.collapsed .nav-category-toggle {
    transform: rotate(0);
}

.league-select-page .nav-sports-page .nav-sport-wrapper .nav-sport-panel .nav-category-wrapper .nav-category.collapsed + .nav-category-panel {
    height: 0 !important;
    overflow: hidden !important;
}

.league-select-page .nav-sports-page .nav-sport-wrapper .nav-sport-panel .nav-category-wrapper .nav-category-panel .nav-tournament-wrapper .nav-tournament input {
    margin-left: 0;
}

#root .league-select-page .nav-sports .nav-sport-wrapper .nav-sport.collapsed + .nav-sport-panel {
    display: none;
}

#root .league-select-page .nav-sports .nav-sport-wrapper .nav-sport .nav-sport-toggle {
    background: rgba(0, 0, 0, .08) url(http://demo.boawin.com/r/images/site/icons/Arrow_Down.svg) center center no-repeat;
    border-radius: 50%;
    display: flex;
    margin-left: auto;
    order: 5;
    transform: rotate(180deg);
}

#root .league-select-page .nav-sports .nav-sport-wrapper .nav-sport.collapsed .nav-sport-toggle {
    transform: rotate(0);
}

#root .league-select-page .nav-sports .nav-sport-wrapper {
    border-radius: 3px;
}

#root .league-select-page .nav-sports form {
    background: var(--c-paper);
}

#root .league-select-page .nav-sports form > div button {
    border-radius: 3px;
    margin-bottom: 4px;
    margin-left: 8px;
}

#root .league-select-page .nav-tournament-wrapper .nav-tournament .nav-tournament-name {
    order: 2;
}

#root .league-select-page .nav-category-panel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#root .league-select-page .nav-category-panel .nav-tournament-wrapper {
    display: flex;
    margin-left: 8px;
    width: calc(33% - 8px);
}

#root .league-select-page .nav-category-panel .nav-tournament-wrapper, #root .league-select-page .nav-category-panel .nav-tournament-wrapper .nav-tournament {
    background-color: transparent;
    border-bottom: 0;
}

#root .league-select-page .nav-category {
    background: rgba(0,0,0,.08);
    border-top: 1px solid rgba(8, 14, 22, 0.2);
}

#root .league-select-page .nav-category-wrapper {
    background-color: transparent;
}

#root .league-select-page .nav-sport-wrapper {
    background-color: transparent;
}

#root .league-select-page .nav-sport-wrapper .nav-category, #root .league-select-page .nav-sport-wrapper .nav-tournament {
    color: rgba(0, 0, 0, 7);
    width: 100%;
}

#root .league-select-page .nav-sport.active + .nav-sport-panel .nav-category-wrapper:first-child:before, #root .league-select-page .nav-category.active + .nav-category-panel .nav-tournament-wrapper:first-child:before {
    display: none;
}

#root app-nav.biggish div {
    /*     color: var(--c-black) */
}

#root app-nav.biggish .nav-category-name {
    margin-right: auto
}

#root .league-select-page {
    margin: -25px;
}

#root .league-select-page .nav-sport-wrapper > div:last-child {
    border-bottom: 0;
}

#root .nav-favorite .nav-favorite-selector {
    border: solid 1px var(--c-shade);
    background-color: var(--c-shade);
    border-radius: 2px;
}

#root .nav-favorite .nav-favorite-selector.checked {
    background: var(--c-shade) url(./assets/themes/betomall/images/icons/navbar/check.svg) center center no-repeat;
}

.mobile .home-shortcut-item-favorite-leagues .featured-league-sport {
    display: none;
}

.mobile .navigation .home-shortcut-item-favorite-leagues a {
    flex: 1;
    min-width: 0;
}

.mobile .navigation .home-shortcut-item-favorite-leagues .featured-league-sport {
    display: block;
    font-size: 12px;
    margin-left: auto;
}

.featured-leagues-content .featured-league-sport {
    display: none;
}

#root .home-shortcuts .home-shortcut-item-favorite-leagues .featured-leagues-header.collapsed + .featured-leagues-content {
    display: none;
}

#root .sports-featured .featured-leagues-content .featured-league .featured-league-sportcode {
    background-size: contain;
    height: 20px;
    margin-left: auto;
    width: 20px;
}

.featured-leagues-header .featured-leagues-toggle {
    transform: rotate(180deg);
    height: 20px
}

.featured-leagues-header.collapsed .featured-leagues-toggle {
    transform: rotate(90deg);
}

.desktop .nav-sports-header {
    display: none;
}

.featured-leagues-header .featured-leagues-toggle:after,.allow-expand-everything a:after {
    content: ''
}

.navbar-toggle, .featured-leagues-toggle,.allow-expand-everything a {
    /* background: rgba(0, 0, 0, .2) url(http://demo.boawin.com/r/images/site/icons/Arrow_Down.svg) center center no-repeat; */
    border-radius: 50%;
    height: 24px;
    width: 24px;
}
