.crumbs,
.mcontent {
    width: 1208px;
    margin-top: 16px;
}

body {
    #main {
        width: 100%;

        #left {
            width: 188px;
            margin-right: 16px;
        }

        #right {
            width: 188px;
            margin-left: 16px;
        }

        #min {
            width: 800px;
            padding: 0;
            box-sizing: border-box;
            background-color: transparent !important;
        }
    }
}

#min {
    .date-picker {
        border: unset;
        box-sizing: border-box;
        padding: 0;
        height: unset;
        margin-bottom: 0;

        ul {
            display: flex;
            justify-content: space-between;
            column-gap: 8px;

            li {
                background-color: #fbf6f5;
                width: auto;
                flex: 1;
                margin: 0;
                height: unset;
                padding: 6px 0;
                transition: 0.2s linear background-color;

                span {
                    transition: 0.2s linear color;
                }

                span:first-child {
                    color: #717171;
                    font-size: 10px;
                    font-weight: 600;
                    line-height: 14px;
                    text-transform: capitalize;
                    padding-bottom: 2px;
                    margin-bottom: 3px;
                    position: relative;

                    &::after {
                        content: "";
                        position: absolute;
                        top: 100%;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 18px;
                        height: 1px;
                        border-radius: 2px;
                        background: #894f3c;
                    }
                }

                span:last-child {
                    color: #070f03;
                    font-size: 14px;
                    font-weight: 600;
                    line-height: 20px;
                }

                &.li_today {
                    span:first-child {
                        color: #f8825d;
                    }

                    span:last-child {
                        color: #c73c10;
                    }
                }

                &:hover,
                &.on {
                    background-image: unset;
                    background-color: #c73c10;

                    span:first-child {
                        color: #d4d4d4;

                        &::after {
                            background: #ff9979;
                        }
                    }

                    span:last-child {
                        color: #fff;
                    }
                }

                &::after {
                    content: "";
                    display: none;
                }
            }
        }
    }

    #tools {
        height: unset;
        line-height: unset;
        border: unset;
        position: relative;
        margin: 11px 0;

        ul.list-tools {
            display: flex;
            align-items: center;
            column-gap: 5px;
            transition: unset;

            #switchViewBlock {
                height: unset;

                span {
                    line-height: 18px;
                    padding: 4px 8px;
                }
            }

            li {
                // height: unset;
                margin-left: 0;
                float: unset;
                border: 1px solid #bbb;
                padding: 0 10px;
                border-radius: 60px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: unset;

                &:has(img) {
                    padding-right: 30px;
                    position: relative;

                    img {
                        transition: .175s all linear;
                        width: 16px;
                        height: 16px;
                        position: absolute;
                        right: 13px;
                        top: 0;
                        bottom: 0;
                        margin: auto;
                        transition: unset;
                    }
                }

                &:hover {
                    &:has(img) {
                        img {
                            filter: brightness(10);
                        }
                    }
                }

                span {
                    background-color: transparent;
                    color: #414141;
                    font-size: 12px;
                    font-weight: 500;
                    line-height: 18px;
                    padding-right: 5px;
                    padding-left: 5px;
                    transition: unset;
                }

                &:hover {
                    background-color: #005030;

                    span {
                        color: #FFFFFF
                    }
                }

                &.on {
                    border-color: #005030;

                    span {
                        color: #005030;
                        font-weight: bold;
                    }

                    &:hover {
                        span {
                            color: #FFFFFF;
                        }
                    }
                }
            }
        }

        #showoptional2 {
            top: calc(100% + 6px);
            border-radius: 4px;
            overflow: hidden;
            left: 0;

            .sotit {
                border-bottom: 1px solid #fff;
                background: #e6e6e6;
                line-height: 46px;

                b {
                    color: #070f03;
                    font-size: 16px;
                    font-weight: 600;
                    line-height: 24px;
                    text-transform: uppercase;
                }
            }

            #myleague2 {
                & li {
                    height: 18px;
                    margin-bottom: 12px;
                    padding: 5px 0 4px 3px;

                    & input {
                        position: relative;
                        background-color: red;
                        margin: 2px 4px 0 0;

                        &[type="checkbox"] {
                            opacity: 1;
                            width: 13px;
                            height: 0px;
                        }

                        &::before {
                            position: absolute;
                            content: "";
                            background: url("../../../images/uncheck-square.svg");
                            z-index: 1;
                            width: 13px;
                            height: 13px;
                            background-size: contain;
                        }

                    }

                    &>input[type="checkbox"]:checked {
                        &::before {
                            background: url("../../../images/check-square.svg");
                            position: absolute;
                            content: "";
                            z-index: 1;
                            width: 13px;
                            height: 13px;
                            background-size: contain;
                            background-repeat: no-repeat;
                        }
                    }

                    & label {
                        line-height: 18px;
                        // margin-left: 20px;
                    }
                }
            }


            .bt-selected {
                padding: 12px 0 8px 0;
            }

            li {
                span {
                    background-color: unset;
                    float: unset;
                    line-height: unset;
                    display: unset;
                }
            }

            .bts {
                background: #f2f2f2 !important;
                border-top: 0;
                margin: 0;
                display: flex;
                justify-content: center;
                column-gap: 16px;

                span {
                    border-radius: 8px;
                    background: #d4d4d4;
                    border: unset;
                    color: #070f03;
                    width: 122px;
                    padding: 8px 0;
                    box-sizing: border-box;
                    margin: 0;
                    font-size: 12px;
                    line-height: 18px;
                    font-weight: 600;
                    height: unset;
                    transition: background-color 0.3s;

                    &:hover {
                        background: #a9a9a9;
                    }

                    &.ent {
                        background-color: #9f2c09 !important;
                        color: #ffffff;

                        &:hover {
                            background: #7f2107 !important;
                        }
                    }
                }
            }
        }
    }

    .table-title {
        border-radius: 4px 4px 0 0;
        background: #f2f2f2;
        padding: 6px 10px;
        color: #070f03;
        display: flex;
        align-items: center;
        column-gap: 10px;
        margin-top: 0;

        .label {
            font-size: 12px;
            font-weight: 500;
            line-height: 18px;
        }

        #odds_setting {
            &>div {
                color: #717171;
                font-size: 11px;
                font-style: italic;
                font-weight: 400;
                line-height: 18px;

                span {
                    color: #e51b00;
                }
            }
        }
    }
}

