/* Holiday hours (cbco-holiday.php): a navy string-light strip under the header on every page,
 * and the window its button opens. Static, not sticky. Lights: img/cbco-holiday-lights.svg
 * (generator in the docs repo, tools/holiday-banner/gen_bokeh.py). */
.cbco-holbar, .cbco-holbar * { box-sizing: border-box; }
.cbco-holbar__bar {
	position: relative;
	z-index: 40;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 18px;
	padding: 13px 16px;
	background: #01207f url(../img/cbco-holiday-lights.svg?v=1) center / cover;
	color: #fff;
	text-align: center;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: .03em;
	text-shadow: 0 1px 6px rgba(1, 15, 82, .7);
}
.cbco-holbar p.cbco-holbar__msg { margin: 0; padding: 0; color: #fff; }
.cbco-holbar__label {
	margin-right: 12px;
	font-family: Oswald, sans-serif; /* the site-wide heading face: Francois One only loads on some pages */
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #ffd27a;
}
.cbco-holbar__text b { font-weight: 700; color: #fff; }
.cbco-holbar button.cbco-holbar__btn {
	margin: 0;
	padding: 9px 18px;
	border: 0;
	border-radius: 30px !important; /* Salient rounds every button to 200px */
	background: #fff6dc;
	color: #01207f;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-shadow: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 0 18px rgba(255, 210, 122, .55);
	transition: background-color .15s, color .15s;
}
.cbco-holbar button.cbco-holbar__btn:hover,
.cbco-holbar button.cbco-holbar__btn:focus-visible { background: #f2b04a; color: #01207f; outline: none; }
.cbco-holbar button.cbco-holbar__btn:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fa7500; }

/* ---------- the window: every remaining date by location ---------- */
.cbco-holwin {
	width: min(760px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100vh - 48px);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 6px;
	overflow: auto;
	background: #fff;
	color: #1c1f2a;
	font-family: 'Open Sans', Arial, sans-serif;
	letter-spacing: 0;
	text-align: left;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}
.cbco-holwin::backdrop { background: rgba(1, 10, 40, .62); }
.cbco-holwin p { margin: 0; padding: 0; }
.cbco-holwin__band { position: relative; padding: 22px 64px 20px 24px; background: #01207f url(../img/cbco-holiday-lights.svg?v=1) center / cover; color: #fff; text-shadow: 0 1px 8px rgba(1, 15, 82, .7); }
.cbco-holwin p.cbco-holwin__eyebrow { font-family: Oswald, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #ffd27a; }
.cbco-holwin h2.cbco-holwin__title { margin: 4px 0 0 !important; padding: 0 !important; font-family: Oswald, sans-serif !important; font-weight: 600 !important; font-size: 28px !important; line-height: 1.05 !important; letter-spacing: .01em !important; text-transform: uppercase; color: #fff !important; }
.cbco-holwin form { margin: 0; }
.cbco-holwin button.cbco-holwin__x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; margin: 0; padding: 0; border: 0; border-radius: 50% !important; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 36px; text-align: center; cursor: pointer; }
.cbco-holwin button.cbco-holwin__x:hover, .cbco-holwin button.cbco-holwin__x:focus-visible { background: rgba(255, 255, 255, .3); outline: 2px solid #ffd27a; outline-offset: 2px; }

.cbco-holtab { display: grid; grid-template-columns: minmax(136px, 1fr) repeat(3, minmax(0, 1.2fr)); font-size: 15px; line-height: 1.3; }
.cbco-holtab > div { display: contents; }
.cbco-holtab > div > span { padding: 13px 14px; border-top: 1px solid #e7e2d5; }
.cbco-holtab > .cbco-holtab__head > span { border-top: 0; padding-top: 14px; padding-bottom: 10px; font-family: Oswald, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #01207f; }
.cbco-holtab .cbco-holtab__day { display: flex; flex-direction: column; gap: 2px; }
.cbco-holtab__day b { font-weight: 700; color: #1c1f2a; }
.cbco-holtab__day i { font-style: normal; font-size: 13px; color: #5f6472; }
.cbco-holtab .cbco-holtab__all { grid-column: span 3; display: flex; align-items: center; }
.cbco-holtab__pill { display: inline-block; padding: 6px 12px; border-radius: 30px; background: #fdebd9; color: #8a3f00; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; }
.cbco-holtab__t { display: flex; align-items: center; font-weight: 600; color: #01207f; white-space: nowrap; }
.cbco-holtab__ev { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cbco-holtab__ev a, .cbco-holtab__ev em { font-size: 12.5px; font-weight: 600; font-style: normal; color: #b85600 !important; white-space: normal; }
.cbco-holtab__ev a { text-decoration: none; border-bottom: 1px solid currentColor; }
.cbco-holtab__ev a:hover, .cbco-holtab__ev a:focus-visible { color: #01207f !important; }
.cbco-holwin__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px 16px; border-top: 1px solid #e7e2d5; font-size: 13px; color: #5f6472; }
.cbco-holwin__foot a { color: #01207f !important; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid #fa7500; }

@media (max-width: 690px) {
	.cbco-holbar__bar { padding: 11px 14px; font-size: 13.5px; gap: 8px 12px; }
	.cbco-holbar__more { display: none; }
	.cbco-holbar__label { display: block; margin: 0 0 2px; font-size: 13px; }

	/* the window becomes a sheet from the bottom */
	.cbco-holwin { width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
	.cbco-holwin h2.cbco-holwin__title { font-size: 23px !important; }
	.cbco-holtab { grid-template-columns: 1fr; font-size: 14px; }
	.cbco-holtab__head { display: none !important; }
	.cbco-holtab > div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 16px; border-top: 1px solid #e7e2d5; }
	.cbco-holtab > div:nth-child(2) { border-top: 0; }
	.cbco-holtab > div > span { padding: 0; border: 0; }
	.cbco-holtab .cbco-holtab__day { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; grid-column: 1 / -1; margin-bottom: 6px; }
	.cbco-holtab > .is-all { align-items: center; }
	.cbco-holtab > .is-all .cbco-holtab__day { grid-column: 1; margin-bottom: 0; }
	.cbco-holtab .cbco-holtab__all { grid-column: 2; }
	.cbco-holtab__x { display: none; }
	.cbco-holtab .cbco-holtab__t { grid-column: 1 / -1; justify-content: space-between; padding: 3px 0; }
	.cbco-holtab .cbco-holtab__t::before { content: attr(data-loc); align-self: flex-start; font-weight: 400; color: #5f6472; }
	.cbco-holtab__t .cbco-holtab__ev { align-items: flex-end; }
	.cbco-holwin__foot { flex-direction: column; align-items: flex-start; padding: 12px 16px 22px; }
}
@media print { .cbco-holbar { display: none; } }
