/******* GENERAL ******/
.toastr-action, .btn-flat {
    font-weight: bold;
}

.btn-info2, .style-info2 {
    background-color: #00bcd4;
    border-color: #00bcd4;
    color: #ffffff;
}

.btn-info2:hover, .style-info2:hover, .btn-primary2:hover, .style-primary2:hover,
.btn-info2:focus, .style-info2:focus, .btn-primary2:focus, .style-primary2:focus,
.btn-info2:active, .style-info2:active, .btn-primary2:active, .style-primary2:active {
    color: #ffffff !important;
}

.btn-primary2, .style-primary2 {
    background-color: #eb0038;
    border-color: #eb0038;
    color: #ffffff;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer {
    cursor: pointer !important;
}

.alert-callout.alert-error:before {
    background: #f44336;
}

/******* COOKIE BAR *******/
.cookie-bar {
    background: #066265;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/******* DASHBOARD ******/
.style-OFF {
    background-color: #f44336;
    color: #FFFFFF;
}

.style-ON {
    background-color: #4caf50;
    color: #FFFFFF;
}

.style- {
    background-color: #bdc1c1;
}

/******* PLANNING ******/
.fc-event.event-OFF {
    border-color: #f44336 !important;
    background-color: #f44336 !important;
}

.fc-event.event-AUTO-PV {
    border-color: #4caf50 !important;
    background-color: #4caf50 !important;
}

.fc-event.event-AUTO-ECO {
    border-color: #2196f3 !important;
    background-color: #2196f3 !important;
}

/******* TIMEPICKER ******/
.ui-state-default {
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.ui-widget-header {
    border: 1px solid #000000 !important;
    background: #000000 !important;
}

/********** Toggle Material Design **********/
/* http://codepen.io/andreasstorm/pen/ZGjNwZ http://codepen.io/collection/amheq/ */
.lbl {
    position: relative;
    display: block;
    height: 10px;
    width: 70px;
    background: #898989;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lbl:after {
    position: absolute;
    left: -2px;
    top: -3px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 100px;
    background: #0aa89e;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
    content: '';
    transition: all 0.3s ease;
}

.lbl:active:after {
    transform: scale(1.15, 0.85);
}

.cbx:checked ~ label {
    background: #6fbeb5;
}

.cbx:checked ~ label:after {
    left: 80%;
    background: #179588;
}

.cbx:disabled ~ label {
    background: #d5d5d5;
    pointer-events: none;
}

.cbx:disabled ~ label:after {
    background: #bcbdbc;
}

.press {
    margin-bottom: 10px;
    padding-top: 7px;
}

.hidden {
    display: none;
}

/****** POPOVER ******/
.popover:not(.popover-default) {
    background-color: #0aa89e;
    color: #ffffff;
    font-weight: bold;
}

.popover:not(.popover-default).top > .arrow:after {
    border-top-color: #0aa89e;
}

.bold-grey {
    color: #ABABAB;
    font-weight: bold;
}

#home-form .input-group-content.content-center p {
    display: block;
    text-align: center;
}

form .card-head {
    -webkit-transition: background-color 300ms ease;
    -moz-transition: background-color 300ms ease;
    -o-transition: background-color 300ms ease;
    -ms-transition: background-color 300ms ease;
    transition: background-color 300ms ease;
}

form.editing .card-head {
    background-color: #ff9800;
    border-color: #ff9800;
    color: #ffffff;
}

form:not(.editing) .form-group.email-invalidated {
    border-bottom: 1px dashed;
    border-color: #ff9800;
}

form:not(.editing) .form-group.email-empty {
    border-bottom: 1px dashed;
    border-color: #ff6576;
}

.card-head:not(.card-head-sm, .card-head-xs) header {
    padding-right: 2px;
    width: auto;
    float: left;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 34px;
}

.card .knob-loading {
    overflow: hidden;
}

.card .knob-loading {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.card .knob-loading {
    background: white;
    background-size: 50% auto;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.card {

    -webkit-transition: height 300ms ease;
    -moz-transition: height 300ms ease;
    -o-transition: height 300ms ease;
    -ms-transition: height 300ms ease;
    transition: height 300ms ease;

}

.card .knob-loading h4 {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    content: 'Chargement ...';
    z-index: 2;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#div-meteoResume .text-meteo {
    position: absolute;
    right: 0;
    width: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#div-meteoResume .img-meteo {
    text-align: center;
    position: absolute;
    left: 0;
    width: 50%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
    .slider-meteo .meteo-description {
        text-align: center;
    }
}

@media screen and (max-width: 991px) {
    /*Colonne Marque*/
    #appliances.table tr th:nth-child(2),
    #appliances.table tr td:nth-child(2) {
        display: none;
    }

    /*Colonne Mod�le*/
    #appliances.table tr th:nth-child(3),
    #appliances.table tr td:nth-child(3) {
        display: none;
    }

    /*Colonne Type*/
    #devices.table-responsive tr th:nth-child(3),
    #devices.table-responsive tr td:nth-child(3) {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    /*Colonne Ann�e*/
    #appliances.table tr th:nth-child(5),
    #appliances.table tr td:nth-child(5) {
        display: none;
    }
}

