/**********************
Mobile and up view - lowest is 390px
 **********************/
.footer-main {
  font-family: "Prompt", sans-serif;
}

.footer-content {
  background-image: linear-gradient(
    to bottom,
    #8e68ad,
    #9a67ab,
    #a565a8,
    #af64a4,
    #b963a0,
    #bd6199,
    #c05f91,
    #c35e8a,
    #c05b7f,
    #bc5974,
    #b7576a,
    #b25661
  );
  color: var(--ui-color-off-light);
  position: relative;
  overflow: hidden;
}

.logo-contact {
  padding: 60px 10px 0;
  display: flex;
  justify-content: space-between;
}

.footer-logo img {
  height: 31px;
  width: 91px;
}

.logo-contact > .footer-social {
  display: none;
  font-size: 1.25rem;
  margin: 20px 0;
}

.logo-contact > .footer-social img {
  padding: 0 20px;
  height: 18px;
}

.footer-contact {
  font-size: 0.75rem;
  text-transform: uppercase;
  text-align: right;
  letter-spacing: 0.08em;
}

.footer-phone a {
  color: var(--ui-color-light);
}

.footer-address {
  margin: 10px 0 0;
  line-height: 1;
}

.footer-address p {
  margin: 0;
}

.footer-contact > .footer-social {
  font-size: 1.25rem;
  margin: 20px 0;
}

.footer-contact > .footer-social img {
  padding: 0 10px;
  height: 18px;
}

.footer-social a:focus-visible {
  border: 2px solid var(--brand-color-dark);
  border-radius: 0.5rem;
}

.footer-menu-form-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 455px;
}

.footer-menu-wrapper {
  display: flex;
  flex-direction: column;
}

h3.footer-menu-item-title {
  border: none;
  display: flex;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 38px;
  margin: 0;
  padding: 0 10px;
  position: relative;
  text-transform: uppercase;
  color: var(--ui-color-light);
}

.footer-menu-item-title span::after {
  color: rgba(0, 0, 0, 0);
  text-shadow: 0 0 var(--ui-color-off-light);
  /* content: "\2795"; */
  content: url(/images/nasmlibraries/template/plus-sign-white.png);
  font-style: normal;
  position: absolute;
  right: 10px;
  top: 2px;
  bottom: 0;
  font-size: 1rem;
  cursor: pointer;
}

.active .footer-menu-item-title span::after {
  /* content: "\2796"; */
  content: url(/images/nasmlibraries/template/minus-sign-white.png);
  top: -5px;
}

.footer-menu-item-title span.hidden::after {
  display: none;
}

.footer-menu-subitem-wrapper {
  padding-left: 10px;
  font-size: 0.75rem;
  max-height: 0;
  transition: 0.5s all;
  overflow: hidden;
}

.footer-menu-subitem,
a.footer-menu-subitem {
  color: var(--ui-color-light);
  margin: 5px 0;
  font-weight: 500;
  font-size: 1rem;
  line-height: 43px;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}

a.footer-menu-subitem {
  display: block;
}

.active .footer-menu-subitem-wrapper {
  max-height: 1000px;
}

.footer-form-wrapper {
  margin: 63px 0 84px 10px;
  display: none;
}

.footer-form-wrapper h1 {
  margin: 0;
  color: var(--ui-color-off-light);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  width: 200px;
}

.footer-form-wrapper form {
  margin-top: 88px;
}

.footer-form-wrapper input {
  margin-top: 28px;
  width: 268px;
  color: var(--ui-color-off-light);
  font-size: 1.125rem;
  line-height: 30px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  background: transparent;
  outline: none;
  border: none;
  border-bottom: 3px solid var(--ui-color-light);
  border-right: 3px solid var(--ui-color-light);
  padding: 0 10px 6px 0;
}

.footer-form-wrapper input:focus {
  outline: none;
}

.footer-form-wrapper button {
  border-bottom: 3px solid var(--ui-color-light);
  color: var(--ui-color-off-light);
  text-align: center;
  font-size: 1.125rem;
  line-height: 30px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  padding: 0 11px 5px 14px;
  cursor: pointer;
  margin-left: -3px;
}

.footer-form-wrapper .small-print {
  color: var(--ui-color-off-light);
  font-size: 0.75rem;
  line-height: 12px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  max-width: 294px;
  margin: 20px 0 0;
}

.footer-cta {
  color: var(--ui-color-off-light);
  font-size: 2.1875rem;
  font-style: italic;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px;
  --gap: 1rem;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  position: absolute;
  bottom: -0.5rem;
}

.footer-cta-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll 20s linear infinite;
}

