@keyframes swInteractive {
  10% {
    background-color: #e8f0f76b;
  }
  100% {
    background-color: none;
  }
}
:root {
  --display-mq-desktop: inline;
  --display-mq-phone: none;
  --body-content-grid-column: 25% 35% 1fr;
  --body-content-grid-row: 100%;
  --body-content-gap: 32px;
  --navigation-color: #ebedef;
  --activeSwList-margin-bottom: 12vh;
}
.mq-phone {
  display: var(--display-mq-phone) !important;
}
.mq-desktop {
  display: var(--display-mq-desktop) !important;
}
.body-content {
  height: 100%;
  padding-right: 12px;
  display: -ms-grid;
  display: grid;
  grid-gap: var(--body-content-gap);
  -ms-grid-columns: var(--body-content-grid-column);
      grid-template-columns: var(--body-content-grid-column);
  -ms-grid-rows: var(--body-content-grid-row);
      grid-template-rows: var(--body-content-grid-row);
}
.body-content #navigation {
  color: #ebedef;
  background-color: #6f6c6a;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  grid-gap: 12px;
}
.body-content #navigation svg.item-icon .sw-line {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(54, 54, 54, 0.83);
}
.body-content #navigation .li-state {
  fill: transparent;
  stroke: #ebedef;
}
.body-content #navigation .li-line,
.body-content #navigation .li-state-line,
.body-content #navigation .ic-line {
  stroke: #ebedef;
}
.body-content #navigation .li-body {
  fill: transparent;
}
.body-content #navigation .navigation-head {
  display: -ms-grid;
  display: grid;
  grid-gap: 12px;
  padding: 12px;
}
.body-content #navigation .navigation-head > div {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  grid-gap: 12px;
  cursor: pointer;
}
.body-content #navigation .navigation-head svg {
  height: 30px;
  width: auto;
}
.body-content #navigation .navigation-head svg:first-child {
  height: 20px;
}
.body-content #navigation .navigation-head .text-sw-edit {
  margin: auto;
  font-size: 22px;
}
.body-content #navigation .navigation-head .btn-add-switch.mq-desktop {
  background-color: #848180;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: auto;
}
.body-content #navigation .navigation-head .btn-add-switch.mq-desktop svg {
  height: 15px;
  width: 15px;
  vertical-align: text-top;
  margin-right: 8px;
}
.body-content #navigation .navigation-head .btn-add-switch.mq-desktop:hover,
.body-content #navigation .navigation-head .btn-add-switch.mq-desktop:active,
.body-content #navigation .navigation-head .btn-add-switch.mq-desktop:focus {
  background-color: #b9b6b5;
  color: unset;
}
.body-content #navigation .navigation-head .btn-add-switch.mq-phone {
  height: 20px;
  margin-left: auto;
}
.body-content #navigation #changedBox {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  background-color: hsl(15, 2%, 51%);
  padding: 16px 0px;
  margin-top: -18vh;
  opacity: 0;
  transition: all 0.4s ease-out 600ms;
  transition-property: opacity, margin;
}
.body-content #navigation #changedBox.active-box {
  margin-top: 0vh;
  opacity: 1;
  transition: all 0.4s ease-out 600ms;
  transition-property: opacity, margin;
}
.body-content #navigation #changedBox button {
  background-color: #706c6a;
}
.body-content #navigation #switchNavList {
  overflow-y: auto;
  padding: 0;
  grid-gap: 8px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  padding-bottom: 8vh;
}
.body-content #navigation #switchNavList .list-group-item {
  border: none;
  border-radius: unset;
  background-color: transparent;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  padding: 16px;
  cursor: pointer;
}
.body-content #navigation #switchNavList .list-group-item.active-switch {
  color: #333;
  background-color: #e8f0f7;
}
.body-content #navigation #switchNavList .list-group-item.btnevent-sw {
  animation: swInteractive 0.8s;
  animation-timing-function: ease-out;
}
.body-content #resourcelinks {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
.body-content #resourcelinks svg.item-icon.generated-sw-svg .sw-line {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(54, 54, 54, 0.83);
}
.body-content #resourcelinks .resourcelinks-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  margin-top: 25px;
  margin-bottom: 12.5px;
  white-space: nowrap;
  width: 100%;
  overflow: visible;
  font-size: 155%;
}
.body-content #resourcelinks .resourcelinks-head .item-icon {
  -ms-transform: scale(0.7);
      transform: scale(0.7);
}
.body-content #resourcelinks .resourcelinks-head .pencil {
  margin-left: auto;
  display: -ms-flexbox;
  display: flex;
}
.body-content #resourcelinks .list-head {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  border-radius: 4px 4px 0px 0px;
  padding: 0px 16px;
  color: #fff;
  background-color: #baa48d;
}
.body-content #resourcelinks .list-head span {
  height: 24px;
  padding: 0px 4px;
}
.body-content #resourcelinks .list-head span svg {
  height: 20px;
  width: 20px;
}
.body-content #resourcelinks .list-head span svg .ic-line {
  stroke: #fff;
}
.body-content #resourcelinks #activeSwRlList {
  -ms-flex: 1;
      flex: 1;
  background-color: #f4f5f4;
  border-radius: 0px 0px 4px 4px;
  margin-bottom: var(--activeSwList-margin-bottom);
  overflow-y: auto;
  overflow-x: hidden;
  padding: unset;
}
.body-content #resourcelinks #activeSwRlList .list-group-item {
  -ms-transform: translate(0px);
      transform: translate(0px);
  transition: transform 80ms ease-in-out;
  border-radius: unset;
  border-left: unset;
  border-right: unset;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
}
.body-content #resourcelinks #activeSwRlList .list-group-item .item-name {
  padding: 12px 0;
  margin-left: 8px;
}
.body-content #resourcelinks #activeSwRlList .list-group-item .item-info-rl {
  font-size: 80%;
  color: #8a8787;
}
.body-content #resourcelinks #activeSwRlList .list-group-item.active-resource {
  -ms-transform: translate(8px);
      transform: translate(8px);
  transition: transform 80ms ease-in-out;
}
.body-content #resourcelinks #activeSwRlList .list-group-item.active-resource::before {
  content: '';
  height: calc(100% + 1px);
  width: 8px;
  background-color: #6f6c6a;
  position: absolute;
  left: -8px;
  top: -1px;
  bottom: -1px;
}
.body-content #resourcelinks #activeSwRlList .list-group-item svg [data-btn] {
  fill: var(--ic-fill);
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="1000"] svg [data-btn="1000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="2000"] svg [data-btn="2000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="3000"] svg [data-btn="3000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="4000"] svg [data-btn="4000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="5000"] svg [data-btn="5000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="6000"] svg [data-btn="6000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="7000"] svg [data-btn="7000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #resourcelinks #activeSwRlList .list-group-item[data-btn="8000"] svg [data-btn="8000"] {
  opacity: 0.6;
  display: inherit;
}
.body-content #rlFunction {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
.body-content #rlFunction #deleteResourcelinkBtn {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
  margin-top: 25px;
  margin-bottom: 12.5px;
}
.body-content #rlFunction #rlFunctionHead {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  font-size: 125%;
  margin-top: 48px;
  grid-gap: 8px;
}
.body-content #rlFunction #rlFunctionList .func {
  display: none;
  -ms-flex-direction: column;
      flex-direction: column;
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0;
  padding-left: 40px;
  margin-top: 16px;
}
.body-content #rlFunction #rlFunctionList[data-fid="onoff-options"] [data-func="onoff-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="callscene-options"] [data-func="callscene-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="dimm-options"] [data-func="dimm-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="pushdimm-options"] [data-func="pushdimm-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="effect-options"] [data-func="effect-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="lightChain-options"] [data-func="lightChain-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="ct-options"] [data-func="ct-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList[data-fid="ct-push-options"] [data-func="ct-push-options"] {
  display: -ms-flexbox;
  display: flex;
}
.body-content #rlFunction #rlFunctionList .subfunc {
  display: -ms-flexbox;
  display: flex;
  grid-gap: 8px;
  -ms-flex-align: center;
      align-items: center;
  cursor: pointer;
}
.body-content #rlFunction #rlFunctionList .subfunc .radio {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #bbb;
  background-color: white;
  margin: unset;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