.stats .text-xl {
    font-size: 140%;
}

.stats .highcharts-container {
    max-width: 100%;
}

#stats_clamps, #highchart_conso_prod,
#stats_clamps .highcharts-container,
#highchart_conso_prod .highcharts-container {
    overflow: visible !important;
}

.MyChartTooltip {
    position: relative;
    z-index: 50;
    border: 1px solid #DEDEDE;
    border-radius: 2px;
    background-color: #ffffff;
    padding: 15px;
    font-size: 9pt;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.13);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.13);
}

@media screen and (max-width: 768px) {
    .height-1,
    .size-1 {
        height: auto;
        min-height: 40px;
    }

    .height-2,
    .size-2 {
        height: auto;
        min-height: 80px;
    }

    .height-3,
    .size-3 {
        height: auto;
        min-height: 120px;
    }

    .height-4,
    .size-4 {
        height: auto;
        min-height: 160px;
    }

    .height-5,
    .size-5 {
        height: auto;
        min-height: 200px;
    }

    .height-6,
    .size-6 {
        height: auto;
        min-height: 240px;
    }

    .height-7,
    .size-7 {
        height: auto;
        min-height: 280px;
    }

    .height-8,
    .size-8 {
        height: auto;
        min-height: 320px;
    }

    .height-9,
    .size-9 {
        height: auto;
        min-height: 360px;
    }

    .height-10,
    .size-10 {
        height: auto;
        min-height: 400px;
    }

    .height-11,
    .size-11 {
        height: auto;
        min-height: 440px;
    }

    .height-12,
    .size-12 {
        height: auto;
        min-height: 480px;
    }
}

#table-tauxCategories .row > div:first-child,
#table-globalCategories .row > div:first-child {
    font-weight: bold;
    text-align: right;
}

