/* Republic Bike site header and footer.
   Everything here is prefixed rb- so it cannot collide with page styles, and it only uses the font
   weights the site already loads (Oswald 700, Dosis 300). Markup: bootstrap_inc_header.asp and
   bootstrap_inc_footer.asp. Behaviour: js/rb_chrome.js. */

:root {
	--rb-red: #be1e2d;
	--rb-red-dark: #9c1623;
	--rb-ink: #141414;
	--rb-muted: #5e5e5e;
	--rb-line: #e3e3e1;
	--rb-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	--rb-body: 'Dosis', 'Trebuchet MS', Arial, sans-serif;
}
html { scroll-padding-top: 90px; }

.rb-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: var(--rb-ink); padding: 10px 14px; }
.rb-skip:focus { left: 8px; top: 8px; }
#rb-main { height: 0; outline: 0; }

.rb-hdr-wrap, .rb-hdr-wrap *, .rb-ftr, .rb-ftr * { box-sizing: border-box; }
/* the wrapper only namespaces the styles; without a box of its own the sticky header can stay put for the whole page */
.rb-hdr-wrap { display: contents; }
.rb-wrap { margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px)  { .rb-wrap { width: 750px; } }
@media (min-width: 992px)  { .rb-wrap { width: 970px; } }
@media (min-width: 1200px) { .rb-wrap { width: 1170px; } }

.rb-hdr-wrap a:focus-visible, .rb-hdr-wrap button:focus-visible,
.rb-ftr a:focus-visible, .rb-ftr button:focus-visible { outline: 3px solid #1b6fd6; outline-offset: 2px; }

/* ---------- buttons ---------- */
.rb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
	font: 700 13.5px/1 var(--rb-display); letter-spacing: .08em; text-transform: uppercase; padding: 13px 20px; border: 2px solid transparent; }