.body-content #rlFunction #rlFunctionList .subfunc .radio .sel-radio {
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: #7a7979;
  display: none;
}
.body-content #rlFunction #rlFunctionList .subfunc .radio.active-radio .sel-radio {
  display: block;
}
.body-content #rlFunction #rlFunctionList .sub-function-info {
  font-size: 80%;
  color: #8a8787;
  margin: 8px 0px;
}
#switchEditorModal .modal-dialog {
  margin: auto;
  margin-top: 8vh;
}
#switchEditorModal .modal-dialog .modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
#switchEditorModal .modal-dialog .modal-header h3 {
  margin: unset;
}
#switchEditorModal .modal-dialog .modal-header h3.page-name {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  -ms-flex-align: center;
      align-items: center;
  margin-bottom: 8px;
}
#switchEditorModal .modal-dialog .modal-body [data-page] {
  display: none;
}
#switchEditorModal .modal-dialog .modal-body[data-page="1"] div[data-page="1"],
#switchEditorModal .modal-dialog .modal-body[data-page="2"] div[data-page="2"],
#switchEditorModal .modal-dialog .modal-body[data-page="3"] div[data-page="3"] {
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 899px) {
  :root {
    --body-content-grid-column: 35% 0.95fr;
    --body-content-grid-row: 50% 50%;
    --activeSwList-margin-bottom: 0vh;
  }
  .body-content #navigation {
    -ms-grid-row-span: 2;
    -ms-grid-row: 1;
        grid-row: 1 / span 2;
  }
}
@media (max-height: 420px) and (min-width: 416px) {
  html {
    -ms-transform: rotate(-90deg);
        transform: rotate(-90deg);
    -ms-transform-origin: left top;
        transform-origin: left top;
    width: 100vh;
    height: 100vw;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
  html .sidenav {
    -ms-transform: translate(-100%) !important;
        transform: translate(-100%) !important;
  }
}
@media (max-width: 416px), (max-height: 420px) {
  :root {
    --display-mq-desktop: none;
    --display-mq-phone: inline;
    --body-content-grid-column: repeat(3, 100%);
    --body-content-grid-row: 100%;
    --activeSwList-margin-bottom: 4vh;
  }
  .body-content {
    grid-gap: unset;
    padding-right: unset;
  }
  .body-content.view-left {
    -ms-transform: translateX(0vw);
        transform: translateX(0vw);
    transition: all 0.3s ease;
  }
  .body-content.view-middle {
    -ms-transform: translateX(-100vw);
        transform: translateX(-100vw);
    transition: all 0.3s ease;
  }
  .body-content.view-right {
    -ms-transform: translateX(-200vw);
        transform: translateX(-200vw);
    transition: all 0.3s ease;
  }
  .body-content #rlFunction {
    padding: 0 12px;
  }
}
