#automationConflictModal .modal-body {
  -ms-flex-align: center;
      align-items: center;
}
#automationConflictModal .modal-body span {
  text-align: center;
  margin-top: 15px;
}
#automationConflictModal .modal-body span:first-child {
  font-weight: bold;
}
.body-content {
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  --main-list-width: 33%;
  transition: width 100ms ease-in-out;
}
.main-content {
  height: 100%;
}
.main-head h1 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 54px;
  margin-top: 32px;
}
.main-head h1 > svg:first-child {
  -ms-transform: scale(0.7);
  transform: scale(0.7);
}
.main-head h1 .item-name {
  margin-left: 8px;
}
.mq-desktop {
  display: block;
}
.mq-phone {
  display: none;
}
#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;
}
.list-group-item.not-reachable {
  opacity: 0.5;
}
.main-list .list-group .state-list-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  border-radius: 0px;
  -ms-transform: translate(0px);
  transform: translate(0px);
  border-top: unset;
  margin-bottom: unset;
  background-color: transparent;
  outline: none;
  transition: transform 80ms ease-in-out;
}
.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.unclickable {
  pointer-events: none;
}
.gear-spinner {
  animation: spin 4s linear infinite;
}
.gear-spinner.hidden {
  animation: spin 4s linear infinite, fadeOut 3s;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
.sw-target {
  fill: none;
  pointer-events: all;
}
.active-target {
  fill: rgba(85, 98, 107, 0.6) !important;
  background-color: #55626b;
}
.symbol-nav {
  position: absolute;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  bottom: 16px;
  width: var(--main-list-width);
  transition: opacity 500ms ease-in-out, width 100ms ease-in-out;
  z-index: 3;
}
.main.pir-settings-time .symbol-nav {
  width: var(--main-list-width);
  transition: width 100ms ease-in-out;
}
.empty .symbol-nav {
  opacity: 0;
}
.empty .slider-main {
  opacity: 0;
}
.empty .main-head {
  visibility: hidden;
}
.vinternal.empty .list-group {
  opacity: 0;
}
.vinternal.empty .sundial-image {
  opacity: 0;
}
.empty .main .topic-row > * {
  opacity: 0;
}
.main.pir-settings-sensors .pir-states {
  width: var(--main-list-width);
}
.main .pir-states,
.main .pir-settings-sensors {
  z-index: 0;
  opacity: 0;
}
.wiz-page.sensorPage {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: start;
      justify-content: flex-start;
  margin-left: 44px;
}
.main.pir-settings-sensors .pir-settings-sensors {
  opacity: 1;
  z-index: 2;
  width: var(--main-list-width);
  transition: width 150ms, opacity 0ms;
  transition-timing-function: ease-in;
  bottom: 1rem;
  top: 1rem;
}
.main.pir-states .pir-states {
  opacity: 1;
  z-index: 2;
  width: var(--main-list-width);
  transition: opacity 0ms, width 150ms;
  transition-timing-function: ease-in;
  overflow-y: auto;
  top: 1rem;
  bottom: 1rem;
}
.pir-dia-timemark {
  transition: startOffset 100ms;
  transition-timing-function: ease-in-out;
}
.main.pir-settings-time .pir-settings-time {
  opacity: 1;
  z-index: 2;
  transition: width 100ms, opacity 0ms;
  transition-timing-function: ease-in;
  transition-delay: 0ms;
  top: 1rem;
  bottom: 1rem;
  width: var(--main-list-width);
}
.daydial-table-segNametext {
  font-size: clamp(1rem, 3.9vw, 1.4rem);
}
.daydial-table-starttime-text {
  font-size: clamp(1rem, 3.9vw, 1.4rem);
  padding-top: 3rem;
}
.daydial-table-endtime-text {
  font-size: clamp(1rem, 3.9vw, 1.4rem);
  padding-top: 3rem;
}
.daydial-table-endoffset-text {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}
.daydial-table-startoffset-text {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}
.daydial-table-timetext {
  font-size: clamp(1rem, 3.9vw, 1.4rem);
  padding-top: 3rem;
}
.daydial-table-offsettext {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}
.function-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex: 1;
      flex: 1;
  min-height: 308px;
}
.states-diagram.visible {
  visibility: visible;
  opacity: 1;
  transition: visibility 0ms ease-in-out, opacity 500ms ease-in-out;
}
.states-diagram {
  opacity: 0;
  visibility: hidden;
}
.pir-diagram {
  width: 100%;
  max-height: 100%;
  display: -ms-grid;
  display: grid;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  -ms-grid-rows: auto auto auto;
      grid-template-rows: auto auto auto;
}
#pirSensorList .list-group-item {
  position: relative;
  display: block;
  padding: 0px 15px;
  padding-top: 10px;
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
}
#pirSensorList .list-group-item.not-reachable {
  opacity: 0.5;
}
.pir-settings-sensors .topic-row #addSensorIcon {
  -webkit-filter: none;
          filter: none;
  -ms-transform: scale(1);
      transform: scale(1);
  animation: none;
}
.pir-settings-sensors.empty .topic-row #addSensorIcon {
  -webkit-filter: drop-shadow(0px 0px 9px #494139);
          filter: drop-shadow(0px 0px 9px #494139);
  -ms-transform: scale(1);
      transform: scale(1);
  animation: pulse 10s ease-in-out 0s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    -webkit-filter: drop-shadow(0px 0px 9px #494139);
            filter: drop-shadow(0px 0px 9px #494139);
  }
  15% {
    transform: scale(0.95);
    -webkit-filter: drop-shadow(0px 0px 1px #494139);
            filter: drop-shadow(0px 0px 1px #494139);
  }
  30% {
    transform: scale(1);
    -webkit-filter: drop-shadow(0px 0px 9px #494139);
            filter: drop-shadow(0px 0px 9px #494139);
  }
}
.pir-sensor-item {
  display: -ms-grid;
  display: grid;
  width: 100%;
  -ms-grid-columns: 0.375fr 2.25fr 0.375fr;
      grid-template-columns: 0.375fr 2.25fr 0.375fr;
  -ms-grid-rows: fit-content(50%) 1fr;
      grid-template-rows: fit-content(50%) 1fr;
  gap: 10px 0px;
  grid-template-areas: "icon itemname itemoption" "icon senvals itemoption";
  margin: 10px;
}
.main-list .list-group .list-group-item :nth-child(2) {
  -ms-flex: 1;
  flex: 1;
  margin-left: 14px;
  padding: 0px 0px;
}
.pir-sensor-item .icon-info {
  grid-area: icon;
}
.pir-sensor-item .item-name {
  grid-area: itemname;
}
.pir-sensor-item .item-option {
  grid-area: itemoption;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  justify-self: start;
}
.pir-sensor-item .colorinfo {
  grid-area: colorinfo;
  padding-left: 15px;
  -ms-flex-item-align: start;
      -ms-grid-row-align: start;
      align-self: start;
  justify-self: start;
  padding-bottom: 5px;
}
.pir-sensor-item .triggerinfo {
  grid-area: triggerinfo;
  font-style: italic;
  list-style: none;
  background-color: #f4f5f4;
  font-size: 90%;
  border-bottom: 1px solid #dadada;
  margin-bottom: 3px;
}
.pir-sensor-item .sensor-values {
  opacity: 0.5;
  vertical-align: middle;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  visibility: visible;
  margin-left: 14px;
}
.pir-sensor-item .sensor-values .value-item {
  display: -ms-inline-flexbox;
  display: inline-flex;
  float: left;
  margin-bottom: 5px;
  margin-left: 0px !important;
}
.pir-sensor-item .sensor-values.hidden {
  grid-area: senvals;
  background-color: #e6e6e6;
  opacity: 0.5;
  padding: 5px;
  vertical-align: middle;
  display: -ms-flexbox;
  display: flex;
  visibility: hidden;
}
.sensor-diagram-line {
  stroke-width: 2px;
  fill: none;
}
.sensor-diagram .topic-row {
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 4px 4px 0px 0px;
  padding: 4px 16px;
  color: #fff;
  background-color: #baa48d;
  height: 52px;
  min-height: 52px;
}
.sensor-diagram {
  z-index: 0;
  position: absolute;
  left: 43%;
  top: 1rem;
  bottom: 8.8rem;
  width: 50%;
  opacity: 0;
  transition: visibility 0s, opacity 500ms, width 125ms;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  background: #f4f5f4;
}
.y.label {
  font-size: 1.3rem;
  fill: #535656e3;
}
.y.axis {
  font-size: 1.3rem;
}
.x.axis {
  font-size: 1.3rem;
}
.sensor-diagram-container {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
  grid-auto-rows: 1fr;
  background: #f4f5f4;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.sensor-diagram-container::-webkit-scrollbar {
  display: none;
}
.sensor-diagram.visible {
  z-index: 2;
  opacity: 1;
}
.sensor-diagram-data {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-grid-column-align: center;
      justify-items: center;
  row-gap: 0.5rem;
}
.sensor-diagram-title {
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin: 1rem;
}
.sensor-diagram-icon {
  width: 24px;
  height: 24px;
  fill-opacity: 0;
}
.diagram-tooltip {
  display: -ms-flexbox;
  display: flex;
  padding: 8px;
  stroke-width: 3px;
  font-size: 1.3rem;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-left: 7rem;
}
.diagram-tooltip .text {
  margin-left: 5px;
  margin-right: 5px;
}
.tooltip-overlay {
  fill: none;
  pointer-events: all;
}
.sundial-image {
  z-index: 2;
  position: absolute;
  left: 47%;
  top: 11%;
  width: 0%;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s, opacity 150ms, width 125ms;
}
.sundial-image.visible {
  z-index: 2;
  position: absolute;
  width: 75vh;
  opacity: 1;
  visibility: visible;
  transition: visibility 0s, opacity 150ms, width 125ms;
  transition-delay: 125ms;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}
.segment-list .item-check {
  opacity: 0.2;
  margin: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
}
.segment-list .activated .item-check {
  opacity: 1;
  margin: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
}
.highlight-line.active {
  fill-opacity: 0;
  stroke-width: 2vw;
  stroke: #73a0e4;
  /*#ffffff66; #85713657;*/
  display: block;
  stroke-opacity: 1;
}
.highlight-line {
  fill-opacity: 0;
  stroke-width: 15;
  stroke: #dbbd3c;
  display: none;
}
.pir-settings-sensors .item-check {
  opacity: 0.2;
}
.pir-settings-sensors .activated .item-check {
  opacity: 1;
}
.pir-settings-sensors .activated .item-option {
  opacity: 1;
}
.sensor-modal {
  /*
  width: 90%;
  height: 75%;*/
}
#addSensorToDeviceListModal .modal-list {
  max-height: 60vh;
  overflow-y: auto;
}
#modalSensorSettings .modal-body svg {
  max-height: 370px;
}
.modal-list .item-check {
  opacity: 0.2;
}
.modal-list .activated .item-check {
  opacity: 1;
}
#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%;
  margin-bottom: 1rem;
}
#pirStateList li.current .item-icon {
  --ic-line: #2196f3;
}
.empty #pirDiagram {
  opacity: 0;
}
.empty #recallTimer {
  opacity: 0;
}
#recallTimer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-direction: column;
      flex-direction: column;
}
#recallTimer #timeSlider {
  width: 88%;
}
.empty #pirStateConfig {
  opacity: 0;
}
#stateSlider .noUi-connects {
  background-color: lightgrey;
  border-radius: 8px;
}
#stateSlider.active .noUi-connects {
  background-color: #2196f3;
}
#stateSlider .noUi-connect {
  background-color: lightgrey;
}
#stateSlider .noUi-handle-lower {
  display: none;
}
#daily-schedules-error,
#daily-schedules-error-mobile {
  margin: 15px;
}
.range-wrap .noUi-handle-lower:after {
  content: "≥";
  position: absolute;
  top: -6px;
  left: 7px;
  font-size: 30px;
  color: #a5a5a5;
}
.range-wrap .noUi-handle-upper:after {
  content: "<";
  position: absolute;
  top: -5px;
  left: 6px;
  font-size: 30px;
  color: #a5a5a5;
}
#pirDiagram {
  position: absolute;
  left: 50%;
  right: 1vw;
  height: 45vh;
  top: 12.5vh;
}
.noUi-state-tap .noUi-origin {
  transition: none;
}
#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;
}
#pirTimeRange .tr-slider {
  width: 80%;
  height: 28px;
  left: 10%;
  top: 100px;
  position: absolute;
  background-color: #797776;
}
#pirStateConfig {
  position: absolute;
  left: 15%;
  top: 15%;
  min-width: 360px;
}
#pirSettings {
  width: 80%;
  position: absolute;
  left: 50%;
  top: 25%;
  min-width: 400px;
  max-width: 1200px;
}
.time-info {
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  background: #fff;
  color: #000;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
}
#swFunctionMenu {
  box-shadow: inset 0px 0px 0px 1px #dcdbdb;
  width: 50%;
  z-index: 3;
  border-radius: 4px;
}
.state-func {
  display: -ms-flexbox;
  display: flex;
}
#timeInfoMenu {
  box-shadow: inset 0px 0px 0px 1px #dcdbdb;
  width: 274px;
  z-index: 3;
  border-radius: 4px;
}
#swFunctionMenu .active-func {
  background-color: #f8f8f8;
  box-shadow: inset 8px 0px 0px 0px #dddddd;
  transition: all 100ms ease-out;
}
#swFunctionMenu .active-func svg {
  --ic-fill: #f5e2b8;
  --ic-frame: #f5e2b8;
  --ic-line: #ecb663;
}
#swFunctionMenu .active-func:after,
#swFunctionMenu .active-func:before {
  content: "";
  display: block;
  position: absolute;
  left: 100%;
  width: 0;
  height: 0;
  border-style: solid;
}
#swFunctionMenu .active-func:after {
  top: 10px;
  border-color: transparent transparent transparent #f8f8f8;
  border-width: 10px;
}
#swFunctionMenu .active-func:before {
  top: 9px;
  border-color: transparent transparent transparent #ddd;
  border-width: 11px;
}
.list-group-item.subfunction-list {
  min-width: 40%;
}
#swSubFunctionMenu[data-sub=""] {
  visibility: hidden;
}
#swSubFunctionMenu[data-sub="noAction"] .noAction-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#swSubFunctionMenu[data-sub]:not[data-sub=""] {
  visibility: visible;
}
#swSubFunctionMenu nav {
  display: none;
}
#swSubFunctionMenu[data-sub="onOffOptions"] .on-off-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#swSubFunctionMenu[data-sub="callScene"] .call-scene-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
.call-scene-options.empty-scenelist .subfunc.subfunclabel {
  display: none;
}
.empty-scene-list-info.empty {
  display: none;
}
#swSubFunctionMenu[data-sub="callSensor"] .call-sensor-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#swSubFunctionMenu[data-sub="effect"] .effect-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#swSubFunctionMenu[data-sub="dimming"] .dimming-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#swSubFunctionMenu[data-sub="colorTemp"] .color-temp-options {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
.func.list-group-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  --ic-fill: none;
  height: 25.3%;
}
.func.list-group-item.active-func {
  --ic-fill: #f5e2b8;
}
.list-group-item.state-list-item .item-icon {
  --ic-fill: none;
}
.scene.active-subfunc {
  background-color: #dad7d7a8 !important;
}
.subfunc {
  margin-bottom: 2rem;
}
.scene-list .scene {
  background-color: #f8f8f8;
  border: none;
}
.dimm-info .hidden {
  display: none !important;
}
#pirStateConfig > div {
  /*display: flex;
            align-items: baseline;*/
  padding-bottom: 1.25em;
}
#pirStateConfig > div > * {
  min-width: 100px;
}
#pirStateConfig.pir-states[data-state="none"] {
  display: none;
}
.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: 2vh;
  margin-bottom: 2vh;
  min-height: 16.5vh;
}
.no-sensors-info {
  padding: 0px 32px;
  position: absolute;
  top: 128px;
  bottom: 0;
  width: 100%;
  text-align: center;
}
.no-sensors-info .go-there-arrow {
  transition: transform 200ms ease-out, opacity 200ms ease-out;
  --ic-fill: var(--bg-alt);
  position: absolute;
  top: -8rem;
  right: 1.6rem;
  -ms-transform: rotate(90deg) translateY(0);
      transform: rotate(90deg) translateY(0);
  z-index: 2;
  opacity: 0.85;
}
.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;
}
.nav-item-list .list-group-item svg {
  --ic-line: #3e4e52;
  --sw-line: #3e4e52;
  --li-state-line: #3e4e52;
  --sw-state-line: #3e4e52;
  --li-fill: unset;
  --li-state: unset;
  /*--li-body: unset;*/
}
.disabled-control {
  pointer-events: none;
}
#newSensor-btn {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  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;
}
.range-wrap span.action {
  margin-left: 15rem;
  opacity: 0.5;
}
.range-wrap .noUi-tooltip {
  background-color: #ffffff;
  border: 2px solid #848484;
  border-radius: 20px;
}
.sensor-settings-section {
  margin-top: 0rem;
  margin-bottom: 0rem;
}
.sensor-setting-range > *:not(:last-child) {
  margin-bottom: 20px;
}
.sensor-modal .item-icon {
  max-width: 48px;
  max-height: 48px;
  margin-right: 16px;
}
.item-check {
  margin-right: 4rem;
}
.sensor-setting-range {
  margin-left: 7.8rem;
  margin-top: 7rem;
  margin-bottom: 3rem;
  margin-right: 7.8rem;
}
.name-container {
  display: -ms-flexbox;
  display: flex;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
.modal-body {
  -ms-flex-pack: start;
      justify-content: flex-start;
  -ms-flex: 1;
      flex: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}
.modal-body .text-danger {
  height: 20px;
  margin-top: 5px;
}
.modal-content {
  max-width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}
.switch-setting-range {
  margin-left: 7.8rem;
  margin-top: 7rem;
  margin-bottom: 3rem;
  margin-right: 7.8rem;
}
.switch-settings-section {
  width: 100%;
}
.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: 0.5;
  margin-top: 10px;
  margin-bottom: 10px;
}
.hr-text:before {
  content: "";
  background: linear-gradient(to right, transparent, #818078, transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}
.hr-text:after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  color: black;
  padding: 0 0.5em;
  line-height: 1.5em;
  color: #818078;
  background-color: #fcfcfa;
}
.range {
  width: 100%;
}
.bubble {
  background: #98b4df;
  color: white;
  padding: 4px 12px;
  position: absolute;
  border-radius: 4px;
  left: 50%;
  -ms-transform: translateX(-50%);
      transform: translateX(-50%);
}
.bubble::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: #98b4df;
  top: -1px;
  left: 50%;
}
#pirDiagram svg {
  overflow: visible;
}
#sensorControlList .item-icon {
  --li-state-line: #e6bc63;
}
.max-trigger-warning {
  margin-top: 0.5rem;
  margin-left: 20px;
  color: #9d9d9d;
  opacity: 0;
}
.max-trigger-warning.fadeout {
  animation: fadeOut 3s;
}
#add-trigger-error {
  margin: 15px;
  color: #d36262;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.conflict-warning,
