.ui-accordion {

    &-header {
        padding: 0 !important;
        background-color: $white !important;
        margin: 0;

        > a {
            padding: 30px 50px !important;
            border: 1px solid $greyBorder;
            border-left: 0;
            border-right: 0;
            position: relative;

            .ui-accordion-toggle-icon {
                position: absolute;
                right: 50px;
                color: $darkColor;
                border: 1px solid $greyBorder;
                border-radius: 50%;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            p-header {
                display: flex;
                align-self: center;

                .mc-tab-header {
                    &-text {
                        font-weight: 600;
                        color: $darkColor;
                        flex: 0 0 25%;
                        display: flex;
                        align-self: center;
                    }

                    &-content {
                        display: flex;
                        align-self: center;
                        flex: 0 0 75%;
                        position: relative;

                        .header-percentage {
                            display: flex;
                            align-self: center;

                            &-value {
                                font-weight: bold;
                                font-size: 24px;
                                color: $textGrey;
                                min-width: 70px;
                                text-align: right;
                            }

                            &-bar {
                                flex: 0 0 70%;
                                margin-left: 3%;
                                display: flex;
                                align-self: center;

                                p-progressBar {
                                    width: 100%;

                                    .ui-progressbar {
                                        height: 24px;

                                        &-value {
                                            height: 24px;
                                        }
                                    }
                                }
                            }
                        }

                    }
                }
            }
        }
    }

    &-content {
        border: 0 !important;
        background: #f2f2f2;

    }
}


@media screen and (max-width: 1024px) {
    .ui-accordion-header > a {
        padding: 30px 10px !important;

        .ui-accordion-toggle-icon {
            bottom: 60px;
            width: 25px;
            height: 25px;
            right: 20px;
        }

        p-header {
            display: block;

            .mc-tab-header {
                &-text {
                    justify-content: center;
                    margin-bottom: 8px;
                }

                &-content {
                    display: flex;
                    align-self: center;
                    flex: 0 0 75%;
                    position: relative;

                    .header-percentage {
                        display: flex;
                        align-self: center;

                        &-value {
                            font-size: 18px;
                            text-align: left;
                        }

                        &-bar {

                            p-progressBar {

                                .ui-progressbar {
                                    height: 16px;

                                    &-value {
                                        height: 16px;
                                    }
                                }
                            }
                        }
                    }

                }
            }
        }
    }

    &-content {
        padding: 0;
    }
}
