.main-head h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.main-head h1 > svg:first-child {
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}
.main-head h1 .item-name {
  margin-left: 8px;
}
#group-scene-lamp .topic-row .item-icon:first-child {
  margin-left: 40px;
  margin-right: 0px;
}
/* empty state */
.empty .list-group-main .list-group-item {
  display: none;
}
.symbol-nav {
  position: absolute;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  left: 64px;
  bottom: 16px;
  width: 230px;
  transition: opacity 500ms ease-in-out;
}
.empty .symbol-nav {
  opacity: 0;
}
.empty .slider-main {
  opacity: 0;
}
.empty .main-head {
  visibility: hidden;
}
.empty .list-group {
  opacity: 0;
}
.empty .main .topic-row > * {
  opacity: 0;
}
.main .pir-states,
.main .pir-settings {
  z-index: 0;
  opacity: 0;
}
.main.pir-states .pir-states {
  opacity: 1;
  z-index: 2;
}
.main.pir-settings .pir-settings {
  opacity: 1;
  z-index: 2;
}
.pir-settings .item-check {
  opacity: 0.2;
}
.pir-settings .activated .item-check {
  opacity: 1;
}
.sw-fill {
  opacity: 0.001;
}
#pirStateList li .item-action {
  -ms-flex: unset;
      flex: unset;
  margin-right: 1rem;
}
#pirStateList li .item-extra {
  -ms-flex: 1;
      flex: 1;
}
#pirStateList li .item-time {
  opacity: 0.6;
  font-size: 88%;
}
#pirStateList li.current .item-icon {
  --ic-line: #2196f3;
}
.empty #pirDiagram {
  opacity: 0;
}
.empty #pirStateConfig {
  opacity: 0;
}
#pirDiagram {
  position: absolute;
  left: 50%;
  right: 1vw;
  height: 240px;
}
@media (min-width: 1200px) {
  #pirDiagram {
    left: calc(54px + 366px + 32px);
    max-width: 460px;
  }
}
#pirSettings .action-form div.radio {
  margin-bottom: 0.4em;
}
#pirSettings .action-form label {
  display: -ms-flexbox;
  display: flex;
}
#pirSettings .action-form label svg {
  position: relative;
  bottom: 9px;
  margin: 0 4px;
  width: 36px;
  height: 30px;
}
#pirTimeRange {
  position: absolute;
  top: 300px;
  left: 50%;
  right: 1vw;
  height: 240px;
  background-color: #f4f5f4;
}
@media (min-width: 1200px) {
  #pirTimeRange {
    left: calc(54px + 366px + 32px);
    max-width: 460px;
  }
}
#pirTimeRange .tr-slider {
  width: 80%;
  height: 28px;
  left: 10%;
  top: 100px;
  position: absolute;
  background-color: #797776;
}
#pirStateConfig,
#pirSettings {
  position: absolute;
  left: 52%;
  top: 50%;
  min-width: 360px;
}
#pirStateConfig > div {
  /*display: flex;
            align-items: baseline;*/
  padding-bottom: 1.25em;
}
#pirStateConfig > div > * {
  min-width: 100px;
}
#pirStateConfig.pir-states[data-state="none"] {
  display: none;
}
.dimm-input {
  visibility: hidden;
}
.start-label {
  display: none;
}
.pir-states[data-state="0"] #pirTimeDropdown {
  display: none;
}
.pir-states[data-state="0"] .start-label {
  display: inherit;
}
.pir-states[data-action="dimm"] .dimm-input,
.pir-states[data-action="on-dimm"] .dimm-input {
  visibility: visible;
}
.dropdown-toggle span:first-child {
  padding: 4px;
}
#pirTimeDropdown ul {
  max-height: 20em;
  overflow-y: auto;
}
.dimm-input .input-group {
  max-width: 200px;
  width: 130px;
}
.dimm-input input {
  padding: 4px 8px;
}
/* sensor view */
.item-motion {
  width: 50px;
  opacity: 0.2;
}
.presence .item-motion {
  opacity: 1;
  -webkit-filter: hue-rotate(90deg);
          filter: hue-rotate(90deg);
}
.topic-col {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  min-height: 134px;
}
.nav-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: start;
      justify-content: flex-start;
  width: 100%;
  -ms-flex-align: center;
      align-items: center;
  cursor: pointer;
}
.nav-head-svg svg {
  --ic-line: #efefee;
  --sw-line: #efefee;
  --li-state-line: #efefee;
  --sw-state-line: #efefee;
  --li-fill: none;
  --li-state: none;
  --li-body: none;
}
#newSensor-btn {
  width: 75%;
  background-color: #848180;
  color: white;
  margin-bottom: 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
#newSensor-btn svg {
  --ic-line: #efefee;
}
#newSensor-btn:hover {
  background-color: #b9b6b5;
}
#pirSensorList .list-group-item .item-icon {
  min-width: 48px;
  margin-right: 8px;
}
#pirSensorList .list-group-item span {
  -ms-flex: 1;
      flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  margin-left: unset;
  padding: unset;
  white-space: nowrap;
  overflow: hidden;
}
#pirSensorList .list-group-item span .item-name {
  margin-left: unset;
  -ms-flex: unset;
      flex: unset;
  text-overflow: ellipsis;
  overflow: hidden;
}
#pirSensorList .list-group-item span .item-extra {
  opacity: 0.5;
  font-size: 90%;
  font-style: italic;
  margin-left: unset;
  padding: unset;
}
