﻿
.spl-vert-container, .spl-horz-container {
    flex: 1;
    display: flex;
    overflow: hidden;
    height: 100%;
}

.spl-horz-container {
    flex-direction: column;
}

.spl-left-pane, .spl-right-pane {
    display: flex;
    position: relative;
    min-width: 10px;
    overflow: hidden;
    flex-direction: column;
    height: 100%
}


.spl-left-pane, .spl-top-pane {
    flex: 0 0 auto;
}

.spl-right-pane, .spl-bottom-pane {
    flex: 1;
}



.spl-top-pane, .spl-bottom-pane {
    display: flex;
    flex-direction: column;
    min-height: 0.625rem;
    overflow: hidden;
}

.tng-dark-theme .spl-vert-splitter, .tng-dark-theme .spl-horz-splitter {
    background-color: var(--blue-2);
}

.spl-vert-splitter, .spl-horz-splitter {
    flex: 0 0 0.308rem;
    background-color: var(--blue-3);
    position: relative;
}

.spl-vert-splitter {
    height: 100%;
    cursor: ew-resize;
}

    .spl-vert-splitter:before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 0.25rem;
        left: -0.25rem;
        background-color: transparent;
        z-index: 2;
    }

    .spl-vert-splitter:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 0.25rem;
        right: -0.25rem;
        background-color: transparent;
        z-index: 2;
    }

.spl-horz-splitter {
    width: 100%;
    cursor: ns-resize;
}

    .spl-horz-splitter:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 0.25rem;
        top: -0.25rem;
        background-color: transparent;
        z-index: 2;
    }

    .spl-horz-splitter:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 0.25rem;
        bottom: -0.25rem;
        background-color: transparent;
        z-index: 2;
    }

.spl-vert-tggl-btn-nocollapsed {
    padding: 0.3rem 0.5rem;
    float: right;
    color: var(--textcolor-1);
    outline: none;
    border: none;
    width: auto;
}

.tng-dark-theme .spl-vert-tggl-btn-nocollapsed {
    color: var(--dark-textcolor-1);
}

.tng-dark-theme .spl-vert-tggl-btn-collapsed {
    color: var(--dark-textcolor-1);
}

.spl-vert-tggl-btn-collapsed {
    padding: 0.3rem 0.5rem;
    float: right;
    color: var(--textcolor-1);
    outline: none;
    border: none;
    width: auto;
}

.spl-left-pane-bottom {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: flex-end;
    background-color: transparent;
    border-right: 1px solid var(--border-1);
    cursor: pointer;
    height: 1.75rem;
}

.spl-right-pane-bottom {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    background-color: transparent;
    border-left: 1px solid var(--border-1);
    cursor: pointer;
    height: 1.75rem;
}

.tng-dark-theme .spl-right-pane-bottom {
    border-left: 1px solid var(--dark-border-1);
}

.tng-dark-theme .spl-left-pane-bottom {
    border-right: 1px solid var(--dark-border-1);
}

.spl-left-pane-content {
    display: flex;
    flex: 1;
    overflow: auto;
    flex-direction: column;
}

.spl-right-pane-content {
    flex: 1;
    overflow: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.spl-horz-control {
    height: 1.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.spl-horz-control-btn {
    padding: 0 0.5rem;
    right: 0;
    color: black;
    outline: none;
    border: none;
    width: auto;
    height: 100%;
}

    .spl-horz-control-btn:focus {
        box-shadow: none;
    }

.tng-dark-theme .spl-horz-control-btn {
    color: white;
}

.horz-border {
    border-top: 1px solid var(--border-1);
}

.tng-dark-theme .horz-border {
    border-top: 1px solid var(--dark-border-1);
}

.collapsed-header-content {
    flex: 1;
    margin: 0.2rem;
    height: 1.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.header-content {
    margin: 0.2rem;
    height: 1.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.5rem;
    width: 100%;
    cursor: pointer;
}

/*Left-Pane-Collapsed*/
/*-----------------------------*/
.spl-left-pane-collapsed {
    width: 35px;
}

.spl-left-pane-content-collapsed {
    display: none;
}

.spl-left-pane-bottom-collapsed {
    height: 100%;
    justify-content: center;
    border-top: unset;
    align-items: flex-end;
}

.spl-right-pane-full {
}

.spl-right-pane-content-full {
    display: unset;
}

.spl-right-pane-bottom-full {
    display: none;
}


/*Right-Pane-Collapsed*/
/*-----------------------------*/
.spl-left-pane-full {
    width: calc(100% - 35px);
}

.spl-left-pane-content-full {
    display: unset;
}

.spl-left-pane-bottom-full {
}

.spl-right-pane-collapsed {
    width: 35px;
    height: 100%;
    right: 0;
}

.spl-right-pane-content-collapsed {
    display: none;
}

.spl-right-pane-bottom-collapsed {
    height: 100%;
    justify-content: center;
    border-top: unset;
    align-items: flex-end;
}

.spl-collapsed-pane-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}


.spl-vert-splitter-hidden {
    display: none;
}

.spl-vert-header-content{
    display:flex;
    flex-direction: row;
}
