html {
    height: 100%;
}

.slick-current {
    background-color: aliceblue;
    font-weight: 800 !important;
    color: #AA0000;
    border-color: #7dadda !important;
    border: solid;
    border-radius: 10px;
}

@media (min-width: 576px) {
    .card-deck {
    column-count: 3;
}

}

@media (min-width: 768px) {
    .card-deck {
        column-count: 4;
    }
}

@media (min-width: 992px) {
    .card-deck {
        column-count: 5;
    }
}

@media (min-width: 1200px) {
    .card-deck {
        column-count: 6;
    }
}

.page-title {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand {
    padding-top: 3px;
    padding-bottom: 3px;
}

.sidebar-user-material .sidebar-user-material-body {
 /*   background: url(/images/AsdePg18.png) center center no-repeat;
    background-size: cover
*/
}

.condensed-table td, .condensed-table th {
    padding: 5px 10px 5px 10px;
}

.condensed-cards .card-header, .condensed-cards .card-body {
    padding: 5px 10px 5px 10px;
}

.condensed-cards .card {
    min-width: 100px;
    max-width: 160px;
    float: left;
}

.condensed-cards {
    float: left;
}

.battery {
    border: 3px solid #333;
    padding: 2px;
    border-radius: 4px;
    position: relative;
    margin: 15px 0;
    width: 24px;
    height: 32px;
}

    .battery:before {
        content: '';
        height: 3px;
        width: 16px;
        background: #333;
        display: block;
        position: absolute;
        top: -7px;
        border-radius: 4px 4px 0 0;
    }

    .battery:after {
        content: '';
        display: block;
        position: absolute;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        border: 1px solid #fff;
        border-radius: 2px;
    }

.battery-level {
    background: #4CAF50;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
}

    .battery-level-warn {
        background-color: #EFAF13;
    }

    .battery-level-danger {
        background-color: #e81309 !important;
    }

    .battery-level.charging:before {
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%3E%3C%2Fg%3E%20%3Cpath%20fill%3D%22%23e81309%22%20d%3D%22M17.927%2012l2.68-10.28c0.040-0.126%200.060-0.261%200.060-0.4%200-0.726-0.587-1.32-1.314-1.32-0.413%200-0.78%200.187-1.019%200.487l-13.38%2017.353c-0.18%200.227-0.287%200.513-0.287%200.827%200%200.733%200.6%201.333%201.333%201.333h8.073l-2.68%2010.28c-0.041%200.127-0.060%200.261-0.060%200.4%200.001%200.727%200.587%201.32%201.314%201.32%200.413%200%200.78-0.186%201.020-0.487l13.379-17.353c0.181-0.227%200.287-0.513%200.287-0.827%200-0.733-0.6-1.333-1.333-1.333h-8.073z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
        background-repeat: no-repeat;
        background-size: 18px;
        height: 18px;
        width: 18px;
        margin: -21px 0px 0 0px;
        content: '';
        display: inline-block;
        position: absolute;
        left: 1px;
    }

.empty {
    border-collapse: collapse;
}

    .empty td, .empty th {
        border: 0px;
    }

.badge-green {
    color: #ffffff;
    background-color: #28a745;
}

a.badge-green:hover, a.badge-green:focus {
    color: #ffffff;
    background-color: #1e7e34;
}

a.badge-green:focus, a.badge-green.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.bar {
    fill: #A3D9F4;
}

    .bar:hover {
        fill: darkgray;
    }

.drinkbar {
    fill: #1BA1E2;
}

    .drinkbar:hover {
        fill: darkgray;
    }

.graph-gap-bar {
    fill: #FF0000;
    opacity: 0.3;
}

.axis {
    font: 10px sans-serif;
}

    .axis path,
    .axis line {
        fill: none;
        stroke: #000;
        shape-rendering: crispEdges;
    }

.x.axis path {
    display: none;
}

.hydrationtable-narrow {
    border-collapse: collapse;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

    .hydrationtable-narrow td, .hydrationtable-narrow th {
        border: 1px solid #ccc;
        padding: 4px 8px 4px 8px;
    }

    .hydrationtable-narrow tr:hover {
        background-color: #ddd;
    }

    .hydrationtable-narrow th {
        padding-top: 4px;
        padding-bottom: 4px;
        text-align: right;
        background-color: #EEEEEE;
        color: black;
    }


/* Interactive hydration graph */

#hydration-timeseries-modal .metric-chart text {
    fill: #565656;
    font-size: 11px;
    font-family: Helvetica, Arial, "sans serif";
}

    #hydration-timeseries-modal .metric-chart text.no-data {
        font-size: 16px;
        font-weight: 100;
        fill: #d0d0d0;
    }

