html, body {
    margin: 0px;
    height: 100%;
    width: 100%;
}

body {
    padding-bottom: 40px;
}

.footer {
    padding: 0 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 40px;
    background-color: #f5f5f5;
}

.footer-text, .footer-link {
    display: inline-block;
    margin: 0;
    line-height: 40px;
}

.footer-text p {
    margin: 0;
}

.footer-link {
    float: right;
}

.footer-link a {
    margin: 0;
    padding: 0 10px;
}

.footer-link a.active {
    text-decoration: underline;
}

.footer-link a:not(:first-child) {
    border-left: 1px solid gray;
}

.navbar-brand img {
    margin-right: 15px;
}

.page-body {
    height: 100%;
    padding-top: 50px;
}

/***** Item List Style *****/
#list {
    height: 100%;
    float: left;
    overflow-x: auto;
    overflow-y: auto;
    background-color: #eee;
    border-right: 1px solid #ccc;
}

.filter {
    padding-top: 20px;
    padding-bottom: 20px;
}

.list-special {
    margin-bottom: 0;
    overflow-y: auto;
}

.list-special span {
    text-transform: capitalize;
}

.list-special .list-group-item {
    border-left: none;
    border-right: none;
}

.list-special .list-group-item:first-child {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.list-special .list-group-item:last-child {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

/** END Item List Style **/

/***** Item Detail Style *****/
#detail {
    height: 100%;
    float: right;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0 40px;
}

.box {
    z-index: 1000;
}

.box-additional {
    margin-left: -35px;
    margin-right: 35px;
    z-index: 999;
}

.box .box-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    color: inherit;
    text-transform: capitalize;
}

.box .box-body {
    padding: 10px;
}

.box .box-body .box-text {
    text-align: center;
    display: block;
    margin: 0;
    height: 20px;
}

.box .box-footer {
    padding: 5px 15px;
}

.box .box-footer .box-text {
    margin: 0;
    text-transform: capitalize;
}

.panel .panel-title {
    text-transform: capitalize;
}

.panel-label {
    padding: .3em .6em;
    position: absolute;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: capitalize;
}

.panel-heading a {
    text-decoration: none;
    color: white;
}

.plot canvas {
    max-width: 100%;
}

.plot {
    height: 400px;
    overflow: hidden;
}

.no-item {
    margin-top: 40px;
    padding: 40px;
    border-left: 5px solid #337ab7;
    border-radius: 2px;
}

#additional-conf section {
    margin-bottom: 15px;
}

#additional-conf section:last-child {
    margin-bottom: 0;
}

#additional-conf .btn-remove {
    vertical-align: middle;
    display: inline-block;
    color: gray;
    margin: 6px 12px;
}

#additional-conf .additional-conf-label {
    margin-top: 10px;
    display: inline-block;
}

#additional-conf .additional-conf-label::first-letter {
    text-transform: capitalize;
}

#additional-conf section button {
    display: inline-block;
}

#additional-conf section button::first-letter {
    text-transform: capitalize;
}

.progress-bar-empty {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background-color: inherit;
    color: gray;
}

/** END Item Detail Style **/

/***** LOGIN Page Style *****/
#login {
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #eee;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/** END LOGIN Page Style **/

@media (max-width: 992px){
    #list {
        height: auto;
        max-height: 400px;
    }

    #detail {
        height: auto;
    }
}

