/**
 * Copyright (c) Enalean, 2019 - Present. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see http://www.gnu.org/licenses/.
 *
 *
 */

.embedded-document-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-bottom: var(--tlp-medium-spacing);

    > .document-header {
        flex: 0 0 auto;
        padding: var(--tlp-large-spacing) var(--tlp-medium-spacing) var(--tlp-medium-spacing);
    }
}

.embedded-document-container-warning {
    margin: 0 var(--tlp-medium-spacing) var(--tlp-medium-spacing);
}

.embedded-document {
    flex: 1 1 auto;
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;

    h1 {
        font-size: 36px;
    }

    &.narrow {
        justify-content: center;
        background: var(--tlp-background-color-lighter-50);

        > .tlp-pane-container {
            flex: 0 1 auto;
            max-width: 800px;
            padding: var(--tlp-jumbo-spacing);
            background: var(--tlp-white-color);
        }
    }
}
