
html, body {
    margin: 0;
    padding: 0;
    // height: 100%;
}

// #app {
//     height: 100%;
// }

.ps-layout-wrapper * {
    box-sizing: border-box;
}

.ps-layout-wrapper {
    display: flex;
    flex-direction: column;

    // min-width: 700px; /*height 최소 고정값으로 적용*/
    // // height: 100%;
    // overflow-y: hidden;

    margin: 0;
    padding: 0;

    .ps-layout-header {
        line-height: 3;
        // z-index: 1071;
        z-index: 100;
        position: sticky;
        // position: sticky;
        // position: relative;
        top: 0;
        margin: 0;
        padding: 0 13px 0 0;
        width: 100%;
        height: 3rem;
        display: block;
        background-color: @primary-color;
        color: @white;

        .navbar {
            .navbar-logo {
                padding: 0 10px;
                float: left;
            }

            .navbar-nav {
                float: left;
            }

            .navbar-item {
                // padding: 5px !important;
                float: right !important;
                // display: inline-block;
                // border-left: 1px solid @primary-3;
                button.ps-button {
                    height: 100%;
                    padding: 8px 13px !important;
                    border: unset;
                    border-radius: unset;
                    background-color: transparent;
                    color: @primary-3;
                    font-size: @font-size-lg3;
                    &:hover, &:active, &:focus {
                        background: @primary-8;
                        color: @white;
                    }
                }
            }
        }
    }

    .ps-layout-bookmark {
        position: sticky;
        top: 3rem;//49px;
        // z-index: 1070;
        z-index: 99;
        line-height: 2;
        width: 100%;
        height: 2rem;
        // padding-top: 42px;
        padding: 3px 0 3px 8px;
        background-color: @gray-2;
        border-bottom: 1px solid @gray-3;
        button.ps-button {
            color: @gray-6;
            border-color: transparent;
            &:hover {
                background-color: @gray-1 !important;
                color: @primary-6;
                border: 1px solid @gray-3;
            }
            &:focus {
                border-color: transparent;
            }
        }
    }

    .ps-layout-container {

        .ps-layout-main {
            // display: flex;
            // flex-direction: column;
            // height: 100%;
            // margin-top: 84px;
            // min-height: 800px;
            // overflow: auto;
            // margin: 0;
            padding: 0;

            .ps-layout-breadcrumb {
                // line-height: 3;
                // padding-left: 24px;
                position: sticky;
                top: 5rem;//84px;
                width: 100%;
                // z-index: 1069;
                z-index: 98;
                background-color: @gray-1;
                border-bottom: 1px solid @gray-2;
                padding: 5px 24px;
                height: 30px;
            }

            .ps-layout-content {
                display: flex;
                // flex: 1 0 auto;
                margin: 0;
                padding: 10px 20px;
                // overflow-y: auto;
                // height: 100%;
                min-height: 800px;
                background-color: @white;
                // flex-grow: 1;

                >div {
                    // height: 100%;
                    padding: 0;
                    margin: 0;
                    width: 100%;
                }
            }
        }

        .ps-layout-side {
            background-color: white;
            position: fixed;
            box-sizing: border-box;
            top: 0;
            box-shadow: rgba(0, 0, 0, 0.12) 0 1px 6px, rgba(0, 0, 0, 0.12) 0 1px 4px;
            // z-index: 1080;
            z-index: 103;
            color: black;
            height: 100%;
            transition-property: transform;
            transition-duration: 0.3s;
            overflow-y: auto;
        }

        .ps-layout-leftside-toggle-button.ps-button {
            display: inline-flex;
            position: fixed;
            left: 10px;
            bottom: -5px;
            width: 42px !important;
            height: 42px !important;
            border: unset;
            // z-index: 1081;
            z-index: 104;
            background: transparent;
            color: @primary-3;
            &:hover, &:active, &:focus {
                background: transparent;
                color: @primary-4;
            }
        }

        .ps-layout-rightside-toggle-button.ps-button {
            position: fixed;
            right: 10px;
            bottom: -5px;
            width: 42px !important;
            height: 42px !important;
            border: unset;
            // z-index: 1001;
            z-index: 104;
            background: transparent;
            color: @primary-3;
            &:hover, &:active, &:focus {
                background: transparent;
                color: @primary-4;
            }
        }
    }

    .ps-layout-footer {
        height: 2rem;
        text-align: center;
        font-size: @font-size-sm;
        color: @primary-4;
        background-color: transparent;
    }
}
