body {
    margin-top: 60px;
    margin-right: 10px;
    margin-bottom: 00px;
    margin-left: 0px;
    }

.navbar .navbar-collapse {
    text-align: center;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
}
p, div {
    font-family: 'Open Sans', sans-serif;
}



.panel-body:before, .panel-body:after {
  content: " ";
  display: table; }

.panel-body:after {
  clear: both; }



.navbar-brand {
  line-height:17px;
  padding-top:8px;
  padding-bottom:8px;
}

.navbar-brand small {
  display:block;
  font-size:11px;
}

th.something {
    font-size: 10px;
}

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


div.ui-datepicker{
 font-size:16px;
}

/* time toolbar */
.text_input,
.full_width_btn {
    background-color: transparent;
    border: none;
    height: 40px;
    width: 235px;
    margin: auto;
    display: block;
    text-transform: none;
    font-size: 16px;
    color: #fff;
    box-sizing: border-box;
    padding-left: 42px;
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: 40px;
}

label.full_width_btn {
    text-align: center;
    line-height: 40px;
}

.settings_holder .full_width_btn .text {
    text-transform: uppercase;
}
/*
div.panel-default .chart_period_buttons,
div.panel-default .chart_period_buttons {
    width: 100%;
    display: table;
}
*/
/*consumi*/
div.wrapper_total_cons {
    float: left;
    display: inline-block;
    color: #fff;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
}
.wrapper_total_cons_w {
    display: block;
    position: absolute;
    top: 0;
    z-index: 2;
    height: 50px;
    width: 100%;
    left: 0;
    padding-top: 7px;
}
.wrapper_total_cons div,
.wrapper_total_cons_w div {
    width: 50%;
    float: left;
    display: inline-block;
}

.wrapper_total_cons div span,
.wrapper_total_cons_w div span.total {
    float: left;
    display: inline-block;
    color: #fff;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    font-size: 20px;
}
.device_stats .wrapper_total_cons_w div span.con_text.mobile_resolution {
    font-size: 20px;
}

.device_stats.big_resolution .wrapper_total_cons div span.blue-color,
.device_stats.big_resolution .wrapper_total_cons div span.total_text {
    font-size: 12px;
    font-weight: bold;
}

.device_stats .wrapper_total_cons_w div span.blue-color,
.device_stats .wrapper_total_cons_w div span.total_text {
    font-size: 10px;
    color: #fff;
}

.device_stats.big_resolution .wrapper_total_cons div span.blue-color,
.device_stats .wrapper_total_cons_w div span.blue-color {
    color: #3dcdff;
    font-weight: bold;
}
/*  channel 1 2 value w */
.ch1{
    color: #3dcdff;
    font-weight: bold;
	font-size: 18px;
}
.ch2{
    color: #FF0000;
    font-weight: bold;
	font-size: 18px;
}
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 5%;
	height: 5%;
	z-index: 9999;
	background: url(../images/preloader_11.gif) center no-repeat #fff;
}

/* table event log*/

#event_log_list .icon,
.temp_schedule_device_list ul li .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    height: 65px;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.5) inset;
}
#event_log_list .icon,
#add_group_page #choose_group_devices ul li.no_image_false .icon,
#action_devices ul li.choosen_device .icon.no_image_true {
    background-size: 45%;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5) inset;
    cursor: pointer;
}
body.event_log {
    overflow-x: hidden;
}
.event_log table {
    width: 100%;
}
.event_log h3#message_holder {
    color: #fff;
    text-align: center;
    text-transform: none;
}

.event_log_list {
    color: #fff;
    border-collapse: collapse;
}

.event_log_list tr.scene td,
.event_log_list tr.scene td * {
    color: rgb(28, 162, 235);
}

.event_log_list tr.sensor td,
.event_log_list tr.sensor td * {
    color: rgb(104, 235, 28);
}
event_log_list tr.sensor td,
.event_log_list tr.sensor td * {
    color: rgb(104, 235, 28);
}

.event_log_list tr.red td,
.event_log_list tr.red td * {
    color: rgb(230, 46, 46);
}

.event_log_list tr,
.sensor_child {
    border-bottom: 2px solid #2886c7;
}

.event_log_list tr td,
.event_log_list tr td * {
    vertical-align: middle;
    text-align: center;
    text-transform: none;
    font-size: 16px;
}

.event_log_list tr td:first-child {
    width: 75px;
}

.event_log_list thead tr td {
    font-weight: bold;
    padding: 10px;
    text-transform: uppercase;
}

#event_log_list .icon {
    position: static;
}

#event_log_list .icon.no_user_image {
    background-size: cover;
}


.badge {
  padding: 1px 9px 2px;
  font-size: 12.025px;
  font-weight: bold;
  white-space: nowrap;
  color: #ffffff;
  background-color: #999999;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
}
.badge:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.badge-error {
  background-color: #b94a48;
}
.badge-error:hover {
  background-color: #953b39;
}
.badge-warning {
  background-color: #f89406;
}
.badge-warning:hover {
  background-color: #c67605;
}
.badge-success {
  background-color: #468847;
}
.badge-success:hover {
  background-color: #356635;
}
.badge-info {
  background-color: #3a87ad;
}
.badge-info:hover {
  background-color: #2d6987;
}
.badge-inverse {
  background-color: #333333;
}
.badge-inverse:hover {
  background-color: #1a1a1a;
}


.badge-dati {
  background-color: #272b30;
  height:25px;
  text-align: center;
  line-height: 23px;
  font-size:18px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}



.badge-testi-dati {
  text-align: center;
  color:white
}

.footer-modificato {
    padding: 5px 15px;
    background-color: #3e444c;
    border-top: 1px solid rgba(0.6, 0.6, 0.6, 0.6);
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-radius: 0px;
}

.badge-info-laststate {
  background-color: #3a87ad;
  height:25px;
  line-height:23px;
  font-size:15px;
  width:100%;
  border-radius:0px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  text-align: center;

}


.badge-info-lastdate {
  background-color: #3a87ad;
  height:25px;
  line-height:23px;
  font-size:15px;
  width:100%;
  border-radius:0px;"
}

.icona {
 position: absolute;
 top: 5px;
 right: 18px;
 width: 48px;
 height: 43px;
}

.nome{
  padding-top:15px;
  color:white;
  font-size:18px;
  font-weight:bold;
  white-space:nowrap;
}

.lastState{
  padding-top:5px;
  font-size:17px;
  color:white;
}

.dati{
  padding-top:5px;
  font-size:19px;
  color:white;
  line-height:23px;
  height:25px;
}

.badge-gruppo{
  top: -10px;
  left: 20px;
  line-height:23px;
  position:absolute;
  border-radius:2px;
  font-size:15px;
  /*background-color: #223242;*/
  background-color: #2f445a;
  color: #d1d1d1;
  text-transform: uppercase;
}
