@media only screen and (max-width:1300px) {
    .cus_container {
        padding: 0 30px;
    }
    .quotes_table_button {
        padding: 14px 10px;
    }
    .quotes_table_inner ul li.compare_sec {
        max-width: 350px;
    }
    .quotes_table_inner ul li.price_sec {
        max-width: 330px;
        width: 100%;
    }
}


@media only screen and (max-width:1199px) {
    .head_rr {
        font-size: 25px;
    }
    .main_common_sec {
        flex: none;
    }
    .powered_by_rr {
        font-size: 28px;
    }
    .common_sec_modal .common_list {
        grid-template-columns: repeat(4,1fr);
    }
    .font_small {
        font-size: 30px !important;
    }
    .common_button_rr {
        font-size: 35px;
    }
}


@media only screen and (max-width:1199px) {
    .quotes_section .table_sort {
        grid-gap: 28px;
    }
    .quotes_section .table_sort label {
        font-size: 18px;
    }
    .quotes_table_inner ul .logo_sec img {
        max-width: 150px !important;
        object-fit: contain;
    }

    .rs_new_table .quotes_table_inner ul .logo_sec img {
        max-width: 250px !important;
        object-fit: contain;
    }
    .quotes_table_inner ul .logo_sec {
        max-width: 200px;
        padding: 15px !important;
    }
    .quotes_table_inner ul li.compare_sec {
        max-width: 300px;
        font-size: 16px;
    }
    .quotes_table_button {
        padding: 0;
        font-size: 24px;
    }
    .quotes_table_inner li .list_item, .quotes_table_inner li .list_item p {
        font-size: 20px;
    }
    .quotes_table_inner ul li.price_sec {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /*.quotes_table_inner ul li.button_sec {
        flex: inherit;
    }*/
    .quotes_table_inner ul {
        justify-content: space-between;
    }
    .common_sec_year input {
        font-size: 25px;
    }
    .new_table .quotes_table_inner ul li.price_sec {
        max-width: 280px;
    }
    .quotes_table_inner ul li.price_sec {
        max-width: 290px;
        width: 100%;
    }
    .quotes_table_inner li .list_item, .quotes_table_inner li .list_item p {
        font-size: 17px;
    }
    .new_button_sec .call_number_text {
        font-size: 19px;
    }

    .new_button_sec p {
        font-size: 24px;
    }
    .new_table_button {
        padding: 5px 18px;
        font-size: 22px;
    }
    .rightsure_logo {
        max-width: 600px;
    }
    .award_btn {
        font-size: 40px;
    }
}

@media only screen and (max-width:1025px) and (min-width:991.5px){
    .quotes_table_inner ul li.compare_sec {
        max-width: 260px;
    }
    .quotes_table_inner li .list_item, .quotes_table_inner li .list_item p {
        font-size: 16px;
    }
    .new_table .quotes_table_inner ul li.price_sec {
        max-width: 270px;
    }
    .new_table .quotes_table_button {
        font-size: 22px;
    }
    .new_button_sec .call_number_text {
        font-size: 20px;
    }

   
}


@media only screen and (max-width:991px) {
    .quotes_table_inner ul {
        width: calc(50% - 10px);
        margin-bottom: 10px;
    }

    .quotes_table_inner ul li:not(:last-child) {
        border-bottom: 1px solid #585858;
        border-right: 0;
        max-width: 100%;
        width: 100%;
    }
    .quotes_table_inner ul .logo_sec img {
        max-width: 100% !important;
        height: 80px;
    }
    .quotes_table_inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .quotes_table_inner li .list_item, .quotes_table_inner li .list_item p {
        font-size: 18px;
    }
    .quotes_section .sub_head_rr {
        font-size: 36px;
    }
    li.button_sec > a > span {
        display: none;
    }
    .quotes_table_button {
        color: #ffffff;
        background-color: #B51700;
        padding: 12px 20px;
        font-size: 22px;
    }

    .quotes_table_button:hover {
        color: #ffffff;
    }
    .filter_inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .birthdate_sec .form-select, .state_sec .form-select {
        font-size: 20px;
    }
    .sort_title {
        font-size: 26px;
    }
    .quotes_section .table_sort label {
        font-size: 16px;
    }
    .custom_row {
        justify-content: center;
    }
    .sub_head_rr {
        margin-right: 15px;
    }

    span.formob {
        display: inline-block !important;
    }
    .quotes_table_button {
        padding: 14px 30px;
    }
    .common_sec_year input {
        font-size: 19px;
    }
    .new_table .quotes_table_inner ul li.price_sec {
        max-width: 100% !important;
    }
    .rr_new_table_details p {
        font-size: 18px;
    }
    .new_table_button {
        padding: 4px 24px;
        font-size: 26px;
    }
    .new_button_sec p {
        font-size: 26px;
        margin-bottom: 5px;
        color: #5e5e5e;
        margin-top: 10px;
    }
    .new_button_sec .call_number_text {
        font-size: 20px;
        color: #ffffff;
        background-color: #000095;
        padding: 5px 10px;
        border-radius: 5px;
        font-weight: 700;
        line-height: 30px;
    }
    /* 11*04*25 */

    .header_new #header > .container-lg {
        padding-left: 0;
        padding-right: 0;
    }
    .header_new #header .navbar-collapse-bar {
        width: 100%;
        background-color: #f8f8f8;
    }
    .header_new #header .navbar-collapse-link {
        text-decoration: none;
        border-right: 1px solid rgba(0,0,0,.5);
    }
    .header_new #header .navbar-collapse-link, #header .navbar-toggler {
        padding: .6875rem 1rem;
        text-shadow: 0 1px 1px #fff;
        color: #444;
    }
    .header_new #header .navbar-toggler {
        padding-top: .9375rem;
        border: 0;
        outline: none;
        text-shadow: none;
        box-shadow: none;
    }
    .rs_for_mobile .mobilenav_inner {
       
        flex-direction: column;
    }
    .rs_for_mobile .nav-item {
        padding-left: 12px;
    }
    .rs_for_mobile ul.top-nav-items a.top-nav-link {
        padding: 8px 12px;
        border-bottom: 1px solid #e2e2e2;
    }
    .rs_for_mobile {
        border-top: 1px solid rgba(0, 0, 0, .5);
    }
    .header_new .top-nav-items {
        border-top: 1px solid #e2e2e2;
    }
    .rs_new_head p {
        font-size: 22px;
    }
    ul.rs_number > li > a {
        margin-right: 0;
    }
    .rs_new_table .quotes_table_inner ul {
        flex-direction: column;
    }
    
    .rightsure_logo {
        max-width: 500px;
    }
    .award_btn {
        margin-top: 35px;
    }
    .deductible_main {
        grid-gap: 30px;
        grid-template-columns: repeat(3, 1fr);
    }

    body:has(.new_version) .nav_links_rr > li > a {
        font-size: 28px;
        line-height: 28px;
    }
    .menu_timing > span {
        font-size: 14px;
    }
    .new_version_content .rs_new_table .quotes_table_inner ul li {
        max-width: 100% !important;
    }
    body:has(.new_version) .friendly_call {
        font-size: 28px;
        margin-top: 28px;
    }
    .new_content p {
        font-size: 22px;
    }
}

