/* 28/01/2020 ThV */
#root .events-item-wrapper.match-is-live.selected-match {
    background-color: var(--c-emphasis);
    background-color: var(--c-shade-b);
}

#root .desktop .events-wrapper .events-item-wrapper.match-is-live.selected-match:hover {
    background-color: var(--c-shade-b);
}

#root .desktop .events-wrapper .events-item-wrapper.match-is-live.selected-match .odds-selection.odds-bet-slip-selected {
    background-color: var(--c-emphasis);
}

#root .events-item-wrapper.match-is-live.selected-match .match-score {
    color: var(--c-black);
}

#root span.required {
    font-weight: 900;
    margin-left: 4px;
    color: var(--c-red);
    opacity: .75
}

/*  */
#root .mobile app-language {
    margin: 0 auto;
    background-color: var(--c-primary-c);
    border-radius: 2px;
}

#root .sort-by-time app-market-headings-container {
    width: 100%;
}

#root .sort-by-time .markets-header-wrapper {
    width: 100%;
}

/* CALENDAR */
#root .ui-calendar {
    width: 100%
}

#root .ui-calendar .ui-inputtext {
    width: calc(100% - 33px);
    height: 28px;
    position: relative;
    top: -8px
}

#root .ui-datepicker-trigger.ui-calendar-button {
    height: 28px;
    position: relative;
    top: 3px;
    margin: 0
}

/* MODAL */
#root app-modal .ui-widget-overlay {
    z-index: 1000
}

#root .desktop app-modal .ui-dialog-content.ui-widget-content {
    background-color: var(--c-paper);
    border: none;
    border-radius: var(--r-c);
    min-height: 100%;
}

#root .desktop app-modal .ui-dialog-content.ui-widget-content > div {
    max-width: 720px;
    margin : auto;
    padding: 54px 36px;
}

/*  */
/*  */
#root .match-favorite {
    background-size: 24px;
    width: 24px;
    height: 24px;
    background: url(/v2.28/r/images/site/icons/Favorite_On.svg) center center no-repeat;
}

#root .tournament-favorite.favorite, #root .events-item-wrapper .match-links .match-favorite.favorite {
    background: url(/v2.28/r/images/site/icons/Star-On.svg) center center no-repeat;
    opacity: 0.8;
    background-size: contain;
    /* margin-bottom: auto; */
    /* margin-top: auto; */
}

#root .mobile .match-favorite {
    margin: 13px 4px;
}

#root .desktop .events-tournament-wrapper .match-links .match-favorite:hover {
    background: url(/v2.28/r/images/site/icons/Star-Off.svg) center center no-repeat;
    opacity: 0.6;
    background-size: contain;
}

#root .desktop .events-tournament-wrapper .match-links .match-live-tracker:hover {
    opacity: 0.9;
}

#root .desktop .match-favorite.favorite:hover {
    opacity: 1;
}

#root .desktop .events-item-wrapper .match-links .match-favorite.favorite:hover {
    background: url(/v2.28/r/images/site/icons/Star-On.svg) center center no-repeat;
    opacity: 1;
    background-size: contain;
}

#root .mobile .match-carousel-block .match-favorite {
    display: none !important
}

/* TRACKER */
#root app-live-match-tracker app-betradar > div {
    background-color: var(--c-primary-c);
}

#root .window-tabs.tracker-tabs {
    background-color: var(--c-primary);
    color: var(--c-white);
    letter-spacing: -.25px;
    height: 36px ;
    line-height: 2.75;
    margin: 0;
    padding: 0 8px;
}

#root .window-tabs.tracker-tabs .tracker-tab.tab-selected {
    background-color: var(--c-primary-c)
}

#root .desktop app-live-match-tracker app-betradar > div {
    margin-bottom: 8px;
    border-radius: var(--r-b);
    overflow: hidden;
}

/*  */
#root .sports-filter .match-favorite {
    padding: 0;
    margin: 0;
    margin: 1px 0;
    height: 24px !important;
    width: 24px !important;
    background-position: center;
    opacity: 1
}

