/*
 * Keep the Eonasdan calendar at its real 19em size so days stay in a 7-column
 * grid. Dreams Rent style.css sets th { width:100% } which either explodes the
 * popup or, with table-layout:fixed, stacks day numbers on top of each other.
 */
.bootstrap-datetimepicker-widget.dropdown-menu,
.bootstrap-datetimepicker-widget.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    z-index: 20050 !important;
    width: 19em !important;
    min-width: 19em !important;
    max-width: 19em !important;
    padding: 4px !important;
    margin: 2px 0 !important;
    transform: none !important;
    box-sizing: border-box;
}

.input-group.date,
.group-img,
.date-widget,
.date-widge {
    position: relative !important;
    overflow: visible !important;
}

.bootstrap-datetimepicker-widget table {
    width: 100% !important;
    table-layout: auto !important;
    margin: 0;
}

.bootstrap-datetimepicker-widget table th {
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    padding: 4px 0 !important;
    font-size: 12px !important;
    font-weight: 600;
    text-align: center;
}

.bootstrap-datetimepicker-widget table th.picker-switch {
    width: 145px !important;
}

.bootstrap-datetimepicker-widget table td {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    text-align: center;
}

.bootstrap-datetimepicker-widget table td.day {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    padding: 0 !important;
    font-size: 13px !important;
}

/* Glyphicons are not loaded (Bootstrap 5). Show month arrows. */
.bootstrap-datetimepicker-widget table th.prev .glyphicon-chevron-left::before {
    content: "‹";
    font-family: inherit;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
}
.bootstrap-datetimepicker-widget table th.next .glyphicon-chevron-right::before {
    content: "›";
    font-family: inherit;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
}