section.section-account .banner-backdrop {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.section-account .spacer {
    height: 50px !important;
}

section.section-account .banner-backdrop {
    height: 100%;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

@media screen and (min-height: 700px) {
    .section-account .spacer {
        height: 150px !important;
    }
}

@media screen and (max-width: 768px) {
    .dropdown-header {
        white-space: normal;
    }

    .my-account-link {
        height: 20px;
    }

    .li-mode a, .my-account-link a {
        width: 100%;
    }

    .dropdown-menu > li > a {
        width: 100%;
    }

    .agree-btn {
        font-size: 10px;
    }
}

.header-nav > li > a:hover, .header-nav > li > a:focus,
.header-nav .open > a, .header-nav .open > a:hover, .header-nav .open > a:focus {
    background-color: transparent;
}

.popover:not(.popover-default) .popover-title {
    color: #0aa89e;
}

section.section-account .card-body {
    -webkit-animation: 0s ease-out;
    -o-animation: 0s ease-out;
    animation: 0s ease-out;
    -webkit-animation: 0s ease-out 1s ease-in;
    -moz-animation: 0s ease-out 1s ease-in;
    -ms-animation: 0s ease-out 1s ease-in;
    -o-animation: 0s ease-out 1s ease-in;
    animation: 0s ease-out 1s ease-in;
}

.bs-select-hidden {
    display: none;
}

*:focus,
.btn:focus, .btn:active:focus, .btn.active:focus {
    outline: 0 !important;
}

.list-of-modes .aMode {
    cursor: pointer;
}

.panel-group .card .fa-plus {
    -webkit-transform: rotate(-0deg);
    -ms-transform: rotate(-0deg);
    -o-transform: rotate(-0deg);
    transform: rotate(-0deg);
}

.sensor_label {
    margin-top: 30px;
    margin-bottom: 30px;
}

.remove_appliance_sensor:hover i {
    color: #f44336 !important;
}

.popover.editable-popup {
    background: white;
}

.popover.editable-popup button {
    margin-right: 2px;
    margin-left: 2px;
    margin-top: 0;
}

.popover.editable-popup .control-group.form-group.has-error {
    padding-bottom: 20px;
}

.popover.editable-popup .control-group.form-group.has-error .editable-error-block.help-block {
    padding-bottom: 15px;
}

.popover.editable-popup .control-group.form-group {
    padding-top: 0px;
}

.sensor-card .widget-light,
.sensor-card .widget-light-red,
.sensor-card .widget-light-blue {
    font-size: 5em;
    line-height: 80px;
    color: grey;
}

.appliance-card .widget-light,
.appliance-card .widget-light-red,
.appliance-card .widget-light-blue {
    font-size: 4em;
    line-height: 60px;
    color: grey;
    transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
}

.widget-light.lighting {
    /*text-shadow: 0px -5px 25px #ffdf7e;*/
    color: #ff9800;
}

.widget-light-red.lighting {
    /*text-shadow: 0px -5px 25px #f4d4ab;*/
    color: #f44336;
}

.widget-light-blue.lighting {
    /*text-shadow: 0px -5px 25px #f4d4ab;*/
    color: #2196f3;
}

.unconnected_appliances .alert {
    margin-bottom: 12px;
}

.unconnected_appliances .alert label {
    line-height: normal;
    position: absolute;
    right: 0px;
    left: 80px;
    text-align: center;
    top: 0px;
    bottom: 0px;
    overflow: hidden;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 20px;
}

.appliance_knob.knob-shadow:before {
    bottom: 18%;
    left: 35%;
    right: 35%;
}

.alert-callout.alert-passive:before {
    background: grey;
}

.radio-sm {
    margin-bottom: 0px;
}

.radio-sm.radio-styled input:checked ~ span:after {
    left: 4px;
    top: 4px;
    width: 7px;
    height: 7px;
}

.radio-sm.checkbox-styled:not(ie8) input ~ span:before,
.radio-sm.radio-styled:not(ie8) input ~ span:before {
    width: 15px;
    height: 15px;
}

.radio-sm.radio-styled:not(ie8) input ~ span {
    line-height: 15px;
    padding-left: 25px;
    font-size: 9px;
}

.btn-select-mode {
    width: 100%;
    margin-top: 5px;
    font-size: x-small;
    overflow: hidden;
    -o-text-overflow: ellipsis; /* pour Opera 9 */
    text-overflow: ellipsis; /* pour le reste du monde */
}

.degrees-dial, .appliance_knob .dial {
    font-size: 10px !important;
}

.sensor_knob .dial {
    font-size: 11px !important;
}

.sensor-card .alert label {
    overflow: hidden;
    -o-text-overflow: ellipsis; /* pour Opera 9 */
    text-overflow: ellipsis; /* pour le reste du monde */
    position: absolute;
    left: 80px;
    right: 10px;
    top: 50%;
    height: 25px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.fullwidth {
    width: 100% !important;
}

.dropdown-menu span.typcn {
    width: 1.5em !important;
    height: 1.5em !important;
    font-size: 1.5em !important;
    line-height: 1em !important;
}

.orvibo_thermometer span.typcn,
.sonde_thermometer span.typcn,
.debitmetre_thermometer span.typcn,
.sensor_thermometer span.typcn,
.appliance_thermometer span.typcn {
    font-size: 50px;
    line-height: 30px;
}

.orvibo_thermometer label,
.sonde_thermometer label,
.debitmetre_thermometer label,
.sensor_thermometer label,
.appliance_thermometer label {
    margin-top: -15px;
    margin-bottom: 0px;
    font-weight: bold;
    display: block;
    position: relative;
}

.cursor-pointer {
    cursor: pointer;
}

.temp_button {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.btn-typicon-multiselect {
    font-size: 13px;
}

.big_multiselect {
    position: relative;
}

.big_multiselect .btn-typicon-multiselect {
    font-size: 20px;
}

.big_multiselect .multiselect {
    font-size: 15px;
}

.middle_multiselect .btn-typicon-multiselect {
    font-size: 18px;
}

.middle_multiselect .multiselect {
    font-size: 13px;
}

.minus-bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    overflow: hidden;
    width: 45%;
    text-align: right;
    z-index: 1;
}

.plus-bottom {
    position: absolute;
    bottom: 0px;
    width: 45%;
    text-align: left;
    right: 0px;
    overflow: hidden;
    z-index: 1;
}

.consigne_temp-middle {

    top: 0px;
    position: absolute;
    left: 40px;
    right: 40px;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}

.tooltip {
    text-transform: none;
}

.btn-icon-rounded {
    border-radius: 9999px;
    padding: 0;
    height: 36px;
    width: 36px;
    font-size: 18px;
    line-height: 2;
}

.journalisation-filters {
    position: fixed;
    z-index: 999;
    right: 30px;
    bottom: 10px;
}

.journalisation-filters .button-group button {
    margin-top: 5px;
    transition: all 0.3s ease;
    opacity: 0;
}

.journalisation-filters.active .button-group button {
    opacity: 1;
}

.journalisation-filters .button-group {
    display: none;
}

.journalisation-filters.active .button-group {
    display: block;
}

.journalisation-filters .button-group:nth-child(2) {
    position: absolute;
    text-align: center;
    bottom: 60px;
    right: 0px;
    width: 56px;
}

.journalisation-filters .button-group:nth-child(3) {
    position: relative;
    text-align: center;
    float: right;
    bottom: 0px;
    right: 65px;
    height: 56px;
    padding-top: 3px;
}

.journalisation-filters .btn-filter-menu {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

#offcanvas-messages .list .tile > a:hover {
    color: inherit;
}

#notifications-messages .notification-list {
    padding: 50px;
}

#notifications-messages .card {
    margin-bottom: 12px;
}

.animated {
    opacity: 0;

}

#notifications-accordion .notifications-container ul.list .tile .tile-text {
    padding: 5px 0px;
}

