@charset "UTF-8";
:root {
  --black: #000;
  --white: #fff;
  --box-shadow: rgba(0, 0, 0, 0.6);
  --main-color: #fff;
  --main-color-2: #ffa;
  --secondary-color: #aaa;
  --secondary-color-2: #bbb;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

::after,
::before {
  box-sizing: inherit;
}

html,
body {
  position: relative;
  overflow-x: hidden;
  font-family: sans-serif;
  font-size: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

/*******************/
/* GROUPE DE STYLE */
/*******************/
/*******************/
/*      TITRES     */
/*******************/
h1 {
  font-size: 2.5em;
  color: white;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.11em;
}

h4 {
  font-size: 2em;
}

h5 {
  font-size: 1.5em;
}

/*******************/
/*      LISTES     */
/*******************/
ul,
ol {
  margin-left: 40px;
  padding: 12px 0;
}

/*******************/
/*  GO_TOP BOUTON  */
/*******************/
#go_top {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  box-shadow: 0px 2px 2px 1px rgba(122, 122, 122, 0.3568627451);
  bottom: 15px;
  right: -80px;
  cursor: pointer;
  transition: right 0.7s, bottom 0.5s, box-shadow 0.5s;
  background-color: #E0E9E0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#go_top i {
  color: #363D36;
  text-align: center;
  cursor: pointer;
  font-size: 2em;
  margin: 0;
  padding: 0;
  line-height: 1.55;
}

#go_top:active {
  bottom: 12px;
  box-shadow: none;
  transition: right 0.7s, bottom 0.5s, box-shadow 0.5s;
}

/********************/
/*    STYLE MAIN    */
/********************/
p {
  font-size: 15px;
  margin-bottom: 1.5em;
  line-height: 1.8;
}

main {
  background-color: #F8F8F6;
}

.container {
  width: 90%;
  max-width: 1650px;
  margin: 0 auto 50px;
  position: relative;
}

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

.wp-block-cover.alignfull {
  padding: 0;
  width: 100vw;
  position: relative;
  left: calc((-100vw + 100%) / 2);
}

/*******************/
/*  MEDIA QUERIES  */
/*******************/
@media screen and (max-width: 1700px) {
  .container {
    max-width: 1400px;
  }
}
@media screen and (max-width: 15500px) {
  .container {
    max-width: 1350px;
  }
}
@media screen and (max-width: 1440px) {
  .container {
    max-width: 1150px;
  }
}
@media screen and (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media screen and (max-width: 1024px) {
  .container {
    max-width: 950px;
  }
}
@media screen and (max-width: 990px) {
  .container {
    width: 100%;
    margin: 150px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    margin: 100px;
  }
}
@media screen and (max-width: 576px) {
  .container {
    margin: 50px;
  }
}
/* Header par défaut */
header {
  position: relative;
  z-index: 0;
  width: 100vw;
  height: 40vh;
}

/* Header Front_page */
#front_header {
  height: 50vh;
  background: #FBFBFA;
}
#front_header > div:nth-child(2) {
  height: 80%;
  position: relative;
}
#front_header > div:nth-child(2) #image_hero {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
#front_header > div:nth-child(2) #image_hero div {
  background-color: rgba(27, 108, 19, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#front_header > div:nth-child(2) img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#front_header > div:nth-child(2) #titre_hero {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

#header_nav {
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(20% - 20px);
}
#header_nav > div {
  display: flex;
  -moz-column-gap: 10px;
       column-gap: 10px;
  align-items: center;
}
#header_nav > div img {
  width: 50px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
}
#header_nav > div p {
  margin-bottom: 2px;
  line-height: 1.2;
  font-size: 18px;
}
#header_nav > div p:last-child {
  font-size: 12px;
  color: #666;
}
#header_nav nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header_nav nav ul li {
  position: relative;
}
#header_nav nav ul li a {
  color: #333;
  font-size: 0.95rem;
  position: relative;
  margin-right: 15px;
  font-weight: 700;
}
#header_nav nav ul li a:hover {
  color: #0b6b3a;
}
#header_nav nav ul li a .notif-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #d62828;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 50%;
  font-weight: 600;
}
#header_nav nav ul i {
  margin-right: 10px;
}

/*******************/
/*  MEDIA QUERIES  */
/*******************/
/* Footer */
footer {
  position: relative;
  width: 100vw;
  height: auto;
}

/* Crédits */
#credits {
  max-height: 20vh;
}

/*******************/
/*  MEDIA QUERIES  */
/*******************/
/* SECTION DASHBOARD */
.dashboard-resume {
  padding: 50px 0;
}
.dashboard-resume #stats-resume {
  display: flex;
  justify-content: space-between;
}

.stat-card {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #D1E0D1;
  width: 24%;
  padding: 25px;
}
.stat-card > div:first-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  height: -moz-fit-content;
  height: fit-content;
}
.stat-card > div:first-child h3 {
  font-size: 15px;
  color: #555555;
}
.stat-card > div:first-child span {
  width: 20px;
  aspect-ratio: 1/1;
  border-radius: 100%;
  background-color: rgba(11, 107, 57, 0.2392156863);
}
.stat-card > div:nth-child(2) p {
  font-size: 12px;
  margin: 0;
  color: #555;
}
.stat-card > div:nth-child(2) b {
  font-size: 23px;
  font-weight: 700;
  color: #222;
}
.stat-card .positive-indice {
  color: #48B460;
}
.stat-card .negative-indice {
  color: #EF4444;
}

