a {
    color: rgba(0, 146, 161, 0.8);
}

.sliding-modal-body {padding: 2px 16px;}

.sliding-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.navbar-brand {
    padding: 10px;
}

.navbar-brand > img {
    height: 100%;    
}

.modal {
    overflow-y: scroll;
}

.modal-backdrop
{
    background-color: rgba(0,0,0,.6);
}

/* start arswitch -- Auto Refresh Switch for autoRefresh directive */
.arswitch {
    position: relative; width: 70px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;

}
.arswitch-checkbox {
    display: none;

}
.arswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;

}
.arswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.arswitch-inner:before, .arswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Arial,sans-serif; font-weight: normal;
    box-sizing: border-box;
}
.arswitch-inner:before {
    content: "On";
    padding-left: 10px;
    background-color: #D3D3D3; color: #5CB85C;
    font-weight: bold;
}
.arswitch-inner:after {
    content: "Off";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.arswitch-switch {
    display: block; width: 18px; margin: 10px;
    background: #FFFFFF;
    position: absolute; top: 0;
    right: 36px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s;
    bottom: 2px;
}
.arswitch-checkbox:checked + .arswitch-label .arswitch-inner {
    margin-left: 0;

}
.arswitch-checkbox:checked + .arswitch-label .arswitch-switch {
    right: 0;
    margin-bottom: 10px;
}

.btn-refresh {
    color: #5CB85B;
    background-color: lightgrey;
    border-color: grey;
}

/* end arswitch -- Auto Refresh Switch for autoRefresh directive */

.auto-refresh {
    margin-top: -7px;
}

.label-pill {       /* Bootstrap 4 has this, but we're still using Bootstrap 3 */
    border-radius: 10px;
}

hr {
    border-style: solid;
    border-color: black;
    border-width: 1px;
}

input[type='number'].form-control {
    padding-right: 6px;
}

.pull-down {
    position: absolute;
    bottom: 0;
    right: 0;
}

.arrow {
    float: right;
    line-height: 1.42857;
}

.glyphicon.arrow:before {
    content: "\e079";
}

.active > a > .glyphicon.arrow:before {
    content: "\e114";
}

div.read-only {
    cursor: not-allowed;    /* Can't be combined with pointer-events: none, so we put the cursor on the parent div. */
}
div.read-only > a {
    pointer-events: none;   /* Not supported on IE pre-11 */
    opacity: .50;
}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 8px;
    margin-bottom: 8px;
}

.error {
    color: red;
    font-weight: bold;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: rgba(0, 146, 161, 0.8);
    border-color: rgba(0, 146, 161, 0.8);
}

.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover  {
    background-color: rgba(0, 146, 161, 0.8);
    border-color: rgba(0, 146, 161, 0.8);
}

.panel-primary {
    border-color: rgba(0, 146, 161, 0.8);
}
.btn-primary, .btn-primary:focus, .btn-primary.focus, .btn-primary:hover{
    color: #fff;
    background-color: rgba(0, 146, 161, 0.8);
    border-color: rgba(0, 146, 161, 0.8);
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #0092A1;
    border-color: #0092A1;
}

.pagination>li>a, .pagination>li>span {
    color: #0092A1;
}

.btn-info.active, .btn-info:active, .open>.dropdown-toggle.btn-info {
    background-color: rgba(0,146,161, 0.8);
    border-color: rgb(0,146,161);
}


.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open>.dropdown-toggle.btn-info.focus, .open>.dropdown-toggle.btn-info:focus, .open>.dropdown-toggle.btn-info:hover {
    background-color: rgba(0,146,161, 0.8);
    border-color: rgb(0,146,161);
}

