﻿html, body, body > form {
    height: 100%;
    padding: 0;
    margin: 0;
}

.zero-size {
    width: 0;
    height: 0;
}

.layout-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}


layout-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
}


.layout-article {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.layout-aside {
    flex: 0 0 230px;
    background: #2e4559; /**#161f26;**/
    padding: 0 8px 0 8px;
    box-sizing: border-box;
    display: flex;
}

.layout-aside-content {
    flex: 1;
}

.layout-content {
    flex: 1;
    padding: 18px 18px 8px 28px;
}

.layout-footer {
    flex: 0 0 auto;
    position: sticky;
    left: 0;
}

#layout-nib {
    display: none;
}

.layout-nib-content {
    flex: 0 0 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.layout-nib-content label {
    flex: 1;
    display: flex;
}

.layout-nib-column-left {
    flex: 1;
    /*background-color: #2C3E50;*/
    display: flex;
    flex-direction: column;
}

.layout-nib-column-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.layout-nib-presentation {
    position: relative;
    top: 14px;
    background: white;
    padding: 4px 4px 2px 4px;
    border-radius: 2px;
    border: solid 1px lightgray;
}

.layout-nib-content:hover .layout-nib-presentation {
    border: solid 2px goldenrod;
}

.layout-nib-content:hover .layout-nib-column-left {
    /*border-right: solid 1px goldenrod;*/
}

.layout-nib-content:hover .layout-nib-column-right {
   /* border-left: solid 1px goldenrod;*/
}

#layout-nib:checked ~ .layout-article .layout-aside {
    display: none;
}

#layout-nib:checked ~ .layout-article .layout-nib-content .when-nib-expanded {
    display: none;
}

#layout-nib:not(:checked) ~ .layout-article .layout-nib-content .when-nib-contracted {
    display: none;
}