@media only screen and (max-width:767px) {
    .main_common_sec {
        grid-gap: 40px;
    }

    .banner_logo_rr {
        max-width: 100%;
    }

    .head_rr {
        font-size: 25px;
    }

    .common_button_rr {
        font-size: 20px !important;
        line-height: 30px;
        padding: 12px 15px;
    }

    .logo a {
        margin: 0 auto 10px auto;
        display: table;
    }

    .rr_header {
        padding: 10px 0 10px 0;
    }

    .over_more_rr {
        font-size: 20px;
    }

    .single_logo_rr {
        max-width: 160px;
    }

    .footer_links_rr {
        grid-gap: 4px;
    }

        .footer_links_rr a {
            font-size: 12px;
        }

    .cus_container {
        padding: 0 15px;
    }

    .powered_by_rr {
        font-size: 20px;
        line-height: 25px;
    }

    .nav_links_rr {
        justify-content: center;
    }

    .back_rr {
        font-size: 30px;
    }

    .sub_head_rr {
        font-size: 20px;
        line-height: 24px;
        margin-right: 10px;
    }

    .common_list li > span {
        font-size: 18px;
        padding: 7px 15px;
    }

    .common_logo_list img {
        max-width: 90%;
        max-height: 40px;
    }

    .common_logo_list li {
        padding: 10px;
        width: calc(25% - 8px);
    }

    .common_list {
        grid-gap: 10px;
        margin-top: 15px;
    }

    .common_sec_modal .option {
        min-height: 70px;
    }

    .option {
        font-size: 17px;
        line-height: 18px;
        min-height: 76px;
    }

    .common_sec_modal .common_list {
        grid-template-columns: repeat(2,1fr);
    }

    .common_sec_year .option {
        min-height: 46px;
    }

    .common_sec_year .common_list {
        grid-template-columns: repeat(4,1fr);
    }

    .marital_status_list {
        max-width: 345px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    .filter_inner {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }

    .male_female_cont {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
    }

        .male_female_cont li {
            width: 70px !important;
            padding: 5px;
        }

    .logo a {
        font-size: 34px;
        line-height: 45px;
    }

    ul.nav_links_rr > li > a {
        font-size: 22px;
    }

    .back_rr {
        margin-bottom: 35px !important;
        display: none;
    }

    .mobile_back {
        display: block;
        font-size: 36px;
        position: fixed;
        top: 12px;
        margin-bottom: 0 !important;
        left: 10px;
        z-index: 999;
    }

    .birthdate_sec .form-select, .state_sec .form-select, .address_sec input#autocomplete, input#apartment_number {
        font-size: 16px;
        height: 45px;
    }
    .custom_row {
        justify-content: center;
    }

   
    .mar_cus_list {
        margin-bottom: 40px;
    }
    
    .first_vehicle .common_logo_list li {
        width: calc(50% - 8px);
        font-size: 11px;
        text-align: center;
        min-height: 68px;
        padding: 10px 5px;
    }

    .male_female_cont.common_logo_list img {
        max-width: 100%;
        max-height: inherit;
    }

    
    .state_sec .common_button_rr, .address_sec .common_button_rr {
        display: table;
        margin: 0 auto;
    }
    .common_sec {
        padding-top: 30px;
    }
    .final_list li {
        font-size: 15px;
        margin-bottom: 5px;
    }
    .quotes_section .sub_head_rr {
        font-size: 25px;
    }
    .quotes_section .table_sort {
        align-items: flex-start;
        grid-gap: 10px;
        flex-direction: column;
    }
    .sort_title {
        font-size: 20px;
    }
    .quotes_section .table_sort input {
        width: 10px;
        height: 10px;
    }
    .quotes_section .table_sort label {
        font-size: 12px;
    }
    .quotes_section .custom_row {
        margin-bottom: 20px;
    }
    .quotes_table_inner ul .logo_sec {
        max-width: 100%;
        width: 100%;
    }

    .quotes_table_inner ul > * {
        width: 100% !important;
        padding: 15px !important;
    }
    .quotes_table_inner li .list_item {
        margin-bottom: 8px;
        color: #000000;
    }
    .price_sec .list_item {
        font-size: 15px;
    }
    .quotes_table_inner li .list_item p {
        font-size: 14px;
    }
    .quotes_table .see_more {
        font-size: 25px;
        display: table;
        margin: 0 auto;
    }
    .quotes_table_inner ul .logo_sec img {
        max-width: 90% !important;
        max-height: 60px;
        height: auto;

    }
    .quotes_table_inner ul {
        width: 100%;
    }
    .custom_row .common_button_rr {
        margin-top: 0 !important;
    }
    .state_sec .text-end, .address_sec .text-end {
        text-align: center !important;
    }
    .common_sec_year #btn_continue_year_0 {
        margin-top: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
        display: table;
    }

    .cus_button_with_error {
        display: flex;
        flex-direction:column;
    }
    .error_mes_with_btn {
        position: static;
        white-space: normal;
        text-align: center;
    }
    .nav_links_rr {
        justify-content: center;
    }
    .rs_new_logo {
        margin-bottom: 0;
        text-align:center;
        display:block;
    }
    .rs_new_table .quotes_table_inner ul li:last-child {
        justify-content: flex-start;
    }
    .rightsure_logo {
        max-width: 500px;
        padding: 0 30px;
    }
    .award_btn {
        font-size: 30px;
        margin-top: 20px;
    }
