.empty-form {
    display: none;
}

.v-center {
    display: table-cell;
    vertical-align: middle;
}

.text-middle {
    vertical-align: middle;
    display: inline-block;
}

.onDragRow {
    background-color: lightgray;
}

.table tbody > tr > td {
    vertical-align: middle;
}

.reorder {
    cursor: move;
}

.fieldset_padding {
    padding-bottom: 10px;
}

header .navbar .toggle-nav-custom {
    color: white;
    text-shadow: none;
    vertical-align: middle;
    padding: 4px 12px;
    margin-top: 5px;
    margin-left: 15px;
    background-color: rgba(209, 55, 53, 0.47);
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    header .navbar .toggle-nav-custom {
        margin-left: 15px;
    }
}

header .navbar .toggle-nav-custom:active, header .navbar .toggle-nav-custom.active {
    -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
    background-color: #E83935
}

header .navbar .toggle-nav-custom:hover {
    background-color: #E83935
}

header .navbar .toggle-nav-custom .active {
    background-color: #E83935
}

.sortable_div {
    min-height: 50px;
}

.hr-line {
    width: 91%;
    border: 1px solid #EEE;
    color: #666;
    font-family: helvetica;
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: .1em;
    line-height: 0px;
    text-align: center;
    text-transform: uppercase;
    margin: 15px 0 20px 0;
}

.hr-line > span {
    background-color: #fbfbfb;
    padding: 0px 2em;
    margin-left: 7.5%;
    border-radius: 5px;
    padding: 4px 15px 3px 15px;
}

.hr-line > .new {
    background-color: rgba(92, 223, 113, 0.49);
    border-radius: 5px;
    padding: 4px 15px 3px 15px;
}

.settings-gear {
    width: 45%;
    color: #666;
    font-family: helvetica;
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: .1em;
    line-height: 0px;
    text-align: center;
    text-transform: uppercase;
    margin: 5px 0px 20px 0;
    padding-left: 15px;
    font-size: 1.5em;
    text-align: center;
    display: inline-block;
    float: right;
}

.settings-gear:hover {
    color: #3d579d;
}

.settings-remove {
    width: 45%;
    color: #666;
    font-family: helvetica;
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: .1em;
    line-height: 0px;
    text-align: center;
    text-transform: uppercase;
    margin: 5px 0px 20px 0;
    padding-left: 15px;
    font-size: 1.5em;
    text-align: right;
}

.settings-remove-hide {
    display: none;
}

.settings-remove-show {
    display: inline-block;
}

.settings-remove-show:hover {
    color: #bc3b28;
}

.hr-line-fixed {
    width: 85%;
    margin-left: 20px;
}

.hr-line-settings {
    width: 15%;
    text-align: right;
    margin-left: -30px;
}

.hr-line-fixed > span > input {
    color: #666;
    letter-spacing: .1em;
    font-family: helvetica;
    font-weight: bold;
    font-variant: small-caps;
    text-transform: uppercase;
}

.spinner {
    background: url("../assets/images/ajax-loaders/15.gif") no-repeat;
    width: 50%;
    height: 50%;
    min-height: 50px;
    margin: 0 auto;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
}

.centered_img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#graphite_24hours {
    width: 100%;
    height: 270px;
    font-size: 12px;
    font-family: Verdana, Tahoma, Arail;
    line-height: 1.2em;
    display: table;
}

#graphite_chart {
    width: 100%;
    min-width: 320px;
    height: 190px;
    font-size: 12px;
    font-family: Verdana, Tahoma, Arail;
    line-height: 1.2em;
    display: table;
}

#graphite_chart_legend {
    padding-left: 17px;
}

#graphite_7days {
    width: 100%;
    height: 270px;
    font-size: 12px;
    font-family: Verdana, Tahoma, Arail;
    display: table;
    line-height: 1.2em;
}

#graphite_30days {
    width: 100%;
    height: 270px;
    font-size: 12px;
    font-family: Verdana, Tahoma, Arail;
    display: table;
    line-height: 1.2em;
}

