@import url("https://use.typekit.net/nmd4drm.css");

/* The fundraiser itself is a white, spacious composition. This ticker follows
   its hero and top-bar language: line art, small seal, navy type, gold hairlines,
   and the framed navy donation pill. */
#new-campaign-ticker-wrapper {
  --ticker-light: #ffffff;
  --ticker-dark: #264478;
  --ticker-text: #264478;
  --ct-navy: #264478;
  --ct-gold: #d3a728;
  --ct-sans: "sweet-sans-pro", sans-serif;
  --ct-banner: url("https://w3.chabad.org/media/images/1374/Onrb13748278.jpg");
  --ct-seal: url("https://w2.chabad.org/media/images/1374/xUmy13748142.png");

  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(255,255,255,.91), rgba(255,255,255,.91)),
    var(--ct-banner);
  background-position: center 46%;
  background-size: cover;
  border-top: 1px solid rgba(211,167,40,.42);
  border-bottom: 1px solid rgba(211,167,40,.42);
}

body #new-campaign-ticker-wrapper .fs-ticker-container {
  width: min(1180px, 94%);
  min-height: 0 !important;
  margin: 0 auto;
  padding: 2px 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent !important;
  color: var(--ct-navy);
}

/* Bootstrap's .container-fluid clearfix pseudos become anonymous grid items.
   Remove them so only the two real ticker sections participate in layout. */
body #new-campaign-ticker-wrapper .fs-ticker-container::before,
body #new-campaign-ticker-wrapper .fs-ticker-container::after {
  content: none !important;
  display: none !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container,
body #new-campaign-ticker-wrapper .fs-ticker-container div,
body #new-campaign-ticker-wrapper .fs-ticker-container p,
body #new-campaign-ticker-wrapper .fs-ticker-container a,
body #new-campaign-ticker-wrapper .fs-ticker-container b,
body #new-campaign-ticker-wrapper .fs-ticker-container strong,
body #new-campaign-ticker-wrapper .fs-ticker-container small,
body #new-campaign-ticker-wrapper .fs-ticker-container label,
body #new-campaign-ticker-wrapper .fs-ticker-container span:not(.glyphicon):not(.fa),
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-btn {
  font-family: var(--ct-sans) !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .glyphicon {
  font-family: "Glyphicons Halflings" !important;
}

/* Campaign identity: the same small Centennial mark used in the fundraiser hero. */
body #new-campaign-ticker-wrapper .fs-ticker-container div.fs-ticker-heading-container {
  width: 43%;
  min-width: 0;
  padding: 4px 30px 4px 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container::before,
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading::before {
  content: "" !important;
  position: static;
  display: block !important;
  grid-area: seal;
  width: 50px !important;
  height: 63px !important;
  margin: 0;
  background-color: transparent !important;
  background-image: var(--ct-seal) !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#new-campaign-ticker-wrapper .fs-ticker-heading {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) !important;
  grid-template-areas:
    "seal title"
    "seal tagline";
  column-gap: 18px !important;
  row-gap: 4px !important;
  align-items: center;
  text-align: left;
}

#new-campaign-ticker-wrapper .fs-ticker-heading > a {
  grid-area: title;
  min-width: 0;
  display: block;
}