/*    14-05-25*/

    body:has(.new_version) .friendly_text {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #b51700;
        margin-bottom:0;
        z-index:1;
    }
    body:has(.new_version) .friendly_text strong {
        display: flex;
        align-items: center;
        padding: 10px;
        grid-gap: 10px;
    }
    body:has(.new_version) .friendly_text strong > span {
        color: #ffffff;
        font-weight: 400;
    }
    body:has(.new_version) .friendly_text .mobile_contentBtn a {
        background-color: #000095;
        color: #ffffff !important;
        white-space: nowrap;
        display: inline-block;
        padding: 7px 26px;
        border-radius: 10px;
        box-shadow: 0 3px 5px 0 #000000;
        font-weight: 700;
    }

    body:has(.new_version) .desk_only {
        display: none;
    }
    body:has(.new_version) .mob_only {
        display: inline-block !important;
    }
    body:has(.new_version) .logo .rs_new_head {
        text-align: left;
        display: inline-block;
        margin-bottom: 0;
    }
    body:has(.new_version) .logo .rs_new_head h2 {
        font-size: 26px;
    }
    body:has(.new_version) .rs_new_head p {
        font-size: 15px;
    }
    body:has(.new_version) .right_side_navbar .rs_number li a {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 20px;
    }
    body:has(.new_version) .rs_new_logo {
        text-align: left;
        margin-top: 0 !important;
        padding-left: 22px;
    }
    body:has(.new_version) .before_content {
        font-size: 17px;
    }
    body:has(.new_version) .rs_new_content p {
        font-size: 9px;
        font-weight: 700;
        margin-top: 5px;
    }
    body:has(.new_version) .quotes_table_inner ul li:not(:last-child) {
        border-bottom: 0;
        justify-content: flex-start;
        padding-bottom: 0 !important;
    }
    body:has(.new_version) .friendly_call {
        text-align: center;
        font-size: 24px;
        display:none;
    }
    body:has(.new_version) .after_quotes_inner .new_powered, body:has(.new_version) .after_quotes_inner .new_northfirm {
        font-size: 20px;
    }
    body.expand:has(.new_version) .after_quotes_inner .footer_links_rr a {
        font-size: 16px;
    }
    .new_version {
        position: static;
    }
    body.expand:has(.new_version) .rightrator_footer {
        background-color: transparent;
        padding: 10px 0;
        margin-top: 15px;
        margin-bottom: 70px;
    }

    body.expand.expand:has(.new_version) .powered_by_rr {
        font-size: 20px;
        line-height: 25px;
        color: #01A3FF !important;
        font-style: normal;
    }
    .menu_timing {
        display: none;
    }
    .new_version_content .rr_new_table_details {
        margin-top: 20px;
    }
    .looksgood_sec .final_list li {
        margin-bottom: 5px;
    }
    .deductible_main {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 8px;
        margin-top: 35px;
    }
    .deduct_title br {
        display: none;
    }
    .deduct_title {
        font-size: 18px;
    }
    .deduct_price select {
        font-size: 16px;
        height: 45px;
    }
    .deduct_title {
        margin-top: 0px;
    }

    .deduct_content p {
        margin-top: 0px;
    }
    .policy_sec .text-end {
        text-align: center !important;
    }
    .quotes_table_inner > div {
        font-size: 17px !important;
    }
    .new_version_content .blue_title p {
        font-size: 22px !important;
        margin-bottom: 15px;
    }
    .powered_by_rr br {
        display: block;
    }
    body.expand:has(.new_version) .powered_by_rr > span {
        color: #000000;
    }
    .new_version_content .quotes_table_inner li .list_item:last-child {
        width: 100%;
    }
    body:has(.new_version.ilead) .rs_new_logo img {
        max-width: 200px !important;
        width: 100% !important;
    }
    .itc_link {
        margin-top: 5px;
    }
    .expand .powered_by_inner {
        display: block !important;
        margin-top: 10px;
    }
    .new_content {
        display: none;
    }
    .expand .new_content {
        display: none;
    }
    body:has(.gather_version) .gather_logo {
        width: 160px;
        margin-top: 3px;
    }
    body:has(.gather_version) .mobile_back {
        top: 6px;
    }
    body:has(.header_new) .mobile_back {
        top: 6px;
    }
    .header_new #header .navbar-collapse-link {
        padding-left: 40px !important;
    }
    .talk_link {
        font-size: 20px;
    }


