/******************************************************************
Stylesheet: Madden Banners theme overrides
Matches Pebble Beach Concours colors, type, and CTA treatment.
******************************************************************/
/******************************************************************
Site Name:
Author:

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

******************************************************************/
.madden-banners-ticker {
  font-family: "Lato", sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(43, 46, 52, 0.08);
  gap: 0.75rem;
}
.madden-banners-ticker > *:not(:last-child) {
  margin-right: 0;
}
.madden-banners-ticker .ticker-content {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}
.madden-banners-ticker .ticker-content p {
  margin: 0;
  max-width: none;
  font-family: inherit;
  color: inherit;
}
.madden-banners-ticker .ticker-content a,
.madden-banners-ticker .ticker-content .madden-banners-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.madden-banners-ticker .ticker-content a:hover, .madden-banners-ticker .ticker-content a:focus,
.madden-banners-ticker .ticker-content .madden-banners-link:hover,
.madden-banners-ticker .ticker-content .madden-banners-link:focus {
  border-bottom-color: #AAB277;
  opacity: 0.92;
}
.madden-banners-ticker .ticker-content strong {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.madden-banners-ticker .ticker-cta {
  flex: 0 0 auto;
  padding: 0.45rem 1.1rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.madden-banners-ticker .ticker-cta:hover, .madden-banners-ticker .ticker-cta:focus {
  background-color: #79643f !important;
  color: #fff !important;
  border-color: #79643f;
}
.madden-banners-ticker .close-ticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(43, 46, 52, 0.35);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.madden-banners-ticker .close-ticker:hover, .madden-banners-ticker .close-ticker:active, .madden-banners-ticker .close-ticker:focus {
  opacity: 1;
  background-color: rgba(121, 100, 63, 0.85);
  border-color: #79643f;
}
.madden-banners-ticker .close-ticker img {
  width: 0.85rem;
  height: 0.85rem;
  filter: brightness(0) invert(1);
}

@media only screen and (min-width: 769px) {
  .madden-banners-ticker {
    min-height: 48px;
    height: auto;
    padding: 0.65rem 1.25rem;
  }
  .madden-banners-ticker .ticker-content {
    font-size: 1.05rem;
  }
  body.has-top-ticker {
    margin-top: 48px;
  }
}
@media only screen and (max-width: 768px) {
  .madden-banners-ticker {
    min-height: 60px;
    height: auto;
    padding: 0.65rem 0.75rem;
    flex-wrap: wrap;
  }
  .madden-banners-ticker .ticker-content {
    flex: 1 1 60%;
    font-size: 0.95rem;
    text-align: left;
  }
  .madden-banners-ticker .ticker-cta {
    order: 3;
    width: 100%;
    text-align: center;
    margin-top: 0.25rem;
  }
}
.madden-banners-flyin {
  max-width: 28rem;
  overflow: hidden;
  background-color: #f7f7f2;
  color: #64666B;
  border: 1px solid rgba(121, 100, 63, 0.35);
  box-shadow: 0 12px 40px rgba(43, 46, 52, 0.18);
}
.madden-banners-flyin.cta {
  max-width: 42rem;
}
.madden-banners-flyin .close-flyin {
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 102, 107, 0.25);
  background-color: #677472;
  cursor: pointer;
  z-index: 2;
}
.madden-banners-flyin .close-flyin:hover, .madden-banners-flyin .close-flyin:active, .madden-banners-flyin .close-flyin:focus {
  opacity: 1;
  background-color: #79643f;
  border-color: #79643f;
}
.madden-banners-flyin .close-flyin:hover img, .madden-banners-flyin .close-flyin:active img, .madden-banners-flyin .close-flyin:focus img {
  filter: brightness(0) invert(1);
}
.madden-banners-flyin .close-flyin img {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0.85;
}
.madden-banners-flyin .flyin-content {
  padding: 2.25rem 1.75rem 1.75rem;
}
.madden-banners-flyin .flyin-content h3 {
  margin: 0 0 0.75rem;
  max-width: none;
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #2B2E34;
}
.madden-banners-flyin .flyin-content p {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: 1.125rem !important;
  line-height: 1.45;
  color: #64666B;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  max-width: 35rem;
  padding-right: 1rem;
}
.madden-banners-flyin .flyin-content .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 11rem;
  margin: 0.25rem 0 0;
  padding: 0.7rem 1.35rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #677472 !important;
  border: 1px solid #677472;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.madden-banners-flyin .flyin-content .cta-button svg {
  width: 14px;
  height: 1rem;
  margin-left: 0.55rem;
  fill: currentColor;
}
.madden-banners-flyin .flyin-content .cta-button:hover, .madden-banners-flyin .flyin-content .cta-button:focus {
  background: #79643f !important;
  border-color: #79643f;
  color: #fff;
}
.madden-banners-flyin .flyin-content .cta-button:hover svg, .madden-banners-flyin .flyin-content .cta-button:focus svg {
  transform: translateX(0.35rem);
}
.madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group input {
  padding: 0.65rem 0.75rem;
  border: 1px solid #919D9B;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: #2B2E34;
  background-color: #fff;
}
.madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group input:focus {
  outline: 2px solid #79643f;
  border-color: #79643f;
}
.madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group button[type=submit] {
  padding: 0.65rem 1rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  background-color: #677472 !important;
  border: 1px solid #677472;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group button[type=submit] svg {
  fill: #fff;
}
.madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group button[type=submit]:hover, .madden-banners-flyin .flyin-content .mail-signup #mc_embed_signup_scroll .mc-field-group button[type=submit]:focus {
  background-color: #79643f !important;
  border-color: #79643f;
}
.madden-banners-flyin .flyin-content .survey .madden-banners-survey-option {
  font-family: "Oswald", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #677472;
  color: #fff;
  border: 1px solid #677472;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.madden-banners-flyin .flyin-content .survey .madden-banners-survey-option:hover, .madden-banners-flyin .flyin-content .survey .madden-banners-survey-option:focus {
  background-color: #79643f;
  border-color: #79643f;
}
.madden-banners-flyin .flyin-content .thank-you-for-subscribing {
  font-family: "EB Garamond", serif;
  font-style: italic;
  color: #79643f;
}
.madden-banners-flyin.cta .flyin-content {
  background-color: #f7f7f2;
}
.madden-banners-flyin.cta .flyin-content h3,
.madden-banners-flyin.cta .flyin-content p {
  text-align: left;
}
.madden-banners-flyin.cta .flyin-content h3 {
  font-size: 2.25rem !important;
  color: #79643f;
  font-family: "EB Garamond", serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.madden-banners-flyin.cta .flyin-content .cta-button {
  margin: 0.5em 0 0;
}
.madden-banners-flyin.cta .flyin-image {
  min-height: 14rem;
  border-left: 1px solid rgba(121, 100, 63, 0.2);
}

@media only screen and (max-width: 768px) {
  .madden-banners-flyin {
    width: min(98%, 26rem);
    max-height: 85vh;
    height: auto;
  }
  .madden-banners-flyin .flyin-content h3 {
    font-size: 1.35rem !important;
  }
  .madden-banners-flyin .flyin-content p {
    font-size: 1.05rem !important;
  }
  .madden-banners-flyin.cta {
    width: min(98%, 26rem);
    flex-direction: column;
  }
  .madden-banners-flyin.cta .flyin-content,
  .madden-banners-flyin.cta .flyin-image {
    flex: 1 1 auto;
    width: 100%;
  }
  .madden-banners-flyin.cta .flyin-image {
    min-height: 10rem;
    border-left: none;
    border-top: 1px solid rgba(121, 100, 63, 0.2);
  }
  .madden-banners-flyin.cta .flyin-content h3 {
    font-size: 1.5rem !important;
  }
}
