@media (min-width: 991.98px) {
    .navbar-nav .dropdown-menu.dropdown-links {
        right: 0;
        left: auto;
        display: block;
        transform: scaleY(0);
        transform-origin: 0 0 0;
        opacity: 0;
        visibility: hidden;
        padding: 10px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
        border-radius: 5px;
        border: none;
    }

    .top-header .navbar-expand-lg .navbar-nav .nav-item:hover .dropdown-links {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1);
    }
}

@media (min-width: 1399.98px) {

    .top-header .container,
    .search-reults-main .container {
        max-width: 1530px;
    }

    .footer-main .container {
        max-width: 1060px;
    }
}

@media (max-width: 1399.98px) {
    .others-main .provider-box h3 {
        font-size: 14px;
    }

    .others-main .provider-box {
        padding: 40px 6px;
    }

    .provider-box p {
        font-size: 13px;
    }

    .search-reults-main .container {
        max-width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .top-header .container{
        max-width:100%;
    }
    .top-banner {
        background-position: 80px 150px, 30px calc(100% - 30px), calc(100% - 80px) 150px, calc(100% - 30px) calc(100% - 50px);
    }

    .main-provider-box .text {
        padding: 20px 15px;
    }

    .main-provider-box.provider-box h3 {
        font-size: 16px;
    }

    .main-provider-box.provider-box p {
        margin-top: 10px;
    }

    .others-main .provider-box {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .others-main .provider-box:nth-child(3) {
        border-top-right-radius: 10px;
    }

    .others-main .provider-box:nth-child(4) {
        flex: 0 0 50%;
        max-width: 50%;
        margin-left: 0;
        border-bottom-left-radius: 10px;
        border-top: 0;
    }

    .others-main .provider-box:nth-child(5) {
        border-bottom-right-radius: 10px;
        flex: 0 0 50%;
        max-width: 50%;
        border-top: 0;
    }

    .others-main .provider-box:first-child {
        border-bottom-left-radius: 0;
    }

    .others-main .provider-box:last-child {
        border-top-right-radius: 0;
    }

    .search-form-main .main-heading {
        font-size: 50px;
        line-height: 60px;
    }

    .search-form-main .sub-heading {
        font-size: 16px;
    }

    .location-result .result-table table thead tr th {
        padding: 15px;
        font-size: 14px;
    }

    .location-result .result-table table tbody tr td {
        padding: 15px;
    }

    .location-result .result-table table thead tr th:last-child {
        width: 174px;
    }

    .provider-result .result-table table thead tr th {
        padding: 15px;
        font-size: 14px;
    }

    .result-table table tbody tr td {
        padding: 15px;
    }

    .provider-result .result-table table tbody tr td p {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse{
        position: absolute;
        left: 0;
        top: 100%;
        background: #fff;
        width: 100%;
        margin-top: 20px;
        box-shadow: 0px 15px 20px rgb(0 0 0 / 5%);
    }
    .navbar-collapse .navbar-nav{
        padding-bottom:10px;
    }
    .top-banner .text h1 {
        font-size: 40px;
        line-height: 50px;
    }
    .navbar-nav .dropdown-menu{
        background:#F5F6FA;
        border:none;
        margin:10px;
        border-radius:10px;
    }
    .navbar-nav .dropdown-menu.dropdown-links .dropdown-item:hover{
        background:#DEEAEE;
    }

    .top-banner {
        background-position: 30px 150px, 30px calc(100% - 30px), calc(100% - 30px) 150px, calc(100% - 30px) calc(100% - 50px);
        background-size: 60px;
    }

    .multiplan-main .main-heading {
        font-size: 28px;
        line-height: 38px;
    }

    .provider-box p {
        font-size: 12px;
    }

    .f-links ul li {
        margin: 20px 15px 0;
    }

    .search-form-main .sub-heading {
        font-size: 14px;
        line-height: 24px;
    }

    .result-note {
        font-size: 16px;
        line-height: 26px;
    }

    .result-right-side {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        z-index: 999;
        background: #F5F6FA;
        margin: 0;
        border-radius: 0;
        border: none;
        padding: 30px 15px;
        transform: translateX(100%);
        opacity: 0;
    }

    .result-right-side.show {
        opacity: 1;
        transform: translateX(0);
    }

    .result-right-side .back-to {
        display: inline-block
    }

    .provider-detail-modal {
        width: 100%;
    }

    .provider-result .result-table table thead {
        display: none;
    }

    .provider-result .result-table table tbody tr td {
        width: 100%;
        background: #fff;
    }

    .provider-result .result-table table tbody tr td:nth-child(2) {
        width: 100%;
        border: none;
    }

    .provider-result .result-table table tbody tr td:nth-child(1) {
        display: none;
    }

    .provider-result .result-table table tbody tr {
        counter-increment: step-counter;
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
        border-radius: 10px;
        border: 1px solid #DEEAEE;
        overflow: hidden;
    }

    .provider-result .result-table table tbody tr.collapse-data {
        margin: 0;
        border: none;
    }

    .provider-result .result-table table tbody tr td .name {
        font-weight: 700 !important;
    }

    .provider-result .result-table table tbody tr td .name::before {
        content: counter(step-counter)'.';
        margin-right: 5px;
    }

    .provider-result .result-table table tbody tr td:before {
        content: attr(data-th) ": ";
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 10px;
        display: inline-block;
        color: #232323;
    }

    .provider-result .result-table table tbody tr td:nth-child(2):before,
    .provider-result .result-table table tbody tr td:nth-child(7):before,
    .provider-result .result-table table tbody tr.collapse-data td::before {
        display: none;
    }

    .provider-result .result-table table tbody tr td:nth-child(7) {
        display: block;
        width: 100%;
        border-top: 1px solid #DEEAEE;
    }

    .provider-result .result-table table tbody tr.collapse-data td {
        display: block;
    }

    .provider-result .result-table table tbody tr.collapse-data .accordion-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: 999;
        display: block;
        transform: translateX(100%);
        opacity: 0;
        overflow: auto;
    }

    .provider-result .result-table table tbody tr.collapse-data .accordion-collapse.show {
        transform: translateX(0);
        opacity: 1;
    }

    .provider-result .result-table table tbody tr.collapse-data .accordion-collapse .btn-close {
        display: inline-block;
    }

    .provider-result .result-table table tbody tr.collapse-data .accordion-collapse .common-text {
        margin-top: 30px;
    }

    .provider-result .result-table table tbody tr.collapse-data td .row {
        padding: 10px 15px 30px;
        margin: 0;
    }

    .provider-result .result-table table tbody tr.collapse-data .location-listing {
        max-height: inherit;
        padding-right: 0;
        overflow: auto;
    }

    .provider-result .result-table table tbody tr.collapse-data .location-listing .box {
        background: #F5F6FA !important;
    }

    .provider-result .result-table {
        border: none;
        border-radius: 0;
    }

    .provider-result .result-table table {
        background: none !important;
        border-spacing: 0 10px;
        border-collapse: separate;
    }

    .provider-result .result-table .p-note {
        border-radius: 10px;
    }

    .navbar-toggler {
        padding: 0;
        border-radius: 0;
        border: none;
        font-size: 28px;
        color: #232323;
        box-shadow: none !important;
    }
    .tabs-main .tabs-listing li a{
        font-size: 15px;
        padding: 8px 18px;
    }
    .view-by{
        font-size:14px;
    }
    .common-text.location-list {
        max-height: 100%;
    }
}

@media (max-width: 767.98px) {
    .top-banner .text h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .top-banner {
        background-image: none;
    }

    .multiplan-main .provider-box {
        margin-top: 30px;
    }

    .top-banner {
        padding: 50px 0;
    }

    .multiplan-main {
        padding: 50px 0;
    }

    .other-providers-main {
        padding: 50px 0;
    }

    .others-main .provider-box {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .others-main .provider-box:nth-child(5) {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .others-main .provider-box:nth-child(3) {
        margin-left: 0;
    }

    .others-main .provider-box:nth-child(3),
    .others-main .provider-box:nth-child(4) {
        border-top: 0;
        border-radius: 0;
    }

    .others-main .provider-box:nth-child(4) {
        margin-left: -1px;
    }

    .f-links ul li a {
        font-size: 13px;
    }

    .copyright-text {
        text-align: center;
    }

    .copyright-text>* {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .copyright-text a {
        margin-top: 10px;
    }

    .main-heading {
        font-size: 32px;
    }

    .f-image {
        display: none;
    }

    .search-form-main {
        padding: 30px 0 50px;
    }

    .tabs-main .tabs-listing li a {
        font-size: 14px;
    }

    .view-by {
        line-height: 16px;
        width: 100%;
        margin-bottom: 10px;
    }

    .tabs-main .tabs-listing + .ms-auto{
        margin-left:inherit !important;
        margin-top:15px;
    }
}

@media (max-width: 575.98px) {
    .main-provider-box {
        max-width: 270px;
        margin: 30px auto 0;
    }

    .top-banner .text h1 {
        font-size: 22px;
        line-height: 32px;
        max-width: 390px;
    }

    .top-banner .text h5 {
        font-size: 16px;
        max-width: 390px
    }

    .main-heading {
        font-size: 30px;
    }

    .sub-heading {
        font-size: 16px;
        line-height: 26px;
        margin-top: 15px;
    }

    .others-main {
        margin-top: 30px;
    }

    .others-main .provider-box,
    .others-main .provider-box:nth-child(4) {
        flex: 0 0 100%;
        max-width: 100%;
        border-radius: 10px !important;
        padding: 20px;
        border: 1px solid #DFE4EA !important;
    }

    .others-main .provider-box+.provider-box {
        margin-left: 0;
        margin-top: 20px;
    }

    .f-links ul li {
        width: 100%;
        margin: 15px 0 0;
    }

    .search-form-main .main-heading {
        font-size: 30px;
        line-height: 45px;
        text-align: center;
    }

    .search-form-main .sub-heading {
        text-align: center;
    }

    .main-provider-box figure img {
        height: 230px;
        object-fit: cover;
    }

    .main-provider-box.provider-box p span {
        display: inline;
    }

    .theme-btn {
        font-size: 14px;
        padding: 12px 25px;
    }

    .provider-box .theme-btn {
        margin-top: 15px;
    }

    .main-provider-box.provider-box h3 {
        font-size: 14px;
    }

    .main-provider-box .text {
        padding: 20px 5px 20px 15px;
    }

    .copyright-text {
        padding: 20px 15px;
        margin-top: 40px;
    }

    .copyright-text p,
    .copyright-text a {
        font-size: 12px;
    }

    .f-note {
        margin-top: 40px;
    }

    .form-group.form-group-50 {
        width: 100%;
    }

    .form-group.form-group-50+.form-group-50 {
        margin-left: 0;
    }

    .search-form .note {
        font-size: 12px;
        line-height: 20px;
    }

    .search-form .additional-search {
        font-size: 14px;
    }

    .search-reults-main .title .main-heading {
        font-size: 30px;
        line-height: 45px;
    }

    .result-note {
        font-size: 14px;
        line-height: 22px;
    }

    .tabs-main>* {
        width: 100%;
    }

    .tabs-main>.tabs-listing {
        /*order: 2;*/
        margin-top: 20px;
    }

    .view-by {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .common-text.location-list {
        border: none;
    }

    .common-text.location-list .text {
        padding: 0 15px 15px;
        border-radius: 10px;
        border: 1px solid #DEEAEE;
        counter-increment: step-counter;
    }

    .common-text.location-list .text+.text {
        margin-top: 10px;
    }

    .common-text.location-list .text ul li {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .location-result .result-table {
        border: none;
        border-radius: 0;
    }

    .location-result .result-table table {
        margin-top: 0;
        border-spacing: 0 10px;
        background: none !important;
        border-collapse: separate;
    }

    .location-result .result-table .p-note {
        border-radius: 10px;
    }

    .common-text.location-list .text::before {
        content: 'Location ' counter(step-counter);
        font-size: 16px;
        line-height: 24px;
        color: #232323;
        font-weight: 700;
        padding: 15px;
        display: block;
        width: calc(100% + 30px);
        margin-left: -15px;
        border-bottom: 1px solid #DEEAEE;
    }

    .common-text.location-list .text.active::before {
        border-color: #f5f6fa;
    }

    .location-result .result-table table {
        border-radius: 0;
    }

    .location-result .result-table table thead {
        display: none;
    }

    .location-result .result-table table tbody tr {
        counter-increment: step-counter;
    }

    .location-result .result-table table tbody tr td {
        display: block;
        border: 1px solid #DEEAEE;
        background: #fff;
    }

    .location-result .result-table table tbody tr td+td {
        border-top: none;
    }

    .location-result .result-table table tbody tr:last-child td {
        border-bottom: 1px solid #DEEAEE;
    }

    .location-result .result-table table tbody tr td:first-child {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .location-result .result-table table tbody tr td:last-child {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .location-result .result-table table tbody tr td .name::before {
        content: counter(step-counter)'.';
        margin-right: 5px;
        display: inline-block;
    }

    .result-right-side .show-entries {
        margin-bottom: 20px;
    }

    .result-right-side .show-entries,
    .result-right-side nav.ms-auto {
        flex: 0 0 100%;
        text-align: center;
    }

    .result-right-side nav .pagination {
        justify-content: center;
    }

    .common-text {
        margin-top: 30px;
    }

    .provider-detail-modal .modal-content .modal-body {
        padding: 10px 15px 30px;
    }

    .provider-result .result-table table tbody tr td {
        width: 100%;
    }

    .provider-result .result-table table tbody tr td+td+td {
        display: flex;
        padding: 0;
    }

    .provider-result .result-table table tbody tr td+td+td::before {
        flex: 0 0 calc(47% - 20px);
        max-width: calc(47% - 20px);
        padding: 15px;
    }

    .provider-result .result-table table tbody tr td:before {
        line-height: 24px;
        color: #565872;
        font-weight: 400;
        border-right: 1px solid #DEEAEE;
        margin-bottom: 0;
    }

    .provider-result .result-table table tbody tr td+td+td p {
        color: #232323;
        font-size: 13px;
        line-height: 24px;
        padding: 15px;
    }

    .provider-result .result-table table tbody tr td:nth-child(7) {
        padding: 15px;
    }

    .provider-result .result-table table tbody tr.collapse-data .location-listing {
        grid-template-columns: repeat(1, 1fr);
    }

    .provider-result .show-entries,
    .provider-result nav.ms-auto {
        width: 100%;
        text-align: center;
    }

    .provider-result nav .pagination {
        justify-content: center;
        margin-top: 20px;
    }

    .top-header .navbar-brand img {
        height: 30px;
    }
    .tabs-main .tabs-listing li a {
        font-size: 13px;
        padding: 8px 15px;
    }
    .export-btn {
        margin-left: 0 !important;
        margin-top: 10px;
        font-size: 13px;
        padding: 10px 15px;
    }
    .tabs-main .tabs-listing{
        width:100%;
    }
    .modal-backdrop{
        z-index: 999;
    }
    .mail-fax-modal {
        z-index: 99999;
    }
    .modal-backdrop + .modal-backdrop {
        z-index: 9999;
    }
    #detailsModal{
        z-index: 9999;
    }
}