/*    body:has(.new_version.ilead) .right_side_navbar .rs_number li a {
        position: static;
    }
   
    body:has(.new_version.ilead) .logo .rs_new_head {
        text-align: left;
        display: inline-block;
        margin: 0 0 4px;
    }*/

    /*    14-05-25 close*/
}

@media only screen and (max-width:576px){
    .footer-main-links-container {
        text-align: center;
    }
}

@media only screen and (max-width:480px) {
    .common_sec_year input {
        font-size: 14px;
    }

}
@media only screen and (max-width:336px) {
    .custom_row .common_button_rr {
        margin-top: 20px !important;
    }

    
}

@media (min-width: 576px) {
    .footer-main-links-container {
        text-align: left;
    }
}


@media (min-width: 992px) {
    .header_new .top-nav-item .top-nav-link {
        border-right: 1px solid #e2e2e2;
    }

    .header_new .top-nav-item:first-child .top-nav-link, .header_new .top-nav-item:first-child.top-nav-item-social-links > a:first-child,
    .header_new .top-nav-item-text + .top-nav-item .top-nav-link, .header_new .top-nav-item-text + .top-nav-item.top-nav-item-social-links > a:first-child,
    .header_new .top-nav-item-spacer + .top-nav-item .top-nav-link, .header_new .top-nav-item-spacer + .top-nav-item.top-nav-item-social-links > a:first-child {
        border-left: 1px solid #e2e2e2;
    }

    .header_new .d-lg-block {
        display: block !important;
    }

    .header_new .d-lg-flex {
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header_new #top-nav {
        font-size: 1rem;
    }

    .header_new .flex-lg-row {
        -ms-flex-direction: row !important;
        flex-direction: row !important;
    }

    .header_new .order-lg-1 {
        -ms-flex-order: 1;
        order: 1;
    }

/*    .header_new #header nav.navbar {
        min-height: 100%;
        margin-left: 3rem;
        padding: .5rem 0;
    }*/

    .header_new .navbar-expand-lg .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .header_new #header .navbar-nav {
        gap: .5rem;
    }

    .header_new  #header .navbar-nav > .nav-item {
        display: flex;
    }

    .header_new #header .navbar-nav > .nav-item > .nav-link {
        padding-left: .6875rem;
        padding-right: .6875rem;
        color: #222;
        border-radius: .375rem;
        text-decoration: none;
    }
    .header_new .ml-lg-auto, .header_new.mx-lg-auto {
        margin-left: auto !important;
    }
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:hover > .nav-link, 
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus > .nav-link,
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus-within > .nav-link {
        border-right-color: #d8d8d8;
    }
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:hover > .nav-link,
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:hover > .nav-menu-button,
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus > .nav-link,
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus > .nav-menu-button,
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus-within > .nav-link, 
    .header_new #header .navbar-nav > .nav-item.nav-item-f8f8f8:focus-within > .nav-menu-button {
        color: #444;
        background-color: #f1f1f1;
    }
    .header_new #header nav.navbar {
        min-height: 100%;
        margin-left: 2.6rem;
        padding: .5rem 0;
    }
    .footer-main-link {
        font-size: 1.375rem;
    }
    .header_new .rs_for_mobile .top-nav-items {
        display: none !important;
    }
    
}