#popup-octeg {
  --popup-width: 675px;
  --popup-height: 439px;
  --close-x: 14px;
  --close-y: 16px;
  --text-dist: 38px;
  --submit-width: 206px;
  --submit-height: 40px;
  --submit-radius: 20px;
  --submit-fontsize: 1.125em;
  --submit-dist: 6.5px;
  --thanks-button-dist: 35px;
  --blue: #2a3b74;
}

#popup-octeg .popup-content {
  width: 630px;
  height: 660px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/eg/popup-back.jpg);
  background-image: -webkit-image-set(url("../images/eg/popup-back.webp") 1x, url("../images/eg/popup-back@2x.webp") 2x);
  padding: 15px;
}

#popup-octeg .popup-default,
#popup-octeg .popup-start,
#popup-octeg .popup-thanks {
  width: 100%;
  height: 100%;
}

#popup-octeg .popup-default {
  display: none;
}

#popup-octeg .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: 17px;
}

#popup-octeg form {
  margin-top: 10px;
}

#popup-octeg .button {
  width: 280px;
  padding: 0;
  justify-content: center;
  align-items: center;
  height: 45px;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 43px;
  border-radius: 54px;
  background: #BF1E2E;
  padding-bottom: 4px;
}

#popup-octeg .popup-default .button {
  width: 235px;
}

#popup-octeg .popup-thanks .button {
  width: 235px;
}

#popup-octeg .reject:before,
#popup-octeg .reject:after {
  content: none !important;
}

#popup-octeg p {
  padding: 0;
  margin: 0;
  line-height: 1;
}

#popup-octeg .reject {
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  cursor: pointer;
  border: none;
  margin-top: 28px;
  padding: 0 !important;
}

#popup-octeg .thanks-text {
  color: #000;
  text-align: center;
  font-size: 26px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin-top: 24px;
}

#popup-octeg .main-top {
  color: #000;
  text-align: center;
  font-size: 29px;
  font-style: normal;
  font-weight: 800;
  line-height: 55px;
  /* 189.655% */
  margin-bottom: 28px;
}

#popup-octeg .form-text {
  color: #000;
  text-align: center;
  font-size: 43px;
  font-style: normal;
  font-weight: 800;
  line-height: 55px;
  /* 127.907% */
  margin-bottom: 33px;
}

#popup-octeg .thanks-top {
  color: #000;
  text-align: center;
  font-size: 29px;
  font-style: normal;
  font-weight: 800;
  line-height: 55px;
  /* 189.655% */
  margin-bottom: 22px;
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
  #popup-octeg .button {
    padding-bottom: 1px;
  }
}

@media screen and (max-width: 567px) {
  #popup-octeg {
    --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-octeg .popup-content {
    width: 100%;
    height: 100%;
  }

  #popup-octeg .form-text,
  #popup-octeg .main,
  #popup-octeg .thanks {
    max-width: 100%;
  }

  #popup-octeg .reject {
    max-width: 288px;
  }

  #popup-octeg .buttons {
    gap: 9px;
  }

  #popup-octeg .popup-default .button {
    margin-top: 20px;
  }

  #popup-octeg .popup-close {
    padding: 29px;
  }

  #popup-octeg .main {
    width: 95%;
  }

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

  #popup-octeg .main-top {
    font-size: 5cqw;
    line-height: 8cqw;
  }

  #popup-octeg .form-text {
    font-size: 8cqw;
  }

  #popup-octeg .thanks-top {
    font-size: 6cqw;
  }

  #popup-octeg .thanks-text {
    font-size: 5cqw;
    line-height: 6cqw;
  }

  #popup-octeg .thanks-text br {
    display: none;
  }

  /* Safari Only */
  @supports (background: -webkit-named-image(i)) {
    #popup-octeg .button {
      padding-top: 0;
    }
  }
}