#notifications-accordion .notifications-container ul.list .tile {
    background-color: white;
    cursor: pointer;
}

.unread-small-notifications {
    min-width: 200px;
    min-height: 50px;
}

.unread-small-notifications.with-overflow {
    max-height: 250px;
    overflow: auto;
    padding-right: 10px;
}

.fa-bell.ring {
    -webkit-animation: ring 2s ease infinite;
    animation: ring 2s ease;
    transform-origin-x: 50%;
    transform-origin-y: 0px;
    transform-origin-z: initial;
}

@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotate(-15deg);
        transform: rotate(-15deg);
    }

    2% {
        -webkit-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    4% {
        -webkit-transform: rotate(-18deg);
        transform: rotate(-18deg);
    }

    6% {
        -webkit-transform: rotate(18deg);
        transform: rotate(18deg);
    }

    8% {
        -webkit-transform: rotate(-22deg);
        transform: rotate(-22deg);
    }

    10% {
        -webkit-transform: rotate(22deg);
        transform: rotate(22deg);
    }

    12% {
        -webkit-transform: rotate(-18deg);
        transform: rotate(-18deg);
    }

    14% {
        -webkit-transform: rotate(18deg);
        transform: rotate(18deg);
    }

    16% {
        -webkit-transform: rotate(-12deg);
        transform: rotate(-12deg);
    }

    18% {
        -webkit-transform: rotate(12deg);
        transform: rotate(12deg);
    }

    20% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes ring {
    0% {
        -webkit-transform: rotate(-15deg);
        -ms-transform: rotate(-15deg);
        transform: rotate(-15deg);
    }

    2% {
        -webkit-transform: rotate(15deg);
        -ms-transform: rotate(15deg);
        transform: rotate(15deg);
    }

    4% {
        -webkit-transform: rotate(-18deg);
        -ms-transform: rotate(-18deg);
        transform: rotate(-18deg);
    }

    6% {
        -webkit-transform: rotate(18deg);
        -ms-transform: rotate(18deg);
        transform: rotate(18deg);
    }

    8% {
        -webkit-transform: rotate(-22deg);
        -ms-transform: rotate(-22deg);
        transform: rotate(-22deg);
    }

    10% {
        -webkit-transform: rotate(22deg);
        -ms-transform: rotate(22deg);
        transform: rotate(22deg);
    }

    12% {
        -webkit-transform: rotate(-18deg);
        -ms-transform: rotate(-18deg);
        transform: rotate(-18deg);
    }

    14% {
        -webkit-transform: rotate(18deg);
        -ms-transform: rotate(18deg);
        transform: rotate(18deg);
    }

    16% {
        -webkit-transform: rotate(-12deg);
        -ms-transform: rotate(-12deg);
        transform: rotate(-12deg);
    }

    18% {
        -webkit-transform: rotate(12deg);
        -ms-transform: rotate(12deg);
        transform: rotate(12deg);
    }

    20% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.notifications-container .tile .checkbox-styled span:before {
    left: auto;
    right: 0;
}

.notifications-container {
    overflow: auto;
    max-height: 50vh;
}

.notifications-container .tile a:hover {
    color: inherit;
}

.notifications-container .tile .checkbox-styled label {
    padding: 5px;
}

.section-assistance .ajax-loading {
    position: relative;
    min-height: 450px;
}

.section-assistance .ajax-loader {
    opacity: 0;
    position: relative;
    width: 0;
    height: 0;
    overflow: hidden;
}

.section-assistance .ajax-loading .ajax-loader {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: auto;
    width: auto;
}

.section-assistance .ajax-loader {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    z-index: 10;
}

.section-assistance .ajax-loader i {
    position: absolute;
    top: 45%;
}

.video_line {
    cursor: pointer;
}

.conso_prod_detail_icon {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.appliance-socket-loader,
.smart-plug-socket-loader {
    position: absolute;
    z-index: 2;
    left: 0;
    padding: 20px;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 25px;
    display: none;
}

.rollershutter_multilevel .appliance-socket-loader {
    bottom: -20px;
    padding: 50px;
}

.panel-group > .card {
    margin-bottom: 1px;
}

div[data-type="heater"] .multiselect-container.dropdown-menu > .active > a {
    background-color: #2196f3;
    border-color: #2196f3;
}

#sensor .ajax-loader,
#drive_elec .ajax-loader,
#smartplug .ajax-loader,
#appliances .ajax-loader,
#orvibo .ajax-loader,
#heatandcool .ajax-loader,
#devices .ajax-loader {
    /*display: none;*/
    font-size: 40px;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}
#sensor .ajax-loader i,
#drive_elec .ajax-loader i,
#smartplug .ajax-loader i,
#appliances .ajax-loader i,
#orvibo .ajax-loader i,
#heatandcool .ajax-loader i,
#devices .ajax-loader i {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0px;
    right: 0px;
}

.lock_screen {
    display: none;
    padding: 20vh 5vw 0 5vw;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: white;
    z-index: 10000;
}

.lock_screen .banner-backdrop {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

#toast-container {
    z-index: 10001;
}

.add_event_btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}

