// /**
//  * Copyright Â© Magento, Inc. All rights reserved.
//  * See COPYING.txt for license details.
//  */

//
//  Variables
//  _____________________________________________

@color-border-legend: @color-gray80;

//

.form-legend,
.form-legend-light,
.form-legend-expand {
    display: block;
    margin: 0;
}

.form-legend,
.form-legend-expand {
    font-size: 1.25em;
    font-weight: @font-weight__semibold;
    margin-bottom: 2.5em;
    padding-top: 1.5em;
}

.form-legend {
    border-top: 1px solid @color-border-legend;
    width: 100%;
}

.form-legend-light {
    font-size: 1em;
    margin-bottom: 1.5em;
}

.form-legend-expand {
    cursor: pointer;
    transition: opacity .2s linear;

    &:hover {
        opacity: .85;
    }

    &.expanded {
        &:after {
            content: @icon-expand-close__content;
        }
    }

    &:after {
        content: @icon-expand-open__content;
        font-family: @icons__font-family;
        font-size: 1.15em;
        font-weight: @font-weight__regular;
        margin-left: .5em;
        vertical-align: sub;
    }
}
