/* Main setup (can be adjusted via settings) */
#sb-main-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #eee;
    margin: 0;
    padding: 0;
}
#sb-main-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 50px;
    z-index: 1000;
    flex: 0 0 auto;
}
#sb-main-body {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
    min-height: 200px;
}
.sb-main-body-sidebar {
    flex: 0 0 70px;
    min-width: 70px;
    padding-top: 8px;
    background: #fff;
}
#sb-main-sidebar-left {
    border-right: 1px solid #eee;
}
#sb-main-sidebar-right {
    border-left: 1px solid #eee;
}
#sb-main-canvas {
    flex-grow: 1;
}
#sb-main-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 50px;
    flex: 0 0 auto;
}

/* Header Logo */
#sb-main-header .sb-header-logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    order: 1;
}

/* Header Title Box */
#sb-main-header .sb-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    order: 2;
    padding: 8px;
    font-size: 21px;
    cursor: default;
}

/* Header Info Box */
#sb-main-header .sb-header-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    order: 4;
    padding: 8px;
    font-size: 15px;
    cursor: default;
}

/* Header icons */
#sb-main-header .sb-header-icons {
    display: flex;
    align-items: center;
    justify-content: end;
    flex: 1 1 auto;
    order: 3;
}
#sb-main-header .sb-header-icons > section {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 1.00;
    transition: opacity .5s, color .5s;
    padding: 8px;
    font-size: 29px;
}
#sb-main-header .sb-header-icons > section:hover {
    color: #44b3ed;
    opacity: 1.0 !important;
}
#sb-main-header .sb-header-icons > section > i,
#sb-main-header .sb-header-icons > section > span {
    font-size: 29px;
}

/* Button style items with hover menu */
#sb-main-header .sb-navigation-bar-menu {
    width: 100%;
    min-height: 25px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
	display: flex;
    flex-wrap: wrap;
    order: 4;
}
#sb-main-header .sb-nav-button {
    position: relative;
	font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 8px;
    border-right: 1px solid #aaa;
	border-bottom: 1px solid #000;
    margin-bottom: -1px;
    color: #000;
	min-width: 128px;
	cursor: pointer;
	/*transition: color .5s;*/
}
#sb-main-header .sb-nav-button:hover {
	background: #33a5f0;
	color: #fff;
}
#sb-main-header .sb-nav-button > .nav-bar-section-menu {
    display: none;
	position: absolute;
    top: calc(100% + 0px);
    left: -1px;
    padding: 8px;
    background: linear-gradient(45deg, rgb(239, 239, 239), rgb(251, 251, 251));
    border: 1px solid #ddd;
    min-width: 129px;
	width: max-content;
}
#sb-main-header .sb-nav-button > .nav-bar-section-menu.right-bound {
    right: -1px;
	left: unset;
}
#sb-main-header .sb-nav-button:hover > .nav-bar-section-menu {
	display: flex;
    flex-direction: column;
	z-index: 100;
}
#sb-main-header .sb-nav-button .nav-bar-section-menu > .menu-entry {
    padding: 4px 8px;
	color: #000;
	font-size: 13px;
	width: 100%;
}
#sb-main-header .sb-nav-button .nav-bar-section-menu > .menu-entry:hover {
    background: #fefefe;
}
#sb-main-header .sb-nav-button .nav-bar-section-menu > .nav-bar-section-divider {
    width: 100%;
	height: 3px;
	margin-top: 3px;
	border-top: 1px solid #ddd;
}