:root {
  --popup-width: 704px;
  --popup-height: 498px;
  --close-x: 32px;
  --close-y: 34px;
  --text-dist: 38px;
  --submit-width: 206px;
  --submit-height: 40px;
  --submit-radius: 20px;
  --submit-fontsize: 1.125em;
  --submit-dist: 6.5px;
  --thanks-button-dist: 35px;
}

#popup-july .border-gray {
  border-color: rgb(118, 118, 118);
}

html {
  overflow-x: hidden;
}

.body.scrolllock-on,
body.scrolllock-on {
  top: unset !important;
}

#popup-july {
  --blue: #2a3b74;
}

#popup-july .popup-content {
  width: 745px;
  height: 510px;
  max-height: 100%;
  border: none;
  background-image: url(../images/hero/popup-back.jpg);
  background-image: -webkit-image-set(url("../images/hero/popup-back.jpg") 1x,
      url("../images/hero/popup-back@2x.jpg") 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#popup-july .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: var(--close-y) var(--close-x);
}

#popup-july form {
  margin-top: 7px;
}

#popup-july .button {
  width: 10em;
  height: 2.2em;
  border-radius: 0;
  margin-top: 20px;
  font-size: 1.25em;
  padding: 0;
}

#popup-july .form-action {
  justify-content: center;
  display: flex;
}

#popup-july form {
  width: 615px;
}

#popup-july .popup-thanks .button {
  margin-top: 20px;
  z-index: 2;
}

#popup-july .popup-img {
  top: -2.5em;
  left: -4.5em;
}

#popup-july .form-text {
  font-size: 42px;
  text-transform: uppercase;
  font-family: "delittle-chromatic";
  margin-bottom: 0;
}

#popup-july .thanks-top {
  font-size: 39px;
  font-family: "delittle-chromatic";
}

#popup-july .thanks-bottom {
  font-size: 24px;
}

#popup-july .close {
  opacity: 1;
}

#popup-july .thanks-img {
  max-width: unset;
  left: 50%;
  transform: translateX(-48%);
  width: 834px;
  z-index: 0;
}


@supports (background: -webkit-named-image(i)) {
  #popup-july .button {
    padding-top: 2px;
  }
}


@media screen and (min-width: 568px) {}

@media screen and (max-width: 567px) {
  :root {
    --popup-width: 100%;
    --popup-height: 100%;
    --close-x: 16px;
    --close-y: 20px;
    --text-dist: 21px;
    --submit-width: 150px;
    --submit-height: 33px;
    --submit-radius: 17px;
    --submit-fontsize: 0.8125em;
    --submit-dist: 10px;
    --thanks-button-dist: 24px;
  }

  #popup-july .popup-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: none;
    background-image: unset;
  }

  #popup-july .popup-default {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: none;
    background-image: url(../images/hero/popup-back-m.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back-m.jpg") 1x,
        url("../images/hero/popup-back-m@2x.jpg") 2x);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  #popup-july .popup-thanks {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: none;
    background-image: url(../images/hero/thanks-back-m.jpg);
    background-image: -webkit-image-set(url("../images/hero/thanks-back-m.jpg") 1x,
        url("../images/hero/thanks-back-m@2x.jpg") 2x);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
  }

  #popup-july form {
    margin-top: 21px;
    width: calc(100% - 50px);
  }

  #popup-july .thanks {
    width: 100%;
  }

  #popup-july .popup-form,
  #popup-july .popup-inner {
    width: 100%;
  }

  #popup-july .form-text {
    font-size: 34px;
  }

  #popup-july .button {
    font-size: 1.1em;
  }

  #popup-july .thanks {
    width: 95%;
  }

  #popup-july .popup-thanks.popup-inner {
    padding: 0 !important;
  }

  #popup-july .thanks-top {
    font-size: 23px;
  }

  #popup-july .thanks-bottom {
    font-size: 20px;
  }
}