.text-info {
    color: #000000;
}
/*
 * Require Font-Awesome
 * http://fortawesome.github.io/Font-Awesome/
*/
.navbar {
    background: linear-gradient(45deg,#144d54,15%,#006170,20%,#00788a, 25%,#0091a1,40%,#05a3ab,#1c9ea1,#36ab9e)!important;
}

.cookie-policy a {
    color: #e8ed99;
}

.cookie-policy a:hover {
    color: #d9e14c;
}

.dropdown-color {
    color: #ffffff;
}

.fa.arrow:before {
    content: "\f104";
}

.fa.fa-lightbulb:before {
    content: "\f0eb";
    color:#ffffff;
}

.active > a > .fa.arrow:before {
    content: "\f107";
}

.plus-times {
    float: right;
}

.fa.plus-times:before {
    content: "\f067";
}

.active > a > .fa.plus-times {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.plus-minus {
    float: right;
}

.fa.plus-minus:before {
    content: "\f067";
}

.active > a > .fa.plus-minus:before {
    content: "\f068";
}


body {
    background-color: #f8f8f8;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 260px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }
}

.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.navbar-lightbulb {
    float: right;
    margin-right: 15px;
    margin-left: 15px;
    margin-top: 12px;
}

.form-group .help-block {
    display: none;
}

.form-group.has-error .help-block {
    display: block;
}

.sidebar-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    top: -16px;
}
.sidebar-toggle.collapsed:after {
    content: "\e080";
}


.sidebar li a.sidebar-toggle {
    display: inline;
    line-height: 0;
    padding: 0;
    float: right;
    top: -20px;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar ul {
    padding-left: 15px;
    max-width: 255px;
    color: rgb(0, 146, 161);
}

.sidebar ul:first-child {
    padding-left: 0;
}

.sidebar ul li {
    border-bottom: none;
}

.sidebar ul li a.sidebar-title {
    padding-left: 8px;
    max-width: 92%;
}

.sidebar ul li a.sidebar-title i.fa {
    padding-right: 4px;
}

.sidebar ul li.current {
    font-weight: bold;
}

.sidebar ul li.current > a {
    text-decoration: underline;
    color: black;
}

.sidebar ul li:not(.current) {
    font-weight: normal;
}

.sidebar ul li:not(.current) a:hover {
    background: #eee;
}

.sidebar .nav > li > a:focus,
.sidebar .nav > li > a:focus {
    background: inherit;
}


.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar li {
    border-bottom: 0!important;
}

.sidebar a {
    color: #0092A1;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 260px;
        margin-top: 51px;
    }

}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}


.table-financial thead,
.table-financial tfoot {
    font-weight: bold;
}
.table-financial thead,
.table-financial tfoot {
    font-weight: bold;
}

.table-financial tfoot {
    border-top: 3px solid #3E3B3B;
    border-bottom: 3px solid #3E3B3B;
    font-size: medium;
}

.table-financial h1 {
    font-size: 16px;
    font-weight: bold;
    margin: 1px 1px 1px 1px;
}

.table-financial h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 1px 1px 1px 1px;
}

.table-financial .h2-value {
    font-size: 14px;
    font-weight: normal;
    margin: 1px 1px 1px 1px;
}

.table-financial .h2-value-heading {
    font-size: 14px;
    font-weight: bold;
    margin: 1px 1px 1px 1px;
}

.table-financial h3 {
    font-size: 12px;
    margin: 1px 1px 1px 25px;
}

.table-financial h4 {
    font-size: 10px;
    padding-left: 11px;
    margin: 1px 1px 1px 25px;
}

.table-financial td {
    margin-bottom: 2px;
    padding-bottom: 10px !important;
    position: relative;
    width: 90%;
}


.table-financial td:nth-child(2),
.table-financial td.subtotal:nth-child(1),
.table-financial td.total:nth-child(1),
.table-financial tfoot td:nth-child(1) {
    /*text-align: right;*/
    margin-bottom: 2px;
    padding-bottom: 2px;


}

.table-financial td.subtotal:nth-child(1),
.table-financial tfoot td:nth-child(1) {
    font-style: italic;
}

.table-financial td.subtotal {
    border-top: 1px double #3E3B3B;
    border-bottom: 1px solid #3E3B3B;
    font-weight: bold;
}

.table-financial .additional-info {

    font-family: "Segoe UI", Tahoma, Serif;
    font-size: 8px;
    font-style: italic;
    position: absolute;
    bottom:0; /* top: 0; */
    right:0; /* left: 0; */
    z-index: 10;
    text-align:right;
    vertical-align:bottom;
    padding-top: 12px;
    padding-right: 2px;
    margin-top: 5px;

}

.scrollable {
    overflow-y: scroll;
}

.billing-periods {
    max-height: 420px;
}


div.savings h2 {
    text-align: center;
}

.savings-chart,
.sales-load {
    margin-top: 24px;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 32px;
}

panel-header i {
    padding-right: 8px;
}
panel-header span {
    padding-right: 6px;
}

/** font-awesome aliases -- aliases correspond to panel name **/

.fa-den-universe:before {
    content: "\f0c2";   /* fa-cloud */
}
.fa-den-groups:before {
    content: "\f03a";   /* fa-list */
}

.fa-den-developer:before {
    content: "\f29a";   /* fa-universal-access */
}

.fa-den-account:before {
    content: "\f0b1";   /* fa-briefcase */
}

.fa-den-site:before {
    content: "\f0f7";   /* fa-building-o */
}

.fa-den-store:before {
    content: "\f240";   /* fa-battery-full */
}

.fa-solar:before {
    content: "\f185";   /* fa-sun-o */
}

.fa-fuel-cell:before {
    content: "\f135";   /* fa-rocket */
}