.old-control-warning {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: start;
      align-items: flex-start;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  font-size: 0.8em;
  color: #8d8d8d;
  padding: 8px;
}
.conflict-warning span.conflictHeader,
.old-control-warning span.conflictHeader,
.conflict-warning span.oldConflictHeader,
.old-control-warning span.oldConflictHeader {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
}
.conflict-warning span.conflictHeader span:first-child,
.old-control-warning span.conflictHeader span:first-child,
.conflict-warning span.oldConflictHeader span:first-child,
.old-control-warning span.oldConflictHeader span:first-child {
  border: solid 1px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-direction: row;
      flex-direction: row;
  margin-right: 5px;
}
.conflict-warning span.conflictHeader svg,
.old-control-warning span.conflictHeader svg,
.conflict-warning span.oldConflictHeader svg,
.old-control-warning span.oldConflictHeader svg {
  position: absolute;
  right: 10px;
}
.conflict-warning #conflictAutomationName,
.old-control-warning #conflictAutomationName,
.conflict-warning #conflictTrigger,
.old-control-warning #conflictTrigger {
  color: #5b5a5a;
}
.old-control-warning {
  color: white;
  cursor: default;
}
.old-control-warning span.oldConflictHeader {
  -ms-flex-pack: center;
      justify-content: center;
}
.old-control-warning span.oldConflictHeader svg {
  position: relative;
  margin-left: 15px;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}
