img{
    border: 0px;
}

/* The calendar of the right column (includes/calendar_table.php, 2026-12): a box like the
   filters under it (includes/filter_box.php), one line with the arrows and the year, and the
   twelve months - those with entries in the list green and links, the others pale; the current
   month with a golden ring, the month being shown filled. */
div#calendar-widget table#calendar-table.calendar {
    box-sizing: border-box;
    width: 270px;
    margin-inline-start: 20px;
    margin-inline-end: 4px;
    padding: 8px 8px 10px 8px;
    border: 1px solid #030;
    border-radius: 6px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background-color: #f5f3e5;
    color: #2a3a2a;
    font: 13px "Trebuchet MS", sans-serif;
}
table.calendar th,
table.calendar td {
    padding: 0;
    text-align: center;
}
table.calendar div.calendar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}
table.calendar span.calendar-title {
    flex: 1;
    white-space: nowrap;
}
table.calendar span.calendar-title a {
    padding: 2px 4px;
    border-radius: 4px;
    color: #0b4d0b;
    font: bold 15px "Trebuchet MS", sans-serif;
    text-decoration: none;
}
table.calendar span.calendar-title a:hover {
    background-color: #e3e6d0;
}
/* the arrows: chevrons drawn with borders */
table.calendar button.calendar-step {
    position: relative;
    flex: none;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0b4d0b;
    cursor: pointer;
}
table.calendar button.calendar-step:hover,
table.calendar button.calendar-step:focus-visible {
    background-color: #0b4d0b;
    color: #fff;
}
table.calendar button.calendar-step::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}
table.calendar button.calendar-prev::before {
    transform: translate(-30%, -50%) rotate(135deg);
}
table.calendar button.calendar-next::before {
    transform: translate(-70%, -50%) rotate(-45deg);
}
/* Arabic runs from the right: back is on the right and points there */
[dir="rtl"] table.calendar button.calendar-step {
    transform: scaleX(-1);
}
table.calendar tbody td {
    width: 25%;
    padding: 3px;
}
table.calendar .calendar-month {
    display: block;
    box-sizing: border-box;
    padding: 6px 0;
    border-radius: 999px;
    font: 13px/1.2 "Trebuchet MS", sans-serif;
    white-space: nowrap;
}
table.calendar span.calendar-month {
    color: #aeac9c;
}
table.calendar a.calendar-month {
    background-color: #e3e6d0;
    color: #0b4d0b;
    font-weight: bold;
    text-decoration: none;
}
table.calendar a.calendar-month:hover {
    background-color: #0b4d0b;
    color: #fff;
}
table.calendar .calendar-month.is-today {
    box-shadow: inset 0 0 0 2px #c9a227;
}
table.calendar a.calendar-month.is-selected {
    background-color: #0b4d0b;
    color: #fff;
}