.settings_div {
    z-index: 10;
    width: 100%;
    display: none;
    height: auto;
    min-height: 245px;
    height: auto !important; /* for IE as it does not support min-height */
    height: 245px; /* for IE as it does not support min-height */
}

#settings_div_content {
    min-height: 270px;
}

/* widget css */

.table-div {
    display: table;
    width: 100%;
    /* background-color:#eee;
    border:1px solid  #666666; */
}

.table-row {
    display: table-row;
    width: auto;
}

.table-cell {
    display: table-cell;
    width: auto;
}

.col1 {
    width: 5%;
    text-align: center;
}

.col2 {
    width: 20%;
    text-align: right;
    line-height: 40px;
    vertical-align: middle;

}

.col3 {
    width: 40%;
    max-width: 100px;
    font-size: 40px;
    white-space: nowrap;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
}

.col4 {
    width: 20%;
    text-align: left;
    line-height: 40px;
    vertical-align: middle;
}

.col5 {
    width: 10%;
    text-align: center;
}

.temp_down {
    display: none;
    color: lightblue;
    font-size: 40px;
}

.temp_up {
    display: none;
    color: lightcoral;
    font-size: 40px;
}

.box-header-small > .title {
    font-size: 1.5em;
}

.box-header-small > .actions {
    font-size: 1.5em;
}

.settings:hover {
    opacity: 0.5;
}

.no-drag {
    -moz-user-select: none;
    -webkit-user-drag: none;
    -ms-user-select: none;
}

.lock_mode {
    font-size: 25px;
}

.lock_mode_on {
    color: lightcoral;

}

.lock_mode_off {
    color: lightcoral;
    display: none;
}

.away_mode {
    font-size: 21px;
}

.away_mode_on {
    color: #3AA2E7;
}

.away_mode_off {
    color: lightblue;
    display: none;
}

.mode {
    font-size: 28px;
    line-height: 28px;
}

.auto_mode_on {
    color: #3AA2E7;
}

.auto_mode_off {
    color: lightblue;
    display: none;
}

div.inline {
    float: left;
}

.clearBoth {
    clear: both;
}

.text-middle-30px {
    height: 30px;
    vertical-align: middle;
    line-height: 30px
}

.social-icon {
    font-size: 40px;
    text-decoration: none;
    margin: 0px 10px 0px 10px;
}

.social-icon-fb:hover {
    color: #3d579d;
}

.social-icon-vk:hover {
    color: #45668e;
}

.social-icon-google:hover {
    color: #d34836;
}

/* slider for scheduler */

.slider .ui-slide {
    border: none !important;
}

.slider .ui-slider-handle {
    background: url('../images/tw-arrow-fb-4-solid.png') !important;
    background-size: cover !important;
    background-position: center center;
    background-repeat: no-repeat;
    border: none !important;
    outline: none;
    width: 2em !important;
    height: 2em !important;
    margin-top: -7px;
    margin-left: -17px !important;
}

.slider .ui-slider-handle-wide {
    position: absolute;
    z-index: 2;
    width: 3.2em;
    height: 1.2em;
    cursor: default;
    top: -.3em;
    margin-left: -1.6em;
    text-align: center;
    text-decoration: none;
    font-family: FontAwesome, Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

/* end slider for scheduler */

.btn-darkgrey {
    background-color: #797979;
    color: #f5f5f5;
}

.btn-darkgrey:hover {
    background-color: #919191;
    color: #f5f5f5;
}

.border-blue {
    border: 1px solid rgba(61, 87, 157, 0.5) !important;
}

.title-width {
    width: 80%;
}

.title-col {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 5px;
    min-width: 25px;
    width: 100px;
}

.chart_text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 24px;
    color: #808080;
    padding-bottom: 20px;
}

.comfort-temperature {
    background-color: rgba(61, 87, 157, 0.3) !important;
}

.away-temperature {
    background-color: rgba(255, 152, 0, 0.3) !important;
}

.econom-temperature {
    background-color: rgba(156, 204, 101, 0.5) !important;
}

