﻿.ReferAFriendHero {
    background-image: "/getmedia/6d472d0b-1b78-4cb2-a4fe-8a89d5f02717/ReferAFriendHero-desktop.png";
}
.homeTitleCenter {
    text-align: center;
    margin-top: 101px;
    margin-bottom: 101px;
}
label.error {
    color: #ca0a37;
    text-transform: none;
    font-weight: 700;
}
input.error {
    border-color: #ca0a37;
    background-color: #f7d9d9;
}
select.error {
    border-color: #ca0a37 !important;
    background-color: #f7d9d9;
}

.referral__hero {
  width: 100%;
  max-width: 1920px;
  height: 613px;
  background-color: #ffffff;
  margin: 0 auto;
  background-repeat: no-repeat;
  -moz-background-size: cover;
       background-size: cover;
}

@media (max-width: 1170px) {
  .referral__hero {
    height: 450px;
    background-position-x: 26%;
  }
}

@media (max-width: 700px) {
  .referral__hero {
    height: 300px;
  }
}

.ReferAFriendHero {
    background-image: url("/getmedia/6d472d0b-1b78-4cb2-a4fe-8a89d5f02717/ReferAFriendHero-desktop.png");
}

@media (max-width: 700px) {
    .ReferAFriendHero {
        background-image: url("/getmedia/412144c4-13da-4942-af2b-060a31971966/ReferAFriendHero-mobile.png");
    }
}

.referral {
  width: 90%;
  max-width: 1160px;
  margin: 52px auto 2px auto;
}

@media (max-width: 1170px) {
  .referral {
    width: 90%;
    margin: 32px auto 32px auto;
  }
}

.referral__thankyou__single {
  width: 90%;
  max-width: 1160px;
  margin: 52px auto 0px auto;
}

@media (max-width: 1170px) {
  .referral__thankyou__single {
    width: 90%;
    margin: 32px auto 32px auto;
  }
}

.referral__headline--title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-family: 'Montserrat';
  font-size: 48px;
  text-align: center;
  color: #333333;
  font-weight: 300;
  line-height: 58px;
  margin: 0 0 55px 0;
}

@media (max-width: 1170px) {
  .referral__headline--title {
    font-size: 40px;
    line-height: 46px;
    margin: 0 0 55px 0;
  }
}

@media (max-width: 700px) {
  .referral__headline--title {
    font-size: 26px;
    line-height: 36px;
    margin: 0 0 32px 0;
  }
}

.referral__headline--copy {
  font-family: 'Open Sans';
  font-size: 29px;
  text-align: center;
  color: #333333;
  font-weight: 400;
  line-height: 40px;
  margin: 0 0 44px 0;
}

