/*
*/
/*
    Created on : 25 mars 2024, 10:01:53
    Author     : vincent
*/
/* open-sans-regular - latin */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url("../fonts/open-sans-v17-latin-regular.woff2") format("woff2");
}
/* abril-fatface-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Abril Fatface";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/abril-fatface-v23-latin-regular.woff2") format("woff2");
}
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  background: #f9f7f3;
  height: 100vh;
}

a {
  text-decoration: none;
  color: #151515;
}

input, .btn, select {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

input[type=submit], input[type=button], .btn {
  background: #fff;
  color: #444;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
}
input[type=submit]:hover, input[type=button]:hover, .btn:hover {
  background: #f9f7f3;
}
input[type=submit].cta, .page form input[type=submit], input[type=button].cta, .btn.cta {
  background: #151515;
  color: #fff;
  border: 0px;
  font-weight: bold;
}
input[type=submit].cta:hover, .page form input[type=submit]:hover, input[type=button].cta:hover, .btn.cta:hover {
  background: #222222;
}

.actions {
  text-align: right;
}
.actions .btn {
  margin-left: 8px;
}

#master {
  display: flex;
  box-shadow: inset 4px 0 4px rgba(0, 0, 0, 0.1);
}

.page {
  flex: 1;
  padding: 16px 32px 16px 16px;
}
.page form {
  max-width: 1000px;
  min-width: 400px;
}
.page form input[type=submit] {
  margin-top: 16px;
}
.page .content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-direction: row;
  gap: 20px;
}
.page .tree {
  width: 100%;
  padding: 16px 0 12px 4px;
  font-weight: bold;
  font-size: 1.3em;
}
.page .tree a {
  color: #444;
}
.page .tree span {
  font-size: 0.7em;
  font-weight: normal;
}
.page .tree span::before {
  background: #ccc;
  color: #444;
  padding: 0 4px;
  border-radius: 20%;
  display: inline-block;
  content: ">";
  margin: 0 6px;
}
.page .tree .action-btn {
  margin-left: 8px;
  vertical-align: middle;
  width: 16px;
  display: inline-block;
  cursor: pointer;
}

.tag, .page-dashboard .eta-by-type .type, .page-dashboard .content .site .level {
  font-size: 0.75em;
  background: #444;
  color: #fff;
  border-radius: 4px;
  padding: 2px 6px;
}

.list {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  margin-bottom: 24px;
  padding-bottom: 4px;
  border-radius: 12px;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.12);
}
.list .th {
  font-weight: bold;
  font-size: 0.8em;
  padding: 12px;
  border-bottom: 1px solid #ccc;
}
.list .th .actions {
  font-weight: normal;
}
.list .th .actions a {
  padding: 4px 6px;
}
.list .th .actions .btn {
  border-radius: 8px;
}
.list div:not(.th) div {
  font-size: 0.75em;
}
.list > div {
  padding: 12px 16px;
  display: flex;
  border-bottom: 1px dashed #ccc;
}
.list > div:last-child {
  border-bottom: none;
}
.list > div > div {
  flex: 1;
}
.list > div .btn {
  display: inline-block;
  padding: 2px 4px;
  min-width: 80px;
  text-align: center;
}
.list .copy {
  display: flex;
  column-gap: 8px;
}
.list .copy img {
  cursor: pointer;
}

.box, .popup {
  flex: 1;
  background: #fff;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
}
.box h2, .popup h2, .box h3, .popup h3 {
  padding: 16px;
  margin: 0;
}
.box h2 i, .popup h2 i, .box h3 i, .popup h3 i {
  color: #888;
  font-size: 0.8em;
}
.box h2 .btn, .popup h2 .btn, .box h3 .btn, .popup h3 .btn {
  font-size: 10px;
  float: right;
  margin-top: -4px;
}
.box h3, .popup h3 {
  font-size: 16px;
  text-transform: uppercase;
  border-bottom: 1px dashed #ddd;
}
.box .box-content, .popup .box-content {
  padding: 16px;
}
.box .box-content .list, .popup .box-content .list {
  box-shadow: none;
  margin: 0;
}
.box .box-content .empty-list, .popup .box-content .empty-list {
  margin-top: 12px;
}

.overlay {
  position: absolute;
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
}

.field {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.field label {
  flex: 1;
  font-weight: bold;
  color: #444;
  font-size: 0.9em;
}
.field input, .field select {
  flex: 2;
}
.field input[type=submit] {
  margin: 0 12px !important;
}

.info {
  font-size: 0.8em;
  border-radius: 8px;
  padding: 8px 16px 8px 48px;
  color: #333;
  background: #eee url("../img/info.svg") no-repeat 14px;
  max-width: 400px;
}
.info .copy-btn {
  cursor: pointer;
  float: right;
  width: 16px;
}

.page .box .hubs, .page .popup .hubs {
  margin-top: 24px;
}

.events div div:first-child {
  max-width: 64px;
}
.events div div:first-child img {
  width: 16px;
}
.events a {
  color: #444;
}

.page-sites-sites-edit .content .box, .page-sites-sites-edit .content .popup {
  min-width: 100%;
}

.tank-title-info {
  float: right;
  font-size: 0.9em;
  display: inline-block;
}
.tank-title-info div {
  display: inline-block;
  margin: 0px 4px;
  font-size: 0.75em;
}

#menu {
  height: calc(100vh - 82px);
  width: 280px;
  background: #fff;
  padding-top: 16px;
  margin-top: 16px;
  border-radius: 0 16px 0 0;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.12);
}
#menu a {
  display: block;
  padding: 12px 8px;
  color: #000;
  text-transform: uppercase;
  font-size: 0.8em;
  margin-top: 8px;
  background-color: #f9f7f3;
  width: 80%;
  border-radius: 0 24px 24px 0;
  font-weight: bold;
  transition: filter 0.8s ease-in-out;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to right, #ffd7cb, #fdde7f);
  filter: grayscale(90%);
}
#menu a.selected {
  filter: grayscale(0%);
}
#menu a:hover {
  filter: grayscale(0%);
}

/*
    Created on : 12 avr. 2024, 14:39:38
    Author     : vincent
*/
.notif {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0 4px #999;
  padding: 6px 6px 6px 48px;
  font-size: 0.9em;
  border-radius: 4px;
  opacity: 1;
  transition: all ease-in-out 0.4s;
  background: #eee url("../img/info.svg") no-repeat 14px;
}
.notif.appear {
  opacity: 0;
  transform: scale(0.8);
}
.notif.fade-out {
  transition: all ease-in-out 0.8s;
  opacity: 0;
}