.slider-legend-container {
    width: 98%;
    position: relative;
    padding: 0px !important;
    padding-right: 15px !important;
}

@media screen and (max-width: 1200px) {

    .slider-legend-container {
        padding-right: 0px !important;
    }
}

.popover.mypopover.planning_synchro_popover {
    background-color: white !important;
}

.popover.mypopover.planning_synchro_popover .popover-title {
    color: grey !important;
    text-align: center;
}

.div_appliance .card-head:not(.card-head-sm) header,
.sensor_item .card-head:not(.card-head-sm) header {
    max-width: 75%;
}

.div_appliance .card-head,
.sensor_item .card-head,
.div_orvibo .card-head {
    -webkit-transition: background-color 330ms linear;
    -ms-transition: background-color 330ms linear;
    transition: background-color 330ms linear;
}

@media screen and (min-width: 1400px) {
    .div_appliance .card-head:not(.card-head-sm) header,
    .sensor_item .card-head:not(.card-head-sm) header {
        max-width: 65%;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .div_appliance .card-head:not(.card-head-sm) header,
    .sensor_item .card-head:not(.card-head-sm) header {
        max-width: 62%;
    }

    .sensor_item .div_command,
    .div_appliance .div_command {
        max-width: 55%;
    }

    .sensor_item .div_image:not(.div_image_pince),
    .div_appliance .div_image {
        display: none;
    }

    .sensor_item .div_knob,
    .div_appliance .div_knob {
        max-width: 40%;
    }
}

@media screen and (max-width: 991px) {

    .div_appliance .card-head:not(.card-head-sm) header,
    .sensor_item .card-head:not(.card-head-sm) header {
        max-width: 60%;
    }
}

@media screen and (max-width: 1200px) {
    #div-appliances .text-lg,
    #div-appliances .text-xl,
    #div-sensors-lines .text-lg,
    #div-sensors-lines .text-xl,
    #div-jaugesGlobales .text-lg,
    #div-jaugesGlobales .text-xl,
    #div-foyer .text-lg,
    #div-foyer .text-xl {
        font-size: 100%;
        display: block;
        line-height: 15px;
        vertical-align: middle;
        padding-top: 15px;
    }

    #div-appliances p,
    #div-sensors-lines p {
        font-size: 100%;
        display: block;
        line-height: 15px;
        vertical-align: middle;
    }

    .text-md-center {
        text-align: center;
    }

    .ratio_device {
        padding-top: 0px !important;
    }
}

