.sng_page-template-sng-refer-a-friend-template header.page-header {
  width: 100%;
  max-width: 1088px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.sng_page-template-sng-refer-a-friend-template
  header.page-header
  h1.entry-title {
  font-family: "Rum Raisin", Sans-serif;
  font-size: 90px;
  font-weight: 400;
  line-height: 90px;
  color: #000000;
  margin-bottom: 35px;
}

body.sng_page-template-sng-refer-a-friend-template
  #content.type-sng-page
  .sng-page-content {
  padding: 0px;
  display: flex;
  gap: 40px;
  max-width: 1088px;
  margin: 0 auto 200px;
  z-index: 1;
  position: relative;
}

body.sng_page-template-sng-refer-a-friend-template
  #content.type-sng-page
  .sng-page-content
  > div {
  width: 50%;
}

body.sng_page-template-sng-refer-a-friend-template
  #content.type-sng-page
  .sng-page-content
  > div:first-child
  p {
  line-height: 28px;
}

#sng_refer_a_friend_form {
  width: 100% !important;
  position: relative;
  z-index: 1;
  padding: 60px 40px 20px !important;
  border-radius: 10px;
  max-width: 100% !important;
  background: #e8ecef;
}

#sng_onetime_payments_form {
  max-width: 544px !important;
}

.sng-form-group label,
.sng-dog-fields-wrapper label {
  padding-bottom: 5px;
}

.sng-referral-header h4 {
  font-size: 36px;
  margin-top: 8px;
  margin-bottom: 20px;
  font-family: "Rum Raisin", Sans-serif;
  color: #000000;
}

.sng-remove {
  border: 1px solid;
  border-radius: 50%;
  padding: 5px 10px;
  margin-top: -20px;
}

.sng-add-referral {
  background-color: transparent !important;
  font-family: "Montserrat Alternates", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 0.64px;
  fill: #000000;
  color: #000000;
  border-style: solid;
  border-color: #000000;
  border-radius: 10px 10px 10px 10px;
  padding: 5px 15px;
}

@media only screen and (max-width: 1024px) {
  body.sng_page-template-sng-refer-a-friend-template
    #content.type-sng-page
    .sng-page-content
    > div {
    width: 100%;
  }

  body.sng_page-template-sng-refer-a-friend-template
    #content.type-sng-page
    .sng-page-content {
    padding: 0px 10px 40px;
    margin-bottom: 60px;
    gap: 20px;
    flex-direction: column;
  }

  .sng_page-template-sng-refer-a-friend-template header.page-header {
    margin-top: 120px;
    padding: 0px 10px;
  }

  .sng_page-template-sng-refer-a-friend-template
    header.page-header
    h1.entry-title {
    font-size: 40px;
    line-height: 45px;
    margin-bottom: 0px;
  }

  #sng_refer_a_friend_form {
    margin-top: 0px !important;
    padding: 30px 20px !important;
  }
}
