#allOffEditBtn {
  -ms-flex-align: center;
      align-items: center;
  width: 100px;
}
#allOffEditBtn svg {
  --ic-line: var(--color-text);
  --ic-fill: var(--color-text);
}
#allOffModal .modal-dialog,
#roomOnOffModal .modal-dialog {
  width: 750px;
  transition: transform 0.3s ease, margin 0.3s ease;
}
@media (max-width: 768px) {
  #allOffModal .modal-dialog,
  #roomOnOffModal .modal-dialog {
    width: 95%;
  }
}
#allOffModal .modal-dialog #allOffDeviceTypeBtnGroup,
#roomOnOffModal .modal-dialog #allOffDeviceTypeBtnGroup,
#allOffModal .modal-dialog #onOffDeviceTypeBtnGroup,
#roomOnOffModal .modal-dialog #onOffDeviceTypeBtnGroup {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: start;
      justify-content: flex-start;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-direction: row;
      flex-direction: row;
}
#allOffModal .modal-dialog #allOffDeviceTypeBtnGroup span,
#roomOnOffModal .modal-dialog #allOffDeviceTypeBtnGroup span,
#allOffModal .modal-dialog #onOffDeviceTypeBtnGroup span,
#roomOnOffModal .modal-dialog #onOffDeviceTypeBtnGroup span {
  margin-right: 10px;
}
#allOffModal .modal-dialog .allOffToggleType,
#roomOnOffModal .modal-dialog .allOffToggleType {
  background-color: var(--color-element);
  color: var(--color-text);
  border: none;
  margin-right: 8px;
  border-radius: 6px;
  cursor: pointer;
  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;
  padding: 6px;
  margin-top: 15px;
}
#allOffModal .modal-dialog .allOffToggleType svg,
#roomOnOffModal .modal-dialog .allOffToggleType svg {
  --ic-fill: var(--color-text);
  --ic-line: var(--color-text);
  --ic-frame: var(--color-text);
  --li-state-line: var(--color-text);
  --li-line: var(--color-text);
  --li-frame: var(--color-text);
  --li-state: none;
  margin-right: 10px;
}
#allOffModal .modal-dialog .selected,
#roomOnOffModal .modal-dialog .selected {
  background-color: var(--color-element-highlight);
}
#allOffModal .modal-dialog .allOffToggleType:hover,
#roomOnOffModal .modal-dialog .allOffToggleType:hover {
  background-color: var(--color-element-highlight);
  transition: all 0.3s ease;
  text-decoration: none;
}
#allOffModal .modal-footer,
#roomOnOffModal .modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row-reverse;
      flex-direction: row-reverse;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  padding: 16px 40px;
}
#allOffModal .modal-footer::before,
#roomOnOffModal .modal-footer::before {
  content: none;
}
#allOffModal .modal-footer::after,
#roomOnOffModal .modal-footer::after {
  content: none;
}
.all-off-list-wrapper ul {
  list-style: none;
}
.all-off-list-wrapper li {
  margin-top: 8px;
}
.all-off-item-wrapper {
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: justify;
      justify-content: space-between;
  border: 1px solid var(--color-element-highlight);
  color: var(--color-text);
  border-radius: 8px;
  font-size: 14px;
  padding: 0;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 8px;
  cursor: pointer;
}
.all-off-item-wrapper .item-icon {
  display: -ms-flexbox;
  display: flex;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  margin-right: 0;
  --ic-fill: var(--color-text);
  --ic-line: var(--color-text);
  --ic-frame: var(--color-text);
  --li-line: var(--color-text);
  --li-frame: var(--color-text);
}
.all-off-item-wrapper .item-name {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
.checkbox {
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 20%;
  border: 1px solid var(--color-element-highlight);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}
.checkbox svg {
  --ic-line: var(--color-text);
}
#toggleAll {
  margin-top: 8px;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-direction: row;
      flex-direction: row;
  -ms-flex-pack: right;
      justify-content: right;
  padding-right: 8px;
}
#toggleAll .checkbox {
  margin-left: 4px;
}
.all-off-item-wrapper:hover {
  background-color: var(--color-element-highlight);
  transition: all 0.3s ease;
}
