﻿body, html {
    background-color: #c9e9f8;
    background-color: white;
    height: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

#header {
    background-image: url(../img/header.png);
    width: 100%;
    height: 89px;
}

    #header > div {
        position: relative;
        top: 19.5px;
        height: 50px;
        white-space: nowrap;
    }

#header_user {
    float: right;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    margin-right: 40px;
    color: white;
    letter-spacing: 2px;
}

    #header_user a {
        color: inherit;
    }

        #header_user a:hover {
            text-decoration: none;
        }


#header_logo {
    float: left;
    display: inline-block;
    height: 50px;
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 11.5px;
    box-sizing: border-box;
}

#header_buttons {
    float: left;
    display: inline-block;
    height: 50px;
}

    #header_buttons > a {
        display: inline-block;
        width: 50px;
        height: 50px;
        cursor: pointer;
        margin-right: 10px;
    }

#navbtn_setup {
    background-image: url(../img/settings.png);
}

    #navbtn_setup:hover, #navbtn_setup.active {
        background-image: url(../img/settings_active.png);
    }

#navbtn_total {
    background-image: url(../img/total.png);
}

    #navbtn_total:hover, #navbtn_total.active {
        background-image: url(../img/total_active.png);
    }

#navbtn_heat {
    background-image: url(../img/heat.png);
}

    #navbtn_heat:hover, #navbtn_heat.active {
        background-image: url(../img/heat_active.png);
    }

#navbtn_ventilation {
    background-image: url(../img/ventilation.png);
}

    #navbtn_ventilation:hover, #navbtn_ventilation.active {
        background-image: url(../img/ventilation_active.png);
    }

#navbtn_water {
    background-image: url(../img/water.png);
}

    #navbtn_water:hover, #navbtn_water.active {
        background-image: url(../img/water_active.png);
    }

#navbtn_cold {
    background-image: url(../img/cold.png);
}

    #navbtn_cold:hover, #navbtn_cold.active {
        background-image: url(../img/cold_active.png);
    }

.bg_setup {
    border: 2px solid #d3d2d2;
}

.bg_total {
    border: 2px solid #bfe596;
}

.bg_heat {
    border: 2px solid #fab9af;
}

.bg_cold {
    border: 2px solid #83d5f6;
}

.bg_ventilation {
    border: 2px solid #fdde86;
}

.bg_water {
    border: 2px solid #d49acf;
}

#header2 {
    background-image: url(../img/header2.png);
    height: 6px;
}

#content_wrapper {
    position: absolute;
    display: block;
    height: auto;
    top: 95px;
    left: 0;
    right: 0;
    bottom: 0;
}

#content_container {
    margin: 20px 15px 0px 15px;
}

    #content_container h1 {
        font-size: 15px;
    }

#content_loading {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #eee;
    opacity: 0.9;
}

#content_loading_inner {
    margin: 100px auto;
    width: 400px;
    height: 50px;
    font-weight: bold;
}

    #content_loading_inner img {
        margin-right: 10px;
    }

.lesspad {
    padding: 2px 4px 2px 2px;
}

.consumer_breakdown {
    position: absolute;
    display: none;
    width: 400px;
    height: 200px;
    border: 2px solid #808080;
    background-color: #ebebeb;
}

.plot_container {
    width: 100%;
    min-width: 100px;
    height: 100%;
    min-height: 100px;
}

.fill_parent {
    width: 100%;
    height: 100%;
}

.timeseries_plot {
    width: 100%;
    height: 300px;
}

.scatter_plot {
    width: 100%;
    height: 300px;
}

.bar_plot {
    width: 100%;
    height: 300px;
}