/*  */
#root .market-header .market-name {
    text-indent: 4px;
}

/*  */
.live-match-corners-home, .live-match-corners-away, .live-match-red-cards-home, .live-match-red-cards-away, .live-match-yellow-cards-home, .live-match-yellow-cards-away {
    /* margin-bottom: 4px; */
    border-radius: 2px;
    text-align: center;
    padding: 0;
    width: 16px;
    /* margin: 1px; */
}

.live-match-yellow-cards-home, .live-match-yellow-cards-away {
    color: var(--c-black);
    /* background-color: var(--c-yellow); */
    /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16); */
}

.live-match-red-cards-home, .live-match-red-cards-away {
    color: var(--c-black);
    /* background-color: var(--c-red); */
    /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16); */
}

/*  */
.markets-match-live-info-wrapper > div {
    order: 100;
    min-width: auto
}

#root .live-match-score {
    order: 2;
    min-width: 8px !important;
}

#root .live-match-name {
    order: 1;
    width: calc(100% - 80px) !important;
   
}

#root .live-match-yellow-cards {
    order: 3;
    margin-right: 0 !important;
    
    min-width: auto;
    /* height: 36px; */
}

#root .live-match-red-cards {
    order: 4;
    margin-right: 0 !important;
    min-width: auto;
    /* height: 36px; */
}

#root .live-match-corners {
    order: 4;
    margin-right: 0 !important;
    min-width: auto;
    /* height: 36px; */
}

.live-match-score-title , .live-match-yellow-cards-title,.live-match-red-cards-title,.live-match-corners-title {
    /* display: none; */
}

.live-match-corners-home, .live-match-corners-away {
    color: var(--c-black);
    /* background: radial-gradient(circle, #24d07c 15%, #ffffff 18%, #ffffff 22%, #24d07c 24%, #18A460 100%); */
    background-position: -16px -0px;
    background-repeat: no-repeat;
    background-size: 32px 32px;
    border-radius: 0;
    border-top-right-radius: 2px;
    /* box-shadow: inset 1px -1px #fff, 0 1px 1px rgba(0, 0, 0, 0.16); */
}

#root .markets-match-header .markets-match-data .match-statistics {
    margin-left: auto !important;
    background: url(/v2.28/r/images/site/icons/stats_white.svg) center center no-repeat;
    width: 24px;
    height: 24px;
}

#root .events-tournament-wrapper .match-links .match-favorite, #root .events-tournament-wrapper .match-links .match-live-tracker {
    display: block;
    margin: auto 4px;
    opacity: 0.2;
}

#root .desktop .events-tournament-wrapper .match-links .match-favorite, #root .desktop .events-tournament-wrapper .match-links .match-live-tracker {
    margin: auto 0 auto 4px;
    width: 18px;
    height: 18px;
    background-size: contain;
}

#root .events-tournament-wrapper .match-links .match-live-tracker {
    background: url(/v2.28/r/images/site/icons/MatchTracker-Off.svg) center center no-repeat;
}

#root .tournament-favorite, #root .events-tournament-wrapper .match-links .match-favorite {
    color: transparent;
    width: 24px;
    background: url(/v2.28/r/images/site/icons/Star-Off.svg) center center no-repeat;
}

#root .tournament-favorite {
    opacity: 0.4;
    width: 18px;
    height: 18px;
    background: url(/v2.28/r/images/site/icons/Star-Off-Dark.svg) center center no-repeat;
    background-size: contain;
    margin-bottom: auto;
    margin-top: auto;
}

#root .tournament-favorite:hover {
    opacity: 0.8;
}

#root .mobile .events-tournament-wrapper .match-links .match-live-tracker {
    display: none
}

#root .events-tournament-wrapper .match-links .match-more-markets, #root .sports-coupon .events-tournament-wrapper .match-is-live .match-links .match-statistics {
    display: none !important;
}

/* OUTRIGHTS */
#root .events-category-header-outrights {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
}

#root .events-category-header-outrights > div {
    height: auto;
}

#root .events-category-header-outrights .events-category-name {
    margin-left: 8px;
    line-height: 1.5;
    font-weight: bold;
}