#table_live {
    tr.scoretitle {
        td {
            background-color: #fff;
            color: #070f03;
            font-size: 12px;
            font-weight: 500;
            line-height: 12px;
            padding: 9px 6px;
            border-right: 1px solid #070f03;

            &:last-child {
                border-right: unset;
            }

            .allno {
                background-image: url("/images/trash-black.png");
                width: 14px;
                height: 14px;
                margin: 0;
            }
        }
    }

    tr {
        i.icon.iconfont {
            font-size: 14px;
        }

        i.icon.iconfont.icon-font-collect-off {
            &::before {
                content: "";
                background-image: url("/images/rating-light.png");
                width: 14px;
                height: 14px;
                display: block;
                background-size: contain;
                margin: 0 auto;
            }
        }

        &.Leaguestitle {
            i.icon.iconfont.icon-font-collect-off {
                &::before {
                    background-image: url("/images/rating-title-light.png");
                }
            }
        }
    }

    tr.Leaguestitle {
        background: transparent;

        td {
            line-height: 35px;

            img.cImg {
                padding: 0;
                margin-right: 10px;
            }

            @mixin icon-collapse {
                width: 35px;
                height: 35px;

                &::before {
                    border: unset;
                    width: 14px;
                    height: 14px;
                    position: unset;
                }
            }

            .collapse {
                @include icon-collapse;

                &::before {
                    background-image: url("/images/arrow-up.svg");
                }
            }

            .expand {
                @include icon-collapse;

                &::before {
                    background-image: url("/images/arrow-down.svg");
                }
            }

            .rankicon {
                padding: 6px 6px;
                margin: 0;
            }
        }
    }

    tr:not(.Leaguestitle):not(.scoretitle) {
        background: white;

        td {
            font-size: 12px;
            padding: 8px 6px;

            &[name="timeData"] {
                color: #717171;
                font-weight: 400;
            }

            &.status {
                color: #005030;
                font-weight: 400;

                b {
                    font-weight: 400;
                }
            }

            &.team-1,
            &.team-2 {
                color: #070f03;

                .team-hg {
                    color: #717171;
                    font-size: 10px;
                    font-weight: 400;
                }

                @mixin card {
                    padding: 0;
                    border-radius: 2px;
                    margin: 0 2px;
                    width: 10px;
                }

                .redcard {
                    @include card;
                    background: #d31b1b;
                    color: #fff;
                }

                .yellowcard {
                    @include card;
                    background: #bfac00;
                    color: #0a2000;
                }
            }

            &.team-1 {
                .team-hg {
                    margin-right: 4px;
                }
            }

            &.team-2 {
                .team-hg {
                    margin-left: 4px;
                }
            }

            &.handpoint {
                font-weight: 600;
                font-size: 18px;

                &.red {
                    color: #c99717 !important;
                }

                &.blue {
                    color: #e51b00 !important;
                }
            }

            &.fx_corner {
                color: #0eac6d;
            }

            &.h-t {
                color: #414141;
            }

            &.toolimg {
                @mixin icon {
                    content: "";
                    width: 1em;
                    height: 1em;
                    display: block;
                    background-size: contain;
                    margin: 0 auto;
                }

                .icon-icon-detail::before {
                    @include icon;
                    background-image: url("/images/shirt.png");
                }

                .icon-icon-live1 {
                    font-size: 16px;
                }

                .icon-analysis::before {
                    @include icon;
                    background-image: url("/images/data-analytics.png");
                }
            }
        }
    }
}