#hydration-timeseries-modal .metric-chart rect.no-data {
    fill: #f5f5f5;
}

/* When there is data ...*/

/* CB: padding to display better on bl.ocks.org */
#hydration-timeseries-modal {
    padding: 30px 64px 30px 30px;
}

    #hydration-timeseries-modal .metric-chart rect.plot-background {
        fill: white;
    }

    /* complete data line */
    #hydration-timeseries-modal .metric-chart path.line {
        fill: none;
        stroke: #4FC3F7; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
    }

    /* complete data area */
    #hydration-timeseries-modal .metric-chart path.area {
        fill: #4FC3F7; /* CB default, changed in each theme */
        opacity: 0.4;
        clip-path: url(#clip);
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
    }

    /*missing data line */
    #hydration-timeseries-modal .metric-chart path.line_missing {
        fill: none;
        stroke: #00AA8D; /* default, changed in each theme */
        stroke-width: 1.5px;
        stroke-dasharray: 1.5px 2px;
        clip-path: url(#clip);
    }
    /*missing data area */
    #hydration-timeseries-modal .metric-chart path.area_missing {
        fill: #00AA8D; /* CB default, changed in each theme */
        opacity: 0.15;
        clip-path: url(#clip);
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
    }

        #hydration-timeseries-modal .metric-chart path.area_missing:active,
        #hydration-timeseries-modal .metric-chart path.area:active {
            cursor: move; /* fallback if grab cursor is unsupported */
            cursor: grabbing;
        }

    #hydration-timeseries-modal .metric-chart .axis {
        shape-rendering: crispEdges;
    }

    #hydration-timeseries-modal .metric-chart .x.axis .domain {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .x.axis line {
        stroke: white;
        opacity: 0.4;
    }

    #hydration-timeseries-modal .metric-chart .context .x.axis line {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .y.axis .domain {
        display: none;
    }

    #hydration-timeseries-modal .metric-chart .y.axis.title {
        font-size: 11px;
        font-weight: 100;
    }

    #hydration-timeseries-modal .metric-chart .y.axis line {
        stroke: #565656;
        stroke-dasharray: 2,2;
        stroke-opacity: 0.3;
    }

    #hydration-timeseries-modal .metric-chart .brush .extent {
        fill-opacity: .07;
        shape-rendering: crispEdges;
        clip-path: url(#clip);
    }

    #hydration-timeseries-modal .metric-chart rect.pane {
        cursor: move; /* fallback if grab cursor is unsupported */
        cursor: grab;
        fill: white;
        pointer-events: all;
    }

        #hydration-timeseries-modal .metric-chart rect.pane:active {
            cursor: move; /* fallback if grab cursor is unsupported */
            cursor: grabbing;
        }

    /* brush handles  */
    #hydration-timeseries-modal .metric-chart .resize .handle {
        fill: #555;
    }

    #hydration-timeseries-modal .metric-chart .resize .handle-mini {
        fill: white;
        stroke-width: 1px;
        stroke: #555;
    }

    #hydration-timeseries-modal .metric-chart .scale_button {
        cursor: pointer;
    }

        #hydration-timeseries-modal .metric-chart .scale_button rect {
            fill: #eaeaea;
        }

        #hydration-timeseries-modal .metric-chart .scale_button:hover text {
            fill: #417DD6;
            transition: all 0.1s cubic-bezier(.25,.8,.25,1);
        }

    #hydration-timeseries-modal .metric-chart text#displayDates {
        font-weight: bold;
    }

    /* circle style */
    #hydration-timeseries-modal .metric-chart .dot {
        fill: white;
        stroke: #00AA8D; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }

        #hydration-timeseries-modal .metric-chart .dot:hover {
            stroke: #00997e;
            stroke-width: 6px;
            transition: stroke-width 0.06s ease-out;
            transition: stroke 0.06s ease-out;
        }


    #hydration-timeseries-modal .metric-chart .drink {
        fill: #03A9F4;
        stroke: #0288D1; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }


    #hydration-timeseries-modal .metric-chart .refill {
        fill: red;
        stroke: red; /* default, changed in each theme */
        stroke-width: 1.5px;
        clip-path: url(#clip);
        cursor: default;
        transition: stroke-width 0.06s ease-in;
        transition: stroke 0.06s ease-in;
    }

