.disabled {
  opacity: 0.3;
}
.well.temp {
  border: 2px dashed #e3e3e3;
  background: none;
  box-shadow: none;
  opacity: 0.5;
}
/*
	====================================================
	common to all areas of setup
	====================================================
*/
.modal {
  text-align: left;
  width: 570px;
}
.modal_icon {
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  border-radius: 5px;
}
/* paths joining columns */
svg path {
  stroke: #00CEF7;
  stroke-width: 10;
  opacity: 0.5;
}
.gs_badge {
  background: #000;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  width: 20px;
  height: 20px;
  font-size: 10px;
  line-height: 20px;
}
.gs_badge.big {
  font-size: 20px;
  line-height: 50px;
  width: 50px;
  height: 50px;
}
.gs_icon_edit {
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff url('/s/img/pictos/24/142.png') center center no-repeat;
}
.gs_icon_edit:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/*
	====================================================
	SETUP of properties to nodes and nodes to sensors
	====================================================
*/
/* generic attributes of this section*/
.unit_name {
  text-align: left;
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
  display: block;
}
/* css for adding (at the bottom of each col eg add a property, add a sensor) */
.unit_add {
  height: 30px;
  background: url('/s/img/pictos/24/49.png') 5px center no-repeat;
}
.unit_add input {
  margin-left: 40px;
  display: none;
}
.unit_add .btn {
  display: none;
}
.unit_add:hover input,
.unit_add:hover .btn {
  display: inline-block;
}
/* modifiers for right and left cols */
.setup_left_col .setup_property,
.setup_left_col .setup_grid_node {
  border-right: 1px solid #ccc;
}
.setup_right_col .setup_property,
.setup_right_col .setup_grid_node,
.setup_right_col .setup_sensor {
  border-left: 1px solid #cccccc;
}
.setup_right_col .gs_icon_edit {
  left: 5px;
}
.setup_right_col hr {
  margin: 5px 0;
}
/*
	PROPERTIES
*/
.setup_property {
  margin-bottom: 20px;
  overflow: auto;
  position: relative;
}
.setup_property .gs_badge.big {
  position: absolute;
  top: 0;
  right: 5px;
}
.setup_property .setup_icon {
  width: 65px;
  height: 65px;
  float: left;
  margin-left: 30px;
  background: #fafafa url('/s/img/cfg/properties.png') 0 0 no-repeat;
}
.setup_property .property_0 {
  background-position: 0px 0px;
}
.setup_property .property_1 {
  background-position: -340px 0px;
}
.setup_property .property_2 {
  background-position: -680px 0px;
}
.setup_property .property_3 {
  background-position: -1010px 0px;
}
.modal_move {
  background-image: url('/s/img/modal_move_icon.png');
  background-position: 20px 10px;
  background-repeat: no-repeat;
  height: 85px;
}
.modal_move div {
  background: url('/s/img/cfg/properties.png') 0 0 no-repeat;
  width: 80px;
  height: 85px;
  margin: 8px 0 0 133px;
}
.modal_move .property_0 {
  background-position: 0px 0px;
}
.modal_move .property_1 {
  background-position: -340px 0px;
}
.modal_move .property_2 {
  background-position: -680px 0px;
}
.modal_move .property_3 {
  background-position: -1020px 0px;
}
/*
	NODES
*/
.setup_grid_node {
  margin-bottom: 20px;
  overflow: auto;
  position: relative;
}
.setup_grid_node .gs_badge.big {
  position: absolute;
  top: 0;
  right: 5px;
}
.setup_grid_node .setup_icon {
  width: 60px;
  height: 50px;
  float: left;
  margin-left: 30px;
  background: #fafafa url('/s/img/cfg/nodes.png') 0 0 no-repeat;
}
.setup_grid_node .cfg_icon {
  width: 60px;
  height: 50px;
  background: #fafafa url('/s/img/cfg/nodes.png') 0 0 no-repeat;
}
.setup_grid_node .unit_name {
  font-size: 16px;
}
.node_0 {
  background-position: 0px 0px;
}
.node_1 {
  background-position: -150px 0px;
}
.node_2 {
  background-position: -300px 0px;
}
.node_3 {
  background-position: -450px 0px;
}
/*
	SENSORS
*/
.setup_sensor {
  margin-bottom: 20px;
  overflow: auto;
  position: relative;
}
.setup_sensor .gs_badge.big {
  position: absolute;
  top: 0;
  right: 5px;
}
.setup_sensor .setup_icon {
  width: 40px;
  height: 40px;
  margin: 5px 5px 5px 35px;
  float: left;
  background: #fafafa url('/s/img/cfg/sensors.png') 0 0 no-repeat;
}
.setup_sensor .unit_name {
  font-size: 16px;
}
.setup_sensor .sensor_readings {
  display: block;
  float: left;
}
.setup_sensor .sensor_readings b {
  display: inline-block;
  width: 35px;
}
.sensor_0 {
  background-position: 0px 	   0px;
}
.sensor_1 {
  background-position: -50px 0px;
}
.sensor_2 {
  background-position: -100px 0px;
}
.sensor_3 {
  background-position: -150px 0px;
}
.sensor_4 {
  background-position: 0px -50px;
}
.sensor_5 {
  background-position: -50px -50px;
}
.sensor_6 {
  background-position: -100px -50px;
}
.sensor_7 {
  background-position: -150px -50px;
}
/* MODIFIERS FOR LARGER LISTS */
.large_list .setup_property .setup_icon {
  width: 250px;
  height: 250px;
  margin: 0 60px;
}
.large_list .setup_property .property_0 {
  background-position: -50px bottom;
}
.large_list .setup_property .property_1 {
  background-position: -390px bottom;
}
.large_list .setup_property .property_2 {
  background-position: -720px bottom;
}
.large_list .setup_property .property_3 {
  background-position: -1070px bottom;
}
.large_list .setup_property .unit_name {
  text-align: center;
  display: block;
  width: 100%;
  margin-bottom: 5px;
}
.large_list .setup_grid_node .setup_icon {
  width: 150px;
  height: 130px;
  margin: 0 110px;
}
.large_list .setup_grid_node .unit_name {
  text-align: center;
  display: block;
  width: 100%;
  margin-bottom: 5px;
}
.large_list .node_0 {
  background-position: 0px bottom;
}
.large_list .node_1 {
  background-position: -150px bottom;
}
.large_list .node_2 {
  background-position: -300px bottom;
}
.large_list .node_3 {
  background-position: -450px bottom;
}
/*
	====================================================
	SETUP of sensor trees
	====================================================
*/
/* NODE STYLES */
.tree_node {
  background: #ccc;
  text-indent: 5px;
  position: relative;
  height: 30px;
  line-height: 30px;
  width: 160px;
  margin-bottom: 10px;
  margin-right: 20px;
  float: left;
  border-radius: 2px;
  font-size: 13px;
}
.tree_node b {
  position: absolute;
  left: 5px;
}
.tree_node i {
  display: none ! important;
  position: relative;
  cursor: pointer;
}
.tree_node i[class^="icon-"] {
  float: right;
  margin: 7px 7px 0 0;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  z-index: 10;
}
.tree_node:hover {
  z-index: 1000;
}
.tree_node.root {
  background: #000;
  color: #fff;
}
.tree_node.group {
  background: #615e5d;
  color: #fff;
}
.tree_node.tag {
  background: #7cdef9;
}
.tree_node.ct {
  margin-left: 0px;
  width: 160px;
}
.tree_node.ct b {
  left: 20px;
}
.tree_node.ct_tagged {
  background: #7cdef9;
  margin-left: 0px;
  width: 160px;
}
.tree_node.ct_tagged .sensor {
  background: #00a0c1;
}
.tree_node.ct_tagged b {
  left: 20px;
}
.tree_node.repeat {
  -webkit-animation: blink 2s linear infinite;
  -moz-animation: blink 2s linear infinite;
  animation: blink 2s linear infinite;
}
.tree_node.error {
  background: #f60;
}
.tree_node .sensor {
  position: absolute;
  top: -1px;
  background: #000;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 16px;
  text-indent: 0;
  left: -15px;
  text-align: center;
  color: #fff;
}
.tree_node:hover i {
  display: block ! important;
}
.tree_node .less_tree {
  cursor: pointer;
  position: absolute;
  left: -22px;
  top: 7px;
}
.tree_node .more_tree {
  cursor: pointer;
  position: absolute;
  right: -22px;
  top: 7px;
}
.tree_node.dragging {
  background: #a1c110;
}
.tree_key {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree_key li {
  display: inline-block;
  padding-right: 15px;
  line-height: 30px;
}
.tree_key .tree_node {
  width: 30px;
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 10px;
}
.tree_key_compact {
  padding: 10px 20px 0px 10px;
}
.tree_key_compact h5 {
  display: inline-block;
}
.tree_key_compact .tree_key {
  margin: 3px 0 -3px 0;
  vertical-align: top;
  display: inline-block;
}
.tree_key_compact .tree_key .tree_node {
  width: 16px;
  height: 16px;
  margin-right: 0;
}
.tree_key_compact .tree_key .tree_node.ct {
  margin-left: 8px;
}
.tree_key_compact .tree_key .tree_node.ct_tagged {
  margin-left: 8px;
}
.tree_key_compact .tree_key li {
  padding-right: 2px;
  float: left;
}
.tree_key_compact .tree_key li span {
  display: none;
}
.tree_key_compact .tree_key li .sensor {
  width: 16px;
  height: 16px;
  font-size: 9px;
  line-height: 16px;
  left: -8px;
  top: 0;
}
.tree .span2 {
  width: 160px;
}
.tree .tree_lines {
  /* holds the lines in between columns */
  width: 80px;
  float: left;
  min-height: 1px;
  margin-left: 0px;
}