body.dark #main #min {
    background-color: transparent !important;
}

body.dark {
    #min {
        .date-picker {
            ul {
                li {
                    background-color: #3a0f01;

                    span:first-child {
                        color: #d4d4d4;

                        &::after {
                            background: #894f3c;
                        }
                    }

                    span:last-child {
                        color: #fff;
                    }

                    &.li_today {
                        span:first-child {
                            color: #f8825d;
                        }

                        span:last-child {
                            color: #d64a1e;
                        }
                    }

                    &:hover,
                    &.on {
                        background-color: #c73c10;

                        span:first-child {
                            color: #d4d4d4;

                            &::after {
                                background: #ff9979;
                            }
                        }

                        span:last-child {
                            color: #fff;
                        }
                    }
                }
            }
        }

        #tools {
            ul.list-tools {
                li {
                    border: 1px solid #0c1e03;

                    span {
                        color: #d4d4d4;
                    }

                    &:hover {
                        background-color: #005030;

                        span {
                            color: #d4d4d4
                        }
                    }

                    &.on {
                        border-color: #10E18D;

                        span {
                            color: #0eac6d;
                            font-weight: bold;
                        }

                        &:hover {
                            background-color: #005030;

                            span {
                                color: #FFFFFF;
                            }
                        }
                    }
                }
            }

            #showoptional2 {
                .sotit {
                    border-bottom: 1px solid #32302f;
                    background: #0d0d0d;

                    b {
                        color: #ffffff;
                    }
                }

                .bts {
                    background: black !important;

                    span {
                        background: #311810;
                        color: #fff;

                        &:hover {
                            background: #260c04;
                        }

                        &.ent {
                            background-color: #9f2c09 !important;

                            &:hover {
                                background: #7f2107 !important;
                            }
                        }
                    }
                }
            }
        }

        .table-title {
            background: #1a1a1a;
            color: #ffffff;

            #odds_setting {
                &>div {
                    color: #d4d4d4;

                    span {
                        color: #e51b00;
                    }
                }
            }
        }
    }

    #table_live {
        tr.scoretitle {
            td {
                background-color: #374033;
                color: #e6e6e6;
                border-right: 1px solid #070f03;

                .allno {
                    background-image: url("/images/trash-white.png");
                }
            }
        }

        tr {
            i.icon.iconfont {
                font-size: 14px;
            }

            i.icon.iconfont.icon-font-collect-off {
                &::before {
                    background-image: url("/images/rating-dark.png");
                }
            }

            &.Leaguestitle {
                i.icon.iconfont.icon-font-collect-off {
                    &::before {
                        background-image: url("/images/rating-dark.png");
                    }
                }
            }
        }

        tr.Leaguestitle {
            td {
                .collapse {
                    &::before {
                        background-image: url("/images/arrow-up-white.png");
                    }
                }

                .expand {
                    &::before {
                        background-image: url("/images/arrow-down-white.png");
                    }
                }

                .rankicon {
                    background-image: url("/images/rank-white.png");
                }
            }
        }

        tr:not(.Leaguestitle):not(.scoretitle) {
            background-color: #1a1a1a;

            td {
                &[name="timeData"] {
                    color: #bbb;
                }

                &.status {
                    color: #07adf5;
                }

                &.team-1,
                &.team-2 {
                    color: #f2f2f2;

                    .team-hg {
                        color: #bbb;
                    }

                    .redcard {
                        background: #d31b1b;
                        color: #fff;
                    }

                    .yellowcard {
                        background: #bfac00;
                        color: #0a2000;
                    }
                }

                &.handpoint {
                    &.red {
                        color: #ffc940 !important;
                    }

                    &.blue {
                        color: #10e18d !important;
                    }
                }

                &.fx_corner {
                    color: #10e18d;
                }

                &.h-t {
                    color: #fbfbfb;
                }

                &.toolimg {
                    .icon-icon-detail::before {
                        background-image: url("/images/shirt-dark.png");
                    }

                    .icon-analysis::before {
                        background-image: url("/images/data-analytics-dark.png");
                    }
                }
            }
        }
    }
}