.modal-wrapper {
  width: 100%;
  max-width: 870px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 18px;
  position: relative;
  padding: 30px 50px;
  overflow: hidden;
}

.modal-wrapper.no-modal {
  max-width: unset;
  overflow: unset;
  border-radius: unset;
  width: unset;
  padding: unset;
}

.modal-wrapper.no-modal:focus {
  outline: initial;
}

#autoOptions {
  position: absolute;
  right: 30px;
  margin-left: 10px;
  width: 347px;
  top: 74px;
  height: 152px;
  background: #f5f5f6;
  padding: 0;
  margin: 0px;
}

#error-image {
  display: none;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  margin-right: 11px;
}

.red-button {
  background-color: #e41932;
  border-radius: 45px;
  color: #ffffff;
  padding: 10px 25px;
  display: block;
  font-weight: 600;
  white-space: nowrap;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

.main-section {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.heading {
  font-family: "proxima_novasemibold", sans-serif !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  padding-top: 50px;
  width: 90%;
  margin: 0 auto;
}

.offer-page-heading {
  font-family: "proxima_novaextrabold", Gotham, Montserrat, Trebuchet, sans-serif !important;
  font-size: 36px;
}

.offer-page-subline {
  margin-top: 12px;
  font-family: "proxima_novasemibold", arial, sans-serif !important;
  font-size: 16px !important;
  width: 90%;
  margin: 0 auto;
}

.pq-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.red-text {
  color: #cd162d;
}

.disclaimer {
  color: #b8b8bd;
  width: 60%;
  margin: 0 auto;
  margin-top: 11px;
  font-size: 11px;
  text-align: center;
  padding-bottom: 27px;
}

.centered {
  text-align: center;
}

p {
  line-height: 1.5;
  text-align: left;
  font-size: 18px;
  font-family: "proxima_novamedium", Gotham, Montserrat, Trebuchet, sans-serif !important;
}

.fill-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.fill-input input:nth-child(1) {
  margin-right: 10px;
}

.fill-input input:nth-child(2) {
  margin-left: 10px;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
.hs-form-booleancheckbox-display {
  height: 45px;
  width: 350px;
  border-radius: 7px 7px 0 0;
  background-color: #f5f5f6;
  outline: 0;
  font-family: "proxima_novasemibold", arial, sans-serif !important;
  border: 0;
  border-bottom: 2px solid #d0d0d4;
  margin-top: 16px;
  color: #696973;
  font-size: 16px;
  text-indent: 30px;
}

.dish-close {
  display: inline-block;
  border: none;
  margin: 0;
  text-decoration: none;
  background: none;
  color: #696973;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 43px;
  position: absolute;
  right: 17px;
  top: 16px;
  font-weight: bold;
}

#selectors .gcon select {
  outline: 0;
  border: none;
  font-size: 16px;
  color: #696973;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url(../images/down-arrow.png) no-repeat;
  background-position: 95% 50%;
  background-color: #f5f5f6;
  border-radius: 10px;
}

.pq-actions a {
  font-size: 14px;
  font-family: "proxima_novamedium", Gotham, Montserrat, Trebuchet, sans-serif !important;
  color: #e41932;
  padding: 10px 0 10px 0;
  font-weight: 800;
}

.error {
  color: #696973;
  font-weight: 600;
  font-size: 12px;
  margin: 15px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: "proxima_novamedium", Gotham, Montserrat, Trebuchet, sans-serif !important;
}

input::-webkit-input-placeholder {
  color: #696973;
  font-weight: 700;
  font-size: 14px;
}

input::-moz-placeholder {
  color: #696973;
  font-weight: 700;
  font-size: 14px;
}

input:-ms-input-placeholder {
  color: #696973;
  font-weight: 700;
  font-size: 14px;
}

input::-ms-input-placeholder {
  color: #696973;
  font-weight: 700;
  font-size: 14px;
}

input::placeholder {
  color: #696973;
  font-weight: 700;
  font-size: 14px;
}

@media all and (max-width: 767px) {
  .modal-wrapper {
    width: 90%;
    border-radius: 9px;
    padding: 7px 15px;
  }
  .pq-actions {
    margin-top: 9px;
  }
  .fill-input {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .fill-input input:nth-child(1) {
    margin-right: auto;
  }
  .fill-input input:nth-child(2) {
    margin-left: auto;
    margin-top: 10px;
  }
  .disclaimer {
    margin: 0 auto;
    margin-top: 4px;
    font-size: 10px;
    padding-bottom: 10px;
    width: 95%;
  }
  .error {
    width: 73%;
  }
  #modal-prequal-content {
    width: 100%;
  }
  .heading {
    padding-top: 15px;
    font-size: 16px;
  }
  p {
    font-size: 14px;
  }
  .dish-close {
    font-size: 29px;
    right: -1px;
    top: 3px;
  }
  input[type="text"],
  input[type="number"],
  input[type="tel"],
  input[type="email"] {
    width: 90%;
    margin: 0 auto;
    height: 40px;
  }
  .pq-actions a {
    font-size: 14px;
    margin-top: 0px;
  }
  #autoOptions {
    right: 76px;
    width: 89%;
    top: 97px;
    height: 130px;
    background: #f5f5f6;
    padding: 0;
    margin: 0px;
    margin: 0 auto;
    text-align: center;
    left: 0;
    right: 0;
  }
}

/*------------ADDRESS SMARTY STREETS AUTOCOMPLETE ---------*/
.autoSuggestBox {
  border: #a0a0a0 solid 1px;
  overflow: auto;
  display: none;
  padding: 0.5em;
  height: 16em;
}

.autoSuggestBox > li {
  margin-bottom: 1px;
  padding: 6px 0px;
  background: #d0d0d4;
}

.autoSuggestBox > li:hover {
  cursor: grab;
  background-color: powderblue;
}

@media all and (max-width: 767px) {
  .autoSuggestBox {
    height: 5em;
  }
}

/*------------ADDRESS SMARTY STREETS AUTOCOMPLETE ---------*/
@media all and (min-width: 768px) and (max-width: 1024px) {
  .dish-close {
    font-size: 37px;
    right: 13px;
    top: 12px;
  }
  .heading {
    font-size: 21px;
    padding-top: 60px;
  }
  .codeSection {
    margin-top: 45px;
  }
  #autoOptions {
    right: 0px;
    margin-left: 10px;
    width: 48%;
    top: 65px;
    padding: 0;
  }
  .modal-wrapper {
    width: 80%;
    background-color: #fff;
    border-radius: 18px;
    padding: 0px 53px;
    height: 100%;
  }
  .error {
    width: 73%;
  }
}

@media all and (min-width: 1025px) {
  input[type="text"],
  input[type="number"],
  input[type="tel"],
  input[type="email"],
  .hs-form-booleancheckbox-display {
    height: 55px;
  }
}
