.rfi-form-hero form input, .rfi-form-hero form select, .rfi-form-hero .submitted-message {
    font-family: "nimbus-sans",sans-serif;
}

.rfi-form-hero {
    margin-top: 30px;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover; 
}


.rfi-form-content {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1250px;
    flex-direction: column;
}



@media only screen and (min-width: 850px) {
  .rfi-form-content {
    justify-content: space-between;
    flex-direction: row;
  }  
}

.rfi-form-details {
    align-self: center;
    margin-top: 30px;
    max-width: 1250px;
    padding-left: 30px;
    padding-right: 30px;
  }

@media only screen and (min-width: 850px) {
  .rfi-form-details {
    max-width: 951px;
    padding-right: 80px;
    align-self: unset;
    padding-left: 20px;
  }
}

.rfi-form-details h1 {
    font-size: 32px;
    font-weight: 500;
}

@media only screen and (min-width: 850px) {
   .rfi-form-details h1 {
     font-size: 48px;
  }
}

  .rfi-form-container {
    display: flex;
/*     background-repeat: unset;
    background-size: unset;  */
    max-width: 1250px;
    width: 100%;
  }

@media only screen and (min-width: 850px) {
  .rfi-form-container {
    max-width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.rfi-form {
    max-width: 1250px;
    padding: 30px 30px 30px 30px;
    height: 650px;
     margin-left: 30px;
   margin-right: 30px;
}

.rfi-form.form-type-slate {
  height: 700px;
}

.rfi-form.form-type-hubspot {
  height: 930px;
}

@media only screen and (min-width: 850px) {
.rfi-form.form-type-hubspot {
  height: 850px;
}
}

.rfi-form p {
  font-size: 16px;
  text-align: center;
}

@media only screen and (min-width: 850px) {
  .rfi-form {
    max-width: 300px;
    padding: 30px 30px 30px 30px;
    margin-left: 30px;
     margin-left: 0;
  }
}

h2 {
  font-size: 32px;
  font-family: "nimbus-sans",sans-serif;font-style:normal;font-weight:700;
  line-height: 1.2;
}

.rfi-form h3 {
  font-size: 20px !important;
  font-family: "nimbus-sans", sans-serif;font-style:normal;font-weight:700 !important;
  line-height: 1.2 !important;
  color: rgb(100, 12, 58) !important;
  text-align: center;
}

p, ul {
  font-family: "nimbus-sans",sans-serif;font-style:normal;font-weight:700;
  font-weight: 300;
  font-style: normal;
  font-size: 20px;
  margin-block-start: .5em;
  margin-block-end: .5em;
  line-height: 1.2;
}

.rfi-form li {
    margin-left: -15px;
    line-height: 1.5;
}


.rfi-form.form-type-hubspot li {
  list-style: none;
}

@media only screen and (min-width: 850px) {
  .rfi-form li {
     margin-left: 30px;
  }
}

.form-title,.submitted-message,form {
    background-color: unset;
}
.form_action_submit button, .hs-button.primary.large {
  max-width: unset;
  width: 100%;
   background-color: #640c3a  !important;
    border: 1px #640c3a !important;
    display: block;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 700 !important;
    padding: 10px 15px !important;
    cursor: pointer;
  height: auto !important;
}

@media only screen and (min-width: 850px) {
.form_action_submit button {
    max-width: 300px;
    width: 300px;
  padding: 10px 53px !important;
}}

.hs-button:hover {
  background-image: linear-gradient(rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.20));
}

.form_pages .form_responses input, .form_pages .form_responses select,
.rfi-form .input input, .rfi-form .input select
{
    width: 100% !important;
    max-width: unset !important;
    height: 37px !important;
    font-size: 16px !important;
    line-height: 16px !important;
    padding-left: 9px !important;
    margin-bottom: 10px !important;
    border: 1px solid #e2e2e2 !important;
}

.rfi-form.form-type-hubspot .input input
{
    max-width: calc(100% - 14px) !important;
}

.callout-header {
  background-color: #640c3a;
  color: #ffffff;
  text-transform: uppercase;
}

@media only screen and (min-width: 850px) {
  .form_pages .form_responses input,
  .rfi-form .input input
  {
    max-width: unset;
    width: 287px;
  }
  .form_pages .form_responses input, .form_pages .form_responses select,
  .rfi-form .input input, .rfi-form .input select
  {
    max-width: 300px;
  }
}

form label {
 display: none;
}

form .hs-error-msgs label {
  display: block;
  color: #ffffff;
  font-size: 16px;
}

form .hs-error-msgs li {
  margin-left: -15px;
}

.hs-richtext p {
    font-size: 14px;
    line-height: 150%;
}

.rfi-more-details-mobile {
  display: block;
  padding-bottom: 80px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
}

.rfi-more-details-desktop {
  display: none;
}

@media only screen and (min-width: 850px) {
.rfi-more-details-mobile {
  display: none;
  padding-bottom: unset;
  padding-top: unset;
}
.rfi-more-details-desktop {
  display: block;
  padding-top: 30px;
}
}

.hs_submit.hs-submit {
    display: flex;
    justify-content: center;
}

@media only screen and (min-width: 850px) {
  .hs_submit.hs-submit {
    display: block;
    justify-content: unset;
  }
}

.rfi-form-module-contents {
  flex-direction: column;
  display: flex;
}

@media only screen and (min-width: 850px) {
  .rfi-form-module-contents {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1268px;
    width: 100%;
    margin: 0 auto 200px;
  }
}

.rfi-callout-boxes {
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 60px);
   margin: 30px 0;
}

@media only screen and (min-width: 850px) {
  .rfi-callout-boxes {
      align-self: flex-end;
      max-width: 521px;
      width: 100%;
      margin: 0;
  }
}

.single-callout {
      background-color: #ffffff;
    border: 1px solid #000;
    width: 100%;
}

.single-callout:not(:last-child) {
  margin-bottom: 30px;
}

p.callout-header {
    font-weight: 700;
    padding: 15px;
    text-align: center;
    margin: 0;
    font-family: "nimbus-sans", sans-serif; !important;
    font-size: 20px;
}

p.callout-text {
    background-color: #ffffff;
    margin: 0;
    padding: 15px 0;
    font-weight: 800;
    text-align: center;
    font-size: 20px;
}

.rfi-disclaimer {
  margin-top: 20px;
  font-weight: 400;
}

 .rfi-form.form-type-hubspot .no-list.hs-error-msgs.inputs-list {
  display:none;
}

.hs_error_rollup {
  background-color:#ffffff;
  padding: .5rem;
  margin-bottom: 10px;
}

.hs-dependent-field li, .hs-dependent-field ul[role="checkbox"] {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
}

.hs_error_rollup li, .hs_error_rollup label {
  color:#C0311A !important;
}