ul.footer-cta-content {
  list-style: none;
  margin-bottom: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.copyright-wrapper {
  background: var(--brand-color-highlight);
  color: var(--ui-color-off-dark);
  font-size: 0.5625rem;
  font-weight: 600;
  line-height: 12px;
  letter-spacing: 0.1em;
  padding: 10px;
  text-transform: uppercase;
  position: relative;
}

.copyright-wrapper p {
  margin: 0;
}

.copyright-links a {
  color: var(--ui-color-off-dark);
}

.footer-menu-subitem-wrapper a:focus-visible {
  border: 2px solid var(--brand-color-dark);
  border-radius: 0.5rem;
}

.copyright-wrapper a:focus-visible {
  border: 2px solid var(--brand-color-dark);
  border-radius: 0.5rem;
}

/**********************
    Tablet and up view - 768px
    **********************/
@media (min-width: 768px) {
  .footer-content {
    background-image: linear-gradient(
      to right,
      #8e68ad,
      #9a67ab,
      #a565a8,
      #af64a4,
      #b963a0,
      #bd6199,
      #c05f91,
      #c35e8a,
      #c05b7f,
      #bc5974,
      #b7576a,
      #b25661
    );
  }

  .logo-contact {
    padding: 78px 77px 0;
    margin-bottom: 120px;
  }

  .footer-menu-wrapper {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .footer-menu-item-title span::after {
    display: none;
  }

  .footer-menu-subitem-wrapper {
    display: block !important;
    max-height: 1000px;
  }

  .footer-form-wrapper input {
    width: 300px;
  }

  .footer-cta {
    font-size: 5.125rem;
    bottom: -1.1rem;
  }

  .copyright-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
}

/**********************
    Tablet Landscape and up view - 1024px
    **********************/
@media (min-width: 1024px) {
  .footer-logo {
    flex-basis: 33.3%;
  }

  .footer-logo img {
    height: 57px;
    width: 168px;
  }

  .logo-contact > .footer-social {
    display: flex;
    flex-basis: 33.3%;
    justify-content: center;
  }

  .footer-contact {
    flex-basis: 33.3%;
  }

  .footer-contact > .footer-social {
    display: none;
  }

  .footer-menu-form-wrapper {
    /* 7/24 Uncomment the below line
          if adding in footer form! */
    /* flex-direction: row-reverse; */
    justify-content: space-between;
    padding: 0 87px;
    margin-bottom: 120px;
  }

  .footer-form-wrapper {
    flex-basis: 48%;
    margin-top: 10px;
    max-width: 454px;
  }

  .footer-form-wrapper h1 {
    margin: 0;
    font-size: 3rem;
    line-height: 44px;
    width: auto;
  }

  .footer-form-wrapper form {
    margin-top: 88px;
  }

  .footer-form-wrapper input {
    margin-top: 88px;
    font-size: 1.125rem;
    line-height: 30px;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    padding: 0 10px 14px 0;
  }

  .footer-form-wrapper input:focus {
    outline: none;
  }

  .footer-form-wrapper button {
    border-bottom: 3px solid var(--ui-color-light);
    color: var(--ui-color-off-light);
    text-align: center;
    font-size: 1.125rem;
    line-height: 30px;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    padding: 0 18px 13px 21px;
    cursor: pointer;
    margin-left: -3px;
  }

  .footer-form-wrapper .small-print {
    color: var(--ui-color-off-light);
    font-size: 0.75rem;
    line-height: 12px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    max-width: 336px;
    margin: 20px 0 0;
  }

  /* 7/24 Told to Hide Footer Form
        Made adjustments to layout to cover space */

  /*
      .footer-menu-wrapper {
          flex-basis: 52%;
      }

      .footer-menu-item:first-of-type {
          display: none;
      }
      */

  .footer-menu-item-title {
    font-size: 0.7188rem;
  }

  .footer-menu-subitem {
    font-size: 0.7188rem;
  }

  .footer-cta {
    font-size: 6.875rem;
    bottom: -1.5rem;
  }
}

/**********************
    Laptop and up view - 1440px
    **********************/
@media (min-width: 1440px) {
  .footer-menu-item-title {
    font-size: 1rem;
  }

  .footer-menu-subitem {
    font-size: 1rem;
  }

  .footer-form-wrapper h1 {
    width: 460px;
  }

  .footer-form-wrapper input {
    width: 300px;
  }

  .footer-cta {
    font-size: 10.5rem;
    bottom: -2.3rem;
    letter-spacing: 0.04em;
  }
}

/*********************
    Desktop view - highest is 1900px
    **********************/

/* Telerik overrides */

.sfContentBlock p {
  margin-bottom: 0;
}