#root .page-breadcrumb {
    display: flex;
    margin-left: 2px;
    /* margin-top: 5px; */
    max-height: 40px;
    width: auto;
    /* width: 100%; */
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#root .page-breadcrumb + .page-breadcrumb {
    margin-left: 0px;
    width: 100%;
}

#root app-menu.page-breadcrumb ul {
    margin: 0;
    padding: 0;
    display: flex;
}

ul.match-breadcrumbs {
    display: flex;
    margin: unset;
    padding: unset;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
}

.page-breadcrumb .menu li, ul.match-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    margin: 0 1px;
    min-height: 30px;
}

.mouse .page-breadcrumb .menu li a:hover {
    background-color: transparent;
    color: var(--c-f-e);
}

.page-breadcrumb .menu li a {
    /* transform: skew( 15deg ); */
    background-color: transparent;
    color: var(--c-f);
}
ul.match-breadcrumbs li a {
    color: var(--c-s-white);
}
.mouse.view-page-live-match ul.match-breadcrumbs li a:hover {
    color: var(--c-s-white-e);
}
.mouse.view-page-sports-match ul.match-breadcrumbs li a:hover {
    color: var(--c-s-white-e)
}
.theme-light ul.match-breadcrumbs li a {
    color:var(--o-primary)
}
.page-breadcrumb .menu li a.active {
    background-color: transparent;
}

#root #mainDiv .page-breadcrumb .sport-br .default-sport {
    display: none;
}

.page-breadcrumb .default-flag {
    margin-right: 6px
}

.match-breadcrumbs .teams, .match-breadcrumbs .live-match-period-time {
    display: none;
}

#root .other-matches, #root .other-group-matches {
    flex-direction: column;
    padding-left: 0;
    margin: unset;
}
 #root .other-group-matches {
 }

#root .other-matches p-overlaypanel {
    width:100%;
    display: block;
    position:  absolute;
}

#root .other-matches .ui-button {
    width: 40px;
    height: 40px;
    /* max-height: 24px; */
    /* min-height: 24px; */
    order: -1;
    border: 0;
    background-color: unset;
    /* margin-right: 12px; */
    color: var(--c-s-white);
}

#root .mobile .other-matches .ui-button {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 2;
}

#root .ui-overlaypanel.breadcrumbs-dd {
    margin: unset;
    border: unset;
    top: calc(var(--c-header-top) + 40px)!important;
    right: unset!important;
    left: unset!important;
    right: calc(var(--c-r-sidebar-max) + 10px)!important;
    border-radius: 10px 0 10px 10px;
    background-color: var(--aw-coupon-live);
    /* box-shadow: var(--x-d-t2); */
    /* transition: 5s; */
    /* border: 1px solid var(--o-primary-d); */
    border-top-width: 0;
    min-width:360px;
    /* overflow-y: auto; */
    border: 2px solid var(--aw-background);
    overscroll-behavior: auto;
}
@media screen and (max-width:900px) {
    #root .ui-overlaypanel.breadcrumbs-dd {
        right:0px!important;
         top: calc(var(--c-header-mobile) + 40px)!important;
        min-width:unset;
        width:100%;
        max-width:320px;
    }
}
#root .mobile .ui-overlaypanel.breadcrumbs-dd {
    /* left: unset!important; */
    right: 0px!important;
    top: 40px!important;
    min-width: calc(100vw - 0px);
    transform: none!important;
    border-radius: var(--r-b);
}

#root .breadcrumbs-dd .ui-overlaypanel-content {
    width: 100%!important;
    background-color: transparent;
    padding: unset;
    max-height: calc(50vh - 115px);
    overflow: auto;
    min-height: unset;
    /* border-radius:
    var(--r-x2); */
}

#root .other-matches-wrapper {
    flex-direction: column;
    display: flex;
    /* overflow: hidden; */
    /* overflow-x: hidden; */
    height: auto;
    background-color: transparent;
    color: var(--c-f);
    z-index: 19;
    line-height: 16px;
}
#root .other-matches-wrapper .other-matches .group-heading {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
}
#root .other-matches-wrapper .group-heading span {
    display: inline-flex;
    flex: 0 1 auto;
}

#root #mainDiv:not(.mobile) .other-matches-wrapper {
    top: 88px;
}