.fa-den-rack:before {
    content: "\f240";   /* fa-battery-full */
}

.fa-den-dashboard:before {
    content: "\f0e4";   /* fa-dashboard */
}

.fa-den-events:before {
    content: "\f022";   /* fa-list-alt */
}

.fa-den-roles:before {
    content: "\f0c0";   /* fa-users */
}

.fa-den-users:before {
    content: "\f234";   /* fa-user-plus  */
}

.fa-den-statistics:before {
    content: "\f201";   /* fa-line-chart */
}

.fa-den-schedules:before {
    content: "\f073";   /* fa-calendar */
}

.fa-den-financial:before {
    content: "\f19c";   /* fa-bank */
}

.fa-den-config:before {
    content: "\f0ad";   /* fa-wrench */
}

.fa-den-modeling:before {
    content: "\f080";   /* fa-bar-chart */
}

.fa-den-battery:before {
    content: "\f240" /* fa-battery-full */
}


.fa-disabled {
    color: lightgray;
}

.delete-button .tooltip-inner {
    width: 150px;
}

.radius-fix {
    border-top-left-radius: 0px;
}

/* -------------------------------------- Navigation Panel and View Styles -------------------------------------- */

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: rgba(0, 146, 161, 0.81);
}

.nav-pills>li>a {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.ph-bold{
    font-weight: bold;
}

.panel-schedules a.editable:not(.btn) {
    color: rgba(00, 146, 161, 0.6);
}

.panel-schedules a:hover {
    color: rgba(0, 146, 161, 0.8);
}

.show-expired {
    display: inline-block;
}

@keyframes active-schedule {
    from {
        opacity: 1;
        box-shadow: none;
    }
    to {
        opacity: .8;
        box-shadow: inset 0 0 0 2px black;
    }
}
.schedule-panel.active > .panel-body {
    animation-name: active-schedule;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

.schedule-panel {
    min-height: 132px;
}

.schedule-panel.disabled > .panel-body {
    background-color: #ffffff;
}

.schedule-panel.expired > .panel-body {
    background-color: #dadada;
}

.schedule-panel.charge > .panel-body {
    background-color: #90b481;
}

.schedule-panel.generate > .panel-body {
    background-color: #e3b07b;
}

.schedule-panel.oe > .panel-body {
    background-color: rgba(0, 146, 161, 0.8);
}

.schedule-panel.adc > .panel-body {
    background-color: rgba(0,146, 161, 0.2);
}

.schedule-panel .current-activity {
    font-weight: bold;
    margin-right: 6px;
}

.schedule-panel img.busy {
    margin-left: -6px;
}

.expired-schedules-warning {
    margin-left: 30px;
    font-weight: bold;
    font-style: italic;
}

.delete-button {
    height: 20px;
    text-align: center;
    margin-left: 12px;
}

.schedule-panel .panel-body .edit-schedule {
    height: 20px;
}

.edit-schedule .modal-control button {
    margin-right: 6px;
}

#map {
    height: 500px;
    width: auto;
}

.modal-dialog select.ng-invalid,
.modal-dialog input.ng-invalid,
.invalidDER,
.panel-error {
    border: red solid 1px;
}

.edit-schedule input.ng-invalid:focus {
    outline-color: red;
    outline-offset: -3px;
}

.edit-schedule td {
    white-space: nowrap;
}

.small-busy img {
    height: 24px;
}


table.activity-table th {
    width: 25%
}

table.activity-table td input[type="number"] {
    width: 60px;
}

.panel-body.days-of-week {
    padding-bottom: 8px;
}


.btn-group .days-of-week a:hover {
    border: solid 1px rgb(0, 146, 161);
}

/******* END SCHEDULE STYLES *******/
.groupScheduleDatePicker p {
    max-width: 125px;
}

.groupScheduleForm input[type="number"] {
    max-width: 70px;
}
.eventsPageInput div.col-xs-4 p {
    min-width: 150px;
}
.eventsPageInput div.col-xs-8 #presetsDivision {
    max-width: 166px;
    min-width: 150px;
}
.eventsPageInput div.col-xs-8 #startDateDivision {
    min-width: 150px;
}
.eventsPageInput div.col-xs-8 #endDateDivision {
    min-width: 150px;
}
.dashboardDateRangeStyle div #presetsDivision {
    max-width: 180px;
}
.statsDateRangeStyle div #presetsDivision {
    max-width: 170px;
}
.statsDateRangeStyle div #startDateDivision {
    max-width: 170px;
}
.statsDateRangeStyle div #endDateDivision {
    max-width: 170px;
}
.panel-der {
    margin-right: 60px;
}

.panel-der > .well {
    margin-bottom: 0;
    padding: 8px;
}

