@media (max-width: 1200px) {
    .country-line-br {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .header-right {
        display: flex;
        align-items: center;
    }

    .navbar-expand-lg .balance.mobile {
        display: flex;
        visibility: visible;
        padding-right: 10px;
        align-items: center;
        color: #fff;
        column-gap: 10px;
    }

    .navbar-expand-lg .balance.mobile a {
        padding-bottom: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-item.balance {
        display: none !important;
        visibility: hidden;
        opacity: 0;
    }

    li.nav-item a.btn.btn-outline-success {
        width: 100%;
        margin-bottom: 5px !important;
    }

    .navbar-expand-lg .box-login {
        display: flex;
        align-items: center;
        visibility: visible;
        column-gap: 10px;
    }

    #search-betslip-non-login-mobile {
        display: block;
        visibility: visible;
    }

    #search-betslip-non-login {
        display: none;
        visibility: hidden;
    }
}

@media (min-width: 768px) {
    #sb #sp-betslip .box-button-betslip#box-button-bet-success {
        display: none !important;
    }

    #sb #sp-leagues .box-button-search {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #theme-base {
        position: relative;
    }

    .nav-tabs .nav-item {
        white-space: nowrap !important;
        font-size: 14px !important;
    }

    .container__soccer-predictor {
        padding: 5px 10px;
    }

    #sp-leagues {
        overflow-y: scroll;
        overflow-x: hidden;
        max-height: 100px;
        padding-bottom: 50px;
        max-width: 100%;
    }

    .menu-sports,
    .betslip {
        max-width: 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .sb-playground {
        max-width: 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    #history-search .box-button-filter #history-btn-search-id {
        width: 100%;
    }

    #history-search .box-button-filter #btn-clear-myhistory {
        width: 100%;
    }

    .o-scroll {
        transform: rotateX(180deg);
        overflow-x: auto;
    }
    .history-table {
        transform: rotateX(180deg);
    }
    .logo-max-width {
        max-width: 140px !important;
        margin: 0;
    }

    .history-table {
        zoom: 80%;
    }

    #pagination-list .page-item .page-link {
        padding: 0.5rem 0.3rem;
    }

    .match-time-details {
        float: none !important;
    }

    .featured-icon {
        font-size: 15px !important;
        color: #ffffff !important;
        padding: unset;
    }

    .pagination {
        font-size: 13px;
    }

    /*.tournaments-list {
        max-height: 310px;
        overflow: scroll;
    } */

    .purchase-list-option {
        padding: 0;
    }

    #sb #sp-betslip-bottom.no-static {
        position: relative;
        bottom: 0;
    }

    .text-white {
        margin: 0;
    }

    .logo-max-width {
        max-width: 140px !important;
        margin: 0;
    }

    #markets-tabs {
        overflow: auto;
    }

    #sb #sp-betslip-bottom.no-static {
        position: relative;
        bottom: 0;
    }

    .ebet-tab-game .nav-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-flow: column;
        padding: 2px 5px;
    }

    .ebet-tab-game .nav-item a span {
        white-space: nowrap;
    }

    #sb #sp-leagues .accordion {
        max-width: 100%;
        margin-top: 10px !important;
        padding: 0;
    }

    #sp-leagues .tournaments-list {
        max-height: 75vh;
    }

    #sb .accordion .card-body .l2 button {
        margin-left: 0 !important;
    }

    #sb .accordion .card-body .l2 .btn-link::after {
        right: 0;
    }

    #sb .accordion .card.card-leagues ul {
        padding-left: 0.75rem !important;
    }

    #sb .accordion .card.card-countries .card-body {
        padding-top: 0 !important;
        padding-left: 0.75rem !important;
    }

    #sb .accordion .card.card-countries .card-body ul {
        padding-left: 15px !important;
    }

    #sp-betslip-wrapper .sp-list-item .d-datetime {
        text-align: left !important;
    }

    #sb #sp-betslip .remove {
        right: 2px !important;
    }

    .mobile-nav,
    #history-search .form-group {
        margin-bottom: 0.5rem;
    }

    #sb #sp-leagues .box-button-search {
        display: flex;
    }


    #sb #sp-betslip {
        overflow-y: scroll;
    }

    #sb #sp-betslip #sp-betslip-wrapper .tab-content {
        padding-bottom: 0 !important;
        margin-bottom: 50px;
    }

    .d-none {
        display: none;
    }

    #sb #sp-betslip-wrapper .tab-content {
        overflow-y: hidden;
        max-height: 100% !important;
    }

    .hidden-mobile {
        display: none;
    }

    #sb .header .header-games{
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    #sb .header .header-outcomes-list {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .header__items,
    .header__item.header__item-show-mb {
        position: unset;
    }

    .header__item .header__item__submenu {
        display: none;
        left: 50% !important;
        transform: translateX(-50%);
    }

    .header__item.header__item-show-mb .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    /*
    .sports-types-fixed {
        position: fixed;
        background-color: #08713a;
        width: 100%;
        z-index: 1000;

        top: 33px;
        left: 0;
    }

    .event-types-fixed {
        position: fixed;
        background-color: white;
        width: 100%;
        z-index: 1000;

        top:79px;
        left: 0;
    }

    .gv2-nav-top-fixed {


        position: fixed;

        width: 100%;

        z-index: 1000;
        top: 0;
        left: 0;
    }
        */
}