#root .other-matches .group-heading {
    display: flex;
    flex-direction: column;
    background-color: var(--o-primary-b);
    color: var(--c-s-white);
    padding: 4px 16px;
    /* display: none; */
    box-shadow: var(--x-surface-b);
    position: sticky;
    top: 0px;
    z-index: 2;
    width: 100%;
}

#root .other-matches .group-heading .group-category {
    font-size: 0.9rem;
    margin-bottom: 2px
}

#root .other-matches .group-heading .group-country-tournament-separator {
    display: none;
}

#root .other-matches .group-tournament {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#root .other-match {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    /* box-shadow:  var(--x-d-t); */
}

#root .other-matches .match-label-container {
    display: flex;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 8px;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 4px;
}

#root .other-matches .match-label-container span, #root .other-matches .match-label-container a {
    /* text-transform: uppercase; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#root .other-matches .match-label-container .selected span, #root .other-matches .selected .match-label-container a {
    color: var(--aw-text-light-e);
}
#root .live-score {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: 10px;
}

#root .other-match.selected .live-score {
    /* margin-right: 30px; */
}

#root .other-matches .match-progress {
    display: flex;
    /* width: unset; */
    /* max-width: 20%; */
    flex: 0 0 46px;
    width: 100%;
    order: -1;
    justify-content: center;
    text-align: center;
}

#root .other-matches .match-progress span {
    white-space: normal
}

#root .other-matches .match-period {
    display: none;
}

/* #root .other-matches .selected:before {
    content: " ba-tick";
    font: var(--icon-font);
    order: -2;
    background-color: var(--o-primary-b);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    right: 12px;
} */

#root .other-matches .selected {
    background-color: var(--aw-primary);
    /* display: none; */
}
#root .other-matches-live-wrapper .other-match .live-score,
#root .other-matches-live-wrapper .other-match .match-progress {
    color: var(--aw-live);
    font-weight: 600;
    gap: 4px;
}

body .ui-overlaypanel.breadcrumbs-dd::before, body .ui-overlaypanel.breadcrumbs-dd::after {
    display: none;
}

#root .mouse .other-match:not(.selected):hover {
    background: var(--c-o1);
    /* color: var(--c-s-white)!important; */
}

#root .other-match {
    padding: 12px 4px 12px 12px;
}
#root .other-live-matches .other-match {
    padding: 12px 4px 12px 4px;
}

#root .other-match.selected {
    /* padding: 4px 12px; */
    position: relative;
}

#root .mouse li.other-match:hover a, #root .mouse li.other-match:hover {
    color: var(--aw-text-e);
    /* background-color: var(--c-o1); */
}

#root .other-match:not(:first-of-type) {
}

#root .other-matches-pregame-wrapper .other-matches .match-info {
    order: -1;
    /* justify-content: flex-end; */
    flex-direction: column;
    line-height: 1.6;
    font-size: .9em;
    /* text-align: right; */
    color: var(--aw-text);
}
#root .other-matches-pregame-wrapper .other-matches .selected .match-info {
    color: var(--aw-text-light);
}

.page-breadcrumb .menu li:not(:last-of-type):after, ul.match-breadcrumbs li:not(:last-of-type):after {
    content: ">";
    transform: translateX(12px);
    /* color: var(--c-white); */
    opacity: .3;
    font-size: .8em;
}

app-breadcrumbs-dropdown-overlay-panel {
    margin-left: auto;
    z-index: 1000;
    position: absolute;
    right: 0;
    top: 0;
}

body#root .ui-overlaypanel .ui-overlaypanel-close {
    right: 0px !important;
    top: -40px;
    width:  40px;
    height: 40px;
    background-color: var(--o-primary);
    border-radius: unset;
    left:  unset;
}

body#root .ui-overlaypanel .ui-overlaypanel-close span{
    width:40px;
}

body .ui-overlaypanel .ui-overlaypanel-close:hover {
    background-color: unset;
    
}

.custom-page-breadcrumbs {
    display: flex;
}

.custom-page-breadcrumbs a {
    margin: 0 1px;
}

.custom-page-breadcrumbs a:not(:last-child)::after {
    content: ">";
    padding: 0 10px;
    color: var(--c-o2);
    font-size: .8em;
}
