.fonbet-sidebar-schedule-slide {
    height: 100% !important;
}

.fonbet-sidebar-schedule {
    position: relative;
    height: 100%;
    min-height: 170px;
    padding: 10px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    background: #202722;
    font-family: 'SF Pro Rounded', Arial, sans-serif;
    text-align: left;
    box-sizing: border-box;
}

.top-content-block .content--aside #sidebarBannerCarousel .fonbet-sidebar-schedule a,
.top-content-block .content--aside #sidebarBannerCarousel .fonbet-sidebar-schedule a span,
#sidebarBannerCarousel .fonbet-sidebar-schedule a,
#sidebarBannerCarousel .fonbet-sidebar-schedule a span {
    position: static !important;
    display: initial;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    border-radius: 0;
    color: inherit;
    background: none;
    background-image: none !important;
    background-size: auto !important;
    background-repeat: initial !important;
    background-position: initial !important;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-align: inherit;
    text-decoration: none;
    overflow: visible;
}

.fonbet-sidebar-schedule:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            linear-gradient(180deg, rgba(15, 19, 16, .16) 0%, rgba(15, 19, 16, .72) 100%, rgba(15, 19, 16, .94) 64%),
            url('/images/fonbet-chm-quiz/football.jpg') center / cover no-repeat;
    transform: scale(1.03);
}

.fonbet-sidebar-schedule__loader,
.fonbet-sidebar-schedule__empty {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
}

.fonbet-sidebar-top-event {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fonbet-sidebar-top-event__header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.fonbet-sidebar-top-event__sport {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(18, 24, 18, .68);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}


.fonbet-sidebar-top-event__tournament {
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__match,
.top-content-block .content--aside #sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__match {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    width: auto !important;
    height: auto !important;
    margin: 8px 0 7px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    background: none !important;
    text-decoration: none !important;
}

.fonbet-sidebar-top-event__team {
    min-width: 0;
    text-align: center;
}

.fonbet-sidebar-top-event__logo {
    width: 38px;
    height: 38px;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 8px 18px rgba(0, 0, 0, .2);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__flag,
.top-content-block .content--aside #sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__flag {
    display: block !important;
    width: var(--iti-flag-width) !important;
    height: var(--iti-flag-height) !important;
    border-radius: 2px !important;
    background-image: var(--iti-path-flags-1x) !important;
    background-repeat: no-repeat !important;
    background-position: var(--iti-flag-offset) 0 !important;
    background-size: var(--iti-flag-sprite-width) var(--iti-flag-sprite-height) !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .75), 0 2px 6px rgba(0, 0, 0, .22) !important;
    transform: scale(1.72);
}

.fonbet-sidebar-top-event__team-name {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.08;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fonbet-sidebar-top-event__time-info {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.fonbet-sidebar-top-event__time {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.fonbet-sidebar-top-event__date {
    margin-top: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.fonbet-sidebar-top-event__factors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__factor,
.top-content-block .content--aside #sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__factor {
    position: static !important;
    display: flex !important;
    width: auto !important;
    height: 35px !important;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin: 0 !important;
    padding: 0 8px !important;
    border-radius: 9px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.24);
    background-image: none !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__factor:hover {
    color: #d4004b !important;
    background: #fff !important;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__factor-name {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    color: #777 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

#sidebarBannerCarousel .fonbet-sidebar-schedule .fonbet-sidebar-top-event__factor-value {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