@media (max-width: 650px) {
    #markets-tabs {
        flex: 1;
    }
    .logo-max-width {
        /* width: 110px !important; */
        margin: 0;
    }

    .navbar.navbar-expand-lg.navbar-light {
        padding: 10px !important;
    }

    .header-right {
        display: flex;
        align-items: center;
    }

    .navbar-expand-lg .balance.mobile {
        padding-right: 3px;
    }

    .navbar-expand-lg .balance.mobile {
        display: flex;
        align-items: center;
        margin-right: 3px;
        column-gap: 3px;
    }

    .navbar-expand-lg .balance.mobile .site-balance {
        padding: 8px !important;
        background: #112044;
        display: flex;
        flex-flow: column;
        align-items: flex-end;
    }

    .navbar-expand-lg .balance.mobile .box-balance,
    .navbar-expand-lg .balance.mobile a {
        color: #fff;
        font-size: 13px;
        padding: 0 !important;
    }

    #nav-menu-default .icon-arrow {
        height: 100%;
        display: flex;
        visibility: visible;
        opacity: 1;
        align-items: center;
        justify-content: center;
        padding: 0 1px;
    }

    .ebet-tab-game {
        position: relative;
        display: flex !important;
        align-items: center;
    }

    .ebet-tab-game .icon-arrow {
        height: 100%;
        display: flex;
        visibility: visible;
        opacity: 1;
        align-items: center;
        justify-content: center;
        padding: 0 1px;
    }

    .tab-content-pills {
        display: flex !important;
        align-items: stretch;
        justify-content: center;
    }

    .tab-content-pills .icon-arrow {
        visibility: visible;
        opacity: 1;
        background: #0a1531;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1px;
    }

    .tab-content-pills .icon-arrow span {
        width: 10px;
        height: 15px;
    }
}

@media (max-width: 576px) {
    #theme-base #card-outright {
        padding: 10px .75rem;
    }

    #theme-base #filter-outright .filter-outright-search {
        width: 100%;
    }

    #theme-base #filter-outright #outright-list {
        position: relative;
        padding-left: 20px;
    }

    #theme-base #filter-outright #outright-list li {
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .navbar-expand-lg .balance.mobile .box-balance {
        display: flex;
        /* flex-flow: column; */
    }

    .header__item.header__item-show-mb .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 470px) {
    .navbar-expand-lg .balance.mobile {
        align-items: stretch;
    }

    .navbar-expand-lg .balance.mobile .balance-image {
        display: flex;
        align-items: center;
        justify-self: center;
    }

    .header__item.header__item-show-mb .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        max-height: 70vh;
        overflow-y: scroll;
    }
}

@media (max-width: 440px) {
    .logo-max-width {
        /* width: 105px !important; */
        margin: 0;
    }
}

@media (max-width: 430px) {
    .logo-max-width {
        width: 100px !important;
    }

    .navbar-expand-lg .balance.mobile .top-wallet-icon {
        width: 38px !important;
    }

    .history-table .collapse .card-body {
        padding: 0 1.25rem;
    }

    .history-table .collapse .card-body .table {
        margin-bottom: 0;
    }

}

@media (max-width: 380px) {
    .box-logo {
        margin-right: 3px;
    }

    .logo-max-width {
        /* width: 85px !important; */
    }

    .header-right .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .header-right .navbar-toggler .navbar-toggler-icon {
        width: 1rem;
        height: 1rem;
    }

    .box-login .btn {
        font-size: 0.9rem;
    }

    .box-login .btn-nav-signin,
    .box-login .btn-nav-signin:hover,
    .box-login .btn-nav-signin:focus {
        padding: 3px 15px;
    }

    #component-fade h3 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .mobile-nav label,
    .mobile-nav select,
    .mobile-nav input,
    #history-search label,
    #history-search select,
    #history-search input,
    #history-search button {
        font-size: 0.75rem;
        margin-bottom: 0;
    }

    #history-search button.btn {
        padding: 0.3rem 0.75rem;
    }

    .header__item .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games .header__item__submenu-item__item-games {
        width: 125px;
    }

    .header__item .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games .header__item__submenu-item__item-games .header__item__submenu-item__item-games-name {
        font-size: 12px;
    }

    .header__item .header__item__submenu .header__item__submenu-item .header__item__submenu-item__list-games .header__item__submenu-item__item-games {
        row-gap: 6px;
    }

    .header__item .header__item__submenu {
        padding: 20px;
    }
}

@media (max-width: 360px) {
    #pagination-list .page-item .page-link {
        padding: 0.5rem 0.25rem;
    }

    .box-logo {
        padding-right: 0;
    }

    .navbar-expand-lg .balance.mobile .site-balance {
        padding: 5px !important;
    }

    .navbar-expand-lg .balance.mobile .box-balance,
    .navbar-expand-lg .balance.mobile a {
        font-size: 12px;
    }

    .logo-max-width {
        /* width: 60px !important; */
    }
    .navbar-expand-lg .balance.mobile .top-wallet-icon {
        width: 25px !important;
    }

    .header-right .navbar-toggler {
        padding: 5px 7px;
    }

    .header-right .navbar-toggler .navbar-toggler-icon {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 340px) {
    .box-logo {
        padding: 0;
    }

    .navbar.navbar-expand-lg.navbar-light {
        padding: 19px 2px !important;
    }

    .navbar-expand-lg .balance.mobile .box-balance,
    .navbar-expand-lg .balance.mobile a {
        font-size: 11px;
    }
}