.content_loading {
    position: relative;
}

    .content_loading div.loading_overlay {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .content_loading div.progress {
        width: 80%;
        margin: auto;
    }

        .content_loading div.progress div.bar {
            width: 100%;
        }

.content_present div.progress {
    display: none;
}

.legend {
    .color

{
    width: 10px;
    height: 10px;
    margin-top: 4px;
}

}

.legend .color.blackline {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background-image: url(../img/vline.png);
}

.legend .percentage {
    width: 3em;
    text-align: right;
    font-size: 80%;
    margin-left: 2px;
}

div.legend a, div.legend span {
    margin-left: 5px;
}

div.legend_container.horizontal {
    display: table;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ababab;
    background-color: #efefef;
    padding: 2px;
    border-radius: 2px;
    white-space: nowrap;
}

    div.legend_container.horizontal div.legend {
        display: inline-block;
        margin-left: 30px;
    }

        div.legend_container.horizontal div.legend:first-child {
            margin-left: 0px;
        }

        div.legend_container.horizontal div.legend .pull-left {
            margin-right: 5px;
        }

table.legend td:nth-child(2) {
    text-align: left;
}

table.legend td:nth-child(3) {
    padding-left: 10px;
    text-align: right;
}

/* legend customizations for perf review */
div.performancereview_legend {
    margin-top: 10px;
}

.performancereview_legend div.color {
    margin-right: 5px;
}

.performancereview_legend div.legend {
    margin-bottom: 10px;
}

.producerconsumer_overview h1 {
    margin-top: 0;
    line-height: initial;
    /*text-align: right;*/
}

div.producerconsumer_overview {
    margin-bottom: 20px;
}

.consumerbreakdown h1 {
    margin-top: 0;
    line-height: initial;
    /*text-align: right;*/
}

.consumerbreakdown hr {
    margin: 5px 0px;
}

.plot_tooltip {
    position: absolute;
    border: 1px solid black;
    border-radius: 4px;
    padding: 2px 2px;
    font-size: 90%;
    background-color: #eee;
    text-align: center;
}

    .plot_tooltip div {
        text-align: right;
    }

    .plot_tooltip b {
        float: left;
        margin-right: 20px;
    }

.overview_plot .timeseries_plot {
    height: 100px;
}

div.metersetselector {
    text-align: left;
}

.metersetbutton {
    color: black;
    font-weight: bold;
    background-color: #bed9e2;
    border: 2px solid #00558c;
    /*display: inline-block;*/
    float: left;
    width: 225px;
    height: 75px;
    margin-right: 15px;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
}

    .metersetbutton div {
        margin: 5px 15px;
    }

div.lockindicator {
    position: absolute;
    width: 2px;
    height: 100%;
    border-left: 2px solid #ee0000;
    top: 0px;
}

.daily_overview h1, .energyvstemperature h1 {
    margin: 0 0 10px 0px;
    height: 20px;
    line-height: 20px;
    /*color: white;
    background-color: #2666ab;*/
}

div.page_container > div {
    margin-bottom: 30px;
}

#setup_addmeterset {
    width: 350px;
    float: left;
}

#setup_editmeters {
    margin-left: 370px;
    border-top: 1px solid transparent;
}

.sortableUl ul {
    list-style-type: none;
    padding: 2px;
    background: #eee;
    overflow: auto;
    width: 90%;
    min-height: 20px;
}

    .sortableUl ul li {
        padding: 2px;
        border: 1px solid black;
        margin: 2px;
        width: 200px;
        float: left;
        background: #eee;
    }

input.vmfactor {
    width: 3em;
    float: right;
}

ul.metersets, ul.meters {
    list-style-type: none;
    margin-left: 10px;
    overflow: auto;
}

    ul.metersets li, ul.meters li {
        margin-bottom: 2px;
        width: 300px;
        clear: right;
    }

        ul.metersets li button, ul.meters li button {
            float: right;
        }

    ul.meters li {
        float: left;
        margin-right: 20px;
    }

.messagebutton > div {
    margin-top: 2px;
    text-align: center;
    font-size: 80%;
}

    .messagebutton > div > span {
        margin-left: 4px;
    }


textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: initial;
}

.performancereview_bigtotal {
    text-align: center;
    margin-top: 20px;
}

    .performancereview_bigtotal .value {
        font-size: 24pt;
        font-weight: bold;
    }

    .performancereview_bigtotal .description {
        font-weight: bold;
        color: lightgrey;
    }

div.performancereview_detail {
    margin-top: 20px;
}

.performancereview_detail th {
    text-align: right;
    padding-left: 20px;
    border-bottom: 2px;
}

.performancereview_detail td {
    text-align: right;
}

.performancereview_detail tr th:first-child, .performancereview_detail tr td:first-child {
    padding-right: 10px;
    width: 10em;
}
