/*****************************************************
*  GLOBAL_SCREEN_STRUCTURE.CSS
******************************************************/

body {
    font: 13px/1.45em "Arial", "Helvetica Neue", sans-serif;
    color: #333;
    background: #fff;
}

a {
    color: #0c5299;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap:before, .wrap:after {
    content: " ";
    display: table;
}

.wrap:after {
    clear: both;
}

.left {
    float: left;
    display: inline-block;
}

.right {
    float: right;
    display: inline-block;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.pad {
    padding: 15px;
}

.pad_top {
    padding-top: 15px;
}

.nopad {
    padding: 0;
    margin: 0;
}

.centered {
    text-align: center;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0 20px 0;
}

small {
    font-size: 11px;
}

/*** MAIN ***/
#main {

}

/*** SIDEBAR ***/
#sidebar {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 100px;
    bottom: 55px;
    width: 0;
    overflow-x: hidden;
    background: #bababa;
}

#main.sidebar_right #sidebar {
    right: 0;
    border-left: 1px solid #d9d9d9;
}

#main.sidebar_left #sidebar {
    left: 0;
}

#main.toolbar #sidebar {
    top: 150px;
}

#main.nofoot #sidebar,
#main.sidebar_span #sidebar {
    bottom: 0;
}

#sidebar.tabbed {
    background: #fff;
}

#sidebar .title {
    line-height: 30px;
}

/*** WORKFLOW ***/
#workflow {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 100px;
    bottom: 55px;
    width: 255px;
    overflow-x: hidden;
    background: #858585;
    display: none;
}

#workflow .title {
    line-height: 30px;
    color: #fff;
}

#main.workflow.sidebar_left #sidebar {
    left: 0;
}

#main.workflow #workflow {
    display: block;
}

/*** META INFO ***/
#meta_info {
    display: none;
    visibility: hidden;
    max-width: 0;
    max-height: 0;
}

#meta_info hr {
    margin: 12px 0;
}

#main.toolbar #meta_info {
    top: 150px;
}

#main.tabs #content_pane #meta_info {
    top: 150px;
}

#meta_info.pad {
    padding: 15px;
}

.meta_info_data {
    display: none;
}

/*** CONTENT PANE ***/
#content_pane {
    position: relative;
    margin: 48px 0 60px 0px;
}

#main.sidebar_right #content_pane {
    margin: 100px 255px 60px 0;
}

#main.sidebar_left #content_pane {
    margin: 100px 0 60px 255px;
}

#main.toolbar #content_pane {
    margin-top: 150px;
}

#main.nofoot #content_pane {
    bottom: 0;
}

#main.workflow.sidebar_left #content_pane {
    margin: 100px 0 0 0;
}

#main.meta_info #content_pane {
    margin: 98px 0 0 0;
}

#main.meta_info.toolbar #content_pane {
    margin: 60px 0 0 0;
}

#main.sidebar_left.meta_info #content_pane {
    margin: 50px 0 60px 0;
    overflow: auto;
    /* Use CSS3 Flexible Box Layout */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main.tabs.meta_info #content_pane {
    margin: 60px 0 0 0;
    width: 100%;
}

#content_pane.pad {
    padding: 20px;
}

/*** Tabs toolbar ***/
#content_pane .toolbar {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 100px;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #d9d9d9;
    overflow-x: hidden;
    padding: 5px;
}

#main.tabs #content_pane > .tab_content {
    border-top: 0px;
}

/*** DASHBOARD ***/
#main.dashboard .chart_bar {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 100px;
    left: 0px;
    width: 100%;
    height: 140px;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid #d9d9d9;
    overflow: hidden;
    padding: 12px;
}

#main.dashboard .sidebar_tree {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 240px;
    bottom: 50px;
    width: 255px;
    border-right: 1px solid #d9d9d9;
    overflow-x: hidden;
}

#main.dashboard #content_pane {
    margin-top: 240px;
    margin-left: 255px;
}

/*** FOOTER ***/
#footer_bar {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 30px;
    margin-right: -10px;    /* To account for the 10px right padding on buttons */
    padding: 12px 14px;
    background: #fff;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2);
    border-top: 1px solid #e7e7e7;
}

#main.sidebar_span #footer_bar {
    left: 0;
}

#actions {
    float: left;
    width: 100%;
}