/*
 * This file is part of the Sylius package.
 *
 * (c) Sylius Sp. z o.o.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

.accordion-flat {
    .accordion-collapse {
        border-width: 0;
    }

    .accordion-item {
        border-left: 0;
        border-right: 0;
        border-radius: 0;

        .accordion-button,
        .accordion-body {
            padding-left: 0;
            padding-right: 0;
            border-radius: 0;
        }

        .accordion-button {
            &:active {
                background: $gray-100;
            }

            &:not(.collapsed) {
                box-shadow: none;
            }
        }

        .accordion-body {
            padding-top: $s_accordion-body-padding-top;
            padding-bottom: $s_accordion-body-padding-bottom;
        }
    }
}