.tutorial-invisible-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1010;
}

.enjoyhint_next_btn, .enjoyhint_next_btn:hover,
.enjoyhint_skip_btn, .enjoyhint_skip_btn:hover {
    color: rgba(255, 255, 255, 1) !important;
    background: #0aa89e !important;
    border-radius: 2px 2px 0 0 !important;
    border: 0px !important;
    -webkit-border-radius: 2px 2px 0 0 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
}

#setting-accordion-my-link .dropdown-menu > .active > a {
    background-color: inherit;
    color: inherit;
}

.dropdown-menu-widget-dashboard li i {
    padding-right: 10px;
}

.position-relative {
    position: relative;
}

.no-orvibo-overflow {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    font-size: 70px;
}

.no-orvibo-overflow:hover .content,
.no-orvibo-overflow .content.searching {
    opacity: 1;
    height: 200px;
    width: 200px;
    line-height: 200px;
}

.no-orvibo-overflow .content {
    cursor: pointer;
    opacity: 0;
    width: 1px;
    line-height: 1px;
    height: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 0;
    overflow: hidden;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    box-shadow: 0px 2px 3px #000000;
}

@media screen and (max-width: 991px) {
    .sensor_relais .panel.list {
        overflow: auto;
    }
}

.aRemoteCard.active {
    -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.38);
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.38);
    border: 5px solid #0aa89e;
}

ul.ref_list{
    display: block;
    max-height: 300px;
    overflow: auto;
}
.ref_list .tile.active {
    background-color: #0aa89e;
    border-color: #0aa89e;
    color: #ffffff;
}

.ref_list .tile.active:hover a {
    color: #ffffff;
}

.custom-list .tile.active {
  background-color: #0aa89e;
  border-color: #0aa89e;
  color: #ffffff;
}

.custom-list .tile.active:hover a {
  color: #ffffff;
}

/* Select2 Override */
.select2-container .select2-selection--single {
    min-height: 37px;
    line-height: 37px;
    border: 0 !important;
    border-radius: 0 !important;
    border-bottom: solid 1px rgba(12, 12, 12, 0.12) !important;
    font-size: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37px !important;
}

.select2-container .select2-selection__rendered i.md {
    margin-left: 20px;
    vertical-align: top;
    padding-top: 1px;
    font-size: 2em;
}

.select2-container .select2-results__option i.md {
    margin-left: 20px;
    vertical-align: top;
    font-size: 1.5em;
}

.form-validation span.help-block {
    color: red;
}

/* FIN Select2 Override */

.form-wizard .nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent !important;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

#div-cardBodyMeteo:hover .slider-next,
#div-cardBodyMeteo:hover .slider-prev {
    opacity: 1;
    transition: all 0.3s ease;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    opacity: 0;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: grey;
}

.slick-arrow {
    position: absolute;
    z-index: 10;
    top: -10px;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    cursor: pointer;
    width: 30px;
    height: 30px;
    opacity: 0;

    font-size: 30px;
    font-weight: bold;
    color: grey;
}

.fa-angle-left.slick-arrow {
    left: 10px;
}

.fa-angle-right.slick-arrow {
    right: 10px;
}

.div_heatandcool:hover .slick-arrow {
    opacity: 1;
    transition: all 0.3s ease;
}

.sortable-ghost {
    opacity: 0.5;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

.sortable-drag {
    opacity: 0;
}

.col-5 {
    width: 20%;
}

.style-color-period-tic-bleu {
    background-color: #5C6BC0;
    color: #ffffff;
    border-radius: 3px;
}

.style-color-period-tic-blanc {
    background-color: #E0E0E0;
    color: #000000;
    border-radius: 3px;
}

.style-color-period-tic-rouge {
    background-color: #E57373;
    color: #ffffff;
    border-radius: 3px;
}

.style-color-period-tic-rouge-vif {
    background-color: #FF2C00;
    color: #ffffff;
    border-radius: 3px;
}

@media screen and (min-width: 991px) {
    .top-container-tic {
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;

    }

    .display-flex {
        display: flex;
    }
}

.rollershutter_commands > div {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-size: 20px;
}

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

.rollershutter {
    width: 120px;
    height: 120px;
    background: url(/images/devices/featured-viscount.png);
    background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.4);
}

