html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}
body > .react-sortable-hoc-draggable {
  z-index: 10000;
  background: #fff;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.1);
}

a {
  background-color: transparent;
}

[hidden] {
  display: none;
}

*,
:after,
:before {
  box-sizing: border-box;
  border: 0 solid #e2e8f0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

svg,
video {
  display: block;
}

video {
  max-width: 100%;
  height: auto;
}

.bg-white {
  --bg-opacity: 1;
  background-color: #fff;
  background-color: rgba(255, 255, 255, var(--bg-opacity));
}

.bg-gray-100 {
  --bg-opacity: 1;
  background-color: #f7fafc;
  background-color: rgba(247, 250, 252, var(--bg-opacity));
}

.border-gray-200 {
  --border-opacity: 1;
  border-color: #edf2f7;
  border-color: rgba(237, 242, 247, var(--border-opacity));
}

.border-t {
  border-top-width: 1px;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.font-semibold {
  font-weight: 600;
}

.h-5 {
  height: 1.25rem;
}

.h-8 {
  height: 2rem;
}

.h-16 {
  height: 4rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.leading-7 {
  line-height: 1.75rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-1 {
  margin-left: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.ml-12 {
  margin-left: 3rem;
}

.-mt-px {
  margin-top: -1px;
}

.max-w-6xl {
  max-width: 72rem;
}

.overflow-hidden {
  overflow: hidden;
}

.p-6 {
  padding: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.text-center {
  text-align: center;
}

.text-gray-200 {
  --text-opacity: 1;
  color: #edf2f7;
  color: rgba(237, 242, 247, var(--text-opacity));
}

.text-gray-300 {
  --text-opacity: 1;
  color: #e2e8f0;
  color: rgba(226, 232, 240, var(--text-opacity));
}

.text-gray-400 {
  --text-opacity: 1;
  color: #cbd5e0;
  color: rgba(203, 213, 224, var(--text-opacity));
}

.text-gray-500 {
  --text-opacity: 1;
  color: #a0aec0;
  color: rgba(160, 174, 192, var(--text-opacity));
}

.text-gray-600 {
  --text-opacity: 1;
  color: #718096;
  color: rgba(113, 128, 150, var(--text-opacity));
}

.text-gray-700 {
  --text-opacity: 1;
  color: #4a5568;
  color: rgba(74, 85, 104, var(--text-opacity));
}

.text-gray-900 {
  --text-opacity: 1;
  color: #1a202c;
  color: rgba(26, 32, 44, var(--text-opacity));
}

.underline {
  text-decoration: underline;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.w-5 {
  width: 1.25rem;
}

.w-8 {
  width: 2rem;
}

.w-auto {
  width: auto;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.page {
  position: relative;
  height: calc(var(--100vh) - 56px);
}

.leaflet-icon {
  background-color: inherit;
  border: none;
  outline: none;
  filter: drop-shadow(0 0 1px, #fff);
}
.leaflet-icon--hover {
  border-radius: 50%;
  outline: 3px dotted black;
  outline-offset: 2px;
}
.leaflet-icon--with-profile-status {
  border-radius: 50%;
  outline: 3px solid transparent;
  outline-offset: 2px;
}
.leaflet-icon--status-unknown {
  outline-color: #9e9e9e;
}
.leaflet-icon--status-new {
  outline-color: #ffeb3b;
}
.leaflet-icon--status-starting {
  outline-color: #ff9800;
}
.leaflet-icon--status-running {
  outline-color: #4caf50;
}
.leaflet-icon--status-error {
  outline-color: #f44336;
}

@media (min-width: 600px) {
  .page {
    height: calc(var(--100vh) - 64px);
  }
}
@media (min-width: 640px) {
  .sm\:rounded-lg {
    border-radius: 0.5rem;
  }

  .sm\:block {
    display: block;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:justify-start {
    justify-content: flex-start;
  }

  .sm\:justify-between {
    justify-content: space-between;
  }

  .sm\:h-20 {
    height: 5rem;
  }

  .sm\:ml-0 {
    margin-left: 0;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:pt-0 {
    padding-top: 0;
  }

  .sm\:text-left {
    text-align: left;
  }

  .sm\:text-right {
    text-align: right;
  }
}
@media (min-width: 768px) {
  .md\:border-t-0 {
    border-top-width: 0;
  }

  .md\:border-l {
    border-left-width: 1px;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (prefers-color-scheme: dark) {
  .dark\:bg-gray-800 {
    --bg-opacity: 1;
    background-color: #2d3748;
    background-color: rgba(45, 55, 72, var(--bg-opacity));
  }

  .dark\:bg-gray-900 {
    --bg-opacity: 1;
    background-color: #1a202c;
    background-color: rgba(26, 32, 44, var(--bg-opacity));
  }

  .dark\:border-gray-700 {
    --border-opacity: 1;
    border-color: #4a5568;
    border-color: rgba(74, 85, 104, var(--border-opacity));
  }

  .dark\:text-white {
    --text-opacity: 1;
    color: #fff;
    color: rgba(255, 255, 255, var(--text-opacity));
  }

  .dark\:text-gray-400 {
    --text-opacity: 1;
    color: #cbd5e0;
    color: rgba(203, 213, 224, var(--text-opacity));
  }

  .dark\:text-gray-500 {
    --tw-text-opacity: 1;
    color: #6b7280;
    color: rgba(107, 114, 128, var(--tw-text-opacity));
  }
}
.MuiFormLabel-asterisk,
.MuiFormHelperText-root {
  color: #d32f2f !important;
}

.login {
  height: var(--100vh);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(-45deg, rgba(238, 119, 82, 0.1), rgba(231, 60, 126, 0.1), rgba(35, 166, 213, 0.1), rgba(35, 213, 171, 0.1));
  background-size: 400% 400%;
  -webkit-animation: gradient 15s ease infinite;
          animation: gradient 15s ease infinite;
}
@-webkit-keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.login__card {
  max-width: 600px;
  width: 100%;
}
.login__header {
  padding: 60px 40px;
}
.login__logo {
  display: block;
  max-width: 22.4rem;
  width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 425px) {
  .login__logo {
    max-width: 12.4rem;
  }
}
.login__form {
  padding: 40px;
}

.profile {
  padding: 30px 20px;
}
.profile__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 250px;
  margin-bottom: 30px;
}
.profile__header > h2 {
  margin: 0;
}
.profile__form {
  width: 100%;
  max-width: 400px;
}
.profile__form-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}
.profile__form-block > * {
  flex-basis: 40%;
}
.profile__form-block > *:last-child {
  flex: 1;
}
.profile__control + button {
  margin-left: 15px;
}

.rules__list {
  border: 1px solid #ccc;
  display: flex;
}
.rules__list-name {
  display: inline-block;
  border-right: 1px solid #ccc;
  padding: 0.5rem;
  width: 50%;
}
.rules__list-name:last-child {
  border-right: none;
}
.rules__list-tags {
  width: 100%;
  border-right: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}
.rules__list-icon {
  border-right: 1px solid #ccc;
  padding: 0.5rem 0.8rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.heatmap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.heatmap__item {
  position: absolute;
  filter: blur(8px);
  transform: translate(-50%, -50%);
  width: 5%;
  height: 0;
  padding-bottom: 5%;
}
.heatmap__item-button {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  position: absolute !important;
  left: 0;
  top: 0;
}
.heatmap__toolbar {
  flex: 1;
}
.heatmap__legend {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px;
  border-radius: 16px;
  margin: 0 auto;
  max-width: 320px;
  color: #fff;
  font-weight: 500;
}
.heatmap__slider .MuiSlider-valueLabel {
  display: none;
}

.dashboard {
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.dashboard__cols {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  flex: 1;
}
.dashboard__cols--main {
  max-height: 100%;
}
.dashboard__cols--top {
  max-height: 228px;
}
.dashboard__cols:last-child {
  border-bottom: none;
}
.dashboard__col {
  flex: 1;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}
.dashboard__col:last-child {
  border-right: none;
}
.dashboard__cols--main > .dashboard__col:first-child {
  max-width: 400px;
}
.dashboard__cols--main > .dashboard__col:last-child {
  max-width: calc(100% - 400px);
}
.dashboard__row {
  border-bottom: 1px solid #e2e8f0;
  padding: 20px;
}
.dashboard__row--hours {
  max-height: calc(100% - 228px);
}
.dashboard__row--savings {
  max-height: 100%;
}
.dashboard__row:last-child {
  border-bottom: none;
  flex: 1;
}
.dashboard__savings-chart {
  height: calc(100% - 56px);
}
.dashboard__hours-chart {
  height: calc(100% - 32px);
}
@media (max-width: 1280px) {
  .dashboard__cols {
    display: block;
  }
  .dashboard__cols--top {
    max-height: none;
  }
  .dashboard__cols--main > .dashboard__col:first-child {
    max-width: none;
  }
  .dashboard__cols--main > .dashboard__col:last-child {
    max-width: none;
  }
  .dashboard__col {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .dashboard__col:last-child {
    border-bottom: none;
  }
  .dashboard__row--savings, .dashboard__row--hours {
    height: 600px;
    flex: initial !important;
  }
  .dashboard__row--savings {
    max-width: 400px;
    margin: 0 auto;
  }
}

.logo {
  height: 40px;
}

.navbar {
  color: #fff;
}
.navbar .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input.MuiSelect-select {
  color: #fff !important;
}
.navbar .css-hfutr2-MuiSvgIcon-root-MuiSelect-icon {
  color: #fff !important;
}
.navbar .css-bpeome-MuiSvgIcon-root-MuiSelect-icon {
  color: #fff !important;
}
.navbar .css-1d3z3hw-MuiOutlinedInput-notchedOutline {
  border: none;
}

.page-layout__content {
  overflow: hidden;
}

.floorplan {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.floorplan__text-field {
  max-width: 148px;
  min-width: 148px;
}
.floorplan__container {
  flex: 1;
  overflow: auto;
  position: relative;
}
.floorplan__image-holder {
  position: relative;
  overflow: hidden;
}
.floorplan__image {
  width: 100%;
  vertical-align: top;
}
.floorplan__point {
  position: absolute;
  display: flex;
  align-items: center;
  transform: translate(-16px, -16px);
}
.floorplan__point--small {
  transform: translate(-8px, -8px);
}
.floorplan__point--medium {
  transform: translate(-12px, -12px);
}
.floorplan__point--text-left {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 16px), -16px);
}
.floorplan__point--text-left.floorplan__point--small {
  transform: translate(calc(-100% + 8px), -8px);
}
.floorplan__point--text-left.floorplan__point--medium {
  transform: translate(calc(-100% + 12px), -12px);
}
.floorplan__point--with-profile-status .floorplan__point-image {
  outline: 3px solid transparent;
  outline-offset: 0;
}
.floorplan__point--status-unknown .floorplan__point-image {
  outline-color: #9e9e9e;
}
.floorplan__point--status-new .floorplan__point-image {
  outline-color: #ffeb3b;
}
.floorplan__point--status-starting .floorplan__point-image {
  outline-color: #ff9800;
}
.floorplan__point--status-running .floorplan__point-image {
  outline-color: #4caf50;
}
.floorplan__point--status-error .floorplan__point-image {
  outline-color: #f44336;
}
.floorplan__point--hovered .floorplan__point-image {
  outline: 3px dotted black;
  outline-offset: 2px;
}
.floorplan__point--selected .floorplan__point-image {
  outline: 6px solid rgba(76, 175, 80, 0.5);
  outline-offset: 0;
}
.floorplan__point--moving .floorplan__point-image {
  outline: 6px solid rgba(211, 47, 47, 0.5);
  outline-offset: 0;
}
.floorplan__point--selected .floorplan__point-image, .floorplan__point--moving .floorplan__point-image {
  -webkit-animation: outline-pulsate 1s infinite;
          animation: outline-pulsate 1s infinite;
}
@-webkit-keyframes outline-pulsate {
  0% {
    outline-width: 6px;
  }
  50% {
    outline-width: 3px;
  }
  100% {
    outline-width: 6px;
  }
}
@keyframes outline-pulsate {
  0% {
    outline-width: 6px;
  }
  50% {
    outline-width: 3px;
  }
  100% {
    outline-width: 6px;
  }
}
.floorplan__point-image, .floorplan__point-image.MuiIconButton-root {
  border-radius: 50%;
  padding: 6px;
  background: #fff;
  box-shadow: 0 0 4px #000;
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 32px;
  height: 32px;
}
.floorplan__point-image img, .floorplan__point-image.MuiIconButton-root img {
  -o-object-fit: contain;
     object-fit: contain;
  vertical-align: top;
  width: 20px;
  height: 20px;
}
.floorplan__point-image:hover, .floorplan__point-image.MuiIconButton-root:hover {
  background: #fff;
}
.floorplan__point--small .floorplan__point-image.MuiIconButton-root {
  width: 16px;
  height: 16px;
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: initial;
}
.floorplan__point--small .floorplan__point-image.MuiIconButton-root img {
  width: 100%;
  height: 100%;
}
.floorplan__point--medium .floorplan__point-image.MuiIconButton-root {
  width: 24px;
  height: 24px;
  padding: 2px;
}
.floorplan__point--small .floorplan__point-text {
  padding: 1px 7px;
  background: none;
  box-shadow: none;
}
.floorplan__point--medium .floorplan__point-text {
  padding: 2px 5px;
  margin: 0 -2px;
}
.floorplan__point--small .floorplan__point-name, .floorplan__point--medium .floorplan__point-name {
  font-size: 12px;
}
.floorplan__point-text {
  padding: 4px 8px;
  margin: 0 -4px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 0 4px #000;
}
.floorplan__point-name {
  font-size: 14px;
  line-height: 14px;
}
.floorplan__point-arrows {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 108px;
  width: 108px;
  transform: translate(-50%, -50%);
}
.floorplan__point-arrows .MuiIconButton-root {
  background: #fff;
  box-shadow: 0 0 4px #000;
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #000;
}
.floorplan__point-arrows .MuiIconButton-root:hover {
  background: #fff;
}
.floorplan__point-arrows .MuiIconButton-root.floorplan__point-arrow--up {
  top: 0;
  left: calc(50% - 16px);
}
.floorplan__point-arrows .MuiIconButton-root.floorplan__point-arrow--right {
  top: calc(50% - 16px);
  right: 0;
}
.floorplan__point-arrows .MuiIconButton-root.floorplan__point-arrow--down {
  bottom: 0;
  left: calc(50% - 16px);
}
.floorplan__point-arrows .MuiIconButton-root.floorplan__point-arrow--left {
  left: 0;
  top: calc(50% - 16px);
}
.floorplan__toolbar {
  padding: 20px 0 20px 10px;
  display: flex;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  overflow-x: auto;
}
.floorplan__toolbar > * {
  margin-right: 10px !important;
}
.floorplan__toolbar-flex {
  flex: 1;
}
.floorplan__image-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.floorplan__image-placeholder > svg {
  font-size: 128px;
  opacity: 0.2;
}
@media (max-width: 768px) {
  .floorplan__toolbar {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .floorplan__text-field {
    min-width: calc(100% - 10px);
    margin: 10px 0;
  }
  .floorplan__text-field > * {
    width: 100%;
  }
}

.map {
  width: 100%;
  height: 100%;
}

.map-legend__content-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.map-legend__content-item-icon {
  width: 20px;
  height: 20px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-right: 20px;
}

.leaflet-top {
  z-index: 900 !important;
}

.marker-link {
  font-size: 14px;
  text-decoration: underline;
  color: rgb(19, 3, 165);
  cursor: pointer;
}
.marker-link:hover {
  color: rgb(92, 3, 165);
}

.active-row {
  background-color: rgb(214, 211, 211) !important;
}

@media only screen and (max-width: 425px) {
  .table {
    max-width: 400px;
  }
}
@media only screen and (max-width: 320px) {
  .table {
    max-width: 310px;
  }
}

.modal {
  position: relative;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.1);
  opacity: 1;
  border-radius: 8px;
}
.modal + .modal {
  margin-top: 1rem;
}
.modal__wrapper {
  max-width: 300px;
  width: 100%;
  z-index: 1500;
  position: fixed;
  bottom: 20px;
  right: 20px;
}
.modal__header {
  cursor: pointer;
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  color: #fff;
}

.overlay {
  position: absolute;
  z-index: 10000000;
  width: 100%;
  height: var(--100vh);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay .confirmation-modal {
  position: absolute;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  padding: 20px;
  box-shadow: -2px 0px 20px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}
.overlay .confirmation-modal__header {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
}
.overlay .confirmation-modal__body {
  display: flex;
  justify-content: flex-end;
}
.overlay .confirmation-modal__body > * {
  margin-left: 10px;
}

.success-modal {
  padding: 1rem;
  background-color: #6fbf73;
  color: #fff;
  border-radius: 8px;
}

.error-modal {
  padding: 1rem;
  background-color: #b2102f;
  color: #fff;
  border-radius: 8px;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1499;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-overlay span {
  color: #fff;
}
.loading-overlay > * {
  margin-right: 20px;
}
.loading-overlay > *:last-child {
  margin-right: 0;
}

.flex-parts-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.flex-parts-layout__header {
  display: flex;
  padding: 20px 10px;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}
.flex-parts-layout__header.between {
  justify-content: space-between;
}
.flex-parts-layout__header.end {
  justify-content: flex-end;
}
.flex-parts-layout__blocks {
  display: flex;
  width: 100%;
  flex: 1;
  overflow: hidden;
}
.flex-parts-layout__block {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.flex-parts-layout__block:not([style*="display: none"]) {
  border-right: 1px solid #e2e8f0;
}
.flex-parts-layout__block:not([style*="display: none"]):last-child {
  border-right: none;
}
.flex-parts-layout .flex-parts-layout__block {
  flex: 1;
  max-width: 50%;
}
.flex-parts-layout .flex-parts-layout__block.full {
  max-width: 100%;
}
.flex-parts-layout .flex-parts-layout__block.full-list {
  max-width: 100%;
}
.flex-parts-layout .flex-parts-layout__block.full-list:last-child {
  display: none;
}
.flex-parts-layout .flex-parts-layout__block.third:first-child {
  max-width: 33%;
}
.flex-parts-layout .flex-parts-layout__block.third:last-child {
  max-width: 67%;
}
.flex-parts-layout .flex-parts-layout__block.full-map {
  max-width: 100%;
}
.flex-parts-layout .flex-parts-layout__block.full-map:first-child {
  display: none;
}
.flex-parts-layout__toggler {
  display: block;
  width: 100%;
  height: 100%;
}
.flex-parts-layout__toggler .list:first-child {
  display: inherit;
}
.flex-parts-layout__toggler .list:last-child {
  display: none;
}
.flex-parts-layout__toggler .map:first-child {
  display: none;
}
.flex-parts-layout__toggler .map:last-child {
  display: inherit;
}
.flex-parts-layout__filters {
  display: flex;
  align-items: center;
}
.flex-parts-layout__filters > * {
  margin-right: 10px !important;
}
.flex-parts-layout__filters > *:last-child {
  margin-right: 0 !important;
}
.flex-parts-layout__actions {
  display: flex;
  align-items: center;
}
.flex-parts-layout__actions > * {
  margin-left: 10px !important;
}
@media (max-width: 960px) {
  .flex-parts-layout__actions > * {
    margin-left: 0 !important;
  }
}

.select {
  position: relative;
  display: flex;
  color: rgb(44, 43, 43);
}
.select__main {
  display: flex;
  align-items: center;
}
.select__options {
  position: absolute;
  margin-top: 50px;
  z-index: 10000;
  margin-left: -100px;
  border: 0 solid #e2e8f0;
  border-radius: 5px;
  background-color: #f8fafc;
  box-shadow: 0 0 3px;
}
.select__options-item {
  cursor: pointer;
  width: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: inherit;
}
.select__options-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
  transition: 0.5s;
}

.collapsible__header {
  padding: 10px 15px;
  background-color: rgb(214, 211, 211);
  font-family: Roboto;
}
.collapsible__header--nobg {
  background: none;
  position: relative;
  padding-bottom: 5px;
}
.collapsible__header--nobg-with-divider {
  background: none;
  position: relative;
  padding-bottom: 5px;
}
.collapsible__header--nobg-with-divider::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 50%;
  height: 1px;
  background: rgb(224, 224, 224);
}
.collapsible__header--nobg .collapsible__title {
  font-weight: 500;
}
.collapsible__header--nobg-with-divider .collapsible__title {
  font-weight: 500;
  background: #fff;
  position: relative;
  padding-right: 15px;
  z-index: 1;
}
.collapsible__header-arrow {
  transform: rotate(-90deg);
}
.collapsible__header-arrow--opened {
  transform: rotate(90deg);
}
.collapsible__title {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  font-weight: 400;
}
.collapsible__card {
  border-radius: 6px !important;
  overflow: hidden;
}
.collapsible__body {
  padding: 10px 15px;
}
.collapsible__body-row {
  display: flex;
  align-items: center;
}
.collapsible__body-row > * {
  flex: 1;
  margin-right: 20px;
}
.collapsible__body-row > *:last-child {
  margin-right: 0;
}

.sidebar__menu-item {
  padding: 8px 20px !important;
}
.sidebar__menu-item--active {
  background-color: rgba(0, 0, 0, 0.04) !important;
}
.sidebar__group {
  border: 0 solid #e2e8f0;
  border-width: 1px 0;
  margin: 8px 0 !important;
}

.template__window {
  overflow-y: auto;
  padding: 1rem;
  overflow: auto;
  height: calc(100% - 109px);
  border: 1px solid #e2e8f0;
  border-width: 1px 0;
}
.template__window-form {
  overflow: hidden;
}
.template__window-form .collapsible {
  margin: 10px 0;
}
.template__window__label {
  max-width: 130px;
}
.template-controls {
  margin: 10px;
  display: flex;
  justify-content: space-between;
}
.template-controls__delete {
  margin-left: auto !important;
  margin-right: 15px !important;
}

.edit-sidebar {
  position: fixed;
  top: 80px;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: var(--100vh);
  max-height: calc(var(--100vh) - 94px);
  z-index: 1001;
  background-color: #fff;
  box-shadow: -2px 0px 20px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px 0 0 6px;
  overflow: hidden;
}
.edit-sidebar-controls {
  margin: 10px;
  display: flex;
  justify-content: space-between;
}
.edit-sidebar-controls__delete {
  margin-left: auto !important;
  margin-right: 15px !important;
}
.edit-sidebar .edit-sidebar__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}
.edit-sidebar.expanded {
  width: 500px;
}

@media (max-width: 768px) {
  .edit-sidebar {
    max-height: var(--100vh);
    top: 0;
    z-index: 100000;
    border-radius: 0;
    max-width: none;
  }
}
.toggler {
  padding: 0 10px;
}

.additional-drawer__content {
  height: 100%;
}
.additional-drawer__body > * {
  margin-bottom: 20px;
}
.additional-drawer__body > *:last-child {
  margin-bottom: 0;
}

.light-level-chart {
  width: 100%;
  display: flex;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 50px 0 20px;
  border: 1px solid #e2e8f0;
  border-width: 1px 0 0 1px;
}
.light-level-chart--disabled {
  pointer-events: none;
}
.light-level-chart__cols {
  flex: 1;
  display: flex;
  position: relative;
}
.light-level-chart__col {
  flex: 1;
  text-align: center;
  position: relative;
}
.light-level-chart__col--active {
  cursor: pointer;
}
.light-level-chart__col--active:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.light-level-chart__col-grid {
  height: 300px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
.light-level-chart__bar {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  transition: height 225ms cubic-bezier(0.4, 0, 0.6, 1), background-color 225ms cubic-bezier(0.4, 0, 0.6, 1);
  background-color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}
.light-level-chart__bar--active {
  background-color: rgb(255, 195, 11);
}
.light-level-chart__bar-current {
  top: 100%;
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 10px;
  font-weight: bold;
}
.light-level-chart__row-label, .light-level-chart__col-label {
  font-size: 12px;
  z-index: 1;
}
.light-level-chart__cell {
  border-bottom: 1px solid #e2e8f0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.light-level-chart__col--active .light-level-chart__cell:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.light-level-chart__sun-point {
  position: absolute;
  bottom: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid #673ab7;
  padding: 4px;
}
.light-level-chart__sun-point::before {
  content: "";
  top: 100%;
  left: -1px;
  border-left: 1px solid #673ab7;
  height: 300px;
  position: absolute;
  z-index: 1;
}
.light-level-chart__sun-point-text {
  display: flex;
  flex-direction: column;
  margin-left: 4px;
  font-size: 12px;
}

.colors-legend__color {
  border-radius: 50%;
  width: 14px;
  height: 14px;
  margin-right: 5px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.colors-legend__color:last-child {
  margin-right: 0;
}

.gauge__holder {
  position: relative;
}
.gauge__container {
  height: 100px;
  overflow: hidden;
}
.gauge__bar {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.gauge__bar::after {
  content: "";
  position: absolute;
  inset: 20%;
  background: #fff;
  border-radius: 50%;
}
.gauge__bar-left-container, .gauge__bar-right-container {
  overflow: hidden;
  width: 100px;
}
.gauge__bar-left, .gauge__bar-right {
  height: 200px;
  width: 100px;
  position: absolute;
  top: 0;
  outline: 4px solid #fff;
  outline-offset: -2px;
}
.gauge__bar-left {
  transform: rotate(-45deg);
  left: 0;
}
.gauge__bar-right {
  transform: rotate(45deg);
  right: 0;
}
.gauge__pointer {
  width: 16px;
  height: 16px;
  left: calc(50% - 8px);
  top: calc(100% - 8px);
  background: #000;
  border-radius: 50%;
  position: absolute;
  transition: transform 0.5s;
}
.gauge__pointer::after {
  content: "";
  right: 9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 48px solid #000;
  display: block;
  position: absolute;
}
.gauge__value {
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
}

.timezone-select__modal-card {
  pointer-events: all;
  max-width: 360px;
  width: 100%;
  overflow-y: auto !important;
  max-height: calc(100% - 20px);
}

.extended-view-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;
  padding: 10px;
}
.extended-view-modal__popup {
  pointer-events: all;
  width: 100%;
  max-height: calc(100% - 20px);
  display: flex;
  flex-direction: column;
}
.extended-view-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}
.extended-view-modal__body {
  padding: 20px;
  height: calc(100% - 60px);
  overflow-y: auto;
}
