.wpim-lending .wpim-lending-picker { position: relative; max-width: 40em; }
.wpim-lending .wpim-lending-results { margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #c3c4c7; border-top: 0; max-height: 18em; overflow-y: auto; }
.wpim-lending .wpim-lending-results:empty { display: none; }
.wpim-lending .wpim-lending-results li { margin: 0; padding: 6px 10px; cursor: pointer; }
.wpim-lending .wpim-lending-results li:hover,
.wpim-lending .wpim-lending-results li:focus { background: #f0f6fc; outline: none; }
.wpim-lending .wpim-lending-results li.is-disabled,
.wpim-lending .wpim-lending-results li.is-empty { color: #8c8f94; cursor: default; background: none; }
.wpim-lending #wpim-lending-lines { margin-top: 10px; max-width: 60em; }
.wpim-lending #wpim-lending-lines tbody:empty::after { content: ""; }
.wpim-lending .wpim-lending-overdue td { background: #fcf0f1; }
.wpim-lending .wpim-lending-badge { color: #b32d2e; }
.wpim-lending .wpim-lending-inline { display: inline-block; margin-left: 1em; }
.wpim-lending .wpim-lending-filters { margin: 8px 0; clear: both; }
.wpim-lending .wpim-lending-cat { display: inline-block; margin-right: 1.5em; }
.wpim-lending-item .wpim-lending-units input[type=text] { width: 100%; }
@media (max-width: 782px) {
	.wpim-lending .wpim-lending-inline { display: block; margin: 8px 0 0; }
}

/* Bookings + calendar (premium) */
.wpim-lending .wpim-lending-inline-form { display: inline-block; margin: 0 2px 2px 0; }
.wpim-lending .wpim-lending-cal-nav strong { display: inline-block; min-width: 10em; text-align: center; }
.wpim-lending .wpim-lending-cal-wrap { overflow-x: auto; }
.wpim-lending table.wpim-lending-cal { table-layout: fixed; min-width: 900px; }
.wpim-lending .wpim-lending-cal th, .wpim-lending .wpim-lending-cal td { text-align: center; padding: 4px 2px; font-size: 12px; }
.wpim-lending .wpim-lending-cal th.item { text-align: left; width: 14em; }
.wpim-lending .wpim-lending-cal th span { color: #8c8f94; font-weight: normal; white-space: nowrap; }
.wpim-lending .wpim-lending-cal td.is-free { background: #edfaef; }
.wpim-lending .wpim-lending-cal td.is-low { background: #fcf9e8; }
.wpim-lending .wpim-lending-cal td.is-full { background: #fcf0f1; color: #b32d2e; font-weight: 600; }
.wpim-lending .wpim-lending-cal .is-today { outline: 2px solid #2271b1; outline-offset: -2px; }
.wpim-lending .wpim-lending-cal td.is-past { opacity: .5; }
