.timeDate-mobile,
.favorite-mobile,
.add-div .analyze-icon-mobile,
#tools-mobile {
    display: none;
}


#filter-match-type {
    display: flex;
    justify-content: start;
    gap: 6px;
}

#filter-match-type .dropdown-toggle,
#CompanySelMobile .dropdown-toggle {
    font-size: 12px;
    width: 90px;
    padding: 10px 20px;
    text-align: center;
    color: #5F5F5F;
    background-color: #F2F2F2;
    border: 0;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
}

#CompanySelMobile {
    height: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: end;
}

#CompanySelMobile .dropdown-toggle {
    width: 100%;
    position: relative;
    margin-right: 0;
}

#filter-match-type .filter-button.active {
    color: white;
    background-color: #205C04;
}

.analyze-icon-mobile {
    display: block;
}

.dropdown {
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.dropdown .dropdown-toggle {
    display: flex;
    height: 30px;
    width: 100%;
    padding: 0px 8px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    background-color: #f2f2f2;
    border-radius: 4px;
    border: none;
}

.dark .dropdown-toggle::before {
    color: #fff;
    /* background: url(../../assets/vn/images/icon_arrow_right-white.svg) */
}

.dark .dropdown-toggle {
    color: #fff;
}

.dark .dropdown .dropdown-toggle {
    background-color: #22481f;
}

.dropdown-menu {
    z-index: 103;
    position: absolute;
    background-color: red;
    top: 34px;
    display: flex;
    width: 100%;
    padding: 4px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border-radius: 4px;
    background: #fff;
    box-shadow: -1px -1px 8px 0px rgba(0, 0, 0, 0.2),
        1px 1px 6px 0px rgba(0, 0, 0, 0.2);
    display: none;
}

.dark .dropdown-menu {
    background-color: #24351b;
}

.dark .dropdown-menu .option {
    background-color: #100e0e;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu {
    width: calc(100% - 8px);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 0;
    left: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-bottom: 4.5px solid #ffffff;
    border-right: 5px solid transparent;
}

.dropdown-menu .option {
    display: flex;
    height: 30px;
    padding: 0px 8px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 4px;
    background: #f2f2f2;
}

.option.active {
    background: #c1e1b1;
}

.dark .option.active {
    background-color: #697974;
}

.dropdown-toggle::before {
    content: '';
    transition: 0.3s all ease-in-out;
    width: 16px;
    height: 16px;
    line-height: 16px;
    right: 3px;
    left: auto;
    position: absolute;
    border: 0;
    transform: rotate(0);
    background: url(../../../../assets/vn/images/icon_arrow_right-black.svg)
}

.dropdown.show .dropdown-toggle::before {
    transform: rotate(180deg);
}


@media screen and (max-width: 1024px) {

    .date-picker {
        padding-bottom: 0;
    }

    /* header */
    #header-wrapper {
        display: none;
    }

    #header-wrapper-sp {
        display: block;
        width: 100%;
        background-color: var(--primary-color) !important;
    }

    #scoreDiv {
        display: none;
    }

    .dark #header-wrapper-sp {
        background-color: #22481f !important;
    }

    .theme .theme-style {
        background-color: #205c04 !important;
    }

    .dark #header-wrapper-sp .theme-style:before {
        left: 50%;
        background-image: url(../../images/dark.png);
        background-repeat: no-repeat;
        background-color: #fff;
    }

    #header-wrapper-sp .topBar-sp {
        height: 24px;
        padding: 12px 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #header-wrapper-sp .topBar-sp .topBar-left-sp .Choose-tool {
        margin-left: 8px;
        height: 20px;
        margin-top: 2px;
    }

    #header-wrapper-sp .topBar-sp .topBar-left-sp .Choose-tool img {
        margin-left: 0px;
    }

    #header-wrapper-sp .topBar-sp .topBar-right-sp .Choose-tool {
        margin-right: 8px;
        height: 20px;
    }

    body #header-wrapper-sp .topBar-sp .topBar-left-sp .Choose-tool .img-tool {
        border-radius: 0 !important;
    }

    #header-wrapper-sp .topBar-sp .size-20 {
        height: 20px;
        width: 20px;
    }

    #header-wrapper-sp .topBar-sp .topBar-right-sp {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #header-wrapper-sp .topBar-middle-sp a img {
        height: 24px;
    }

    #header-wrapper-sp .topBar-middle-sp a {
        display: inline-block;
    }

    #header-wrapper-sp .mainBar-sp {
        padding: 0 8px;
    }

    #header-wrapper-sp .mainBar-sp .authBox {
        display: flex;
        justify-content: space-between;
    }

    #header-wrapper-sp .mainBar-sp .authBox>div {
        width: calc(100%);
        height: 36px;
        padding: 8px 24px;
        border: none;
    }

    #header-wrapper-sp .menu-icon {
        display: flex;
        width: 28px;
        height: 28px;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
    }

    .dark #menuSp {
        background-color: #030405;
    }

    .bottomBar-sp {
        padding: 11px 8px 11px 8px;
        background-color: #e5e5e5;
        transform: translateY(1px);
    }

    .dark .bottomBar-sp {
        background-color: #030405;
    }

    .bottomBar-sp #menuSp .sp-item-menu {
        padding: 6px;
        border-radius: 4px;
        background-color: #f2f2f2;
    }

    .swiperMenu {
        width: 100%;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .bottomBar-sp #menuSp .sp-item-menu a {
        text-align: center;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        height: 44px;
    }

    .swiper-slide a {
        text-decoration: none !important;
    }

    #menuSp .swiperMenu .swiper-wrapper {
        display: grid;
        scroll-snap-type: x proximity;
        grid-template-columns: repeat(6, minmax(63px, 1fr));
        gap: 4px;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    #menuSp .swiperMenu .swiper-wrapper::-webkit-scrollbar {
        display: none;
    }

    #menuSp .swiperMenu .swiper-slide {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .menuMainSp .swiperMainMenu .swiper-slide {
        width: 76px;
        margin-right: 4px;
    }

    #menuSp .swiperMatchList .swiper-slide {
        width: 192px;
    }

    .bottomBar-sp #menuSp .swiper-box-icon {
        width: 100%;
        padding-bottom: 2px;
        height: 22px;
        margin-right: 0;
        text-align: center;
    }

    .bottomBar-sp #menuSp .swiper-box-icon img {
        width: 20px;
    }

    .bottomBar-sp #menuSp .sp-item-menu span {
        font-size: 10px;
        height: 100%;
        line-height: 1.1;
        flex-shrink: 1;
        flex-grow: 1;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu {
        background-color: #eff9ea;
    }

    .dark .bottomBar-sp #menuSp .sp-item-menu {
        background-color: #1a1a1a;
    }

    .dark .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu {
        background-color: #374033;
        justify-content: center;
    }

    .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu span {
        color: #005030;
        font-weight: 600;
    }

    .dark .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu span {
        color: #10e18d;
    }

    body:not(.dark) .bottomBar-sp #menuSp .swiper-slide .sp-item-menu .swiper-menu-icon.icon-dark,
    body:not(.dark) .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu .swiper-menu-icon:not(.icon-active),
    body:not(.dark) .bottomBar-sp #menuSp .swiper-slide:not(.swiper-slide-active) .sp-item-menu .swiper-menu-icon:not(.icon-active) {
        display: none;
    }

    body.dark .bottomBar-sp #menuSp .swiper-slide .sp-item-menu .swiper-menu-icon:not(.icon-dark),
    body.dark .bottomBar-sp #menuSp .swiper-slide.swiper-slide-active .sp-item-menu .swiper-menu-icon:not(.icon-active),
    body.dark .bottomBar-sp #menuSp .swiper-slide:not(.swiper-slide-active) .sp-item-menu .swiper-menu-icon.icon-active {
        display: none;
    }

    /* .bottomBar-sp #menuSp .swiper-slide */

    #topAdDiv {
        display: none;
    }

    .bottomBar-sp #menuSp .swiperMenu .swiper-slide .sp-item-menu.active-menu .swiper-menu-icon {
        display: none;
    }

    .bottomBar-sp #menuSp .swiperMenu .swiper-slide .sp-item-menu.active-menu .swiper-menu-icon.icon-active {
        display: inline;
    }

    #header-wrapper-sp .topBar-sp .topBar-right-sp {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #header-wrapper-sp .topBar-sp .topBar-right-sp .theme-div {
        margin: 0;
    }

    #menuMainSw {
        margin-bottom: 9px;
    }

    #menuMainSw .swiper-box {
        flex-direction: column;
        height: 44px;
        padding: 7px 6px;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .menuMainSp {
        width: 100%;
        overflow: hidden;
    }

    #menuMainSw .swiper-box-icon {
        width: 28px;
        height: 28px;
        margin-right: 0;
        margin-bottom: 4px;
    }

    #menuMainSw .swiper-wrapper {
        gap: 4px;
    }

    #menuMainSw .swiper-slide {
        width: auto;
        flex: 1;
        margin-right: 0 !important;
    }

    #menuMainSw .swiper-box {
        display: flex;
        flex-direction: column;
        height: 44px;
        padding: 7px 6px;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
        border-radius: 8px;
        animation: 0.5s;
        background-color: #205c04;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dark #menuMainSw .swiper-box {
        background-color: #1c1e1b;
    }

    #menuMainSw .swiper-box.active {
        background-color: #ffffff;
    }

    #menuMainSw .swiper-box.active span {
        color: #005030;
        font-weight: 700;
    }

    .dark #menuMainSw .swiper-box:not(.active) span {
        color: #bbbbbb;
    }

    #menuMainSw .swiper-box:not(.active) .swiper-menu-icon.icon-active {
        display: none;
    }

    #menuMainSw .swiper-box.active .swiper-menu-icon:not(.icon-active) {
        display: none;
    }

    #menuMainSw .swiper-box span {
        font-size: 10px;
        text-align: center;
        letter-spacing: 0.3px;
        color: #99b9ac;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* end header */


    #tools-mobile {
        display: flex;
        justify-content: space-between;
        gap: 6px;
        margin-bottom: 11px;
    }

    #tools,
    .datatd,
    #right,
    #header-wrapper,
    .lg-favorite,
    #left {
        display: none;
    }

    .Leaguestitle .icon {
        margin: 0;
    }

    #Layer1,
    #searchWin {
        display: none !important;
    }


    .footer .bottom {
        box-sizing: border-box;
        flex-direction: column;
        padding: 20px 8px;
        width: 100%;
    }

    #tennis {
        min-width: 0 !important;
        width: 100%;
    }

    #tennis .scoretitle td {
        display: flex;
        align-items: center;
        width: 100%;
    }

    #tennis .scoretitle td div {
        line-height: initial;
    }

    .mcontent {
        width: 100%;
        max-width: 100%;
    }

    #teammain {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    #tennis .Leaguestitle {
        width: 100%;
    }

    .bftab tr.scoretitle {
        display: grid;
        grid-template-columns: 24px auto;
        row-gap: 3px;
        background-color: rgb(249, 249, 249);
    }

    .bftab tr.scoretitle td:not([id^="tdstate_"], .favorite-mobile) {
        display: none !important;
    }

    .bftab tr.scoretitle .add-div {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .bftab tr.scoretitle .add-div .timeDate {
        display: none;
    }

    .bftab tr.scoretitle .add-div .timeDate-mobile {
        display: block;
    }

    .bftab tr.scoretitle .add-div strong {
        margin-right: 5px;
    }

    .bftab tr.scoretitle .add-div strong .blue2 {
        color: #e00606;
        font-weight: 500;
    }

    .icon.icon-font-Tennis {
        color: #acc54c
    }

    .timeDate-mobile,
    .favorite-mobile {
        display: block;
    }

    .timeDate-mobile {
        flex-grow: 1;
    }


    .bftab tbody {
        display: grid;
    }


    .bftab tr {
        width: 100%;
    }


    .bftab tr[id^="tr1_"],
    .bftab tr[id^="tr2_"] {
        display: flex;
        align-items: center;
    }

    .bftab tr td[id^="br_h_"],
    .bftab tr td[id^="hs1_"],
    .bftab tr td[id^="hs2_"],
    .bftab tr td[id^="hs3_"],
    .bftab tr td[id^="hs4_"],
    .bftab tr td[id^="hs5_"],
    .bftab tr td[id^="hs6_"],
    .bftab tr td[id^="hs7_"],
    .bftab tr td[id^="hzf_"],
    .bftab tr td[id^="gzf_"],
    .bftab tr td[id^="gs1_"],
    .bftab tr td[id^="gs2_"],
    .bftab tr td[id^="gs3_"],
    .bftab tr td[id^="gs4_"],
    .bftab tr td[id^="gs5_"],
    .bftab tr td[id^="gs6_"],
    .bftab tr td[id^="gs7_"] {
        width: 24px;
        line-height: initial;
    }


    .twowin tr td:nth-child(9) span {
        width: auto;
    }

    .bftab tr td.oddstd {
        width: 40px;
    }

    .bftab tr td.ouodds {
        width: 68px;
    }

    .bftab tr td.ahodds {
        padding-right: 5px;
        width: 50px;
        text-align: right;
    }


    .bftab tr td[id^="Pa"],
    .bftab tr td[id^="Pb"] {
        flex-grow: 1;
    }

    .icon.icon-font-Tennis {
        margin-top: 4px;
    }

    table.bftab[data-show-odds="false"] tr td.oddstd {
        display: none !important;
    }

    table.bftab[data-show-odds="true"] tr td[id^="br_"],
    table.bftab[data-show-odds="true"] tr td[id^="hs"],
    table.bftab[data-show-odds="true"] tr td[id^="gzf_"],
    table.bftab[data-show-odds="true"] tr td[id^="hzf_"],
    table.bftab[data-show-odds="true"] tr td[id^="gs"] {
        display: none;
    }

    .oddstd {
        background-color: unset;
    }

    .analyze-icon:hover:after {
        right: 0;
    }

    .analyze-icon-mobile {
        margin-right: 5px;
    }

    .Leaguestitle .rankicon {
        height: 26px;
    }
}


@media screen and (max-width: 600px) {
    .bftab tr td[id^="br_h_"],
    .bftab tr td[id^="hs1_"],
    .bftab tr td[id^="hs2_"],
    .bftab tr td[id^="hs3_"],
    .bftab tr td[id^="hs4_"],
    .bftab tr td[id^="hs5_"],
    .bftab tr td[id^="hs6_"],
    .bftab tr td[id^="hs7_"],
    .bftab tr td[id^="hzf_"],
    .bftab tr td[id^="gzf_"],
    .bftab tr td[id^="gs1_"],
    .bftab tr td[id^="gs2_"],
    .bftab tr td[id^="gs3_"],
    .bftab tr td[id^="gs4_"],
    .bftab tr td[id^="gs5_"],
    .bftab tr td[id^="gs6_"],
    .bftab tr td[id^="gs7_"] {
        width: 18px;
        line-height: initial;
    }


    .twowin tr td:nth-child(9) span {
        display: block;
    }
}