#popup-wrapper {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1000000;
}

#homepop.anthempopup {
  max-width: 600px;
}
#homepop.anthempopup .mfp-close {
  background-image: url(../img/close-fff.svg) !important;
}

@media all and (max-width: 600px) {
  #popup {
    width: 95%;
    height: auto;
    /*position: relative;
    top: 50px;
    left: 10%;*/
    /* bring your own prefixes */
  }
  .poptitle img {
    width: 50%;
  }
}
@media all and (min-width: 601px) {
  #popup {
    width: 600px;
    height: 745px;
    /*position: relative;
    top: 50px;
    left: 10%;*/
    /* bring your own prefixes */
  }
  .poptitle img {
    width: 500px;
  }
  #popup {
    position: relative;
    padding-top: 60px;
  }
  #popup .hbspt-form form input, #popup form select, #popup form textarea {
    border: 1px solid #fff;
    padding: 0.5em 1em;
    width: 100%;
    margin-bottom: 0em;
    display: block;
    font-size: 18px;
    color: #fff;
    font-family: "Graphik Semibold", Helvetica, Arial, sans-serif !important;
    text-transform: capitalize;
  }
  #popup .hbspt-form form .error, #popup form .error:focus, #popup form .error + .radio-button, #popup form .error + .checkbox {
    border-color: #fff !important;
  }
  #popup .hs-richtext p {
    color: #666 !important;
  }
  #popup .hs_yes__i_consent_to_receiving_emails_from_anthem_ {
    width: 100% !important;
  }
  .hs_recaptcha {
    display: none;
  }
  .hbspt-form h2 {
    color: #ffffff !important;
  }
}
@media all and (max-width: 600px) {
  #popup #desktop {
    display: none;
  }
  #popup #mobile {
    display: block;
  }
  #popup .hbspt-form {
    font-family: "Graphik Semibold", Helvetica, Arial, sans-serif !important;
    line-height: 18px;
    margin-top: -10px;
  }
  #popup .hs-anthem-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 20px;
    margin-right: 20px !important;
    width: 120px;
  }
  #popup #are_you_a_realtor-6cc8358c-4e2d-49fc-9dc8-22031714fbc0 {
    width: 330px !important;
    color: #9f9f9f;
    padding: 12px;
    font-size: 15px !important;
    font-weight: bold;
    border: 1px solid #fff;
  }
  #popup .hs-button.primary.large {
    background: #fff;
    color: #000 !important;
  }
  #popup .hs_submit.hs-submit {
    margin-top: 5px !important;
    margin-bottom: 10px;
    margin-left: -215px !important;
  }
  #popup #firstname-6cc8358c-4e2d-49fc-9dc8-22031714fbc0, #popup #lastname-6cc8358c-4e2d-49fc-9dc8-22031714fbc0, #popup #email-6cc8358c-4e2d-49fc-9dc8-22031714fbc0, #popup #zip-6cc8358c-4e2d-49fc-9dc8-22031714fbc0 {
    width: 330px !important;
  }
  #popup .hs_yes__i_consent_to_receiving_emails_from_anthem_ {
    margin-left: 35px;
    width: 100% !important;
  }
}
@media all and (min-width: 601px) {
  #popup #desktop {
    display: block;
  }
  #popup #mobile {
    display: none;
  }
  #popup .hbspt-form {
    padding: 15px 50px;
    font-family: "Graphik Semibold", Helvetica, Arial, sans-serif;
  }
  #popup .hs-anthem-logo {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 25px;
    margin-right: 25px;
    width: 180px;
  }
  #popup .actions {
    margin-top: -100x !important;
    text-align: left !important;
  }
  #popup .hs-fieldtype-booleancheckbox {
    margin-top: 35px;
  }
  #popup #are_you_a_realtor-be46d89f-b943-475e-825e-81cdda71ce34 {
    width: 500px !important;
    color: #9f9f9f;
    padding: 8px;
    font-size: 15px !important;
    font-weight: bold;
    border: 1px solid #fff;
  }
  #popup .hs-button.primary.large {
    background: #fff;
    color: #000 !important;
    margin-top: 15px !important;
  }
}
#popup .hbspt-form form .hs-form-field input::placeholder {
  color: #fff !important;
  text-transform: capitalize;
}
#popup input, #popup select, #popup textarea {
  width: 100%;
  outline: 0;
  font-size: 1em;
  font-family: "Graphik Semibold", Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #fff !important;
  border: none;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #fff;
  padding: 5px 0;
  border-radius: 0;
  text-transform: none;
  min-height: 37px !important;
  text-transform: capitalize;
}
#popup label {
  line-height: 1.3em;
  color: #fff !important;
  font-family: "Graphik Semibold", Helvetica, Arial, sans-serif;
  text-align: left;
  display: block;
  padding-right: 5px;
  margin-top: 15px;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 12px;
}
#popup .hs-error-msg {
  color: #fff !important;
  font-size: 10px;
  margin-top: 7px !important;
  margin-left: 30px;
  text-transform: capitalize;
}
#popup .inputs-list {
  list-style: none !important;
  padding: 0;
}
#popup .no-list {
  list-style: none !important;
  margin-left: -30px !important;
}
#popup .hs_error_rollup {
  display: none !important;
}
#popup .inputs-list span {
  font-size: 12px;
  margin-left: 10px;
}
#popup [type=checkbox]:checked,
#popup [type=checkbox]:not(:checked) {
  position: absolute;
  left: -9999px;
}
#popup [type=checkbox]:checked + span,
#popup [type=checkbox]:not(:checked) + span {
  position: relative;
  padding-left: 45px;
  cursor: pointer;
  display: inline-block;
  margin: 0px 0px;
  line-height: 14px;
  text-transform: none;
  padding-top: 0px;
}
#popup [type=checkbox]:not(:checked) + span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: #ffffff;
}
#popup [type=checkbox]:checked + span:before {
  content: "x";
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: #ffffff;
  color: #000;
  padding: 10px 9px 2px 11px;
  font-size: 25px;
}
#popup option {
  color: #000 !important;
}

@media all and (max-width: 600px) {
  #popup {
    width: 90vw !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    padding: 20px 15px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  #popup input,
  #popup select,
  #popup textarea {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #popup .hs_submit.hs-submit {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
  }

  #popup .hs-button.primary.large {
    width: 100% !important;
    box-sizing: border-box;
    display: block !important;
    margin: 0 auto !important;
  }

  #popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    padding: 20px 0;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000000;
  }

  #popup .hs-fieldtype-booleancheckbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  #popup .hs-fieldtype-booleancheckbox span {
    font-size: 13px !important;
    line-height: 1.4em;
    color: #fff !important;
    max-width: 75vw;
  }

  .mfp-close {
    right: 0 !important;
  }

  #popup .hs-richtext p {
    color: #999 !important;
  }

  #popup .hs-anthem-logo {
    display: none !important;
  }
}