.rollershutter .content {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 10px;
}

.rollershutter .box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    background-image: url(/images/devices/rollershutter_box.png);
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-repeat: no-repeat;
    height: 24px;
}

.rollershutter .content .border-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: -10px;
    width: 10px;
    background-color: #DEDEDE;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);

}

.rollershutter .content .border-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: -10px;
    width: 10px;
    background-color: #DEDEDE;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);

}

.rollershutter .content .shutter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0%;
    background-image: url(/images/devices/rollershutter_texture1.png);
    background-size: 100% auto;
    -moz-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    background-color: #DEDEDE;
    cursor: ns-resize;

    -webkit-transition: top 200ms ease;
    -moz-transition: top 200ms ease;
    -o-transition: top 200ms ease;
    transition: top 200ms ease;
}

.rollershutter .content .shutter::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background-image: url(/images/devices/rollershutter_bottom.png);
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    background-repeat: no-repeat;
    background-color: #DEDEDE;
}

.rollershutter_double_switch.widget_reduced .div_command {
    padding-top: 10px !important;
}

.rollershutter_multilevel.widget_reduced .div_image {
    display: none;
}

.multilevel.widget_reduced .div_image {
    display: none;
}

.multiswitch.widget_reduced .div_image {
    display: none;
}

.modal-loading {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
    background: white;
    background-size: 50% auto;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 3;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.modal-loading h4 {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    content: 'Chargement ...';
    z-index: 2;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.range_rollershutter > label {
    margin-bottom: 10px !important;
}

@media screen and (min-width: 1200px) and (max-width: 1350px) {
    .meteo_title {
        font-size: 24px !important;
    }
}

.container_netatmo .netatmo_image {
    position: relative;
    top: 5px;
    left: 0px;
    right: 0;
    background-image: url(/images/devices/netatmo.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 85px;
    width: 85px;
}

.netatmo_widget button.multiselect {
    margin-top: 0;
}

#netatmo_timepicker_form .datepicker table tr td {
    border-radius: 2px;
}

#netatmo_spinner .ui-spinner {
    overflow: visible;
}

.icon-provider {
    border-radius: 50%;
    background-color: rgba(222, 222, 222, 0);
    color: #0aa89e;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    font-size: 22px;
    line-height: 42px;
    margin-right: 20px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);

}

.widget_smartplug_default_switch_state {
    font-style: italic;
    font-size: 12px;
    font-weight: lighter;
    margin-left: 5px;
    color: #888888;
}

.device_select_container .multiselect-container.dropdown-menu {
    overflow: auto;
    max-height: 50vh;
}

.no-driveelec-overflow {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    font-size: 70px;
    transition: all 0.3s ease;

}

.no-driveelec-overflow:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.no-driveelec-overflow:hover .content,
.no-driveelec-overflow .content.searching {
    opacity: 1;
    height: 200px;
    width: 200px;
    line-height: 200px;
}

.no-driveelec-overflow .content {
    cursor: pointer;
    opacity: 0;
    width: 1px;
    line-height: 1px;
    height: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 0;
    overflow: hidden;
    right: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    box-shadow: 0 2px 3px #515151;
}

