.legalhub-footer {
    border-top: 1px solid var(--rv-aut-footer-border);
    border-bottom: 1px solid var(--rv-aut-footer-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 10px 0;

    div,
    b,
    p {
        color: var(--aut-footer-text);

    }

    div,
    b,
    p,
    a {
        font-size: 14px;
        margin-bottom: 0;


    }

    a {
        color: var(--aut-footer-link);

        &:hover {
            color: var(--aut-footer-link-hover);
        }
    }

    &>div {
        width: 100%;
        display: block;
    }


    .legalhub-footer-registration-bar {
        order: 1;
    }

    .legalhub-footer-legal-links {
        order: 2;

    }

    .legalhub-footer-disclaimer {
        order: 3;
    }

    .legalhub-footer-company-details {
        order: 4;
        padding-bottom: 20px;

    }



    .legalhub-footer-link-list {
        padding: 10px 0;
        border-top: 1px solid var(--rv-aut-footer-border);
        border-bottom: 1px solid var(--rv-aut-footer-border);
        padding-left: 0;
        display: flex;
        gap: 5px 24px;
        list-style: none;
        margin: 15px 0;
        justify-content: center;
        flex-wrap: wrap;

        li {
            position: relative;

            &::after {
                content: '|';
                position: absolute;
                right: -12px;
                color: var(--aut-footer-text);

            }

            &:last-child {
                &::after {
                    content: unset;
                }
            }

            a {
                color: var(--aut-footer-link);

                &:hover {
                    color: var(--aut-footer-link-hover);
                }
            }
        }
    }

    .legalhub-footer-amfi-badge {
        display: flex;
        order: 5;
        gap: 10px;
        justify-content: center;

        img {
            height: 60px;
            border-radius: 3px;
            object-fit: contain;

        }

    }
}

.legalhub-page {
    .legalhub-page-section .legalhub-section-content .legalhub-arn-list p {
        margin-bottom: 0;
    }

    .legalhub-table {
        width: 100%;
        margin-bottom: 1rem;
        color: #212529;
        border-collapse: collapse;
        border-spacing: 0;
        font-size: 15px;
        background-color: #fff;

        th:first-child,
        td:first-child {
            white-space: nowrap;
        }

        thead {
            background-color: #212529;
            color: #fff;

            tr {
                background-color: #212529;

                th {
                    padding: 0.75rem;
                    vertical-align: middle;
                    text-align: left;
                    font-weight: 600;
                    border: 1px solid #454d55;
                    color: var(--rv-white);
                    white-space: nowrap;
                }
            }
        }



        tbody {
            background-color: var(--rv-white);

            tr {
                background-color: var(--rv-white);

                &:nth-child(even) {
                    background-color: #f8f9fa;
                }

                &:hover {
                    background-color: #f1f3f5;
                }

                td {
                    img {
                        height: 45px;
                        width: 122px;
                        object-fit: contain;
                        object-position: left;
                        background: var(--rv-white);
                        padding: 3px;
                        border-radius: 3px;

                    }

                    padding: 0.75rem;
                    vertical-align: middle;
                    border: 1px solid #dee2e6;
                    color: var(--rv-black);
                    text-align: left;

                    a {
                        color: var(--rv-black);
                        text-decoration: none;

                        &:hover {
                            color: var(--rv-secondary);
                            text-decoration: underline;
                        }
                    }
                }
            }
        }

    }



    @media (max-width: 767.98px) {
        table {
            min-width: 700px;
            font-size: 14px;
        }

        table thead th,
        table tbody td {
            padding: 0.6rem;
        }
    }

}

.legalhub-page[data-slug="grievance-redressal"] .legalhub-page-section-2 {
    margin-bottom: 15px;

    p {
        margin-bottom: 5px;
    }
}

.legalhub-page[data-slug="privacy-policy"] .legalhub-section--contact-for-privacy-concerns {
    margin-bottom: 15px;

    p {
        margin-bottom: 5px;
    }
}

.legalhub-page[data-slug="commission-disclosures"] .legalhub-page-section.legalhub-section--commission-rate-ranges-by-amc-fund-category-pms,
.legalhub-page[data-slug="commission-disclosures"] .legalhub-page-section.legalhub-section--commission-rate-ranges-by-amc-fund-category-sif,
.legalhub-page[data-slug="commission-disclosures"] .legalhub-page-section.legalhub-section--commission-rate-ranges-by-amc-fund-category-mutual-fund {
    display: none;
}

.legalhub-page[data-slug="privacy-policy"] .legalhub-section--contact-for-privacy-concerns p {
    margin: 0;
}

.legalhub-page {



    .legalhub-table.legalhub-table--scheme-wise-commission-disclosure {

        th:nth-child(3),
        td:nth-child(3) {
            display: none;
        }
    }
}
 

body .legalhub-page .legalhub-table-responsive table {
    max-width: 100%;
       width: 100% !important;
    margin-bottom: 20px;
}
@media only screen and (max-width: 992px) {
.legalhub-page .legalhub-table-responsive{
            overflow-x: scroll;
        }
    .legalhub-page[data-slug="grievance-redressal"] .legalhub-page-section.legalhub-page-section-5.legalhub-section--escalation-matrix,
    .legalhub-page[data-slug="grievance-redressal"] .legalhub-page-section.legalhub-page-section-4.legalhub-section--complaint-resolution-process,
    .legalhub-page[data-slug="registration-disclosure"] .legalhub-page-section.legalhub-page-section-2,
    .legalhub-page[data-slug="scheme-wise-commission-disclosure"] .legalhub-page-section.legalhub-page-section-2 {
        .legalhub-section-content {
            overflow-x: scroll;
        }
    }

    .legalhub-page[data-slug="grievance-redressal"] .legalhub-page-section.legalhub-page-section-5.legalhub-section--escalation-matrix,
    .legalhub-page[data-slug="grievance-redressal"] .legalhub-page-section.legalhub-page-section-4.legalhub-section--complaint-resolution-process {
        .legalhub-section-content {

            margin-bottom: 20px;
        }
    }
}

:root {
 
--rv-white: #fff;
--rv-black: #070707;
--aut-footer-link: var(--rv-secondary);
--aut-footer-link-hover: var(--rv-white);
--aut-footer-text: var(--rv-white);
--rv-aut-footer-border: var(--rv-white);
}

.legalhub-footer {
    div, b, p, a {
     
        text-align: center;
    }
}

.legalhub-footer {
    .legalhub-footer-amfi-badge {
         margin-top: 15px;
    }
}