/* Calendário próprio, inspirado na aparência do datepicker do jQuery UI. */
.company-datepicker {
    background: #fff;
    border: 1px solid #aaa;
    border-radius: .2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    padding: .2rem .2rem 0;
    position: absolute;
    width: 17rem;
    height: auto;
    z-index: 1080;
}

.company-datepicker[hidden] { display: none; }

.company-datepicker-header {
    align-items: center;
    background: linear-gradient(#f6f6f6, #dfdfdf);
    border: 1px solid #aaa;
    border-radius: .18rem;
    color: #222;
    display: flex;
    font-size: .96rem;
    font-weight: 700;
    justify-content: space-between;
    margin-bottom: .2rem;
    min-height: 2rem;
    padding: 0 .2rem;
}

.company-datepicker-nav {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 1.1rem;
    height: 1.55rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 1.55rem;
}

.company-datepicker-nav:hover, .company-datepicker-nav:focus-visible { background: #fff; outline: 1px solid #777; }
.company-datepicker-nav:disabled { cursor: default; opacity: .3; }

.company-datepicker-table { border-collapse: separate; border-spacing: 1px; min-width: 0; table-layout: fixed; width: 100%; }
.company-datepicker-table th { color: #222; font-size: .78rem; font-weight: 700; height: 1.7rem; padding: 0; text-align: center; width: 14.285%; }
.company-datepicker-table td { height: 2rem; padding: 0; text-align: center; vertical-align: middle; width: 14.285%; }

.company-datepicker-day {
    appearance: none;
    background: linear-gradient(#f8f8f8, #e7e7e7);
    border: 1px solid #d2d2d2;
    box-sizing: border-box;
    color: #333;
    cursor: pointer;
    display: block;
    font-size: .8rem;
    height: 2rem;
    line-height: 1.85rem;
    padding: 0;
    text-decoration: none;
    width: 100%;
}

.company-datepicker-day:hover, .company-datepicker-day:focus-visible { background: #fbf9ee; border-color: #f0b23b; outline: 0; }
.company-datepicker-day.is-sunday { color: #f00; }
.company-datepicker-day.is-saturday { color: #00f; }
.company-datepicker-day.is-today { background: #fff9d8; border-color: #e4d36b; }
.company-datepicker-day.is-selected { background: #176af2; border-color: #0f56ce; color: #fff; }
