html,
body {
    height: 100%;
}

.page-header {
    margin: 20px 0;
}

.page-header > h1 {
    margin: 0;
}

#wrapper {
    height: 100%;
}

#page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 90px 0 0 !important;
}

.container-fluid {
    width: 100%;
}

.modal.fade.in {
    display: block;
}

.breadcumb {
    margin-top: 40px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.btn-heat {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-heat:hover, .btn-heat:focus, .btn-heat.focus {
    color: #fff;
    background-color: #c9302c;
    border-color: #ac2925;
}

.table > thead > tr > td.meter-type-R, .table > tbody > tr > td.meter-type-R, .table > tfoot > tr > td.meter-type-R, .table > thead > tr > th.meter-type-R, .table > tbody > tr > th.meter-type-R, .table > tfoot > tr > th.meter-type-R, .table > thead > tr.meter-type-R > td, .table > tbody > tr.meter-type-R > td, .table > tfoot > tr.meter-type-R > td, .table > thead > tr.meter-type-R > th, .table > tbody > tr.meter-type-R > th, .table > tfoot > tr.meter-type-R > th {
    background-color: #f2dede;
}

.color-type-H, .color-heat, .color-type-EC, .color-type-AC, .color-type-R {
    color: #fff;
    background-color: #d9534f;
}

.btn-water, .color-cold, .color-type-AF {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn-water:hover, .btn-water:focus, .btn-water.focus,
.color-cold:hover, .color-type-AF:hover {
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc;
}

.table > thead > tr > td.meter-type-AC, .table > tbody > tr > td.meter-type-AC, .table > tfoot > tr > td.meter-type-AC, .table > thead > tr > th.meter-type-AC, .table > tbody > tr > th.meter-type-AC, .table > tfoot > tr > th.meter-type-AC, .table > thead > tr.meter-type-AC > td, .table > tbody > tr.meter-type-AC > td, .table > tfoot > tr.meter-type-AC > td, .table > thead > tr.meter-type-AC > th, .table > tbody > tr.meter-type-AC > th, .table > tfoot > tr.meter-type-AC > th {
    background-color: #d9edf7;
}

.color-type-C, .color-water, .color-type-EF, .color-type-AF {
    color: #fff;
    background-color: #5bc0de;
}

.btn-energy {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.btn-energy:hover, .btn-energy:focus, .btn-energy.focus {
    color: #fff;
    background-color: #ec971f;
    border-color: #d58512;
}

.table > thead > tr > td.meter-type-EC, .table > tbody > tr > td.meter-type-EC, .table > tfoot > tr > td.meter-type-EC, .table > thead > tr > th.meter-type-EC, .table > tbody > tr > th.meter-type-EC, .table > tfoot > tr > th.meter-type-EC, .table > thead > tr.meter-type-EC > td, .table > tbody > tr.meter-type-EC > td, .table > tfoot > tr.meter-type-EC > td, .table > thead > tr.meter-type-EC > th, .table > tbody > tr.meter-type-EC > th, .table > tfoot > tr.meter-type-EC > th {
    background-color: #fcf8e3;
}

#app {
    min-height: 450px;
}

.panel-heading .huge {
    font-size: 34px;
    margin-left: -15px;
}

.stats-index .panel-heading a {
    color: white;
}

.average {
    color: red;
}

.build-card {
    display: inline-block;
    padding: 6px 12px;
    background-image: none;
    border: 1px solid grey;
    border-radius: 4px;
    margin-bottom: 15px;
}

.navbar-fixed-top {
    height: 90px;
    background-color: #f8f8f8;
}

nav.navbar .side-nav.purple-background:before {
    opacity: .33;
    background: #9368E9;
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    left: 0;
    right: 0;
}

nav.navbar .side-nav.purple-background {
    background-image: url(../img/sidebar-5.jpg);
    background-size: cover;
    background-position: center center;
    color: white;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -71px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 100px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.actionbox {
    background: #fff;
    color: #333;
    padding: 8px;
    line-height: 18px;
    border-radius: 4px;
    border-width: 0 1px 4px;
    float: right;
    display: flex;
}

.actionbox .btn {
    margin: 0 0 0 5px;
}

.actionbox label {
    line-height: 30px;
    font-weight: 400;
    margin: 0 5px 0 0;
    white-space: nowrap;
}

.actionbox .period-filter {
    display: flex;
    margin-left: 15px;
}

.actionbox .period-filter .form-control {
    height: 30px;
}


.actionbox .multiselect-container > li > a {
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
}

.actionbox .multiselect-container > li > a > label.checkbox,
.actionbox .multiselect-container > li > a > label.radio {
    margin: 0;
}

.actionbox .input-group.show-inline {
    margin: 0 10px;
    width: 240px;
    float: left;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media (max-width: 767px) {

    #page-wrapper {
        padding: 30px 0 0 !important;
        overflow: scroll;
    }

    .navbar-fixed-top {
        height: 50px;
    }

    .navbar-right.top-nav {
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar-brand {
        padding: 5px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.top5 {
    margin-top: 5px;
}

.top7 {
    margin-top: 7px;
}

.top10 {
    margin-top: 10px;
}

.top15 {
    margin-top: 15px;
}

.top17 {
    margin-top: 17px;
}

.top30 {
    margin-top: 30px;
}

.bottom5 {
    margin-bottom: 5px;
}

.bottom7 {
    margin-bottom: 7px;
}

.bottom10 {
    margin-bottom: 10px;
}

@media print {
    @page {
        size: 21cm 29.7cm;
        margin: 30mm 45mm 30mm 45mm; /* change the margins as you want them to be. */
    }

    .actionbox, .row.summary {
        display: none;
    }

    page {
        page-break-before: always;
    }

    .chart {
        width: 20cm;
    }
}

/************** Login  ****************/
.single-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.single-content {
    display: flex;
    padding: 15px;
    width: 100%;
    justify-content: center;
}

.single-content .main-header {
    width: 100%;
    height: 400px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.contea .single-content .main-header {
    background-color: #cff087;
}

.single-content .main-header img {
    max-height: 400px;
}


.single-form {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    margin-right: -15px;
}

.single-form-header img {
    max-height: 73px;
    margin-bottom: 7px;
}

.single-form-content {
    border-radius: 8px;
    box-shadow: 0 2px 4px #dcdcdc, 0 8px 16px #dcdcdc;
    box-sizing: border-box;
    padding: 15px;
    width: 396px;
    margin: 0 auto;
}

.single-form-content .btn {
    border-radius: 6px;
    font-size: 20px;
    line-height: 48px;
    padding: 0 16px;
    margin: 0 auto;
}

.single-form-content .separator {
    border-color: #ccc;
    margin-top: 10px;
    margin-bottom: 10px;
}

.single-form-content .form-control {
    font-size: 17px;
    padding: 14px 16px;
    line-height: 16px;
    height: 50px;
    width: 100%;
}

.single-form-content .form-group {
    margin: 15px 0;
    position: relative;
}

.single-form-content .main-header > img {
    max-width: 100%;
}

@media (max-width: 900px) {
    .single-page .single-content {
        flex-direction: column;
        padding: 0;
    }

    .single-page .main-header {
        height: auto;
        max-width: 250px;
        margin: 0 auto;
    }

    .single-page .main-header > img {
        width: 100%;
    }

    .single-page .single-form {
        margin-right: 0;
    }

    .single-form-content {
        width: 100%;
        max-width: 396px;
    }
}

.form-control-feedback.fa {
    line-height: 50px;
    color: #777;
}

.alert-box {
    width: 500px;
    margin: 7% auto;
    min-height: 350px;
}

.alert.alert-small {
    padding: 5px 10px;
}

p.help-block {
    height: 20px;
    margin: 0;
}

.field-loginform-rememberme {
    margin: 0 !important;
}

.field-loginform-rememberme p.help-block {
    display: none
}

.status-icon {
    display: inline-block;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    margin: 2px 5px;
    background-color: #545b62;
    border-color: #4e555b;
}

.status-icon.status-1 {
    background-color: #28a745;
    border-color: #28a745;
}

.status-icon.status-2 {
    background-color: #d39e00;
    border-color: #c69500;
}

.status-icon.status-3 {
    background-color: #bd2130;
    border-color: #b21f2d;
}

td.password-font {
    font-family: serif;
}

ul.build-list {
    margin-top: 7px;
    border: 1px solid #cccccc;
    list-style: none;
    padding: 0 5px;
    height: 600px;
    overflow-y: scroll;
}

ul.build-list.w-header {
    height: 560px;
}

ul.build-list li {
    margin: 5px 0;
    line-height: 30px;
    height: 30px;
}

ul.build-list li .btn {
    margin-right: 5px;
}

table.sticky {
    text-align: left;
    position: relative;
    border-collapse: collapse;
}

table.sticky th {
    background: white;
    position: sticky;
    top: 90px; /* Don't forget this, required for the stickiness */
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

table.comparation {
    width: 600px;
}