.panel-der i.fa-den-store,
.panel-der i.fa-solar,
.panel-der i.fa-fuel-cell {
    color: slategrey;
}


button#btnResetZoom {
    margin-bottom: 10px;
}

.img_checkbox-container {
    display: inline;
    margin-right: 12px;
}

.img_checkbox {
    position: relative;
    height: 16px;
    width: 17px;
    cursor: pointer;
    display: inline-block;
}

.img_checkbox input[type="checkbox"] {
    opacity:0;
    height: 16px;
    width: 17px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.img_checkbox input[type="checkbox"] + label{
    height: 16px;
    width: 17px;
    display:inline-block;
    padding: 0 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.img_checkbox input[type="checkbox"] + label {
    background: url('../img/checkbox-off.png') no-repeat;
}


.img_checkbox input[type="checkbox"].storage:checked + label {
    background: radial-gradient(
                    rgba(136, 204, 136, 0.50),
                    rgba(136, 204, 136, 0.75),
                    rgba(136, 204, 136, 1.00)
                ),
                url('../img/checkbox-on.png') no-repeat;
}

.img_checkbox input[type="checkbox"].solar:checked + label {
    background: radial-gradient(
                    rgba(242, 188, 12, 0.60),
                    rgba(242, 188, 12, 0.75),
                    rgba(242, 188, 12, 1.00)
                ),
                url('../img/checkbox-on.png') no-repeat;
}

.img_checkbox input[type="checkbox"].fuel-cell:checked + label {
    background: radial-gradient(
                    rgba(203, 225, 210, 0.50),
                    rgba(203, 225, 210, 0.75),
                    rgba(203, 225, 210, 1.00)
                ),
                url('../img/checkbox-on.png') no-repeat;
}

.img_checkbox input[type="checkbox"].optimization:checked + label {
    background: radial-gradient(
                    rgba(255,   0,  0,  0.50),
                    rgba(255,   0,  0,  0.75),
                    rgba(255,   0,  0,  1.00)
                ),
                url('../img/checkbox-on.png') no-repeat;
}

.chart-legend {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
}

.interval-file-info {
    margin-top: 8px;
    font-style: italic;
    font-size: small;
}

.interval-file-column {
    padding-left: 15px;
}


/**
 * This is the only way I could get xeditable input fields to fill their panels.
 **/
.panel-body form.editable-text,
.panel-body div.editable-controls {
    width: 100%;
}

.panel-body .col-md-8 form.editable-text input.editable-input {
    width: 92%;
}

.panel-body .col-md-8 table.activity-table form.editable-text input.editable-input {
    width: 50%;
}

.timeZone {
    padding-right: 1em;
}

.table-padding {
    padding-left: 15px;
    padding-right: 15px;
}

.dateRange,
.interval-file-left,
.job-progress {
    padding-left: 0em;
}

.interval-file-right {
    padding-right: 0em;
}
/*************************
 *                       *
 *    User Animation     *
 *                       *
 *************************/

.newUser {
    animation: borderChange 2s 1;
}

@keyframes borderChange
{
    0%   {border-color: #3E3B3B;}
    25%  {border-color: #0092A1; border-width: medium}
    75%  {border-color: #0092A1; border-width: medium}
    100%   {border-color: #3E3B3B;}
}

.simulate {
    margin-bottom: .75em;
    padding-left: 0em;
}

.load-button {
    padding-right: 0em;
    padding-bottom: 1em;
}

.dateRange-fix,
.choose-file-fix{
    padding-left: 0px;
  }

.billing {
    min-width: 210px;
}

.modal-window .modal-dialog {
    max-width: 625px;
}

.day-picker {
    padding-bottom: 2em;
}

.date-width {
    width: 120px;
}

.date-container {
    min-width: 780px;
}

.disabled-button-wrapper {
    display: inline-block;
    margin: 50px; /* make some space so the tooltip is visible */
}

.disabled-button-wrapper  .btn[disabled] {
    pointer-events: none;
}

.cookie-bg {
    background-color: #a5a6a8;
}

.cookie-policy {
    color: #FFFFFF;
    padding-top: 10px;
}

h3 {
    margin-bottom: 2px;
    font-family: Arial, sans-serif;
    font-size: 1.75rem;
}

.title h3 {
    color: #FFFFFF;
}

.navbar-brand {
    padding-top: 9px;
}

.dropdown-menu a {
    color: rgb(0, 146, 161);
}

a:focus, a:hover {
    color: rgb(0, 146, 161);
}

.blink {
    animation: blink 4s steps(5, start) infinite;
    -webkit-animation: blink 3s steps(5, start) infinite;
}
@keyframes blink {
    to {
        visibility: hidden;
    }
}
@-webkit-keyframes blink {
    to {
        visibility: hidden;
    }
}


