body.dark-mode .right_wrapper_inner .betslipright .title,
body.dark-mode .bet-buttons .btn,
body.dark-mode .bet-table .bet-table-header.table-title,
body.dark-mode .bet-table-body,
body.dark-mode .header_right_block .language_drop .dropdown ul.dropdown-menu,
body.dark-mode .new_balance_dropdown .dropdown-menu,
body.dark-mode .breadcrumbs-container,
body.dark-mode .center_wrapper_inner .h1-bar {
    background-color: var(--dark-box-color);
    color: var(--dark-font-color);
}

body.dark-mode .main-banner-wrap .right_wrapper_inner,
body.dark-mode .bet-table .list-title-header,
body.dark-mode .market_tabs_list a,
body.dark-mode .detail-page-container .bet-table-header,
body.dark-mode .right_wrapper_inner {
    background-color: var(--dark-main-color);
    color: var(--dark-font-color);
}

body.dark-mode .bet-input input#placebetAmountWeb1::placeholder,
body.dark-mode .odds-box input.form-control::placeholder {
    color: var(--dark-font-color);
}

body.dark-mode .header_right_block .language_drop .dropdown ul.dropdown-menu li a.dropdown-item:hover,
body.dark-mode .new_balance_dropdown .dropdown-menu li a:hover {
    background: #3c3c3c;
    color: var(--dark-font-color);
}

.back {
    background-color: #53d4ff;
    color: #311719;
}

.back:hover {
    background-color: #3a98b8;
}

.lay {
    background-color: #ff979d;

    color: #071d25;
}

.lay:hover {
    background-color: #b15e62;

}

/* left bar css end */
.body-wrap .main-banner-wrap .bottom-nav ul li.b-nav-link {
    margin-bottom: 5px;
}

/* INPLAY START */
.suspended {
    position: relative;
    pointer-events: none;
}

.suspended:before {
    content: "";
    background-image: url("../images/icons/lock.svg");
    background-size: 17px 17px;
    filter: invert(1);
    background-repeat: no-repeat;
    position: absolute;
    z-index: 100;
     width: 452px;
    height: 100%;
    right: 8px;
    top: 0;
    background-position: center;
    pointer-events: none;
}