.form-errors {
    text-align: center;
}

.device_log_setting_form input {
    width: 15px;
    height: 15px;
}

/* tooltip */

.tooltip {
    display: none; /* ADDED */
    padding: 3px 3px;
    background-color: #dddddd;
    border: #dddddd 1px solid;
    font-size: 1em;
    position: absolute;
    z-index: 9999;
    color: #0c0c0c;
    min-width: 100px;
    min-height: 10px;
}

.tipBody {
    background-color: #dddddd;
    padding: 2px;
}

.form-group-custom {
    margin-bottom: 10px !important;
}

.form-group-custom2 {
    margin-bottom: 10px !important;
    padding-left: 30px;
    padding-right: 30px;
}

.form-control-custom {
    height: 30px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.form-control-checkbox {
    width: 100%;
}

.settings_test {
    width: 100%;
}

.settings_test > table {
    border: 1px solid #808080;
    font-family: FontAwesome;
    border-spacing: 0px;
}

.settings_test > table tr {
    border-bottom: 1px solid #D6D4D4;
    text-align: center;
    height: 35px;
    padding: 0;
}

div.range tr {
    height: 20px;
}

.time-row > td {
    min-width: 4.16%;
    text-align: center;
    border-right: 1px dashed #808080;
    height: 21px;
}

.slider_wrapper {
    background-size: 100%;
    height: 17px;
    width: 100%;
}

.slider_wrapper_hours {
    background: url('../images/gray-bar-hours.png') 50% 50%;
    background-size: 100% 25px;
    height: 25px;
}

.slider {
    background-color: rgba(255, 255, 255, 0.3);
}

.temperature_settings {
    margin-top: 10px;
}

.temperature_settings .desc {
    font-style: italic;
    font-size: 11px;
    padding-left: 5px;
}

.slider_wrapper2 {
    width: 200px;
    background-size: 100%;
    height: 25px;
}

.is-online-true {
    color: #A5D6A7
}

.is-online-false {
    color: #F44336
}

.is-online-false-2hours {
    color: #F9FF00
}

.is-online-false-2hours-dark {
    color: #ffd800
}

.slider-simple {
    margin-top: 10px;
    margin-bottom: 10px;
    background: -moz-linear-gradient(left, rgba(61, 87, 157, 0.9) 0%, rgba(61, 87, 157, 0.9) 99%, rgba(61, 87, 157, 0.9) 100%) !important;;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(61, 87, 157, 0.9)), color-stop(99%, rgba(61, 87, 157, 0.9)), color-stop(100%, rgba(61, 87, 157, 0.9)));
    background: -webkit-linear-gradient(left, rgba(61, 87, 157, 0.9) 0%, rgba(61, 87, 157, 0.9) 99%, rgba(61, 87, 157, 0.9) 100%) !important;
    background: -o-linear-gradient(left, rgba(61, 87, 157, 0.9) 0%, rgba(61, 87, 157, 0.9) 99%, rgba(61, 87, 157, 0.9) 100%) !important;;
    background: -ms-linear-gradient(left, rgba(61, 87, 157, 0.9) 0%, rgba(61, 87, 157, 0.9) 99%, rgba(61, 87, 157, 0.9) 100%) !important;;
    background: linear-gradient(to right, rgba(61, 87, 157, 0.9) 0%, rgba(61, 87, 157, 0.9) 99%, rgba(61, 87, 157, 0.9) 100%) !important;;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333d579d', endColorstr='#cc3d579d', GradientType=1) !important;;
}

/* slider simple input */

.slider-simple {
    padding-bottom: 10px;
}

.slider-simple .ui-slide {
    border: none !important;
}

