/* Site-wide offer bar. Rendered inside the site header by Views/Partials/Components/_OfferBar.cshtml,
   only while an offer is switched on in Site Settings and hasn't ended. */
.tf-offerbar {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(28, 35, 64, .94);
  color: #FFFFFF;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  font-family: 'ITCAvantGardeStd-Bold', 'Century Gothic', Futura, Arial, sans-serif;
  font-weight: 700;
  -webkit-text-size-adjust: 100%;
}
.tf-offerbar *, .tf-offerbar *::before, .tf-offerbar *::after { box-sizing: border-box; }
/* Everything in the bar uses the real bold face. The site sets the regular face on bare a and p tags, so inherit it back. */
.tf-offerbar { font-synthesis: none; }
.tf-offerbar * { font-family: inherit; }
/* The site header has 20px (phones) or 40px side padding. Pull the bar out to the full width so it isn't inset once the header turns white. */
.site_header > .tf-offerbar { width: auto; margin-left: -20px; margin-right: -20px; }
@media only screen and (min-width: 40.063em) { .site_header > .tf-offerbar { margin-left: -40px; margin-right: -40px; } }
.tf-offerbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 44px;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  text-align: center;
}
.tf-offerbar p { margin: 0; padding: 0; font-size: 14px; line-height: 1.3; color: inherit; text-transform: none; letter-spacing: 0; }
.tf-offerbar__long { display: none; }
/* The offer in bright blue, the countdown in white beside it */
.tf-offerbar__msg { color: #1AC1E8; }
.tf-offerbar__time { display: inline-block; margin-left: 10px; color: #FFFFFF; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tf-offerbar__btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0;
  padding: 0 16px;
  border-radius: 12px;
  background: #1AC1E8;
  color: #1C2340 !important;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
  text-transform: none;
  white-space: nowrap;
}
.tf-offerbar__btn:hover { background: #48CFEE; }
.tf-offerbar__btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
/* Phones and tablets: the whole bar is one link to the join site, with an arrow so it looks tappable */
.tf-offerbar__tap { position: absolute; inset: 0; z-index: 1; -webkit-tap-highlight-color: rgba(26, 193, 232, .25); }
.tf-offerbar__tap:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -4px; }
.tf-offerbar__chev { display: inline-block; vertical-align: -2px; margin-left: 4px; color: #FFFFFF; }

@media (min-width: 640px) {
  .tf-offerbar__short { display: none; }
  .tf-offerbar__long { display: inline; }
  .tf-offerbar p { font-size: 16px; }
}
@media (min-width: 960px) {
  .tf-offerbar__btn { display: inline-flex; }
  .tf-offerbar__tap, .tf-offerbar__chev { display: none; }
}
