/* [qbbac_hours] — opening hours card, table and footer line. */
.qbfb-hours--card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	padding: 22px 24px;
	max-width: 460px;
	color: #222;
}
.qbfb-hours .qbfb-hours__title {
	margin: 0 0 6px;
	color: #007565;
	font-size: 1.45rem;
}
.qbfb-hours .qbfb-hours__status {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 1.4em;
	margin: 0 0 12px;
	font-size: 1rem;
}
.qbfb-hours .qbfb-hours__status span {
	color: #555;
	font-weight: 600;
}
.qbfb-hours__dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1e9e57;
	box-shadow: 0 0 0 4px rgba(30, 158, 87, .18);
	flex: 0 0 auto;
}
.qbfb-hours .is-closed .qbfb-hours__dot {
	background: #c0392b;
	box-shadow: 0 0 0 4px rgba(192, 57, 43, .18);
}
.qbfb-hours .qbfb-hours__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	border: 0;
	font-size: 1rem;
}
.qbfb-hours .qbfb-hours__table th,
.qbfb-hours .qbfb-hours__table td {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid #eee;
	text-align: left;
	font-weight: 400;
	background: none;
}
.qbfb-hours .qbfb-hours__table td {
	text-align: right;
	white-space: nowrap;
}
.qbfb-hours .qbfb-hours__table tr.is-today th,
.qbfb-hours .qbfb-hours__table tr.is-today td {
	font-weight: 800;
	color: #007565;
}
.qbfb-hours__badge {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: #007565;
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
	vertical-align: 2px;
}
.qbfb-hours.is-collapsed tr.is-extra {
	display: none;
}
.qbfb-hours .qbfb-hours__more {
	margin: 10px 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: #007565;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
.qbfb-hours__special {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-left: 4px solid #e8b93a;
	border-radius: 6px;
	background: #fff8e6;
	font-size: .95rem;
}
.qbfb-hours__special ul {
	margin: 4px 0 0;
	padding-left: 18px;
}
.qbfb-hours__notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 6px;
	background: #fde8e8;
	color: #9b1c1c;
	font-weight: 700;
}
.qbfb-hours__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.qbfb-hours .qbfb-hours__btn {
	flex: 1 1 140px;
	padding: 10px;
	border: 2px solid #007565;
	border-radius: 6px;
	color: #007565;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}
.qbfb-hours .qbfb-hours__btn--primary {
	background: #007565;
	color: #fff;
}
.qbfb-hours .qbfb-hours__src {
	margin: 12px 0 0;
	color: #777;
	font-size: .8rem;
}
/* Footer line */
.qbfb-hours--line {
	display: inline;
}
.qbfb-hours--line .qbfb-hours__status {
	display: inline-flex;
	margin: 0;
	font-size: inherit;
}
.qbfb-hours--line .qbfb-hours__status span {
	display: none;
}
.qbfb-hours--line .is-open strong {
	color: #13804a;
}
.qbfb-hours--line .is-closed strong {
	color: #b3261e;
}
@media (max-width: 600px) {
	.qbfb-hours--card {
		padding: 18px;
	}
	.qbfb-hours .qbfb-hours__table {
		font-size: .95rem;
	}
}

/* Top "open today" bar on every page */
.qbfb-topbar {
	background: #007565;
	color: #fff;
	font-size: 15px;
	line-height: 1.35;
	position: relative;
	z-index: 50;
}
.qbfb-topbar.is-closed {
	background: #555;
}
.qbfb-topbar__in {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px 10px;
	max-width: 1200px;
	min-height: 38px;
	margin: 0 auto;
	padding: 7px 16px;
	box-sizing: border-box;
	text-align: center;
}
.qbfb-topbar .qbfb-hours__dot {
	background: #7cffb2;
	box-shadow: 0 0 0 3px rgba(124, 255, 178, .25);
}
.qbfb-topbar.is-later .qbfb-hours__dot {
	background: #ffd76a;
	box-shadow: 0 0 0 3px rgba(255, 215, 106, .25);
}
.qbfb-topbar.is-closed .qbfb-hours__dot {
	background: #ff8a80;
	box-shadow: 0 0 0 3px rgba(255, 138, 128, .25);
}
.qbfb-topbar__date b {
	font-weight: 800;
}
.qbfb-topbar__short {
	display: none;
}
.qbfb-topbar a.qbfb-topbar__dir {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
}
.qbfb-topbar a.qbfb-topbar__dir:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
@media (max-width: 600px) {
	.qbfb-topbar {
		font-size: 13.5px;
	}
	.qbfb-topbar__in {
		min-height: 34px;
		padding: 6px 10px;
		gap: 2px 6px;
	}
	.qbfb-topbar__long,
	.qbfb-topbar__dir {
		display: none !important;
	}
	.qbfb-topbar__short {
		display: inline;
	}
}
