
/******************************
 * Main Layout
 ******************************/

html, body, #body-wrapper {
    height: 100%;
}

body > #body-wrapper {
    height: auto;
    min-height: 100%;
}

#body-wrapper {
    margin: 0 1em;
    width: auto;
}

#header {
    height: 50px;
    line-height: 50px;
}

#body {
    padding-top: 10px;
    padding-bottom: 5em;
}

#footer {
    clear: both;
    margin-top: -4em;
    text-align: center;
}


/******************************
 * Header
 ******************************/

#header h1 {
    float: left;
    font-size: 25px;
    margin: 0px;
}

#header h1.title {
    font-size: 20px;
    margin-left: 10px;
}

#header div.login {
    float: right;
}


/******************************
 * Logo
 ******************************/

#logo {
    display: block;
    margin: 40px auto;
}


/******************************
 * context menu
 ******************************/

#context-menu {
    float: right;
    list-style-type: none;
    text-align: right;
}


/******************************
 * Panels
 ******************************/

.panel,
.panel-grid {
    border-left: 1px solid Black;
    margin-bottom: 15px;
}

.panel {
    border-bottom: 1px solid Black;
    border-right: 1px solid Black;
    padding: 0px;
}

.panel h2,
.panel-grid h2 {
    border-bottom: 1px solid Black;
    border-top: 1px solid Black;
    padding: 5px;
    margin: 0px;
}

.panel-grid h2 {
    border-right: 1px solid Black;
}

.panel-body {
    overflow: auto;
    padding: 5px;
}