#root .outright-title .match-info .match-type {
    display: flex;
    overflow: unset;
    height: auto
}

#root .outright-title .match-info {
    display: flex;
    flex-direction: row;
    justify-content:
}

#root .outright-title {
    width: 100%
}

#root .events-outright-wrapper {
    flex: 1
}

#root .outright-title .match-info .match-type > div:not(.match-tournament) {
    display: none;
}

#root .outright-title .match-info .match-type .match-tournament {
    padding: 4px 10px;
    padding-right: 0;
    line-height: 20px
}

#root app-outrights-coupon .events-item-wrapper {
    padding: 6px;
    flex-direction: column;
}

#root app-outrights-coupon .item-info-wrapper {
    min-width: 100%;
    order: unset;
}

#root app-outrights-coupon app-outright-markets {
    min-width: 100% ;
    display: flex;
    flex-flow: row wrap;
}

#root .mobile app-outrights-coupon app-outright-markets {
    flex-flow: column wrap;
}

#root .outright-competitor .outright-odd {
    min-width: unset;
    text-align: right
}

#root .runners .outright-competitor-odds {
    border: 0;
    background: none;
    font-weight: 600;
    min-width: unset
}

#root .runners .outright-competitor, #root app-outrights-coupon app-outright-markets > div {
    flex: 1 1;
    min-width: 30%;
    display: flex;
    justify-content: space-between;
    margin: 2px !important;
    padding: 8px 7px;
}

#root app-outrights-coupon .outright-odd {
    margin: auto;
    margin-left: 4px;
    margin-right: 0;
    height: fit-content;
    background: none;
    border: 0;
    font-weight: 600
}

#root app-outrights-coupon .outright-competitor-name {
    height: fit-content;
    margin: auto;
    margin-left: 0;
    margin-right: 0;
}

#root .antepost.runners {
    padding: 8px
}

#root .events-outright-market {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.015em;
    padding: 4px 10px
}

#root app-betslip-outright-header {
    width: inherit
}

#root .outright-buttons {
    margin-left: auto ;
    margin-right: 0px;
}

#root .outright-title .outright-buttons {
    margin-right: 2px;
}

#root app-outrights-coupon p-button > button {
    width: 28px;
    height: 28px;
}

/*  */
.live-match-period, .markets-category-name {
    display: none
}

.markets-competition-name {
    /* width: calc(100% - 108px) ; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*  */
#root .match-page .match-markets-wrapper .match-market .market-content .odd-locked .odd {
    display: none
}

/* 404 not found  */
#root .content.special-page-notfound {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
    background-image: url(https://i.ibb.co/kGmjY1b/pagenotfb.png);
    background-position: center calc(50% - 30px);
    background-repeat: no-repeat;
    background-color: var(--c-primary)
}

#root .content.special-page-notfound .error-message {
    height: 40px;
    margin-top: calc(50% + 100px);
}

/* Live tracker active */
#root .match-links.tracker-visible .match-live-tracker {
    background: url(/v2.28/r/images/site/icons/MatchTracker-On.svg) center center no-repeat;
    border-radius: 4px;
    height: 20px;
    opacity: 0.7;
}

/*  */
.beto-content-block.separator {
    color: var(--c-black);
    opacity: .33;
    margin-left: 2px;
    margin-right: 2px;
}

/*  */
#root .desktop .events-wrapper:not(.outrights-coupon) .events-item-wrapper:hover {
    background-color: rgba(8, 14, 22, 0.06);
    color: var(--c-black-e);
}

/* ThV 20-11 */
#root .desktop.view-page-live-match .site .body .live-match-side-coupon app-markets-drop-down {
    display: none;
}

#root .desktop.view-page-live-match .site .body .live-match-side-coupon app-market-headings-container {
    display: none;
}

#root .desktop.view-page-live-match .site .body .live-match-side-coupon .markets-header-wrapper {
    display: none;
}

#root .desktop.view-page-live-match .site .body .live-match-side-coupon app-breaks-events-item-markets {
    order: 3;
    width: 100%;
}