@media (max-width: 1170px) {
  .referral__headline--copy {
    font-size: 27px;
    line-height: 36px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .referral__headline--copy {
    font-size: 18px;
    line-height: 26px;
    margin: 0 0 32px 0;
  }
}

.referral__headline--copy--small > a {
  color: #00427a;
  text-decoration: underline;
}

.referral__headline--copy--small {
  font-family: 'Open Sans';
  font-size: 18px;
  text-align: center;
  color: #333333;
  font-weight: 400;
  line-height: 26px;
  margin: 0 0 44px 0;
  max-width: 1156px;
}

@media (max-width: 1170px) {
  .referral__headline--copy--small {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .referral__headline--copy--small {
    font-size: 18px;
    line-height: 26px;
    margin: 0 0 32px 0;
  }
}

.referral__form {
  margin: 0 0 20px 0;
}

.referral__form--headline {
  font-family: 'Open Sans';
  font-size: 26px;
  text-align: left;
  color: #333333;
  font-weight: 600;
  line-height: 36px;
  margin: 0 0 19px 0;
}

@media (max-width: 700px) {
  .referral__form--headline {
    font-size: 22px;
  }
}

.referral__form__inputs {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 0 8px 0;
}

.referral__form__inputs__input {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0 0 28px 0;
}

@media (max-width: 700px) {
  .referral__form__inputs__input {
    margin: 0 0 24px 0;
  }
}

.referral__form__inputs__input > label {
  font-size: 18px;
  line-height: 26px;
  color: #333333;
  text-align: left;
  margin: 0 0 17px 0;
  font-family: 'Open Sans';
}

@media (max-width: 700px) {
  .referral__form__inputs__input > label {
    font-size: 15px;
    line-height: 22px;
    margin: 0 0 10px 0;
  }
}

.referral__form__inputs__input > input {
  width: 100%;
  height: 56px;
  border: solid 2px #333333;
  margin: 0 0 0 0;
  font-size: 18px;
  text-indent: 16px;
  font-family: 'Open Sans';
}

@media (max-width: 700px) {
  .referral__form__inputs__input > input {
    font-size: 15px;
  }
}

.referral__form__inputs__input > select {
  width: 100%;
  height: 56px;
  border: solid 2px #333333;
  margin: 0 0 0 0;
  font-size: 18px;
  text-indent: 16px;
  font-family: 'Open Sans';
}

@media (max-width: 700px) {
  .referral__form__inputs__input > select {
    font-size: 15px;
  }
}

/* valid input styles */
.validReferralInput > label {
  /*color: #00427a;*/
}

.validReferralInput > input {
  color: #00427a;
  border: solid 2px #00427a;
  font-weight: 600;
}

.validReferralSelect > select {
  color: #00427a;
  border: solid 2px #00427a;
  font-weight: 600;
}

/* error input styles */
.invalidReferralSelect > select {
  color: #bd1b21;
  border: solid 2px #bd1b21;
  font-weight: 600;
}

.inValidReferralInput > input {
  color: #bd1b21;
  border: solid 2px #bd1b21;
  font-weight: 600;
}

/* email form styles */
.referral__form__emailMessage {
  margin: 0 0 50px 0;
}

.referral__form__emailMessage--headline {
  font-family: 'Open Sans';
  font-size: 26px;
  text-align: left;
  color: #333333;
  font-weight: 600;
  line-height: 50px;
  margin: 0 0 20px 0;
}

@media (max-width: 700px) {
  .referral__form__emailMessage--headline {
    font-size: 22px;
    line-height: 30px;
    margin: 0 0 20px 0;
  }
}

.referral__form__emailMessage--outerBlock {
  background-color: #f0f0f0;
  width: 95%;
  padding: 35px 30px;
}

@media (max-width: 700px) {
  .referral__form__emailMessage--outerBlock {
    width: 110%;
    padding: 15px 9px;
    margin-left: -5.5%;
    min-width: 320px;
  }
}

.referral__form__emailMessage--outerBlock > p {
  font-family: 'Open Sans';
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  color: #333333;
  margin: 0 0 24px 0;
  width: 93%;
}

@media (max-width: 700px) {
  .referral__form__emailMessage--outerBlock > p {
    font-size: 15px;
    line-height: 22px;
    width: 80%;
    margin: 0 auto 9px 0;
  }
}

.referral__form__emailMessage--outerBlock > b {
  font-weight: 700;
}

.referral__form__emailMessage--outerBlock > p > a {
  color: #333333;
  text-decoration: underline;
  cursor: pointer;
}

.referral__form__emailMessage--innerBlock {
  background-color: #ffffff;
  width: 96%;
  margin: 0 auto 26px auto;
  padding: 25px 24px 25px 24px;
  height: 162px;
  font-size: 18px;
  line-height: 22px;
  color: #333333;
  font-family: 'Open Sans';
}

@media (max-width: 1170px) {
  .referral__form__emailMessage--innerBlock {
    height: 183px;
  }
}

@media (max-width: 700px) {
  .referral__form__emailMessage--innerBlock {
    margin: 16px auto 13px auto;
    min-width: 274px;
    font-size: 15px;
    line-height: 22px;
    height: 183px;
  }
}

.referral__form__emailMessage--innerBlock > p {
  font-family: 'Open Sans';
  font-size: 18px;
  line-height: 22px;
  text-align: left;
  color: #333333;
  margin: 0 0 24px 0;
}

@media (max-width: 700px) {
  .referral__form__emailMessage--innerBlock > p {
    font-size: 15px;
    line-height: 22px;
  }
}

/* loan guide form styles */
.referral__form__loanGuide {
  margin: 0 0 50px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 175px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 1170px) {
  .referral__form__loanGuide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}

@media (max-width: 700px) {
  .referral__form__loanGuide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.referral__form__loanGuide--thumbnail {
  height: 175px;
  width: 150px;
  margin: 0 0 0 0;
  background-color: rebeccapurple;
  -moz-background-size: cover;
       background-size: cover;
  background-repeat: no-repeat;
  background-image: url("/App_Themes/VeteransFirst/assets/images/Referral/VAHomeLoanGuideCover.png");
}

@media (max-width: 700px) {
  .referral__form__loanGuide--thumbnail {
    height: 129px;
    width: 102px;
  }
}

.referral__form__loanGuide__address {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 625px;
  margin: 0 0 0 0;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
}

@media (max-width: 1170px) {
  .referral__form__loanGuide__address {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 139px;
  }
}

@media (max-width: 700px) {
  .referral__form__loanGuide__address {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
  }
}

.referral__form__loanGuide__address__top {
  margin: 0 0 0 0;
}

.referral__form__loanGuide__address__input {
  height: 56px;
  border: solid 2px #333333;
  margin: 0 0 0 0;
  font-size: 18px;
  text-indent: 16px;
  font-family: 'Open Sans';
  font-weight: 600;
}

.referral__address__input--error {
  border: solid 2px #bd1b21;
  font-weight: 600;
}

.referral__address__input--error::-webkit-input-placeholder {
  color: #bd1b21;
}

.referral__address__input--error:-moz-placeholder {
  color: #bd1b21;
}

.referral__address__input--error::-moz-placeholder {
  color: #bd1b21;
}

.referral__address__input--error:-ms-input-placeholder {
  color: #bd1b21;
}

.referral__address__input--error::placeholder {
  color: #bd1b21;
}

.refereeStreetInput {
  width: 100%;
}

@media (max-width: 700px) {
  .refereeStreetInput {
    margin: 0 0 15px 0;
  }
}

.refereeCityInput {
  width: 319px;
}

@media (max-width: 700px) {
  .refereeCityInput {
    width: 100%;
    margin: 0 0 15px 0;
  }
}

.refereeStateInput {
  width: 71px;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .refereeStateInput {
    width: 47%;
    margin: 0 0 15px 0;
  }
}

.refereeZIPInput {
  width: 205px;
  margin: 0 0 0 10px;
}

@media (max-width: 1170px) {
  .refereeZIPInput {
    margin: 0 0 0 10px;
  }
}

@media (max-width: 700px) {
  .refereeZIPInput {
    width: 47%;
    margin: 0 0 15px 0;
  }
}

.referral__form__loanGuide__address__bottom {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 700px) {
  .referral__form__loanGuide__address__bottom {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.referral__form__loanGuide__address__bottom--mobile {
  display: block;
}

@media (max-width: 700px) {
  .referral__form__loanGuide__address__bottom--mobile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.referral__form__loanGuide__copy--desktop {
  margin: 0 0 0 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 350px;
  padding: 10px 0 10px 0;
}

@media (max-width: 1170px) {
  .referral__form__loanGuide__copy--desktop {
    display: none;
  }
}

@media (max-width: 700px) {
  .referral__form__loanGuide__copy--desktop {
    display: none;
  }
}

.referral__form__loanGuide__mobileHandler {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 1170px) {
  .referral__form__loanGuide__mobileHandler {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin: 0 0 28px 0;
  }
}

@media (max-width: 700px) {
  .referral__form__loanGuide__mobileHandler {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.referral__form__loanGuide__copy--mobile {
  display: none;
}

@media (max-width: 1170px) {
  .referral__form__loanGuide__copy--mobile {
    margin: 0 0 0 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 415px;
    padding: 10px 0 10px 0;
    margin: 0 0 0 25px;
  }
}

@media (max-width: 700px) {
  .referral__form__loanGuide__copy--mobile {
    min-width: 152px;
    margin: 0 0 0 14px;
    width: 54%;
    padding: 0px 0 0px 0;
  }
}

.referral__form__loanGuide__copy--headline {
  font-size: 26px;
  line-height: 32px;
  text-align: left;
  color: #333333;
  font-family: 'Open Sans';
  font-weight: 600;
  margin: 0 0 20px 0;
}

@media (max-width: 700px) {
  .referral__form__loanGuide__copy--headline {
    font-size: 18px;
    line-height: 26px;
    margin: 0 0 11px 0;
  }
}

.referral__form__loanGuide__copy--tag {
  font-size: 18px;
  line-height: 26px;
  text-align: left;
  color: #333333;
  font-family: 'Open Sans';
}

@media (max-width: 700px) {
  .referral__form__loanGuide__copy--tag {
    font-size: 15px;
    line-height: 22px;
  }
}

/* Button styles */
.referral__form__buttonRow {
  width: 100%;
  margin: 0 0 52px 0;
  display:flex;
  justify-content:center;
}

.referral__form__buttonRow--button {
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    max-width: 246px;
    height: 51px;
    line-height: 51px;
    background-color: #00427a;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    margin: 0 auto 0 auto;
    cursor: pointer;
    font-family: 'Open Sans';
    text-transform: uppercase;
    min-width: 200px;
    width: 100%;
}

/* Privacy Policy styles */
.referral__form__privacyPolicy {
  font-size: 16px;
  font-family: 'Open Sans';
  line-height: 23px;
  color: #333333;
  margin: 0 0 50px 0;
}

@media (max-width: 1170px) {
  .referral__form__privacyPolicy {
    margin: 0 0 50px 0;
  }
}

@media (max-width: 700px) {
  .referral__form__privacyPolicy {
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 37px 0;
  }
}

.referral__form__privacyPolicy > a {
  font-size: 16px;
  font-family: 'Open Sans';
  line-height: 23px;
  color: #00427a;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

@media (max-width: 700px) {
  .referral__form__privacyPolicy > a {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Error box style*/
.referral__form__error {
  margin: 0 0 0 0;
  text-align: center;
  font-size: 20px;
  color: #bd1b21;
  font-family: 'Open Sans';
  margin: 0 0 52px 0;
  display: none;
}

@media (max-width: 1170px) {
  .referral__form__error {
    font-size: 20px;
  }
}

.referral__form__error > p {
  font-size: 20px;
}

@media (max-width: 1170px) {
  .referral__form__error > p {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .referral__form__error > p {
    font-size: 15px;
    line-height: 22px;
  }
}

.referral__form__error > p > a {
  font-weight: 700;
  text-decoration: underline;
  color: #bd1b21;
  cursor: pointer;
}

@media (max-width: 1170px) {
  .referral__form__error > p > a {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .referral__form__error > p > a {
    font-size: 15px;
    line-height: 22px;
  }
}

.referral__heritage--bar {
  width: 354%;
  height: 1px;
  background-color: #c4c4c4;
  margin: 0 0% 50px -100%;
}

@media (max-width: 700px) {
  .referral__heritage--bar {
    display: none;
  }
}

.referral__heritage {
  width: 100%;
  margin: 0 0 60px 0;
}

@media (max-width: 700px) {
  .referral__heritage {
    margin: 0 0 45px 0;
  }
}

.referral__heritage__title {
  font-size: 48px;
  text-align: center;
  line-height: 48px;
  color: #333333;
  font-family: 'Montserrat';
  margin: 0 0 32px 0;
}

@media (max-width: 1170px) {
  .referral__heritage__title {
    font-size: 40px;
    line-height: 46px;
  }
}

@media (max-width: 700px) {
  .referral__heritage__title {
    font-size: 26px;
    line-height: 36px;
  }
}

.referral__heritage__row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
     -moz-box-orient: horizontal;
     -moz-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 1007px;
  margin: 0 auto 0 auto;
}

@media (max-width: 1170px) {
  .referral__heritage__row {
    max-width: 915px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 296px;
  }
}

@media (max-width: 700px) {
  .referral__heritage__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 279px;
  }
}

.referral__heritage__row__block {
  width: 296px;
  height: 350px;
}

@media (max-width: 1170px) {
  .referral__heritage__row__block {
    width: 296px;
    margin: 46px 0 0 0;
  }
}

@media (max-width: 700px) {
  .referral__heritage__row__block {
    width: 279px;
    margin: 40px 0 0 0;
    height: 260px;
  }
}

.referral__heritage__row__block__blueCircle {
  height: 181px;
  width: 181px;
  border: solid 7px #2f78b6;
  -webkit-border-radius: 90px;
     -moz-border-radius: 90px;
          border-radius: 90px;
  margin: 0 auto 42px auto;
}

@media (max-width: 1170px) {
  .referral__heritage__row__block__blueCircle {
    margin: 0 auto 39px auto;
  }
}

@media (max-width: 700px) {
  .referral__heritage__row__block__blueCircle {
    height: 144px;
    width: 144px;
    border: solid 5px #2f78b6;
    margin: 0 auto 30px auto;
  }
}

.referral__heritage__row__block__blueCircle--inner {
  color: #2f78b6;
  text-align: center;
  font-family: 'Montserrat';
  font-weight: 700;
}

.referral__heritage__row__block--copy {
  font-size: 18px;
  color: #333333;
  text-align: center;
  font-family: 'Open Sans';
}

@media (max-width: 700px) {
  .referral__heritage__row__block--copy {
    font-size: 15px;
    line-height: 21px;
  }
}

.onehundredEighty {
  font-size: 56px;
  line-height: 166px;
  letter-spacing: -3.39px;
}

@media (max-width: 700px) {
  .onehundredEighty {
    font-size: 47px;
    line-height: 136px;
  }
}

.thirtyYears {
  font-size: 42px;
  line-height: 39px;
  margin-top: 42px;
  letter-spacing: -2.49px;
}

@media (max-width: 700px) {
  .thirtyYears {
    font-size: 36px;
    line-height: 31px;
    margin-top: 36px;
  }
}

.APlus {
  font-size: 58px;
  line-height: 159px;
  margin: 0 0px 0 14px;
  letter-spacing: -3.39px;
}

@media (max-width: 700px) {
  .APlus {
    font-size: 49px;
    line-height: 128px;
    margin: 0 0px 0 9px;
  }
}

.referral__headline__thankyou--copy > p {
  font-family: 'Open Sans';
  font-size: 18px;
  text-align: center;
}

.referral__headline__thankyou--copy > p > a {
  font-family: 'Open Sans';
  font-size: 18px;
  color: #00427a;
  text-decoration: underline;
}

#referalErrorZone {
  display: none;
}

.referral__form__emailMessage--counter {
  position: relative;
  top: -25px;
  width: 96%;
  font-size: 12px;
  font-family: 'Open Sans';
  text-align: right;
}

@media (max-width: 700px) {
  .referral__form__emailMessage--counter {
    top: -15px;
    width: 96%;
  }
}

.referral__thankyou {
  margin: 55px 0 55px 0;
}

@media (max-width: 1170px) {
  .referral__thankyou {
    margin: 48px 0 48px 0;
  }
}

@media (max-width: 700px) {
  .referral__thankyou {
    margin: 40px 0 40px 0;
  }
}

@media only screen and (min-width: 1171px) and (max-width: 1277px) {
  .referral__form__loanGuide__copy--desktop {
    width: 250px;
  }
}