@font-face {
  font-family: "72-regular";
  src: url("/commons/72_Web/72-Light.woff2") format("woff2");
}

[flex] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

[flex-column] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

[flex-1] {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

[flex-centered] {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

[flex-space-between] {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

[fluid] {
  width: 100%;
}

[text-align-right] {
  text-align: right !important;
}

[text-align-center] {
  text-align: center !important;
}

[text-align-justify] {
  text-align: justify !important;
}

[text-align-left] {
  text-align: left !important;
}

:root {
  --aside-background-color: #1c1b22;
  --aside-text-color: #747478;
  --aside-menu-hover: #482a64;
  --aside-menu-active: #482a64;
  --aside-menu-logout: #642a2a;
  --background-color: #edeef0;
  --text-color: #6b6b6f;
  --sensor1-background-color: #87cefa;
  --sensor2-background-color: #ffa07a;
  --sensor3-background-color: #6b8e23;
}

main {
  height: 100dvh;
  width: 100dvw;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 300px 1fr;
  grid-template-columns: 300px 1fr;
}

main aside {
  background: var(--aside-background-color);
  color: var(--aside-text-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0.5rem;
}

main section.content {
  padding: 1rem;
  overflow: auto;
}

main section.content::-webkit-scrollbar-thumb {
  background: #6b6b6f;
  width: 0.5rem;
  background: var(--aside-menu-active);
}

main section.content::-webkit-scrollbar-track {
  background: #edeef0;
  width: 0.5rem;
}

aside .item {
  background: var(--aside-background-color) !important;
}

aside .item:hover {
  background: var(--aside-menu-hover) !important;
}

aside .item.active {
  background: var(--aside-menu-active) !important;
}

aside h3 {
  margin-left: 1rem;
  font-size: 16px;
  font-weight: normal;
}

aside .ui.header {
  color: white;
}

aside .ui.header .sub.header {
  color: var(--text-color);
}

body {
  font-family: "72-regular", sans-serif !important;
  background: var(--background-color) !important;
}

#app {
  height: 100vh;
  overflow: hidden;
  padding: 0;
}

.container .ui.menu {
  border-radius: 0;
}

[class*='cards'] [class*='ui card'] .title {
  -ms-grid-row: 1;
  grid-row: 1;
  font-weight: bolder;
}

[class*='cards'] [class*='ui card'] .value {
  -ms-grid-row: 2;
  grid-row: 2;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  vertical-align: center;
  text-align: right;
  font-size: 24px;
  font-weight: bolder;
}

table th {
  background: #ffffff !important;
  color: #343434 !important;
}

table th.control {
  background: var(--sensor1-background-color) !important;
}

table th.caudalimetro {
  background: var(--sensor2-background-color) !important;
}

table th.sensores {
  background: var(--sensor3-background-color) !important;
}

table tr:hover td {
  background: rgba(72, 42, 100, 0.2) !important;
}

table[class*='clear'] tr {
  border: none !important;
}

.item.logout {
  background: var(--aside-menu-logout) !important;
}

.field.required label {
  color: red !important;
  font-weight: bold;
}

h3 {
  margin: 0 !important;
}

.inner-dimmer {
  background: white;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 10px rgba(56, 50, 68, 0.5);
  box-shadow: 0 0 10px rgba(56, 50, 68, 0.5);
  position: fixed;
  top: 50dvh;
  left: 50dvw;
  padding: 0.9rem;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  width: 300px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  z-index: 100;
}
