@media (max-width:1199px) {
  h1 {
    font-size: 75px;
    line-height: 85px;
  }

  h2 {
    font-size: 40px;
    line-height: 50px;
  }

  h3 {
    font-size: 24px;
    line-height: 24px;

  }

  .container {
    max-width: 100%;
  }

  nav {
    height: 70px;
  }

  .rc_header {
    padding: 0;
  }





    .navbar-brand img {
    margin-right: 10px;
    /* content: url('../images/logosmall.png'); */
    width: 145px;
}

  .rc_works_form .rc_form_number {
    top: -11px;
    left: -10px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

}

@media (max-width:991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 1);
    left: 0;
    width: 100%;
    padding-top: 6px;
    display: block;
    /* height: calc(100vh - 60px) !important; */
    height: 100vh !important;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.1s ease-in-out;
    transform: translateX(-100%);
  }

  .navbar-collapse .navbar-brand {
    padding: 0 20px 40px;
  }

  .rc_header .navbar-nav .nav-link {
    padding-bottom: 10px;
  }

  .rc_loan_sec h1 {
    max-width: 100%;
  }

  .rc_about_sec,
  .rc_loan_sec,
  .rc_terms_sec,
  .rc_get_in {
    min-height: 400px;
  }

  .rc_good_new_sec .rc_good_text {
    padding: 25px 0;
  }

  .rc_good_new_sec .rc_good_new {
    padding: 26px 14px;
  }

  .rc_good_new_sec table tbody tr th,
  .rc_good_new_sec table tbody tr td {
    padding: 10px 20px;
    font-size: 14px;
  }

  .rc_header .login_btn {

    min-width: 100px;
    min-height: 43px;
    margin-right: 15px;
  }

  .rc_home_hero_sec {
    padding-top: 120px;
  }

  h1 {
    font-size: 55px;
    line-height: 65px;
  }

  h4 {
    font-size: 18px;
    line-height: 16px;
    font-weight: 400;
  }


  .rc_refinance_content h2,
  .rc_eligibility_content h2 {
    margin-bottom: 25px;
  }

  .rc_refinance_sec .rc_refinance_form_con {
    padding-top: 30px;
  }

  .rc_getform_sec .rc_get_form {
    margin-top: 20px;
    padding: 20px;
  }

  .rc_work_row .rc_work_col {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .rc_refinance_form .form-btn {
    min-width: 100%;
  }

  .common_btn {
    padding-right: 4rem;
  }

  .common_btn .arrow_btn,
  .common_btn:hover .arrow_btn {
    right: 0;
  }

  .rc_work_sec .rc_work_text {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .rc_information {
    padding-top: 30px;
  }

  .accordion-body {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 12px;
  }

  .accordion .accordion-item .accordion-header .accordion-button {
    font-weight: 500;
  }

  .accordion .accordion-item {
    margin-bottom: 20px;
  }

  .rc_getform_sec::before {
    top: -62px;
    right: 0;
    width: 164%;
    height: 580px;
    left: -32vw;
  }

  .rc_loan_sec {
    min-height: 300px;
  }

  .rc_header .login_btn {
    margin-left: 0;
  }

  .rc_what_content.rc_eligibility_img,
  .rc_what_content.rc_two {
    text-align: center;
  }

  .rc_works_form.second,
  .rc_works_form.third {
    margin-top: 48px;
  }

  .rc_works_form {
    padding: 54px 37px;
  }
}

@media (max-width:767px) {
  h1 {
    font-size: 45px;
    line-height: 55px;
  }

  h2 {
    font-size: 35px;
    line-height: 45px;
  }

  h3 {
    font-size: 20px;
    line-height: 24px;

  }

  h4 {
    font-size: 16px;
    line-height: 16px;
    font-weight: 400;
  }

  .common_btn {
    min-width: 100%;

  }

  .rc_home_hero_sec {
    background: #313131;
    padding-top: 100px;
  }

  .rc_home_hero_img img {
    max-width: 327px;
    margin: 40px auto 0;
    display: table;
  }

  .rc_refinance_sec,
  .rc_work_sec,
  .rc_solutions,
  .rc_how_works,
  .rc_eligibility,
  .rc_good_new_sec,
  .rc_call_sec,
  .rc_terms_conditions_sec {
    padding: 40px 0;
  }

  .rc_home_hero_content p {
    margin: 20px 0;
  }

  .rc_refinance_sec .rc_refinance_form,
  .rc_how_works {
    padding: 20px 20px;
  }

  .rc_works_form {
    padding: 50px 34px 20px;
  }

  .rc_how_works h2 {
    padding-bottom: 10px;
    padding-top: 0;
  }

  .rc_works_form.second,
  .rc_works_form.third {
    margin-top: 30px;
  }

  .rc_footer {
    padding: 20px 0;
  }

  .rc_footer .rc_footer_links.rc_two,
  .rc_first_links {
    padding: 20px 0;
  }

  .rc_work_sec {
    padding-top: 0;
  }

  .rc_refinance_content ul li {
    padding: 19px 11px
  }

  .rc_about_sec,
  .rc_loan_sec,
  .rc_terms_sec {
    min-height: 360px;
  }

  .rc_solutions_content h2,
  .rc_what_content h2 {
    margin-bottom: 15px;
  }

  .rc_footer_links.rc_two li {
    margin: 4px 0;
  }
}

@media (max-width:575px) {
  .navbar-brand img {
    margin-right: 0px;
    /* content: url(../images/revilogo.png); */
    content: url(../images/main_logo.png);
    width: 120px;
}
  .rc_header .login_btn {
    min-width: 30px;
    min-height: 30px;
  }

  h4 {
    font-size: 18px;
    line-height: 16px;
    font-weight: 400;
  }

  p,
  ul li,
 {
    font-size: 14px;
  }

  /* .rc_refinance_content h2 {
    margin-bottom: 10px;
  } */

  .rc_refinance_form .form-label,
  .rc_get_form .form-label {
    font-size: 16px;
    font-weight: 500;
  }

  .rc_refinance_form .form-control,
  .rc_get_form .form-control {
    padding: 5px;
  }
}

section.rc_call_sec {
z-index: 9999;
position: relative;
}

p.disclaimer {
  font-size: 11px;
  text-align: left;
}