.suspended:after {
    content: "";
    background-color: #00000099;
    position: absolute;
    height: 100%;
    width: 452px;
    right: 8px;
    top: 0;
    cursor: not-allowed;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.bet-table {
    position: relative;
    transform: translateZ(0);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    border-radius: 10px;
    overflow: hidden;
}

.bet-table .list-title-header {
    background: var(--primary-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 5px 20px;
    height: 40px;
}
.bet-table .list-title-header .title span img{
    height: 20px;
    width: 20px;
}
.bet-table .list-title-header .title h6 {
    font-size: 16px;
}
.bet-table-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0px;
}

.bet-table .bet-table-header.table-title {
    background: #fff;
    border-bottom: solid 1px var(--stroke-color);
}

.game-title {
    width: calc(100% - 492px);
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items: center;
}

.bet-table-header .game-title span {
    margin-left: 5px;
}

.point-title {
    width: 148px;
    margin-left: 16px;
    text-align: center;
}


/* inplay */
.game-date {
    padding-right: 0;
    border-right: 0;
    width: 65px;
    display: flex;
    display: -webkit-flex;
    line-height: 18px;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
}

.game-date.inplay {
    width: auto;
    border-right: 0 !important;
    padding-right: 0;
    width: 64px;
    position: relative;
    text-align: center;
    font-weight: 600;
    line-height: 22px;
    font-size: 14px;
}

.game-date.inplay span {
    position: relative;
    width: 50px;
    color: red;
    text-align: center;
}

.game-date.inplay span:after {
    content: "";
    background-color: red;
    height: 2px;
    width: 50px;
    position: absolute;
    bottom: -1px;
    animation: linear infinite alternate;
    animation-name: run;
    animation-duration: 1.2s;
    -webkit-animation: linear infinite alternate;
    -webkit-animation-name: run;
    -webkit-animation-duration: 1.2s;
}

@keyframes run {
    0% {
        left: 0;
        width: 5%;
    }

    50% {
        width: 100%;
    }

    100% {
        right: 0;
        width: 5%;
    }
}

.bet-table-body {
    position: relative;
    background: var(--light-base-color);
}

.bet-table-box:not(:last-child) {
    border-bottom: 1px solid var(--stroke-color);
}

.bet-table-row {
    padding: 6px 15px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.team-name {
    max-height: 20px;
    line-height: 20px;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
}

.team-name.team-event {
    font-size: 14px;
}
.main_inplay{
    margin-top: 20px;
}
.main_inplay .bet-table .game-name {
    padding-left: 16px;
    vertical-align: top;
    width: calc(100% - 200px);
}


.game-icons {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.game-icons .dark-icon img{
    height: 13px;
}
.game-icon {
    text-align: center;
    margin-right: 5px;
    font-weight: 600;
}

.game-icon:last-child {
    margin-right: 0;
}

.main_inplay {
    padding: 0;
}

.bl-box {
    height: 32px;
    width: 72px;
    border-radius: 5px;
    padding: 5px 0;
    text-align: center;
    margin-right: 4px;
    float: left;
    cursor: pointer;
    position: relative;
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
}

.bl-box:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 4px;
}

.bl-box.no-odds .odds {
    color: var(--text-white);
}

.bl-box.no-val {
    border: 1px solid #3c444b;
    border-radius: 5px;
}

.bl-box.no-val span {
    color: #999;
}

.bl-box:last-child {
    margin-right: 0 !important;
}

.bl-box span {
    height: 19px;
    font-weight: 600;
    text-align: center;
}

.bl-box .odds {
    height: 22px;
}




/* RESPONSIVE */


@media only screen and (min-width: 320px) and (max-width: 1599px) {
    .suspendedtext::after {
        width: calc(100% - 16px);
        right: 8px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 1200px) {
    .main_inplay {
        padding-inline: 0;
        padding-block: 0px;
    }

    .main-banner-wrap {
        padding-top: 15px;
    }

    .main-banner-wrap .banner {
        width: 100%;
    }

    .bet-table-box:not(:last-child) {
        border-bottom: none;
    }

    .right_wrapper_inner {
        display: none;
    }

    .center_wrapper_inner {
        width: 100%;
    }

    .d-none-mobile {
        display: none !important;
    }

    .bet-table-header {
        border-radius: 0;
        display: flex;
        padding: 0 10px;
    }

    .game-title {
        width: 100%;
        position: relative;
    }

    .bet-table-row-header-mobile .game-title {
        align-items: center;
    }

    .bet-table-row-header-mobile .team-name {
        max-height: 16px;
        line-height: 16px;
    }

    .bet-table-row-header-mobile .team-name.team-event {
        font-size: 12px;
    }

    .game-icons {
        justify-content: flex-end;
    }

    .game-icon {
        text-align: center;
        margin-right: 10px;
    }

    .bet-table-body {
        padding: 5px;
    }

    .bet-table-box {
        padding: 0;
        margin: 0;
    }

    .bet-table-row {
        padding: 0;
    }

    .point-title {
        width: 32%;
        margin-left: 0;
        margin-right: 2%;
    }

    .point-title.suspended:after {
        top: unset;
        bottom: 0;
        height: 32px;
    }

    .point-title.suspended:before {
        background-position: bottom 7.5px center;
    }

    .point-title:last-child {
        margin-right: 0;
    }

    .bl-box {
        width: 48%;
        margin-top: 0;
        margin-right: 4%;
    }

    .point-title-header {
        color: var(--text-table-header-new);
        display: none;
    }

    .bl-box span {
        font-size: var(--font-small);
    }

    .bl-box .odds {
        font-size: 15px;
        font-weight: var(--font-bold);
    }

    .bet-table-row-header-mobile {
        display: flex;
        align-items: center;
        background-color: var(--bg-table);
        padding: 4px;
        margin-bottom: 3px;
    }

    .bet-table-row-header-mobile .game-name {
        vertical-align: top;
        width: calc(100% - 70px);
        padding-left: 10px;
    }

    .bet-table-row-header-mobile .game-date.inplay~.game-name {
        padding-left: 10px;
        width: calc(100% - 28px);
    }

    .bet-table-row-header-mobile .game-date {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 64px;
        height: 34px;
        line-height: 17px;
        border-right: 1px #666;
        padding-right: 0;
    }

    .game-date.inplay {
       border-right: 0 !important;
        width: auto;
    }

    .game-date.inplay span {
        width: auto;
    }

    .detail-page-container .bet-table-header {
        border-radius: 0;
    }

    .detail-page-container .nation-name {
        width: 100%;
    }

    .bet-table-mobile-team-name {
        line-height: 17px;
        color: var(--text-body);
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        padding: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .detail-page-container .bl-title {
        background-color: transparent;
        height: 20px;
        line-height: 20px;
        color: var(--text-table);
        width: 15%;
        margin-right: 2%;
    }

    .detail-page-container .bl-title:last-child {
        margin-right: 0;
    }

    .bet-table-row {
        border-bottom: 0;
    }

    .detail-page-container .bl-box {
        margin-top: 0;
        width: 15%;
        margin-right: 2%;
    }

    .fancy-min-max {
        width: 26%;
    }

    .detail-page-container .market-6 .bl-box {
        width: 35%;
    }

    .detail-page-container .market-4 .bet-table-header .nation-name,
    .detail-page-container .market-6 .bet-table-header .nation-name {
        width: 100%;
    }

    .market-6 .suspendedtext::after {
        width: calc(100% - 16px);
    }

    .market-6 .suspendedtext::after {
        right: calc(28% + 3px);
        width: calc(72% - 11px);
    }

    .detail-page-container .market-4 .nation-name>span:first-child,
    .detail-page-container .market-6 .nation-name>span:first-child {
        max-width: calc(100% - 100px);
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .detail-page-container .market-4 .max-bet {
        width: 100px;
        text-align: right;
        font-size: 11px;
    }

    .bet-table-row-header-mobile .game-name {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
    }

    .bet-table-row-header-mobile .game-name a {
        width: 60%;
    }

    .game-icons {
        width: 40%;
        flex-wrap: wrap;
    }
}