/home/moonrcjl/template.moontelict.com/a.laxfy/assets/scss/components/_accordion.scss
@use '../utils' as *;

/*----------------------------------------*/
/*  2.12 Accordion
/*----------------------------------------*/
.mt-custom-accordion {
    & .accordion-items {
        margin-bottom: 20px;
        // background-color: rgb(255, 255, 255);
        // box-shadow: 2px 3.464px 20px 0px rgba(16, 23, 40, 0.06);
    }

    & .accordion-buttons {
        position: relative;
        width: 100%;
        font-weight: 700;
        font-size: 18px;
        text-align: left;
        // padding: 21px 30px;
        // padding-left: 75px;
        @include transition(.3s);
        color: var(--mt-common-black);
        // background-color: var(--mt-common-white);

        @media #{$lg} {
            font-size: 17px;
        }

        @media #{$md} {
            font-size: 16px;
        }

        @media #{$xs} {
            font-size: 15px;
            padding: 21px 20px;
            padding-left: 63px;
        }

        @media #{$sm} {
            font-size: 14px;
        }

        & span {
            color: #51666C;
            font-size: 16px;
            display: block;
            margin-top: 5px;
        }

        &:hover {
            // background-color: var(--mt-theme-1);
            // color: var(--mt-common-white);

            // &::after {
            //     background-color: var(--mt-common-white);
            //     color: var(--mt-common-white);
            // }
        }

        &::after {
            position: absolute;
            content: "\f106";
            font-family: "Font Awesome 5 Pro";
            top: 19px;
            right: 30px;
            font-weight: 700;
            font-size: 20px;
            opacity: 1;
            /* width: 25px; */
            /* height: 25px; */
            /* line-height: 25px; */
            text-align: center;
            border-radius: 50%;
            /* background-color: var(--mt-theme-1); */
            color: var(--mt-common-black);
           @include transition(.3s);

            @media #{$xs} {
                left: 20px;
            }
        }

        &.collapsed {
            &::after {
                content: '\f107';
            }
        }

        &:not(.collapsed) {
            // border-bottom: 1px solid #ececed;
            // background-color: var(--mt-theme-1);
            // color: var(--mt-common-white);

            &::after {
                // background-color: var(--mt-common-white);
                color: var(--mt-theme-1);
            }
        }


    }

    & .collapsed {
        position: relative;
        z-index: 8;
    }

    & .accordion-body {
        // padding: 15px 30px;
        // padding-bottom: 25px;
        // padding-right: 50px;
        position: relative;
        z-index: 1;
        font-weight: 400;
        font-size: 16px;
        line-height: 30px;
        padding: 0px;
        border-bottom: 1px solid var(--mt-border-2);
        // background-color: var(--mt-common-white);

        @media #{$xl} {
            font-size: 15px;
        }

        @media #{$lg} {
            font-size: 14px;
        }

        @media #{$md} {
            font-size: 14px;
        }

        @media #{$xs} {
            padding: 15px 20px;
            padding-bottom: 25px;
            padding-right: 20px;
            font-size: 14px;
        }

        @media #{$sm} {
            font-size: 15px;
        }
    }
}

.mt-custom-accordion-2 {
    & .accordion-items {
        margin-bottom: 20px;
        border: 1px solid var(--mt-border-2);
        border-radius: 10px;
    }

    & .accordion-buttons {
        position: relative;
        width: 100%;
        font-weight: 700;
        font-size: 18px;
        text-align: left;
        padding: 21px 30px;
        padding-left: 60px;
       @include transition(.3s);
        color: var(--mt-common-black);
        border-radius: 10px;
        // border: 1px solid var(--mt-border-1);

        @media #{$lg} {
            font-size: 17px;
        }

        @media #{$md} {
            font-size: 16px;
        }

        @media #{$xs} {
            font-size: 15px;
        }

        @media #{$sm} {
            font-size: 17px;
        }

        &::after {
            position: absolute;
            content: "\f068";
            font-family: 'Font Awesome 5 Pro';
            top: 15px;
            left: 10px;
            font-weight: 700;
            font-size: 12px;
            opacity: 1;
            color: var(--mt-common-black);
            border-radius: 30px;
            border: 1px solid var(--mt-theme-1);
            padding: 10px 12px;
           @include transition(.3s);

            @media #{$xs} {
                right: 20px;
            }
        }

        &.collapsed {
            &::after {
                content: '\f067';
                border: 1px solid var(--mt-common-black);
            }
        }

    }

    & .collapsed {
        position: relative;
        z-index: 99;
    }

    & .accordion-body {
        position: relative;
        z-index: 1;
        font-weight: 400;
        font-size: 16px;
        line-height: 30px;
        border-radius: 10px;
        // border: 1px solid var(--mt-border-1);
        padding: 21px 30px;
        margin-top: -1px;

        @media #{$xl} {
            font-size: 15px;
        }

        @media #{$lg} {
            font-size: 14px;
        }

        @media #{$md} {
            font-size: 14px;
        }

        @media #{$xs} {
            font-size: 13px;
            padding-right: 0;
            line-height: 26px;
        }

        @media #{$sm} {
            font-size: 15px;
        }
    }
}

.mt-faq-wrapper {
    @media #{$md,$xs} {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}


// 

.mt-accordion {
    &-header {
        margin: 0;
    }

    &-item {
        border-radius: 24px;
        border: 1.5px solid #FD5725;
        background: #FFF;
        box-shadow: 0px 30px 50px 0px rgba(5, 21, 53, 0.06);
    }

    &-button {
        width: 100%;
        padding: 23px 30px;
        text-align: left;
        color: #051535;
        font-size: 26px;
        font-weight: 500;
        line-height: 22px;
        position: relative;

        @media #{$md,$xs} {
            display: inline-flex;
        }

        @media #{$xs} {
            padding: 15px 20px;
            font-size: 20px;
        }

        &:after {
            content: "\f106";
            font-family: "Font Awesome 6 Pro";
            position: absolute;
            right: 30px;
            top: 50%;
            @include transform(translateY(-30%));
            color: #FD5725;

            @media #{$xs} {
                right: 10px;
                top: 28%;
            }

        }

        & span {
            margin-right: 20px;
            font-size: 26px;
            color: #fff;
            border-radius: 100px;
            background: linear-gradient(91deg, #EE7824 1.21%, #F6C107 101.83%);
            box-shadow: 0px 22px 35px -2px rgba(251, 137, 91, 0.24);
            width: 50px;
            height: 50px;
            display: inline-block;
            line-height: 50px;
            text-align: center;

            @media #{$xs} {
                margin-right: 10px;
                font-size: 18px;
                width: 30px;
                height: 30px;
                line-height: 30px;
                display: inline-block;
                flex: none;
            }
        }

        &.collapsed {
            &:after {
                content: "\f107";
                font-family: "Font Awesome 6 Pro";
                position: absolute;
                right: 30px;
                top: 50%;
                @include transform(translateY(-30%));
                color: #FD5725;
                @media #{$xs} {
                    right: 10px;
                    top: 28%;
                }

            }
        }
    }

    &-body {
        margin: 0 30px 35px 100px;
        border-left: 1px solid #5F708C;
        padding-left: 20px;

        @media #{$xs} {
            margin: 0 6px 20px 6px;
            padding-left: 5px;
        }

        & p {
            color: #55607A;
            font-size: 20px;
            font-weight: 400;

            @media #{$xs} {
                font-size: 17px;
            }
        }
    }
}