/* stylelint-disable no-descending-specificity */
.calendar-body {
    table {
        width: 100%;

        thead {
            width: 100%;

            tr {
                display: flex;
                justify-content: space-around;
                width: 100%;
            }
        }

        tbody {
            width: 100%;

            tr {
                display: flex;
                justify-content: space-around;
                width: 100%;
                .date-cell{
                    &:hover{
                        background-color: #f5f5f5;
                    }
                }
                .other-month{
                    color: #bfbfbf;
                }
                td {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    height: 81px;
                    border: 1px solid #ebebeb;
                    border-bottom: 0;
                    border-right: 0;

                    &:last-child {
                        border-right: 1px solid #ebebeb;
                    }
                }

                &:last-child {
                    td {
                        border-bottom: 1px solid #ebebeb;
                    }
                }
            }
        }
    }
}

.head {
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
    color: #999;

    .item {
        box-sizing: border-box;
        width: 100%;
        height: 46px;
        border: 1px solid #ebebeb;
        border-bottom: 0;
        line-height: 46px;
        text-align: center;
        border-right: 0;

        &:last-child {
            border-right: 1px solid #ebebeb;
        }
    }
}

.calendar_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-sizing: border-box;
    width: 100%;

    .item {
        box-sizing: border-box;
        width: 14.2%;
        height: 46px;
        border: 1px solid #ebebeb;
        border-bottom: 0;
        line-height: 46px;
        text-align: center;
        border-right: 0;

        &:nth-child(7n) {
            border-right: 1px solid #ebebeb;
        }
    }
}