div.tooltip {
    position: fixed;
    text-align: center;
    width: 170px;
    height: 45px;
    padding: 2px;
    font: 11px sans-serif;
    background: white;
    color: #565656;
    border: 0px;
    border-radius: 2px;
    pointer-events: none;
    box-shadow: 0 0px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

@media (max-width: 768px) {
    .profile-cover .media {
        bottom: 0.25rem !important;
        -webkit-transform: none !important;
        transform: none !important;
    }
}

.profile-thumb img {
    border: 3px solid #fff;
    box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.5);
    width: 5.25rem !important;
    height: 5.25rem !important;
}

.profile-cover-img {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 8rem !important;
    height: 100px !important;
}

@media (max-width: 768px) {

    .profile-thumb img {
        border: 3px solid #fff;
        box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.5);
        width: 3.25rem !important;
        height: 3.25rem !important;
    }

    .profile-cover-img {
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: cover;
        max-height: 4rem !important;
    }
}

.card {
    border-radius: 0.65rem !important;
}

.card-header {
    border-top-left-radius: 0.65rem !important;
    border-top-right-radius: 0.65rem !important;
}

.rotate-90 {
    display: inline-block;
    transform: rotate(270deg);
}

.icon-1p5x {
    font-size: 1.4rem;
}

.fa-1p5x {
    font-size: 1.4rem;
}

.am-table th {
    font-weight: bold;
    color: #2F5872;
    background-color: #f1f1f1;
}

.am-table td {
    color: #2F5872;
    background-color: #ffffff;
}

.navbar-brand {
    background-color: #2F5872;
}

    .navbar-brand .nav-link {
        color: rgba(255,255,255,.9);
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 5px;
        padding-right: 10px;
    }


.alpha-brand {
    background-color: #FFEBEE;
}

.text-brand {
    color: #2F5872;
}

    .text-brand + .text-muted {
        color: #7A94A5 !important;
    }

    .text-brand[href]:hover, .text-brand[href]:focus {
        color: #f22112;
    }

.bg-brand {
    background-color: #2F5872;
}

.border-brand {
    border-color: #2F5872;
}

.border-top-brand {
    border-top-color: #2F5872;
}

.border-bottom-brand {
    border-bottom-color: #2F5872;
}

.border-left-brand {
    border-left-color: #2F5872;
}

.border-right-brand {
    border-right-color: #2F5872;
}

.label-brand {
    color: #fff;
    background-color: #2F5872
}

    .label-brand .text-muted {
        color: #BBB !important;
    }

a .label-brand:focus,
a .label-brand:hover,
  .label-brand a:hover{
    color: #fff;
    text-decoration: none;
    background-color: #F24465 !important;
}

a:hover .label-pill {
    color: #fff;
    text-decoration: none;
    background-color: #F24465 !important;
}

a:hover .text-brand {
    color: #F24465 !important;
}


.badge-brand {
    color: #fff;
    background-color: #2F5872
}

    .badge-brand .text-muted {
        color: #BBB !important;
    }

    .badge-brand[href]:focus,
    .badge-brand[href]:hover {
        color: #fff;
        text-decoration: none
    }

        .badge-brand[href]:focus:not(.badge-light),
        .badge-brand[href]:hover:not(.badge-light) {
            box-shadow: 0 0 0 62.5rem rgba(0,0,0,.075) inset
        }

