
.referral-bg {
  position: relative;
}

.referral-bg::before {
  content: "";
  position: absolute;
  background-image: url(../images/bg.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 120%;
  z-index: -1;
  margin-top: -10%;
}

.banner_col {
    background: #004a98;
    padding: 15px 0;
    margin: 0 auto;
    text-align: center
}

.banner_col img {
    border: 4px solid #22b473;
    display: block;
    margin: 0 auto
}

.col_form {
    padding: 38px 0 0;
}

.bill_credit {
    padding: 0 0 30px
}

.bill_credit p {
    margin: 0;
    padding: 0 0 28px;
    color: #000;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.bill_credit span,
.firld_col2 label {
    font-size: 20px;
    font-family: Montserrat-Regular;
    display: block
}

.bill_credit span {
    margin: 0;
    padding: 0;
    color: #00ad68;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

.firld_col2 label {
    color: #000;
    padding: 0 0 2px;
    font-weight: 400
}

select.select_field {
    border: 2px solid #094d9a;
    padding: 8px 10px;
    min-height: 62px;
    color: #999;
    font-size: 17px;
    font-family: Montserrat-Regular;
    outline: 0;
    width: 50%;
}

.Your_Information,
.firld_col2 {
    margin-bottom: 40px;
    border-bottom: 2px solid #06569d;
}

.firld_col2 {
    padding-bottom: 40px;
}

.Your_Information:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.Your_Information h2 {
    margin: 0;
    padding: 0 0 26px;
    color: #004a97;
    font-size: 26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

.Your_Information label,
.select_field2,
.submit_referrals {
    font-family: Montserrat-Regular
}

.Your_Information label {
    color: #000;
    font-size: 18px;
    padding: 0 0 2px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.select_field2 {
    border: 2px solid #22b473;
    padding: 8px 10px;
    min-height: 62px;
    color: #999;
    font-size: 17px;
    outline: 0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.Your_Information .row {
    padding-bottom: 35px
}

.closeit {
  float: right;
  text-decoration: none;
  color: rgb(255, 255, 255);
  background: #f44336;
  width: 40px;
  height: 40px;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
  padding-top: 8px;
  font-size: 20px;
}

.submit_referrals {
    text-align: center;
    background: #195ca2;
    padding: 12px 46px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    border-radius: 50px;
    font-size: 18px;
    border: none;
    outline: none;
    min-width: 200px;
    cursor: pointer;
    float: right;
}



.submit_referrals:hover {
    background: #00ad68
}

.container2 {
    display: inline-block;
    cursor: pointer
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 2px;
    background-color: #000;
    margin: 6px 0;
    transition: .4s
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
    transform: rotate(-45deg) translate(-5px, 6px)
}

.change .bar2 {
    opacity: 0
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-5px, -8px);
    transform: rotate(45deg) translate(-5px, -8px)
}

.refhide {
    display: none
}

.error {
    border: 1px solid red!important
}

.addmoremain {
    background: #00ad68;
    width: 100%;
    color: #fff;
    display: inline-block;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.addmoremain:hover {
    color: #fff
}

.addanother {
    padding: 15px 30px;
}


@media (max-width: 1700px) {
  .banner_col {
    width: 65%;
    margin-top: 50px;
  }
}


@media (max-width: 1300px) {
  .banner_col {
    width: 55%;
    margin-top: 55px;
  }

.section-heading.Benefits-heading.about-us.review_heading {
    margin-top: 27%;
}
}


@media (max-width: 1199px) {
  .banner_col {
    width: 62%;
    margin-top: -50px;
  }
  .referral-bg .banner_col {
      margin-top: 30px;
  }
  .addanother {
      padding: 10px 16px;
  }
  .addmoremain span img {
      max-width: 89px;
  }
  .closeit {
      width: 35px;
      height: 35px;
      font-size: 16px;
  }
  .Your_Information h2 {
      padding: 9px 0 10px;
      position: relative;
      clear: both;
      overflow: hidden;
  }
}

@media (min-width: 993px) and (max-width: 1200px){
    .referral-bg:before {
        margin-top: -20%;

    }
}
@media (max-width: 992px) {
  .banner_col {
    width: 75%;
    margin-top: 270px;
  }

  .section-heading.Benefits-heading.about-us.review_heading {
    margin-top: 37%;
  }
}
@media (max-width: 767px) {
  .banner_col {
    width: 75%;
    margin-top: 0px;
  }

  .referral-bg::before {
    margin-top: -47%;
      height: 130%;
  }

  .page-template-referrals .section-heading.Benefits-heading.about-us.review_heading {
      margin-top: 177px;
  }

  .section-heading.Benefits-heading.about-us h3 {
    font-size: 35px;
  }
	.page-template-referrals .section-heading h2 {
		font-size: 40px;
		line-height: 28px;
	}
  .section-heading h2 {
    font-size: 60px;
    line-height: 58px;
  }

  .contact-top {
      margin-top: 31%;
  }

  .contact-us-heading {
    height: 346px;
    background-size: cover;
  }
}

@media (max-width: 560px) {
  .contact-us-heading {
    height: 345px;
  }

  .section-heading h2 {
    font-size: 50px;
    line-height: 45px;
  }

  .section-heading.Benefits-heading.about-us h3 {
    font-size: 30px;
  }

  .section-heading.Benefits-heading.about-us.review_heading {
    margin-top: 140px;
  }

  .contact-top {
    margin-top: 38%;
  }
}

@media only screen and (min-width:992px) and (max-width:1200px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
    .submit_referrals {
        height: 37px;
        font-size: 12px;
        display: block;
		line-height: 12px;
    }
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 10px;
        min-height: 44px;
        font-size: 12px
    }
    .Your_Information h2 {
        padding: 9px 0 10px;
        font-size: 16px;
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit span {
        font-size: 14px
    }
    .bill_credit p {
        padding: 0 0 8px;
        font-size: 16px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 36px;
        line-height: 26px
    }
    .banner_col img {
        border: 1px solid #22b473
    }
    .banner_col {
        padding: 10px 0
    }
    .section_title {
        padding: 10px 0 0
    }
    .schedule_free,
    .visit_rayne {
        border-right: none;
        padding: 7px 10px;
        font-size: 11px;
        text-align: center
    }
    .section_top2 {
        padding: 10px 0
    }

}

@media only screen and (min-width:801px) and (max-width:991px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
    .submit_referrals {
        height: 37px;
        font-size: 12px;
        display: block;
		line-height: 12px;
    }
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 10px;
        min-height: 44px;
        font-size: 12px
    }
    .Your_Information h2 {
        padding: 0 0 10px;
        font-size: 16px
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit span {
        font-size: 14px
    }
    .bill_credit p {
        padding: 0 0 8px;
        font-size: 16px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 36px;
        line-height: 26px
    }

}

@media only screen and (min-width:768px) and (max-width:800px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
    .submit_referrals {
        height: 37px;
        font-size: 12px;
        display: block;
		line-height: 12px;
    }
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 10px;
        min-height: 44px;
        font-size: 12px
    }
    .Your_Information h2 {
        font-size: 16px
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit span {
        font-size: 14px
    }
    .bill_credit p {
        padding: 0 0 8px;
        font-size: 16px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 32px;
        line-height: 24px
    }
    .banner_col img {
        border: 1px solid #22b473
    }
    .banner_col {
        padding: 10px 0
    }
    .section_title {
        padding: 10px 0 0
    }
    .schedule_free,
    .visit_rayne {
        border-right: none;
        padding: 7px 10px;
        font-size: 11px;
        text-align: center
    }
    .section_top2 {
        padding: 10px 0
    }
    .section_right {
        padding: 0
    }

}

@media only screen and (min-width:651px) and (max-width:767px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
    .submit_referrals {
        height: 37px;
        font-size: 12px;
        float: none;
        margin: 0 auto;
        display: block;
		line-height: 12px;
    }
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 6px 8px;
        min-height: 31px;
        font-size: 12px
    }
    .Your_Information h2 {
        font-size: 16px
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit p,
    .bill_credit span {
        font-size: 12px
    }
    .bill_credit p {
        padding: 0 0 8px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 18px;
        line-height: 12px
    }

}

@media only screen and (min-width:526px) and (max-width:650px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
.submit_referrals {
    height: 37px;
    font-size: 12px;
    float: none;
    margin: 0 auto;
    display: block;
    line-height: 12px;
}
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 6px 8px;
        min-height: 31px;
        font-size: 12px
    }
    .Your_Information h2 {
        padding: 0 0 10px;
        font-size: 16px
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit p,
    .bill_credit span {
        font-size: 12px
    }
    .bill_credit p {
        padding: 0 0 8px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 18px;
        line-height: 12px
    }
    .banner_col img {
        border: 1px solid #22b473
    }
    .banner_col {
        padding: 10px 0
    }
    .section_title {
        padding: 10px 0 0
    }
    .schedule_free,
    .visit_rayne {
        border-right: none;
        padding: 7px 10px;
        font-size: 11px;
        text-align: center;
        min-height: 44px
    }
    .section_top2 {
        padding: 10px 0
    }
    .section_right {
        padding: 0
    }

}

@media only screen and (max-width:525px) {

    .Your_Information .row {
        padding-bottom: 0
    }
    .Your_Information .row .col-sm-12,
    .Your_Information .row .col-sm-4,
    .Your_Information .row .col-sm-6 {
        padding-bottom: 10px
    }
    .submit_referrals {
        height: 37px;
        font-size: 12px;
        float: none;
        margin: 0 auto;
        display: block;
		line-height: 12px;
    }
    .Your_Information label {
        font-size: 13px;
        padding: 0
    }
    .select_field2 {
        border: 1px solid #094d9a;
        padding: 6px 8px;
        min-height: 31px;
        font-size: 12px
    }
    .Your_Information h2 {
        font-size: 16px
    }
    .Your_Information {
        margin-bottom: 14px
    }
    .firld_col2 {
        padding-bottom: 13px;
        margin-bottom: 13px
    }
    select.select_field {
        border: 1px solid #094d9a;
        padding: 4px 8px;
        min-height: 36px;
        font-size: 13px;
        width: 100%
    }
    .firld_col2 label {
        font-size: 13px;
        padding: 0
    }
    .bill_credit p,
    .bill_credit span {
        font-size: 12px
    }
    .bill_credit p {
        padding: 0 0 8px
    }
    .col_form {
        padding: 14px 0 0
    }
    .section_title h1 {
        font-size: 18px;
        line-height: 12px
    }
    .banner_col img {
        border: 1px solid #22b473
    }
    .banner_col {
        padding: 10px 0
    }
    .section_title {
        padding: 10px 0 0
    }
    .schedule_free,
    .visit_rayne {
        border-right: none;
        padding: 7px 10px;
        font-size: 11px;
        text-align: center
    }
    .section_top2 {
        padding: 10px 0
    }
    .section_right {
        padding: 0
    }

}


@media (max-width: 1024px {

  .banner_col {
      width: 75%;
      margin-top: 40px;
  }

}