/* SECTION MES CHAMPS */
.dashboard-champs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* --- Colonne gauche --- */
#left-side {
  width: 65%;
}
#left-side .title-left-side {
  margin-bottom: 24px;
}
#left-side .title-left-side i {
  margin-right: 10px;
}
#left-side .title-left-side:not(:first-child) {
  margin-top: 50px;
}
#left-side > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
#left-side > div:first-child button {
  background: #FAFAF9;
  color: #363D36;
  border: 1px solid #E0E9E0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s linear;
}
#left-side > div:first-child button:hover {
  background: #FF9500;
  color: #FAFAF9;
}

#champs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  row-gap: 30px;
}

.champs-card {
  width: 48%;
  background: #FFF;
  border-radius: 10px;
  padding: 16px 20px;
  border: 1px solid #E0E9E0;
  transition: all 0.1s linear;
}
.champs-card:hover {
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.05);
}
.champs-card > p {
  margin-bottom: 10px;
  color: #868686;
  font-size: 13px;
}
.champs-card > p i {
  margin-right: 5px;
}
.champs-card button {
  width: 100%;
  background: #FAFAF9;
  color: #363D36;
  border: 1px solid #E0E9E0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s linear;
}
.champs-card button:hover {
  background: #FF9500;
  color: #FAFAF9;
}

.champ-nom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-bottom: 20px;
}
.champ-nom h3 {
  color: #222;
}
.champ-nom p {
  color: #fff;
  padding: 0px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
.champ-nom p.good {
  background: #29A329;
}
.champ-nom p.warning {
  background: #F9C31F;
  color: #222;
}
.champ-nom p.alert {
  background: #EF4444;
}

.champ-stats {
  display: flex;
  justify-content: space-between;
  gap: 2%;
  flex-wrap: wrap;
}
.champ-stats div {
  width: 49%;
  height: -moz-fit-content;
  height: fit-content;
  margin: 10px 0;
}
.champ-stats div span {
  color: #757575;
  font-weight: 100;
  font-size: 14px;
}
.champ-stats div p {
  margin: 0;
}

#capteurs-list {
  display: flex;
  justify-content: space-between;
}
#capteurs-list .capteur-card {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #D1E0D1;
  width: 24%;
  padding: 25px;
}
#capteurs-list .capteur-card > div:first-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  height: -moz-fit-content;
  height: fit-content;
}
#capteurs-list .capteur-card > div:first-child h3 {
  font-size: 15px;
  color: #383838;
}
#capteurs-list .capteur-card > div:first-child span {
  color: #fff;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}
#capteurs-list .capteur-card > div:first-child span.good {
  background: #29A329;
}
#capteurs-list .capteur-card > div:first-child span.warning {
  background: #F9C31F;
  color: #222;
}
#capteurs-list .capteur-card > div:first-child span.alert {
  background: #EF4444;
}
#capteurs-list .capteur-card > div:nth-child(2) span {
  font-size: 12px;
  margin: 0;
  color: #555;
}
#capteurs-list .capteur-card > div:nth-child(2) p {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 0;
  color: #222;
}

#analyse-part {
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #D1E0D1;
  width: 100%;
  padding: 25px;
  margin: 25px 0;
}
#analyse-part h2 i {
  margin-right: 10px;
}

/* --- Colonne droite --- */
#right-side {
  width: 30%;
}
#right-side article {
  background: #FFF;
  border-radius: 10px;
  padding: 30px 30px;
  border: 1px solid #E0E9E0;
  transition: all 0.1s linear;
  margin-bottom: 20px;
}
#right-side article h2 {
  margin-bottom: 20px;
}
#right-side article h2 i {
  margin-right: 10px;
}

.alerts-information {
  border-radius: 10px;
  padding: 16px 20px;
  border: 1px solid #E0E9E0;
  position: relative;
  width: 100%;
  margin-top: 25px;
}
.alerts-information i {
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0);
  width: 25px;
  height: 25px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.1s linear;
  cursor: pointer;
}
.alerts-information i:hover {
  background-color: rgba(255, 149, 0, 0.8156862745);
}
.alerts-information > span {
  color: #555555;
  margin-top: 12px;
  font-size: 13px;
  display: block;
}
.alerts-information p {
  color: #333;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.5;
  width: 80%;
}
.alerts-information p span {
  color: #fff;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 15px;
}
.alerts-information p span.low {
  background: #269DD9;
}
.alerts-information p span.warning {
  background: #F9C31F;
  color: #222;
}
.alerts-information p span.alert {
  background: #EF4444;
}
.alerts-information p:first-child {
  margin-bottom: 10px;
}

/*******************/
/*  MEDIA QUERIES  */
/*******************/
/*******************/
/*  MEDIA QUERIES  */
/*******************/
/*******************/
/*  MEDIA QUERIES  */
/*******************/
/*******************/
/*  MEDIA QUERIES  */
/*******************//*# sourceMappingURL=main.css.map */