﻿.ui-datepicker {
    width: auto;
    padding: 15px;
    border-radius: 7px;
    border: none !important;
    box-shadow: 0 0 1rem rgba(0,0,0,.15);
    z-index: 1010;
    background: var(--vz-header-bg);
}

    .ui-datepicker table {
        font-size: 14px;
    }

.ui-datepicker-calendar th {
    color: #808080;
}

.ui-datepicker-calendar td {
    width: 42px;
    height: 42px;
}

    .ui-datepicker-calendar td > a {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        line-height: 1;
        border: none !important;
        text-align: center;
        font-weight: 500;
        height: 100%;
        padding: 0;
        border-radius: 100%;
    }

    .ui-datepicker-calendar td span,
    .ui-datepicker-calendar td a {
        padding: 0;
        text-align: center;
    }

    .ui-datepicker-calendar td > a > span {
        text-align: center;
        padding: 0;
    }

    .ui-datepicker-calendar td a span.ui-datepicker-lunar {
        font-size: 9px;
        line-height: 9px;
        font-weight: normal;
        padding: 0px;
        text-align: center;
        margin-top: 3px;
    }

.ui-datepicker-calendar .ui-state-default {
    font-weight: normal;
    background: none;
    border: none;
    color: var(--vz-body-color);
}

    .ui-datepicker-calendar .ui-state-default:hover {
        background-color: var(--vz-secondary);
        color: #fff;
    }

        .ui-datepicker-calendar .ui-state-default:hover .ui-datepicker-lunar {
            color: inherit;
        }

.ui-datepicker-calendar .ui-state-active {
    font-weight: normal;
    color: #fff;
    background: var(--vz-primary);
}

    .ui-datepicker-calendar .ui-state-active .ui-datepicker-lunar {
        color: #fff;
    }

.ui-datepicker-calendar .ui-state-highlight {
    font-weight: bold;
    background: #e8e8e8;
    color: inherit;
}

.ui-datepicker-header.ui-widget-header {
    border: none;
    background: none;
    font-weight: normal;
}

.ui-datepicker .ui-datepicker-buttonpane {
    text-align: right;
    margin: 0;
    padding: 0;
    padding-top: 6px;
    border-top: none;
    background: none;
}

    .ui-datepicker .ui-datepicker-buttonpane button {
        float: none;
        margin: 0;
        cursor: pointer;
        padding: 5px;
        width: auto;
        overflow: visible;
        background: none;
        border: none;
        color: var(--vz-link-color);
        font-weight: normal;
    }

        .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
            float: none;
            margin-right: 6px;
        }

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    cursor: pointer;
    padding-top: 3px;
}

    .ui-datepicker .ui-datepicker-prev span,
    .ui-datepicker .ui-datepicker-next span {
        background: none;
        font-family: remixicon !important;
        position: unset;
        left: unset;
        top: unset;
        text-indent: unset;
        font-style: normal;
        -webkit-font-smoothing: antialiased;
        height: 1.8em;
        width: 1.8em;
        font-size: 22px;
        text-align: center;
    }

        .ui-datepicker .ui-datepicker-next span::before {
            content: "\ea6e";
        }

        .ui-datepicker .ui-datepicker-prev span::before {
            content: "\ea64";
        }

.ui-datepicker .ui-datepicker-next-hover {
    background: none;
    color: var(--vz-link-color);
    border: none;
    right: 2px;
    top: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
    background: none;
    color: var(--vz-link-color);
    border: none;
    left: 2px;
    top: 2px;
}

.ui-datepicker .ui-datepicker-title {
    font-size: 16px;
    color: var(--vz-body-color);
}

.ui-datepicker .ui-widget-header a {
    color: var(--vz-body-color);
}

@media(max-width: 767px) {
    .ui-datepicker {
        /*width: calc(100% - 45px);*/
    }

        .ui-datepicker table {
            width: auto;
            margin: auto;
        }
}

@media(max-width: 320px) {
    .ui-datepicker-calendar td {
        width: 38px;
        height: 38px;
    }
}