.slider-simple > .ui-slider-handle {
    border: 1px solid #808080 !important;
    outline: none;
    position: absolute;
    z-index: 2;
    width: 3em !important;
    height: 1.2em;
    cursor: default;
    top: -.2em;
    margin-left: -1.5em !important;
    text-align: center;
    text-decoration: none;
    font-family: FontAwesome, Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

.slider-simple .ui-slider-pip.ui-slider-pip-last,
.slider-simple .ui-slider-pip.ui-slider-pip-first {
    top: 10px;
}

.slider-simple .ui-slider-pip.ui-slider-pip-last .ui-slider-line,
.slider-simple .ui-slider-pip.ui-slider-pip-first .ui-slider-line {
    display: none
}

/* slider simple input */

/* slider simple input */

.slider-temperature {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.slider-temperature .ui-slide {
    border: none !important;

}

.slider-temperature > .ui-slider-handle {
    border: 1px solid #808080 !important;
    outline: none;
    position: absolute;
    z-index: 2;
    width: 3em !important;
    height: 1.2em;
    cursor: default;
    top: -.2em;
    margin-left: -1.5em !important;
    text-align: center;
    text-decoration: none;
    font-family: FontAwesome, Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

/* slider simple input */

.slider-temperature .ui-slider-pip.ui-slider-pip-last,
.slider-temperature .ui-slider-pip.ui-slider-pip-first {
    top: 10px;
}

.slider-temperature .ui-slider-pip.ui-slider-pip-last .ui-slider-line,
.slider-temperature .ui-slider-pip.ui-slider-pip-first .ui-slider-line {
    display: none
}

.ui-slider-pips [class*=ui-slider-pip-selected] {
    font-weight: normal !important;
    color: #999 !important;
}

.ui-slider-pips [class*=ui-slider-pip-initial] {
    font-weight: normal !important;
    color: #999 !important;
}

.footer-bottom {
    position: absolute;
    max-width: 96%;
    text-align: center;
    bottom: 0px
}

.text-white {
    color: white;
}

.filter-table {
    width: 100%;
}

.mgr-firmware-label {
    font-size: 12px;
    font-weight: normal;
    padding: 0px;
    display: block;
}

.scheduler-result, .device-parameters-result {
    text-align: center;
    font-size: 24px;
    height: 34px;
    min-height: 34px;
    margin-top: -20px;

}

.info-icon {
    height: 35px;
}

.user-menu {
    margin-left: 2px;
}

.dashboard-icon {
    margin-left: 10px;
}

.table-icon {
    margin-left: 2px;
}

.no-padding {
    padding: 0px !important;
}

.status_info {
    font-size: 19px;
    padding-left: 4px;
    line-height: 19px;

}

.status_bar {
    padding-left: 8px
}

.manual-mode {
    color: steelblue;
    font-size: 22px;
}

.away-mode {
    color: #5D5D5D;
    font-size: 22px;
}

.auto-mode {
    color: #3AA2E7;
    font-size: 22px;
}

.width5 {
    width: 5%;
}

.width50 {
    width: 50%;
}

.margin5 {
    margin: 5px;
}

#customer_device_index_table {
    overflow-x: scroll;
}

#customer_device_index_table > th {
    min-width: 30px;
}

#customer_device_index_table > td {
    min-width: 30px;
}

.legendColorBox {
    padding-left: 14px;
}

@media (max-width: 767px) {
    .page-header-height {
        min-height: 15px;
    }

    .hidden-xs-alt {
        display: none;
    }

    .form-group-custom {
        margin-bottom: 20px !important;
        padding-right: 30px;
        padding-left: 30px;
    }
}

#dimScreen {
    position: fixed;
    padding: 0;
    margin: 0;
    z-index: 2;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
}

.permanent-state {
    opacity: 1;
}

.temporary-state {
    opacity: 0.5;
}

.modal-open {
    margin-right: 0px !important;
}

.footer-color {
    color: #aaaaaa !important;
}

#footer .footer-wrapper {
    padding: 0 !important;
}

.form-control-inline {
    width: inherit !important;
    display: inherit !important;
}

.inline-checkbox {
    display: inline-flex;
    margin: 0 15px 0 15px;
}

.report-table {
    text-align: center;
}

.text-large{
    font-size: large;
}
.diff-text-added {
    background-color: #87b87f;
}
.diff-text-deleted {
    background-color: #d15b47;
}