.f-datepicker-container {
    display: flex;
    position: absolute;
    margin: 0;
    padding: 0;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);
    background-color: #fff;
    border-radius: 2px;
    z-index: 9999;
    animation: selectorfadein 0.06s;
    box-sizing: border-box;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.5;
    flex-wrap: wrap;
    //width: 560px;
    &:focus {
        border: none;
        outline: none;
    }

    .f-datepicker-sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        border-right: 1px solid #e6e6e6;
        box-sizing: border-box;
        padding-top: 6px;
        background-color: #ffffff;
        overflow: auto;

        button {
            display: block;
            width: 100%;
            border: 0;
            background-color: transparent;
            line-height: 28px;
            font-size: 14px;
            color: #606266;
            padding-left: 12px;
            text-align: left;
            outline: none;
            cursor: pointer;

            &:hover {
                color: #409eff;
            }
        }
    }

    .f-datepicker-content {
        width: 287px;
        .f-datepicker-header {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #e6e6e6;

            .f-datepicker-prev-btn {
                color: #000;
                opacity: 0.65;
                padding-left: 16px;

                .f-datepicker-header-btn {
                    padding: 1px 14px 1px 0;
                }
            }

            .f-datepicker-next-btn {
                color: #000;
                opacity: 0.65;
                padding-right: 16px;

                .f-datepicker-header-btn {
                    padding: 1px 0 1px 14px;
                }
            }

            .f-datepicker-header-btn {
                height: 40px;
                outline: none;
                border: 0;
                background-color: #fff;
                line-height: 35px;
                font-size: 14px;
                padding: 1px 8px;
                cursor: pointer;

                &:hover {
                    color: #59a1ff;
                }
            }

            .f-datepicker-header-btn-disabled {
                color: rgba(0, 0, 0, 0.25);

                &:hover {
                    color: rgba(0, 0, 0, 0.25);
                }
            }
        }

        .f-datepicker-table-wrapper {
            width: 100%;
            // height: 228px;
            height: 254px;
            padding: 8px 12px;

            .f-datepicker-table {
                width: 100%;
                height: 100%;
                max-width: 100%;
                background-color: transparent;
                border-collapse: collapse;
                text-align: center;
                border: 0;

                th {
                    font-weight: normal;
                    color: rgba(0, 0, 0, 0.45);
                }

                tr {
                    &.f-datepicker-selectWeek {
                        cursor: pointer;
                        transition: all 0.3s;

                        &:not(.f-datepicker-selectedWeek):hover {
                            background: #e6f7ff;
                        }
                    }

                    &.f-datepicker-selectedWeek {
                        font-weight: 700;
                        background: #bae7ff;
                    }

                    td {
                        .f-datepicker-date:not(.f-datepicker-current) {
                            &:hover {
                                //color: inherit;
                            }
                        }
                    }
                }

                td {
                    padding: 0;
                    position: relative;

                    &:focus {
                        border: 0;
                        outline: none;
                        box-shadow: none;
                    }

                    &.f-datepicker-weeknbr {
                        color: rgba(0, 0, 0, 0.45);
                    }

                    // &.f-datepicker-range-color {
                    //     background-color: #e6f7ff;
                    // }
                    &.f-datepicker-range::before {
                        position: absolute;
                        top: 3px;
                        right: 0;
                        bottom: 3px;
                        left: 0;
                        display: block;
                        background: #e6f7ff;
                        border: 0;
                        border-radius: 0;
                        content: '';
                    }

                    .f-datepicker-markdate {
                        position: absolute;
                        top: 5px;
                        left: 5px;
                        width: 4px;
                        height: 4px;
                        border-radius: 50%;
                    }

                    .f-datepicker-date,
                    .f-datepicker-month,
                    .f-datepicker-year {
                        display: block;
                        padding: 0;
                        margin: 0 auto;
                        text-align: center;
                        background: 0 0;
                        border-radius: 2px;
                        transition: all 0.3s ease;
                        cursor: pointer;

                        &:hover {
                            color: #59a1ff;
                        }
                    }

                    .f-datepicker-date {
                        // width: 27px;
                        // height: 26px;
                        // line-height: 26px;
                        width: 28px;
                        height: 28px;
                        line-height: 28px;
                        position: relative;
                        z-index: 1;
                        border: 1px solid transparent;
                    }

                    .f-datepicker-month-cell,
                    .f-datepicker-year-cell {
                        display: inline-block;
                        // padding: 4px 10px;
                        padding: 3px 8px;
                        line-height: 20px;
                        border-radius: 2px;
                        border: 1px solid transparent;
                    }

                    .f-datepicker-current {
                        border: 1px solid #59a1ff;
                        color: #59a1ff;
                    }

                    .f-datepicker-range {
                        border: 1px solid #e6f7ff;
                        background: #e6f7ff;
                    }

                    .f-datepicker-selected {
                        border: 1px solid #fff;
                        background: #388fff;
                        color: #ffffff;

                        &:hover {
                            color: #ffffff;
                        }
                    }

                    .f-datepicker-highlight {
                        background: #75abf2;
                        color: #ffffff;

                        &:hover {
                            color: #ffffff;
                        }
                    }

                    &.f-datepicker-no-currmonth {
                        color: rgba(0, 0, 0, 0.25);
                    }

                    .f-datepicker-disabled {
                        background-color: #f5f5f5;
                        color: rgba(0, 0, 0, 0.25);

                        &:hover {
                            color: rgba(0, 0, 0, 0.25);
                        }
                    }
                }
            }
        }

        
    }
    .f-datepicker-commitBtn-wrapper {
        width: 100%;
        text-align: right;
        padding: 0 12px;
        border-top: 1px solid #e6e6e6;
    }

    .f-datepicker-commitBtn {
        height: 35px;
        outline: none;
        border: 0;
        background-color: #fff;
        line-height: 35px;
        font-size: 12px;
        cursor: pointer;

        &:hover {
            color: #59a1ff;
        }
    }
}

@keyframes selectorfadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