.old-control-warning span.oldConflictBody {
  margin-top: 7px;
  color: #d7d7d7;
}
@media (max-width: 1199px) and (orientation: landscape) {
  .body-content {
    --main-list-width: 40%;
  }
  .sensor-diagram {
    left: 48%;
  }
  .pir-settings-time.custom-main-table-width {
    width: 45%;
  }
  .sundial-image.visible {
    width: 50%;
    margin-left: 2%;
    margin-top: 6%;
  }
  #newSensor-btn {
    font-size: 14px;
  }
  .pir-settings-time.custom-main-table-width {
    width: 52%;
  }
  .daydial-table-endoffset-text {
    font-size: 1rem;
  }
  .daydial-table-startoffset-text {
    font-size: 1rem;
  }
  .daydial-table-offsettext {
    font-size: 1rem;
  }
}
@media (max-width: 1199px) and (orientation: portrait) {
  .body-content {
    --main-list-width: 85%;
  }
  .sundial-image.visible {
    display: none;
    width: 35vw;
    margin-left: 4rem;
    margin-right: auto;
    bottom: 50%;
  }
  .states-diagram.visible {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0ms ease-in-out, opacity 500ms ease-in-out;
  }
  .colorinfo {
    display: none;
  }
  .pir-settings-time.custom-main-table-width {
    width: var(--main-list-width);
  }
  #btnDeleteSensorControl span {
    display: none;
  }
  .main-list {
    width: 85%;
  }
  #sensorDiagrams {
    width: 48%;
  }
}
@media (max-height: 486px) and (min-width: 486px) and (orientation: landscape) {
  /*fix to Portrait*/
  /*
html {
  transform: rotate(-90deg);
  transform-origin: left top;
  width: 100vh;
  height: 100vw;
  overflow-x: hidden;
  position: absolute;
  top: 100%;
  left: 0;

  .sidenav {
    transform: translate(-100%) !important;
  }

  .body-content {
    padding-left: unset !important;
  }
}*/
  /*
.body-content {
  --main-list-width: 100%;
}
.sundial-image.visible {
  display: none;
}
.main.pir-settings-time .custom-main-table-width {
  width: 100%;
}
.main-content {
  padding-left: 0px;
  margin-left:32px;
  margin-right:32px;
}
.symbol-nav {
  width: 100%;
  align-self: end;
  padding-bottom: 16px;
  position: static;
}
.sensor-diagram.visible {
  display: none;
 }

#pirDiagram {
  display: none;
}*/
}
@media (max-width: 599px) and (orientation: portrait) {
  .body-content {
    --main-list-width: 90%;
  }
  .mq-desktop {
    display: none !important;
  }
  .mq-phone {
    display: inline !important;
  }
  #modalStateSettings .mq-phone.close {
    display: none !important ;
  }
  .context-menu-box {
    position: relative;
  }
  .context-menu-box .context-menu {
    display: none;
    list-style: none;
    position: absolute;
    margin: 0;
    padding: 0;
    right: 12px;
    border: solid 0.5px #cccccc;
    border-radius: 5px;
    background-color: white;
    z-index: 10;
    top: 24px;
  }
  .context-menu-box .context-menu li {
    font-size: 18px;
    padding: 10px 12px;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: min-content min-content;
        grid-template-columns: min-content min-content;
    grid-gap: 8px;
    -ms-flex-align: center;
        align-items: center;
  }
  .context-menu-box .context-menu li:not(:first-child) {
    border-top: solid 1px #cccccc;
  }
  .context-menu-box .context-menu li svg {
    width: 18px;
    height: 18px;
  }
  .context-menu-box .context-menu li svg #delete-icon-sm .ic-frame {
    stroke: rgba(62, 78, 82, 0.53);
    stroke-width: 2px;
  }
  .context-menu-box.show-context .context-menu {
    display: inline;
  }
  .context-menu-box.show-context .context-menu-outer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff01;
    z-index: -1;
  }
  .body-content .main {
    width: 100%;
    position: absolute;
    top: 3rem;
    bottom: 0;
  }
  .body-content .main .main-head h1 {
    padding-left: 8px;
    margin-top: 20px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
  .body-content .main .main-head h1 .name-container {
    width: 85%;
  }
  .body-content .main .main-head h1 .name-container .item-name {
    white-space: nowrap;
    overflow: hidden;
    width: 75%;
    margin-left: 0px;
    font-size: 20px;
  }
  .body-content .main .main-content .main-list {
    margin-bottom: 40px;
    width: 93%;
    margin-left: 15px;
  }
  .body-content .main .main-content .symbol-nav {
    position: fixed;
    bottom: 8px;
    width: 100%;
  }
  .body-content .main .main-content .symbol-nav svg {
    -ms-transform: scale(0.65);
    transform: scale(0.65);
  }
  #showSensorValuesBtn {
    position: absolute;
    bottom: 0px;
    width: 100%;
  }
  #sensorDiagrams {
    width: 96%;
  }
  #navigation,
  .main,
  .main-list,
  .symbol-nav {
    transition: transform 160ms ease-out;
  }
  .sundial-image.visible {
    display: none;
  }
  .main-content {
    padding-left: 0px;
  }
  .main-head {
    min-height: 70px;
  }
  .modal-dialog,
  .modal-content {
    border: unset;
    border-radius: unset;
    box-shadow: unset;
    height: 100%;
    width: 100%;
    margin: unset;
    min-height: unset;
  }
  .state-func {
    -moz-column-gap: 1.5rem;
         column-gap: 1.5rem;
  }
  .colorinfo {
    display: none;
  }
  .icon-info {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
  #renameSensorControlModal .modal-content,
  #deleteSensorControlModal .modal-content,
  #delaytime-modal .modal-content {
    height: unset;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
    margin: 0.5rem;
    width: 97%;
  }
  #swFunctionMenu {
    box-shadow: inset 0px 0px 0px 1px #dcdbdb;
    width: 100%;
    z-index: 3;
    border-radius: 4px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    height: 100%;
  }
  #swFunctionMenu .active-func {
    display: -ms-grid;
    display: grid;
  }
  #swFunctionMenu .active-func:after,
  #swFunctionMenu .active-func:before {
    top: 10px;
    border-color: transparent transparent transparent #f8f8f8;
    border-width: 10px;
    display: none;
  }
  .func.list-group-item {
    height: 65px;
  }
  .subfunction-list {
    display: none;
  }
  .subfunction-list.active-func {
    display: block;
  }
  #swFunctionMenu.subfunc-active {
    display: none;
  }
  .wiz-page.sensorPage {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin-left: 0px !important;
    width: 100%;
    height: 100%;
  }
  #addSensorToDeviceListModal.modal {
    overflow-y: hidden;
  }
  #addSensorToDeviceListModal.modal .modal-body {
    padding: 0px;
    overflow-y: auto;
  }
  #addSensorToDeviceListModal.modal .modal-body .modal-list {
    max-height: 100%;
    overflow-y: auto;
  }
  #stateOptionsBody.modal-body {
    padding: 0px;
  }
  .modal-body {
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex: 1;
    flex: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    height: 100%;
  }
  #modalStateSettings .modal-header {
    display: -ms-flexbox;
    display: flex;
  }
  .function-container {
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .noUi-horizontal {
    height: 12px;
    width: 85%;
    margin-left: 28px;
  }
  .noUi-horizontal .noUi-handle {
    width: 40px;
    height: 40px;
    right: -17px;
    top: -10px;
  }
  .sensor-setting-range {
    margin-left: 5.8rem;
    margin-top: 7rem;
    margin-bottom: 3rem;
    margin-right: 3.8rem;
  }
  .noUi-connects {
    height: 20px;
    border-radius: 17px;
  }
  #Vibrationssensor-ZHAVibration .sensor-setting-range {
    margin-left: 4.8rem;
    margin-top: 7rem;
    margin-bottom: 3rem;
    margin-right: 14.8rem;
  }
  #ZHAVibration-range-wrap.noUi-horizontal .noUi-origin .noUi-handle {
    width: 40px;
    height: 40px;
    right: 0px;
    top: 0px;
  }
  #ZHAVibration-range-wrap .noUi-connects {
    height: 40px;
    border-radius: 17px;
    width: 186px;
    -ms-transform: translateX(-40px);
        transform: translateX(-40px);
  }
  #ZHAVibration-range-wrap.noUi-horizontal {
    -ms-transform: translateX(50%);
        transform: translateX(50%);
  }
  .hdr-delete-btn {
    -ms-flex-align: baseline;
        align-items: baseline;
    -ms-flex-pack: end;
        justify-content: flex-end;
  }
  .sensor-diagram.visible {
    display: none;
  }
  #pirDiagram {
    display: none;
  }
  .states-diagram.visible {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0ms ease-in-out, opacity 500ms ease-in-out;
  }
  #addDevice-btn {
    font-size: 16px;
    margin-left: auto;
    padding-top: 1.2rem;
    padding-right: 0;
    margin-right: 0;
  }
  .main-head h1 .name-container svg {
    -ms-transform: scale(0.6);
    transform: scale(0.6);
  }
  .sensor-values {
    margin-left: 0px !important;
  }
  .daydial-table-endoffset-text {
    padding-top: 0.5rem;
  }
  .daydial-table-startoffset-text {
    padding-top: 0.5rem;
  }
  .daydial-table-offsettext {
    padding-top: 0.5rem;
  }
  #modalAddSensorList {
    border: none;
  }
  .segment-tbody {
    height: 25%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-bottom: 1px solid #dddddd;
    display: -ms-grid;
    display: grid;
    width: 97%;
    grid-template-areas: "colorinfo itemname itemname itemname itemcheck" "colorinfo starttime dash endtime itemcheck" "colorinfo startoffset odash endoffset itemcheck";
    -ms-grid-columns: 10% 20% 27.5% 5% 27.5% 10%;
    grid-template-columns: 20% 32.5% 5% 32.5% 10%;
    -ms-grid-rows: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
  .segment-tbody .segment-color {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    justify-self: center;
  }
  .daydial-table-endtime-text {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    padding: 0px;
  }
  .daydial-table-starttime-text {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    padding: 0px;
  }
  .daydial-table-timetext {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    padding: 0px;
  }
}