@media (min-width: 768px) {
    .navbar-expand-md .navbar-brand {
        min-width: 270px;
    }

    .navbar-expand-md .navbar-nav-link:before {
        top: auto;
        right: 0;
        width: auto;
        height: 2px;
    }
}

.navbar-custom {
    color: #2F5872;
    padding-left: 0px;
    background-color: #FFF;
}

.navbar-custom-mobile {
    color: #2F5872;
    padding-left: 0px;
    background-color: #2F5872;
}

.page-header-content + .navbar-custom,
.content + .navbar-custom,
.page-content + .navbar-custom,
.fixed-bottom > .navbar-custom:first-child {
    border-top: 1px solid transparent;
}

.navbar-custom .navbar-nav .nav-link {
    color: #333;
}

    .navbar-custom .navbar-nav .nav-link:hover, .navbar-custom .navbar-nav .nav-link:focus {
        color: #333;
    }

    .navbar-custom .navbar-nav .nav-link.disabled {
        color: #999;
    }

    .navbar-custom .navbar-nav .show > .nav-link,
    .navbar-custom .navbar-nav .active > .nav-link,
    .navbar-custom .navbar-nav .nav-link.show,
    .navbar-custom .navbar-nav .nav-link.active {
        color: #333;
    }

.navbar-custom .navbar-nav-link {
    color: #2F5872;
}

    .navbar-custom .navbar-nav-link:hover, .navbar-custom .navbar-nav-link:focus {
        color: #333;
        background-color: transparent;
    }

    .navbar-custom .navbar-nav-link.disabled {
        color: rgba(0, 0, 0, 0.5);
        background-color: transparent;
    }

    .navbar-custom .show > .navbar-nav-link,
    .navbar-custom .active > .navbar-nav-link,
    .navbar-custom .navbar-nav-link.show,
    .navbar-custom .navbar-nav-link.active {
        color: #2F5872;
        background-color: transparent;
    }

.navbar-custom .navbar-text a {
    color: #2196F3;
}

    .navbar-custom .navbar-text a:hover, .navbar-custom .navbar-text a:focus {
        color: #0a6ebd;
    }


.sidebar-custom {
    background-color: #2F5872;
    color: #fff
}

    .sidebar-custom .nav-sidebar .nav-link .text-muted {
        color: #BBB !important;
    }

    .sidebar-custom .sidebar-mobile-toggler {
        color: rgba(255,255,255,.9);
        border-bottom-color: rgba(255,255,255,.1)
    }

        .sidebar-custom .sidebar-mobile-toggler:not([class*=bg-]) {
            background-color: #1e272c
        }

        .sidebar-custom .sidebar-mobile-toggler a {
            color: rgba(255,255,255,.9)
        }

            .sidebar-custom .sidebar-mobile-toggler a:hover {
                color: #fff;
                background-color: transparent
            }

    .sidebar-custom .card-header {
        border-color: rgba(255,255,255,.1)
    }

    .sidebar-custom .nav-sidebar .nav-link,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-link {
        color: rgba(255,255,255,.9)
    }

        .sidebar-custom .nav-sidebar .nav-link:not(.disabled):hover,
        .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-link:not(.disabled):hover {
            color: #fff;
            background-color: rgba(0,0,0,.15)
        }

    .sidebar-custom .nav-sidebar .nav-item > .nav-link.active,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item > .nav-link.active {
        background-color: rgba(0,0,0,.15);
        color: #fff
    }

    .sidebar-custom .nav-sidebar .nav-item-open > .nav-link:not(.disabled),
    .sidebar-custom .nav-sidebar > .nav-item-expanded:not(.nav-item-open) > .nav-link,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item-open > .nav-link:not(.disabled),
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item-expanded:not(.nav-item-open) > .nav-link {
        background-color: rgba(0,0,0,.15);
        color: #fff
    }

    .sidebar-custom .nav-sidebar > .nav-item-open > .nav-link:not(.disabled),
    .sidebar-custom .nav-sidebar > .nav-item > .nav-link.active,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item-open > .nav-link:not(.disabled),
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item > .nav-link.active {
        background-color: #203c4e;
        color: #fff
    }

    .sidebar-custom .nav-sidebar .nav-item-header,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item-header {
        color: rgba(255,255,255,.5)
    }

    .sidebar-custom .nav-sidebar .nav-item-divider,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar .nav-item-divider {
        background-color: rgba(255,255,255,.1)
    }

    .sidebar-custom .nav-sidebar > .nav-item-submenu > .nav-group-sub,
    .sidebar-custom .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item-submenu > .nav-group-sub {
        background-color: rgba(0,0,0,.15)
    }

    .sidebar .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item-open > .nav-link:not(.disabled),
    .sidebar .card[class*=bg-]:not(.bg-custom):not(.bg-white):not(.bg-transparent) .nav-sidebar > .nav-item > .nav-link.active,
    .sidebar-custom[class*=bg-] .nav-sidebar > .nav-item-open > .nav-link:not(.disabled),
    .sidebar-custom[class*=bg-] .nav-sidebar > .nav-item > .nav-link.active {
        background-color: rgba(0,0,0,.3)
    }