.rb-btn::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 2px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.rb-btn:hover::after, .rb-btn:focus-visible::after { transform: scaleX(1); }
.rb-hdr-wrap a.rb-btn-red, .rb-ftr a.rb-btn-red { background: var(--rb-red); color: #fff; text-decoration: none; }
.rb-hdr-wrap a.rb-btn-red:hover { background: var(--rb-red-dark); color: #fff; }
.rb-btn-sm { padding: 11px 16px; font-size: 13px; }
.rb-btn-sm::after { left: 16px; right: 16px; bottom: 5px; }

/* ---------- gift card notice (only while a gift card is being redeemed) ---------- */
.rb-gift { background: #fff04d; color: #141414; font: 400 18px/1.3 var(--rb-body); padding: 9px 0; text-align: center; }
.rb-gift a { color: #141414; font-weight: 700; text-decoration: underline; }

/* ---------- utility strip ---------- */
.rb-util { background: var(--rb-ink); color: #ececec; font: 400 16px/1.2 var(--rb-body); }
.rb-util .rb-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.rb-util a { color: #fff; text-decoration: none; border-bottom: 1px solid transparent; }
.rb-util a:hover { color: #fff; border-bottom-color: currentColor; }
.rb-util .rb-dot { color: #8a8a8a; margin: 0 7px; }

/* ---------- header bar ---------- */
.rb-hdr { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--rb-line); font-family: var(--rb-body); }
.rb-hdr-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.rb-logo { display: block; flex: none; width: 132px; }
.rb-logo img { display: block; width: 100%; height: auto; }
.rb-nav-wrap { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.rb-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.rb-row { position: relative; display: flex; align-items: center; }
.rb-row::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 17px; height: 3px; background: var(--rb-red);
	transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.rb-item:hover > .rb-row::before, .rb-item.is-open > .rb-row::before, .rb-row:focus-within::before { transform: scaleX(1); }
.rb-hdr-wrap .rb-link { display: block; padding: 28px 2px 28px 10px; color: var(--rb-ink); text-decoration: none;
	font: 700 13.5px/1 var(--rb-display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.rb-hdr-wrap .rb-link:hover { color: var(--rb-ink); }
.rb-link .rb-pre { color: #777; }
.rb-tog { background: none; border: 0; cursor: pointer; padding: 28px 10px 28px 4px; color: var(--rb-ink); line-height: 0; }
.rb-chev { display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.rb-item.is-open .rb-chev { transform: rotate(-135deg) translate(-2px, 0); }
.rb-item-plain .rb-link { padding-right: 10px; }
.rb-nav-cta { display: none; }
.rb-actions { display: flex; align-items: center; gap: 14px; margin-left: 10px; }
.rb-hdr-wrap a.rb-cart { display: inline-flex; align-items: center; gap: 8px; color: var(--rb-ink); text-decoration: none; padding: 10px 2px;
	font: 700 13.5px/1 var(--rb-display); letter-spacing: .06em; text-transform: uppercase; }
.rb-cart svg { width: 24px; height: 24px; }
.rb-burger { display: none; align-items: center; background: none; border: 1.5px solid var(--rb-ink); padding: 11px 12px; cursor: pointer; color: var(--rb-ink); }
.rb-burger i { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }

/* ---------- menu panels ---------- */
.rb-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--rb-line);
	box-shadow: 0 22px 34px rgba(0, 0, 0, .14); }
.rb-item.is-open > .rb-panel { display: block; }
.rb-panel-in { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 30px; padding-top: 28px; padding-bottom: 32px; }
.rb-panel-in.rb-cols-2 { grid-template-columns: 1fr 1fr 1.15fr; }
.rb-col h3 { margin: 0 0 12px; font: 700 12px/1 var(--rb-display); letter-spacing: .14em; text-transform: uppercase; color: var(--rb-muted); }
.rb-col ul { list-style: none; margin: 0; padding: 0; }
.rb-col li + li { margin-top: 2px; }
.rb-hdr-wrap .rb-col a { display: block; padding: 7px 0; color: var(--rb-ink); text-decoration: none; font: 400 20px/1.2 var(--rb-body); }
.rb-col a small { display: block; margin-top: 2px; font-size: 16.5px; color: var(--rb-muted); }
.rb-hdr-wrap .rb-col a:hover { color: var(--rb-red); }
.rb-hdr-wrap .rb-col a:hover small { color: var(--rb-ink); }
.rb-card { background: var(--rb-ink); color: #fff; padding: 22px; }
.rb-card h3 { margin: 0 0 8px; font: 700 22px/1.1 var(--rb-display); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.rb-card p { margin: 0 0 16px; font: 400 18px/1.35 var(--rb-body); color: #e6e6e6; }

/* ---------- footer ---------- */
.rb-ftr { background: #111; color: #d2d2d2; font: 400 18px/1.45 var(--rb-body); }
.rb-ftr a { color: #d2d2d2; text-decoration: none; }
.rb-ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rb-ftr-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 54px; padding-bottom: 42px; }
.rb-ftr-logo { display: block; width: 150px; margin-bottom: 16px; }
.rb-ftr-logo img { display: block; width: 100%; height: auto; }
.rb-ftr .rb-tagline { margin: 0 0 16px; font: 700 21px/1.15 var(--rb-display); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.rb-ftr .rb-tagline sup { margin-left: 1px; font-size: .55em; line-height: 0; vertical-align: super; }
.rb-ftr address { margin: 0; font-style: normal; }
.rb-ftr h2 { margin: 0 0 14px; font: 700 12.5px/1 var(--rb-display); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.rb-ftr ul { list-style: none; margin: 0; padding: 0; }
.rb-ftr li + li { margin-top: 9px; }
.rb-ftr a.rb-phone { display: inline-block; margin: 0 0 4px; font: 700 23px/1 var(--rb-display); letter-spacing: .02em; color: #fff; }
.rb-ftr p { margin: 0; font: 400 18px/1.45 var(--rb-body); }
.rb-signup { margin: 0 0 14px; }
.rb-signup iframe { display: block; width: 100%; height: 60px; border: 0; }
.rb-social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rb-ftr-bottom { border-top: 1px solid #2e2e2e; }
.rb-ftr-bottom .rb-wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; padding-top: 22px; padding-bottom: 26px; font: 400 16px/1.45 var(--rb-body); color: #bdbdbd; }
.rb-ftr-bottom .rb-legal { flex: 1 1 560px; max-width: 760px; margin: 0; font-size: 16px; }

/* ---------- contact form (bootstrap_inc_contact.asp) ---------- */
.rb-contact { background: #000; color: #fff; padding: 56px 0 64px; font-family: var(--rb-body); }
.rb-contact *, .rb-contact *::before, .rb-contact *::after { box-sizing: border-box; }
.rb-contact-in { max-width: 780px; margin: 0 auto; }
.rb-contact h2 { margin: 0 0 12px; text-align: center; font: 700 34px/1.1 var(--rb-display); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.rb-contact-lede { margin: 0 auto 30px; max-width: 36em; text-align: center; font: 400 20px/1.45 var(--rb-body); color: #d6d6d6; }
.rb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.rb-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rb-field.rb-wide, .rb-form-actions { grid-column: 1 / -1; }
.rb-field label { font: 700 12.5px/1.25 var(--rb-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.rb-req { color: #ff8a92; }
.rb-field input, .rb-field select, .rb-field textarea { width: 100%; border: 2px solid #5a5a5a; border-radius: 0; background: #1c1c1c; color: #fff; padding: 12px 14px; font: 400 19px/1.3 var(--rb-body); box-shadow: none; color-scheme: dark; }
.rb-field textarea { min-height: 130px; resize: vertical; }
.rb-field input::placeholder { color: #9a9a9a; }
.rb-field input:focus, .rb-field select:focus, .rb-field textarea:focus { outline: 3px solid #1b6fd6; outline-offset: 1px; border-color: #fff; }
.rb-field [aria-invalid="true"] { border-color: #ff6b75; }
.rb-err { margin: 0; font: 400 17px/1.3 var(--rb-body); color: #ff9aa1; }
.rb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rb-alert { margin: 0 0 24px; padding: 16px 18px; border-left: 5px solid; font: 400 20px/1.4 var(--rb-body); }
.rb-alert-ok { background: #10301b; border-color: #3ecf6e; color: #e7ffef; }
.rb-alert-bad { background: #3a1015; border-color: #ff6b75; color: #ffe9eb; }
.rb-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rb-contact .rb-btn-red { border: 2px solid var(--rb-red); background: var(--rb-red); color: #fff; padding: 15px 30px; font-size: 14.5px; }
.rb-contact .rb-btn-red:hover { background: var(--rb-red-dark); border-color: var(--rb-red-dark); color: #fff; }
.rb-contact .rb-btn[disabled] { opacity: .7; cursor: wait; }
.rb-fine { margin: 0; font: 400 16px/1.4 var(--rb-body); color: #b9b9b9; }
.rb-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rb-dev { margin-top: -6px; padding: 12px 16px; background: #1c1c1c; border: 1px dashed #666; color: #ddd; font: 400 16px/1.4 var(--rb-body); }
.rb-dev pre { margin: 10px 0 0; white-space: pre-wrap; color: #ddd; background: transparent; border: 0; padding: 0; font: 400 15px/1.4 Consolas, monospace; }
@media (max-width: 767px) {
	.rb-contact { padding: 40px 0 48px; }
	.rb-contact h2 { font-size: 28px; }
	.rb-form { grid-template-columns: 1fr; }
	.rb-contact .rb-btn-red { width: 100%; }
}

/* ---------- below 1200px: menu button and expandable sections ---------- */
@media (max-width: 1199px) {
	.rb-hdr-in { gap: 12px; min-height: 68px; }
	.rb-logo { width: 116px; }
	.rb-burger { display: inline-flex; }
	.rb-actions { margin-left: auto; }
	.rb-actions .rb-btn { display: none; }
	.rb-cart span { display: none; }
	.rb-nav-wrap { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--rb-line);
		box-shadow: 0 22px 34px rgba(0, 0, 0, .18); max-height: calc(100vh - 80px); overflow: auto; }
	.rb-nav-wrap.is-open { display: block; }
	.rb-nav { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 15px 22px; }
	.rb-nav > li { border-bottom: 1px solid var(--rb-line); }
	.rb-row { justify-content: space-between; }
	.rb-row::before { display: none; }
	.rb-hdr-wrap .rb-link { flex: 1; padding: 20px 0; font-size: 15px; }
	.rb-tog { padding: 20px 6px 20px 20px; }
	.rb-panel { position: static; box-shadow: none; border: 0; }
	.rb-panel-in, .rb-panel-in.rb-cols-2 { display: block; padding: 0 0 14px 4px; }
	.rb-col { margin-bottom: 14px; }
	.rb-hdr-wrap .rb-col a { padding: 9px 0; }
	.rb-card { margin-top: 6px; }
	.rb-nav-cta { display: block; border-bottom: 0 !important; padding-top: 18px; }
	.rb-nav-cta .rb-btn { display: flex; width: 100%; }
	.rb-ftr-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}
@media (max-width: 767px) {
	.rb-util .rb-wrap { justify-content: center; }
	.rb-util .rb-hide-xs { display: none; }
	.rb-ftr-top { grid-template-columns: 1fr; padding-top: 40px; }
	.rb-ftr-bottom .rb-wrap { flex-direction: column; }
	.rb-ftr-bottom .rb-legal { flex: none; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .rb-hdr-wrap *, .rb-ftr * { transition: none !important; } }
@media print { .rb-hdr { position: static; } .rb-util, .rb-nav-wrap, .rb-burger, .rb-actions .rb-btn { display: none; } }
