#popups .flex > .half {
  flex-basis: 50%;
  flex: 1;
}

#popups .flex > .full {
  flex-basis: 100%;
}

#popups .clickable {
  display: inline-block;
  cursor: pointer;
}

#popups .uppercase {
  text-transform: uppercase;
}

#popups .button {
  display: inline-block;
  font-size: 17px;
  text-decoration: none;
  border: none;
  max-width: 100%;
  width: 113px;
  height: 40px;
  line-height: 40px;
  transition: all .3s;
  opacity: 1;
}

#popups .button.disabled {
  opacity: 0;
}

#popups {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

#popups .popup-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#popups .popup-content {
  padding: 56px 0;
  max-width: calc(100% - 30px);
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../../images/benefits/popup-bg.png");
  background-image: -webkit-image-set(url("../../images/benefits/popup-bg.png") 1x, url("../../images/benefits/popup-bg@2x.png") 2x);
}

#popups .popup-content .jp-close {
  position: absolute;
  top: 14px;
  right: 12px;
  font-size: 27px;
  color: #000;
  line-height: 48px;
  width: 50px;
  text-align: center;
  padding-top: 2px;
}

#popups .jp-inner {
  padding: 0 15px;
  position: static;
  z-index: 1;
  width: 100%;
}

#popups .jp-inner.winner form {
  position: relative;
  z-index: 1;
}

#popups .jp-inner .jp-top {
  margin-bottom: 26px;
}

#popups .jp-inner .jp-top p {
  font-size: 29px;
  line-height: 33px;
}

#popups .jp-inner .jp-top p em {
  font-size: 30.5px;
}

#popups .jp-inner .form-fields {
  width: 670px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

.with-label .form-field select,
.with-label .form-field input,
.with-label .form-field textarea,
.with-label .form-field email {
  border-radius: 12px;
}

#popups .jp-inner .form-row.flex {
  justify-content: space-between;
}

#popups .jp-inner.thanks {
  height: 387px;
  width: 700px;
  max-width: 100%;
}

#popups .jp-inner.thanks > div {
  width: 100%;
}

#popups .jp-inner.thanks p {
  font-size: 21px;
  line-height: 1em;
}

#popups .jp-inner.thanks p.title {
  font-size: 35px;
  line-height: 44px;
}

#popups .jp-inner.thanks p.title em {
  font-size: 44px;
}

#popups .jp-inner.thanks .buttons {
  justify-content: center;
  width: 100%;
  margin-top: 22px;
}

#popups .jp-inner.thanks .button {
  width: 172px;
}

@media screen and (max-width: 767px) {
  #popups .jp-inner.thanks:after {
    height: 100px;
  }

  #popups .jp-inner.thanks > div {
    max-width: 100%;
  }

  #popups .popup-content {
    max-width: 100%;
    padding: 65px 0;
  }

  #popups .popup-content .jp-close {
    top: 8px;
    right: 4px;
    font-size: 19px;
  }

  #popups .jp-inner .form-fields {
    max-width: calc(100% - 15px);
  }

  #popups .button {
    font-size: 13px;
    width: 91px;
  }

  #popups .jp-inner.thanks p.title {
    font-size: 32px;
    line-height: 38px;
  }
  
  #popups .jp-inner.thanks p.title em {
    font-size: 41px;
    display: block;
  }
}

@media screen and (max-width: 480px) {
  #popups .jp-inner .jp-top {
    margin-bottom: 20px;
  }

  #popups .jp-inner .jp-top p {
    font-size: 26px;
    line-height: 31px;
  }

  #popups .jp-inner .jp-top p em {
    font-size: 28px;
    display: block;
  }

  #popups .jp-inner .form-row.flex {
    flex-direction: column;
  }

  #popups .jp-inner.thanks {
    padding-bottom: 60px;
  }

  #popups .jp-inner.thanks .buttons {
    flex-direction: column;
    align-items: center;
  }

  #popups .thanks .button {
    max-width: 100%;
    margin-bottom: 15px;
  }
}