/*
    Created on : 6 nov. 2024, 15:33:45
    Author     : vincent
*/
.popup {
  flex: inherit;
  min-width: 300px;
}

#login-form {
  margin: 64px auto;
  max-width: 380px;
  min-width: 320px;
  text-align: center;
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}
#login-form img {
  margin-bottom: 16px;
}
#login-form label {
  flex: 2;
  text-align: left;
}
#login-form input {
  flex: 3;
}

#login-body {
  background: linear-gradient(#f1dabb, #cc8879);
}
#login-body .error {
  margin: 12px;
  color: red;
  border: solid 1px red;
  border-radius: 5px;
  padding: 12px;
}

#top-bar {
  background: #fff;
  padding: 4px;
  min-height: 50px;
  box-sizing: border-box;
}
#top-bar .logo {
  position: absolute;
}
#top-bar select {
  appearance: none;
  cursor: pointer;
  background-color: #fff;
  background-image: url("../img/arrow_down.svg");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  padding-right: 32px;
  min-width: 180px;
}
#top-bar .right-items {
  float: right;
  padding: 8px;
}
#top-bar .right-items a {
  display: inline-block;
  margin-left: 12px;
}

/*
    Created on : 12 avr. 2024, 14:00:18
    Author     : vincent
*/
.page-dashboard {
  padding: 8px;
}
.page-dashboard .content {
  flex-direction: column;
  align-items: normal;
  column-gap: 16px;
}
.page-dashboard .content .site {
  margin-bottom: 24px;
}
.page-dashboard .content .site h3 {
  padding: 16px 48px 16px;
  font-size: 1.2em;
  text-transform: capitalize;
  background: url("../img/home_pin.svg") no-repeat 14px;
}
.page-dashboard .content .site .box-content {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}
.page-dashboard .content .site .hub {
  padding: 16px;
}
.page-dashboard .content .site h4 {
  margin: 0 0 24px;
  padding-left: 48px;
  background: url("../img/device_hub.svg") no-repeat 14px;
}
.page-dashboard .content .site h4 i {
  color: #888;
  font-size: 0.8em;
}
.page-dashboard .content .site .sensors {
  display: flex;
  column-gap: 48px;
}
.page-dashboard .content .site .sensor {
  text-align: center;
}
.page-dashboard .content .site .sensor .sensor-title {
  background: url("../img/gauge.svg") no-repeat 14px;
  padding-left: 48px;
  margin-bottom: 8px;
  font-size: 0.95em;
  font-weight: bold;
}
.page-dashboard .content .site .level {
  background: #ffcc33;
  font-weight: bold;
  display: inline-block;
  color: #000;
  text-align: center;
  margin-bottom: 8px;
}
.page-dashboard .content .site .level svg {
  width: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
.page-dashboard .content .site .level.warning {
  color: red;
  background: #fcc;
}
.page-dashboard .content .site .cuve {
  border: 3px solid #000;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: end;
  overflow: hidden;
  margin: auto;
}
.page-dashboard .content .site .cuve .biere {
  background-color: #ffcc33;
  width: 100%;
  height: 100px;
}
.page-dashboard .dashboard-wrapper {
  height: 340px;
}
.page-dashboard .eta-by-type h5 {
  font-size: 1em;
  margin-bottom: 16px;
}
.page-dashboard .eta-by-type h5 svg {
  margin-right: 4px;
  vertical-align: bottom;
}
.page-dashboard .eta-by-type .type {
  color: #000;
  display: inline-block;
  margin-right: 8px;
}

a.conf-btn {
  display: inline-block;
  margin-left: 8px;
  color: #ccc;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0px 5px;
}
a.conf-btn svg {
  width: 16px;
  vertical-align: middle;
}
a.conf-btn:hover {
  color: #444;
  border: 1px solid #444;
}

/*# sourceMappingURL=style.css.map */
