/*
Copyright 2021 The Matrix.org Foundation C.I.C.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_SettingsFieldset {
    margin: 10px 80px 10px 0;
    box-sizing: content-box;
}

.mx_SettingsFieldset_legend {
    font-size: $font-16px;
    display: block;
    font-weight: $font-semi-bold;
    color: $primary-content;
    margin-bottom: 10px;
    margin-top: 12px;
}

.mx_SettingsFieldset_description {
    color: $settings-subsection-fg-color;
    font-size: $font-14px;
    display: block;
    margin-top: 0;
    margin-bottom: 10px;

    p {
        margin-top: 10px;
        margin-bottom: 0;

        &:first-child {
            margin: 0;
        }
    }
}