#new-campaign-ticker-wrapper .fs-ticker-heading a,
#new-campaign-ticker-wrapper .fs-ticker-heading a:hover {
  color: var(--ct-navy);
  text-decoration: none;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large,
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large b {
  color: var(--ct-navy);
  font-family: var(--ct-sans);
  font-size: clamp(22px, 1.8vw, 25px) !important;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-small {
  grid-area: tagline;
  margin: 0;
  color: var(--ct-navy);
  font-family: var(--ct-sans);
  font-size: 10px !important;
  font-weight: 400;
  line-height: 1.35 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* The fundraiser intentionally hides its countdown. The ticker does too. */
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-countdown-container {
  display: none !important;
}

/* Goal information is one quiet data block, separated by a gold hairline. */
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  padding: 8px 44px;
  position: relative;
  background: transparent !important;
  color: var(--ct-navy);
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 1px;
  height: auto;
  background: rgba(211,167,40,.55) !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container .fs-ticker-goal {
  margin: 0 0 10px;
  color: var(--ct-navy);
  font-family: var(--ct-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container .fs-ticker-goal b {
  margin-left: 7px;
  color: var(--ct-navy);
  font-family: var(--ct-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-graph {
  height: 7px;
  overflow: hidden;
  background: rgba(38,68,120,.16) !important;
  border: 0 !important;
  border-radius: 20px;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-graph .fs-goal-graph-fill {
  height: 100%;
  background: var(--ct-gold) !important;
  border-radius: 20px;
}

/* The platform's nested ticker rule otherwise repaints the live fill navy. */
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal-graph .fs-goal-graph-fill {
  background: var(--ct-gold) !important;
}

/* The platform's deeper ticker selectors otherwise restore a bulky 20px bar
   and 20px side margins at smaller breakpoints. */
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal {
  margin-bottom: 4px !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal-graph {
  height: 7px !important;
  margin: 4px auto !important;
  padding: 0 !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal-complete-container {
  margin: 6px auto 0 !important;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container {
  margin-top: 9px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(38,68,120,.78);
  font-family: var(--ct-sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container div span {
  color: var(--ct-navy);
  font-family: var(--ct-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
}

/* Exact fundraiser CTA: navy pill, white breathing room, navy outer ring. */
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate {
  width: 176px;
  min-width: 176px;
  flex: 0 0 176px;
  padding: 0 8px;
  text-align: center;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  padding: 12px 25px;
  background: var(--ct-navy) !important;
  color: #ffffff !important;
  border: 0;
  border-radius: 50px;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--ct-navy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn:hover,
body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn:focus {
  background: var(--ct-navy) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--ct-navy);
  transform: translateY(-2px);
  opacity: .9;
  text-decoration: none;
}

#new-campaign-ticker-wrapper .fs-ticker-donate .glyphicon {
  display: none !important;
  top: 0;
  font-size: 10px;
}

body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn::after {
  content: none !important;
  display: none !important;
}

/* The campaign-info wrapper is a second nested flex row in the real ticker DOM. */
body #new-campaign-ticker-wrapper .fs-ticker-campaign-info-container,
body #new-campaign-ticker-wrapper .fs-ticker-campaign-info {
  min-width: 0;
}

/* Desktop: use a deterministic center split instead of mixing a percentage
   heading with the platform's inherited campaign widths. */
@media (min-width: 992px) {
  body #new-campaign-ticker-wrapper .fs-ticker-container {
    display: grid !important;
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
    grid-template-areas: "identity progress";
    grid-template-rows: auto;
    align-items: center;
    gap: 0;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container > div.fs-ticker-heading-container {
    grid-area: identity;
    width: auto !important;
    min-width: 0;
    padding: 4px 32px 4px 12px !important;
    float: none !important;
    box-sizing: border-box;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container > .fs-ticker-campaign-info-container {
    grid-area: progress;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-campaign-info-container > .fs-ticker-campaign-info {
    width: 100% !important;
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-areas: "goal donate";
    align-items: center;
    column-gap: 0;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-campaign-info > .fs-ticker-goal-container {
    grid-area: goal;
    width: auto !important;
    min-width: 0;
    padding: 8px 32px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-campaign-info > .fs-ticker-donate {
    grid-area: donate;
    width: 150px !important;
    min-width: 150px !important;
    flex: 0 0 150px !important;
    padding: 0 !important;
  }
}

/* The platform adds auto margins to the goal below 1200px. In a grid track
   that disables stretch, makes the stats wrap, and pushes the ticker under
   the site's 100px desktop header. Keep the goal filling its assigned track. */
@media (min-width: 992px) and (max-width: 1199px) {
  body #new-campaign-ticker-wrapper .fs-ticker-campaign-info > .fs-ticker-goal-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 7px 32px !important;
    justify-self: stretch;
    box-sizing: border-box;
  }
}

/* Tablet + phone: identity on row one; goal + Donate on row two. */
@media (max-width: 991px) {
  body #new-campaign-ticker-wrapper .fs-ticker-container {
    width: min(760px, 92%);
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding: 6px 0 !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container div.fs-ticker-heading-container {
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
    float: none !important;
    display: block;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading {
    grid-template-columns: 38px auto !important;
    grid-template-areas: "seal title";
    justify-content: center;
    column-gap: 12px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading::before {
    width: 38px !important;
    height: 48px !important;
    margin: 0;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large,
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large b {
    font-size: 18px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-small {
    display: none !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "goal donate";
    column-gap: 18px;
    align-items: center;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate {
    grid-area: donate;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 5px 0 0;
    float: none !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 12px;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container {
    grid-area: goal;
    width: auto;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    float: none !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container::before {
    display: none;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container {
    max-width: 440px;
  }
}

@media (max-width: 520px) {
  #new-campaign-ticker-wrapper {
    background-image:
      linear-gradient(rgba(255,255,255,.965), rgba(255,255,255,.965)),
      var(--ct-banner) !important;
    background-position: center 46% !important;
    background-size: cover !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container {
    width: 100%;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-areas:
      "heading donate"
      "goal goal";
    align-items: stretch;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container div.fs-ticker-heading-container {
    grid-area: heading;
    width: auto !important;
    min-width: 0;
    padding: 7px 2px 7px 12px !important;
    align-self: center;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading::before {
    display: block !important;
    width: 28px !important;
    height: 35px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    grid-template-areas:
      "seal title"
      "seal tagline";
    column-gap: 9px !important;
    row-gap: 0 !important;
    justify-content: start;
    align-items: center;
    text-align: left;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large,
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large b {
    font-size: 14.5px !important;
    line-height: 1.05 !important;
    letter-spacing: 1px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-small {
    display: block !important;
    font-size: 7.5px !important;
    line-height: 1.15 !important;
    letter-spacing: 1px !important;
    opacity: .78;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container,
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info {
    display: contents !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container {
    grid-area: goal;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 7px 14px 8px !important;
    background: var(--ct-navy) !important;
    color: #ffffff !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container .fs-ticker-goal {
    margin: 0 0 2px !important;
    color: var(--ct-gold) !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    letter-spacing: 2px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-container .fs-ticker-goal b {
    margin-left: 5px;
    color: #ffffff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    letter-spacing: .8px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal-graph {
    height: 5px !important;
    margin: 3px auto !important;
    background: rgba(255,255,255,.2) !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-goal-container .fs-ticker-goal-complete-container {
    max-width: none;
    margin: 4px auto 0 !important;
    gap: 16px;
    color: rgba(255,255,255,.78) !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container > div {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    gap: 1px;
    color: rgba(255,255,255,.74) !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    letter-spacing: 1px !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container > div:last-child {
    align-items: flex-end;
    text-align: right;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-goal-complete-container div span {
    color: var(--ct-gold) !important;
    font-size: 12px !important;
    line-height: 1.05 !important;
  }

  /* The live theme carries its own !important navy text rules. These exact
     selectors keep the fundraiser's navy-band contrast intact. */
  html body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-campaign-info .fs-ticker-goal-container .fs-ticker-goal {
    color: var(--ct-gold) !important;
  }

  html body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-campaign-info .fs-ticker-goal-container .fs-ticker-goal b {
    color: #ffffff !important;
  }

  html body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-campaign-info .fs-ticker-goal-container .fs-ticker-goal-complete-container div.fs-ticker-goal-total-raised,
  html body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-campaign-info .fs-ticker-goal-container .fs-ticker-goal-complete-container div.fs-ticker-goal-percent-complete {
    color: rgba(255,255,255,.74) !important;
  }

  html body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info-container .fs-ticker-campaign-info .fs-ticker-goal-container .fs-ticker-goal-complete-container div span {
    color: var(--ct-gold) !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate {
    grid-area: donate;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0 8px 0 4px;
    border: 0;
    align-self: center;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn {
    width: auto;
    min-width: 72px;
    min-height: 44px;
    padding: 8px 11px;
    font-size: 10px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px var(--ct-navy);
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn:hover,
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn:focus {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ct-navy);
  }
}

@media (max-width: 350px) {
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading {
    grid-template-areas: "seal title";
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-small {
    display: none !important;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large,
  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-heading-container .fs-ticker-heading .fs-ticker-heading-large b {
    font-size: 14px;
    letter-spacing: 1.2px;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-campaign-info {
    column-gap: 10px;
  }

  body #new-campaign-ticker-wrapper .fs-ticker-container .fs-ticker-donate .fs-btn {
    padding-left: 12px;
    padding-right: 12px;
    letter-spacing: 1.5px;
  }
}
