.flexBase {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
}

.table_header_wrapper {
    width: 100%;
    height: 60px;
    display: flex;
    box-sizing: border-box;
    border-top: 1px solid rgba(217, 218, 219, .8);
    user-select: none;

    .left:extend(.flexBase) {
        width: 73px;
        height: 100%;
        background: white;
        box-sizing: border-box;
        box-shadow: 0px 0px 0px 1px rgba(217, 218, 219, .8);
    }

    .right {
        width: calc(100% - 73px);
        height: 100%;
        margin-left: 1px;

        .top {
            display: flex;
            width: 100%;
            height: 40px;

            .before:extend(.flexBase) {
                width: 50%;
                height: 100%;
                box-sizing: border-box;
                border-right: 1px solid rgba(217, 218, 219, .8);
            }

            .after :extend(.flexBase) {
                width: 50%;
                height: 100%;
                box-sizing: border-box;
                border-right: 1px solid rgba(217, 218, 219, .8);
            }
        }

        .foot {
            width: 100%;
            height: calc(100% - 40px);
            display: grid;
            grid-template-columns: repeat(12, 1fr);

            .ant-typography {
                &:extend(.flexBase);
                box-sizing: border-box;
                height: 20px;
                border-bottom: 1px solid rgba(217, 218, 219, .8);
                border-top: 1px solid rgba(217, 218, 219, .8);
                border-right: 1px solid rgba(217, 218, 219, .8);
            }
        }
    }
}

.thead_wrapper {
    margin-top: 1px;
    .thead_wrapper_content {
        display: flex;

        .week_series {
            width: 73px;
            height: 100%;
            user-select: none;

            &__item:extend(.flexBase) {
                width: 100%;
                height: 20px;
                background: white !important;
                box-shadow: 0px 0px 0px 1px rgba(217, 218, 219, .8);
            }
        }

        .time_series {
            width: calc(100% - 73px);

            &__row {
                display: flex;
                height: 19px;
                margin-top: 1px;
                width: 100%;
                box-sizing: border-box;

                .row_item {
                    width: 100%;
                    height: 100%;
                    margin-right: 1px;
                    background: lightblue;
                    cursor: pointer;

                    &__content {
                        display: none;
                    }

                    &:first-child {
                        margin-left: 1px;
                    }

                    &:nth-child(odd) {
                        background: rgb(249, 249, 249);
                    }

                    &:nth-child(even) {
                        background: rgb(240, 240, 240);
                    }

                    &:hover {
                        background: rgba(@primary-color, 0.4);
                        transition: all 0.5s;

                        .row_item__content {
                            display: block;
                            transition: all 0.4s;
                            color: white;
                        }
                    }
                }

                .isActive {
                    background: @primary-color !important;
                    transition: all 0.5s;
                }
            }
        }
    }

    .footer_wrapper {
        display: flex;
        justify-content: space-between;
    }
}