.page-link {
    position: relative;
    display: block;
    padding: .25rem 1rem;
    margin-left: 0;
    line-height: 1.5385;
    color: #333;
    background-color: #f5f5f5;
    border: 0 solid #ddd;
    border-radius: 8px;
}

    .page-link:hover {
        z-index: 2;
        color: #333;
        text-decoration: none;
        background-color: #eee;
        border-color: #ddd
    }

    .page-link:focus {
        z-index: 2;
        outline: 0;
        box-shadow: 0 0 0 0 transparent
    }

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .1875rem;
    border-bottom-left-radius: .1875rem
}

.page-item:last-child .page-link {
    border-top-right-radius: .1875rem;
    border-bottom-right-radius: .1875rem
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #2F5872;
    border-color: #2F5872;
    border-radius: 8px;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: #EEEEEE !important;
    border-radius: 6px !important;
    border: 1px solid #DDD !important;
    color: #2F5872 !important;
    width: 95%;
}

.dataTables_wrapper .dataTables_length select {
    background-color: #EEEEEE !important;
    border-radius: 6px !important;
    border: 1px solid #DDD !important;
    color: #2F5872 !important;
    padding-left: 6px;
    padding-right: 6px;
}

.dataTables_wrapper .dt-buttons button {
    border-radius: 6px !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
    content: "-";
    background-color: #cccccc;
}

.nav-organisation-logo {
    background-color: #284B61 !important;
    margin-top: 0px;
}

.nav-item-submenu > .nav-link:after {
    content: "\ec58";
    font-family: icomoon;
    vertical-align: middle !important;
}

[data-action="datatable-ajax-reload"]:after {
    content: "";
}

.modal-header:not([class*="bg-"]) {
    padding-bottom: 0.75rem;
    padding-top: 0.75rem;
    border-bottom-width: 0;
}


#lightsForm {
    display: flex;
    flex-flow: row wrap;
}

#lightsForm fieldset {
    flex: 1;
    border: 1px solid #2F5872;
    border-radius: 15px;
    margin: 0.5em;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 2em;
}

#lightsForm fieldset legend {
    padding: 5px 20px;
    border: 2px solid #2F5872;
    font-weight: bold;
    border-radius: 15px;
    width: auto;
    background: #2F5872;
    color: white;
}

#lightsForm fieldset.rgb {
    flex: 0.5 50%;
}

#lightsForm fieldset.brightness {
    flex: 0.5 50%;
}


#lightsForm div.DTE_Field {
    padding: 5px;
}

#lightsForm div.DTE_Field {
    padding: 5px;
    margin-bottom: 0;
}

.dt-buttons
{
    margin-top: auto !important;
    margin-bottom: auto  !important;
}

.badge-shadow {
    box-shadow: .2rem .2rem 0.4rem rgba(0,0,0,.15)!important
}

.profiles-table {
   border: 0;
 }
.profiles-table tr td:first-child {
    padding-left: 15px;
}
.profiles-table tr td:last-child {
    padding-right: 15px;
}
.profiles-table.table-responsive,
.profiles-table.table-responsive table {
    margin-bottom: 0;
}

