/* Frequently Asked Questions Section
--------------------------------*/

#faq {
    /* padding: 60px 0; */
    overflow: hidden;
    background: #FFF
}

#faq #faq-list {
    padding: 0;
    list-style: none !important;
}

#faq #faq-list>li {
    border-bottom: 1px solid #ddd;
}

#faq #faq-list li ul li {
    border-bottom: none !important;
}

#faq #faq-list a {
    padding: 18px 0;
    display: block;
    position: relative;
    font-size: 22px;
    line-height: 1;
    font-weight: normal;
    padding-right: 20px;
    color: #000;
}

#faq #faq-list a:hover {
    color: var(--ci-primary);
}

#faq #faq-list i {
    font-size: 24px;
    position: absolute;
    right: 0;
    /* top: 16px; */
    top: 50%;
    transform: translate(-50%, -50%);
}

#faq #faq-list p {
    margin-bottom: 1lh;
}

@media (max-width: 768px) {
    #faq #faq-list a {
        font-size: 18px;
    }
/* 
    #faq #faq-list i {
        top: 13px;
    } */
}

.row-mh {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: flex-end!important; */
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    padding: .2rem;
}

.row-mh-single {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    padding: .2rem;
}

@media (min-width:576px) {
    .row-mh {
        width: 100%;
        max-width: 540px;
    }

    .row-mh-single {
        padding: .7rem;
    }
}

@media (min-width:768px) {
    .row-mh {
        width: 100%;
        max-width: 720px;
    }

    .row-mh-single {
        padding: .7rem;
    }
}

@media (min-width:992px) {
    .row-mh {
        width: 100%;
        max-width: 960px;
    }

    .row-mh-single {
        padding: .7rem;
    }
}

@media (min-width:1200px) {
    .row-mh {
        width: 100%;
        max-width: 1140px;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -moz-flex;
        display: -webkit-flex;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        flex-direction: row;
        padding: .2rem;
    }

    .row-mh-single {
        padding: .7rem;
    }
}

.column {
    width: calc(100% - 15px);
    /*calc(100%);*/
    margin: 10px auto;
}

@media only screen and (min-width: 576px) {
    .column {
        width: calc(50% - 20px);
        margin: 10px auto;
    }
}

@media only screen and (min-width: 992px) {
    .column {
        width: calc(33.333334% - 20px);
        margin: 10px auto;
    }
}

#faq #faq-list a.collapse {
    color: var(--ci-primary) !important;
}

#faq #faq-list a.collapsed {
    color: #000 !important;
}

#faq #faq-list a.collapsed i::before {
    content: "\f2c7" !important;
}

#faq #faq-list a[aria-expanded="true"] {
    color: var(--ci-primary) !important;
}
    /* :root{} */
    [data-parent="#faq-list"] li {
        margin-bottom: .25lh;
    }

    .step-label {
        text-align: center;
        column-gap: 1.5rem;
        align-items: center;
    }

    .step-label>div {
        padding: .25rem .5rem;
        background-color: var(--ci-primary);
        color: white;
        font-size: small;
        position: relative;
        border-radius: .25rem;

        &:not(:last-of-type)::after {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
            border-left: 8px solid var(--ci-primary);
            top: 50%;
            transform: translate(100%, -50%);
            right: 0%;
        }
    }

    :is(#faq1) table :is(td, th) {
        vertical-align: middle;
    }

    table::-webkit-scrollbar {
        width: 5px;
        height: 3px;
    }

    table {
        padding-bottom: 1rem;
    }

    #faq1 thead tr:not(:first-of-type) th:not(:first-of-type) {
        background-color: var(--ci-primary);
        color: white;
    }

    #faq1 tbody tr th {
        width: min(250px, 15vmax);
    }

    #faq1 tbody tr td {
        min-width: 150px;
    }

    #faq3 thead tr th {
        background-color: var(--ci-primary);
        color: white;

        &:nth-of-type(1) {
            width: 25%;
            min-width: 100px;
        }

        &:nth-of-type(2) {
            width: 30%;
            min-width: 125px;
        }

        &:nth-of-type(3) {
            width: 20%;
            min-width: 75px;
        }

        &:nth-of-type(4) {
            width: 25%;
            min-width: 100px;
        }
    }

    :is(#faq4, #faq5) thead tr th {
        background-color: var(--ci-primary);
        color: white;
        width: 20%;
        min-width: 75px;
        vertical-align: middle;
    }
    :is(#faq7) thead tr th {
        background-color: var(--ci-primary);
        vertical-align: middle;
    }