html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: auto;
}
div.main-login {
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    background: #e17000;
}
div.login-panel {
    width: 600px;
    background: white;
}

div.main-session {
    background: white;
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: stretch;
}
div.main-session div.header {
    flex: 0 0 content;
}
div.main-session div.header toppyt-task {
    display: flex;
    flex-direction: column;
}
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task,
div.main-session div.header nav.navbar.is-primary > .navbar-end > toppyt-task {
    flex-direction: row;
}
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item,
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item.has-dropdown > .navbar-item
{
    color: #fff;
}
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item:hover,
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item.has-dropdown > .navbar-item:hover 
{
    background-color: #11365d;
}
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item.selected,
div.main-session div.header nav.navbar.is-primary > .navbar-start > toppyt-task > .navbar-item.has-dropdown > .navbar-item.selected
{
    background-color: #e17000;
}
div.main-session div.header nav.navbar.is-primary > .navbar-end > toppyt-task > .navbar-item.has-dropdown > .navbar-dropdown > toppyt-task {
    flex-direction: column;
}
div.main-session div.header h1 {
    font-size: 22pt;
    font-weight: bold;
}
div.main-session div.body {
    flex: 1 1 auto;
    display: flex;
    overflow: auto;
}
div.main-session div.body > toppyt-task {
    flex: auto;
    display: flex;
    flex-direction: row;
}

flex-resizer {
    width: 5px;
    background: #eee;
    cursor: ew-resize;
    flex: 0 0 auto;
}

div.main-menu {
    flex: 0 0 auto;
    width: 20%;
    min-width: 150px;
    padding: 5px;
    overflow: auto;
}
div.main-body {
    flex: 1 1 auto;
    padding: 10px;
    display: flex;
    flex-direction: row;
    overflow: auto;
}

div.main-body > toppyt-task {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

div.main-header {
    flex: 0 0 fit-content;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}
div.main-header > div:first-child {
    flex: 1;
}
div.main-header > div:last-child {
    flex: 0 0 fit-content;
    display: flex;
    flex-direction: row;
}
div.main-body > toppyt-task, div.main-body > toppyt-task local-tab > toppyt-task {
    flex: 1;
    display: flex;
    flex-direction: column;
}
div.main-body local-tabs {
    flex: 1;
    min-height: 0;
}
div.main-body script-editor {
    flex: 1;
    border: 1px solid #eee;
}
div.main-body python-sandbox {
    flex: 1;
}
local-tabs {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
local-tabs > local-tab {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

div.manage-menu {
    flex: 0 0 auto;
    width: 20%;
    min-width: 150px;
    padding: 5px;
    overflow: auto;
}
div.manage-body {
    flex: 1 1 auto;
    padding: 10px;
    overflow: auto;
}