/* CSS */
.ap-email-getupdates {
  display: none;
  color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.8);
  opacity: 1;
  z-index: 700;

  justify-content: center;
  align-items: flex-end;
}

.ap-email-getupdates.js-show {
  display: flex;

}

@media screen and (min-width: 480px) {
  .ap-email-getupdates {
    justify-content: center;
    align-items: center;
    /* height: 100dvh; */
  }
}

.ap-email-getupdates-content {
  position: relative;
  background: #000;
  background-image: url(../img/ap-email-getupdates-bg-sm.webp);
  background-size: contain;
  background-position: top center;
  width: 100vw;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media screen and (min-width: 480px) {
  .ap-email-getupdates-content {
    background-image: url(../img/ap-email-getupdates-bg.webp);
    background-size: cover;
    background-position: center right;
    min-height: 500px;
    width: 90dvw;
    height: auto;
    padding: 2rem 3rem;
    display: block;
  }
}


@media screen and (min-width: 480px) {
  .ap-email-getupdates-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    max-width: 400px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
  }
}

.ap-email-getupdates__close {
  font-size: 4rem;
  font-weight: 100;
  line-height: .5;
  color: #fff;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.ap-email-getupdates__close:hover {
  color: #fff;
  opacity: .8;
}

.ap-email-getupdates__close:link,
.ap-email-getupdates__close:visited {
  color: #fff;
}

.ap-email-getupdates__inner {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 479px) {
  .ap-email-getupdates__inner {
    padding: 3rem 1rem 1rem;
    max-width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  }
}

.ap-email-getupdates__title {
  font-family: 'OldStyleMT-Regular', serif;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.2;
  color: #fff;
  text-align: left;
  margin-bottom: .5rem;
}

.ap-email-getupdates__text {
  text-align: left;
  margin-bottom: 1.5rem;
}

.ap-email-getupdates__name-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 0;
}

@media screen and (min-width: 480px) {
  .ap-email-getupdates__name-wrapper {
    flex-direction: row;
    gap: .5rem;
  }
}

.ap-email-getupdates__field[type=text],
.ap-email-getupdates__field[type=email] {
  border-radius: 6px;
  border: 2px solid #C2C2C2;
  background: #FFF;
  margin: 0 0 .5rem;
  color: #959090;
  font-size: .8rem;
}

.ap-email-getupdates__firstname {
  display: block;
}

.ap-email-getupdates__lastname {
  display: block;
}

.ap-email-getupdates__email {
  width: 100%;
  display: block;
}

.ap-email-getupdates .captcha__element {
  margin-bottom: .5rem;
}

.ap-email-getupdates__submit[type=submit] {
  color: #FFF;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0.9px;
  width: 100%;
  margin: 0;
}

.ap-email-getupdates span.show-getupdates-message {
  color: #fff !important;
  padding: 1rem 0;
  display: block;
  font-size: 1.5rem;
}

.ap-email-getupdates span.show-getupdates-message:empty {
  padding: 0;
}