.warning-max {
    background-color: white;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    font-weight: lighter;
    font-size: 11px;
    text-align: center;
    line-height: 10px;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu { /* used to be tt-dropdown-menu in older versions */
    width: 422px;
    margin-top: 4px;
    padding: 4px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
    line-height: 24px;
}

.tt-suggestion.tt-cursor, .tt-suggestion:hover {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.link-blue, .link-blue:hover {
    cursor: pointer;
    color: #0aa89e;
}

.login-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 992px) {
    .panel-messages-pre-accueil {
        order: 1;
    }

    .panel-login-accueil {
        order: 2;
    }
}

.sensor_relay_cog_btn i {
    -webkit-transition:all 1s ease;
    -moz-transition:all 1s ease;
    transition:all 1s ease;
}

section .style-success,
.offcanvas-pane .style-success,
.card .style-success, section.style-success,
.offcanvas-pane.style-success,
.card.style-success {
    background-color: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
}

section .style-danger,
.offcanvas-pane .style-danger,
.card .style-danger, section.style-danger,
.offcanvas-pane.style-danger,
.card.style-danger {
    background-color: #e2261c;
    border-color: #e2261c;
    color: #ffffff;
}

.knob-large-shadow::before {
    left: 10% !important;
    right: 10% !important;
}

.temp_button {
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
}

.stats {
    margin-right: 70px;
}

.stats-floating-menu {
    position: fixed;
    top: 80px;
    right: 15px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.stats-menu-content {
    width: 60px;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0;
    background-color: white;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.stats-menu-content ul {
    width: 60px;
    list-style: none;
    padding: 0;
    flex: 1;
    margin: 0;
    background-color: white;
    z-index: 3;
}

.stats-menu-content-ul > li {
    height: 60px;
    position: relative;
    border-bottom: 1px solid #DEDEDE;
    flex: 1;
    display: flex;
    justify-content: center;
    font-size: 30px;
    align-items: center;
    color: #0aa89e;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stats-menu-content-ul > li.menu-loader {
    transform: scale(0);
    overflow: hidden;
    height: 0;
    transition: all 0.3s ease;
}

.stats-menu-content-ul > li.menu-loader.menu-loading {
    transform: scale(1);
    height: 60px;
}

.stats-menu-content-ul > li .content {
    position: absolute;
    min-width: 50px;
    height: 40px;
    right: 90px;
    background-color: white;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    transform: scale(0);

    transition: all 0.3s ease;

    display: flex;
    white-space: nowrap;
    align-items: center;
    padding: 10px;
    justify-content: center;
}

.stats-menu-content-ul > li.search .content {
    width: 300px;
    transform: scale(1);
}

.stats-menu-content-ul > li.active .content,
.stats-menu-content-ul > li:hover .content {
    transform: scale(1);
}

.stats-menu-content-ul > li a {
    text-align: center;
    width: 100%;
}

.stats-menu-content-ul > li .content::before {
    right: -15px;
    top: 6px;
    position: absolute;
    transform: rotate(45deg);
    content: "";
    width: 28px;
    height: 28px;
    background-color: white;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
}

.stats-menu-content-ul > li .content::after {
    right: 0;
    top: 0;
    position: absolute;
    content: "";
    width: 40px;
    height: 40px;
    background-color: white;
}

.stats-menu-content-ul > li .content .text {
    z-index: 86;
    position: relative;
    font-size: 15px;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.stats-menu-content-ul > li.active i,
.stats-menu-content-ul > li:hover i {
    color: white;
}

.stats-menu-content-ul > li.active,
.stats-menu-content-ul > li:hover {
    background-color: #0aa89e;
}

.bottom-triangle {
    width: 55px;
    height: 55px;
    bottom: -28px;
    transform: rotate(45deg);
    z-index: 0;
    position: absolute;
    background-color: white;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.4);
}

.bottom-triangle-after {
    width: 56px;
    height: 56px;
    bottom: -28px;
    content: "";
    transform: rotate(45deg);
    z-index: 2;
    position: absolute;
    background-color: white;
}

.form-group-validate .form-group {
    margin-bottom: 0;
}

.form-group-validate {
    margin-bottom: 15px;
}

.form-group-validate .invalid-feedback {
    color: #e2261c;
    font-size: 12px;
    transition: all 0.3s ease;
}

.has-error .input-group-addon {
    color: inherit;
    border-color: transparent;
    background-color: inherit;
}

.remote_config_pending {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remote_config_pending.checked{
    background-color: #0aa89e;
    color: white;
}
.remote_config_pending:not(.checked) {
    -webkit-animation:highlight 4s ease infinite;
    -moz-animation:highlight 4s ease infinite;
    animation:highlight 4s ease infinite;
}

@keyframes highlight {
    0% { background-color: #f8f8f8; }
    50% { background-color: #ececec; }
    100% { background-color: #f8f8f8; }
    /*-webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform:rotate(0deg);*/
}

.sensor_relay_cog_btn:hover i {
    -webkit-transform: rotate(120deg);
    -moz-transform: rotate(120deg);
    transform:rotate(120deg);
}

.settings-floating-buttons {
    position: absolute;
    top: -50px;
    right: 10px;
}
