/* Style for the error box */
.error-boxx {
  background-color: #f8d7da;
  border-color: #f5c2c7; /* Red with transparency */
  color: #842029;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 60%;
  margin: 50px auto;
  font-size: small;
}
.error-boxx h2 {
  font-size: large;
}
.sucess-boxx {
  background-color: #d1e7dd;
  border-color: #6fc450; /* Red with transparency */
  color: #40775d;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 60%;
  margin: 50px auto;
  font-size: small;
}
.sucess-boxx h2 {
  font-size: large;
}
.echec {
  text-align: left;
}
/* Style for the close (X) button */
.close-btnn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
}

/* Style for the back button */
.back-btnn {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  padding: 8px 16px;
  margin-top: 20px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.3s ease;
  position: absolute;
  top: 105px;
  right: 30px;
  font-size: small;
}

.back-btnn:hover {
  background-color: #383535;
}

/* Table styles */
#table1,
#table2 {
  width: 100%;
  border-collapse: collapse;
}

/* Head styles */
#table1 thead,
#table2 thead {
  font-weight: bold;
  color: #337ab7;
}

/* Style only horizontal borders for rows */
#table1 td,
#table1 th,
#table2 td,
#table2 th {
  border-bottom: 1px solid #ccc; /* Soft gray horizontal lines between rows */
  padding: 5px;
}

/* Remove border from first row */
#table1 tbody tr:first-child td,
#table2 tbody tr:first-child td {
  border-top: none;
}
.table-containerr {
  overflow-x: auto; /* Enable horizontal scroll if needed */
}
#lista {
  text-align: center;
}
#table1,
#table2 {
  width: 50vw; /* Set the width to 100% of the viewport width */
  max-width: 100%; /* Ensure the table doesn't exceed the viewport width */
  border-collapse: separate; /* Separate border for rows */
  border-spacing: 0; /* Set the spacing between cells to zero */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

a.comment-indicator:hover + div.comment {
  background: #ffd;
  position: absolute;
  display: block;
  border: 1px solid black;
  padding: 0.5em;
}
a.comment-indicator {
  background: red;
  display: inline-block;
  border: 1px solid black;
  width: 0.5em;
  height: 0.5em;
}
div.comment {
  display: none;
}
table {
  border-collapse: collapse;
  page-break-after: always;
}
.gridlines td {
  border: 1px dotted black;
  width: 80px; /* Largeur des cellules */
  height: 35px;
}
.gridlines th {
  border: 1px dotted black;
}
.b {
  text-align: center;
}
.e {
  text-align: center;
}
.f {
  text-align: right;
}
.inlineStr {
  text-align: left;
}
.n {
  text-align: right;
}
.s {
  text-align: left;
}
td.style0 {
  vertical-align: middle;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
th.style0 {
  vertical-align: middle;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
td.style1 {
  vertical-align: middle;
  text-align: center;

  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
  width: 180px; /* Largeur des cellules */
  height: 35px;
}
th.style1 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
td.style2 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
th.style2 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
td.style3 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
th.style3 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
td.style4 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
th.style4 {
  vertical-align: middle;
  text-align: center;
  border-bottom: none #000000;
  border-top: none #000000;
  border-left: none #000000;
  border-right: none #000000;
  color: white;
  font-family: "Calibri";
  font-size: 11pt;
  background-color: #4e7ff0;
}
table.sheet0 col.col0 {
  width: 105.73333212pt;
}
table.sheet0 col.col1 {
  width: 113.18888759pt;
}
table.sheet0 col.col2 {
  width: 103.69999881pt;
}
table.sheet0 col.col3 {
  width: 103.02222104pt;
}
table.sheet0 col.col4 {
  width: 103.69999881pt;
}
table.sheet0 col.col5 {
  width: 103.02222104pt;
}
table.sheet0 col.col6 {
  width: 69.13333254pt;
}
table.sheet0 tr {
  height: 15pt;
}
table.sheet0 tr.row1 {
  background-color: #4e7ff0;
  height: 33pt;
}
.column {
  text-align: center;
}
.table-container {
  float: right;
  margin-left: 40px;
  margin-right: 30px;
}

.energie {
  background-color: #4e7ff0;
  color: white;
}

#eau,
#electricite {
  width: 90px; /* Largeur des cellules */
  height: 35px;
}
#sheet0 {
  display: flex;
  flex-direction: column;
}
#eau_elec {
  margin-bottom: 5px;
}
form {
  display: inline-block;
  margin-top: 10px;
}
#addYearButton {
  height: 30px;
}
#save-all-button {
  margin-top: 20px;
  height: 30px;
}
.save-button-td {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.col-form-labell {
  padding-top: calc(0.375rem + 1px);
  padding-bottom: calc(0.375rem + 1px);
  margin-bottom: 0;
  font-size: medium;
  line-height: 1.5;
}

.container2 {
  margin: -100px;
  align-self: center;
  transform: scale(0.7); /* Adjust the scale factor as needed */
  /* Ensure content doesn't overflow */
  overflow: hidden;
}
#container1 {
  background: #093b80;
  color: #fff;
  text-align: center;
}
.smaller-div {
  transform: scale(0.8); /* Adjust the scale factor as needed */
  transform-origin: top left;
}
.col-logo {
  flex: 0 0 auto;
  width: 25%;
}

#sp-section-8 {
  background: #093b80;
  color: #faac00;
}
a#arrow1::before {
  content: "\25B7"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow2::before {
  content: "\25B7"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow3::after {
  content: "\25BD"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow4::after {
  content: "\25BD"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow5::after {
  content: "\25BD"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow6::after {
  content: "\25BD"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
a#arrow7::after {
  content: "\25BD"; /* Unicode character for a black right-pointing triangle */
  margin-right: 0.5em; /* Adjust as needed for spacing */
}
.h3_custom {
  font-family: Open Sans, sans-serif;
  font-weight: normal;
}

.error-box {
  background-color: #f8d7da; /* Red background color */
  color: #721c24; /* Text color */
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb; /* Border color */
  border-radius: 5px;
}

/* Example CSS for Centering the Login Form */
.um-login-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.um-login-form-container {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
}

.um-login-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

/* Adjust these styles as needed */
.rouge {
  background-color: #ff3111;
}

#media-items-modi {
  box-sizing: border-box;
  margin: 0.5em -8px 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
#media-items-modi .media-item {
  position: relative;
  margin: 0;
  list-style: none;
  text-align: center;
  width: 20%;
  box-sizing: border-box;
  padding: 8px;
}
#media-items-modi .media-item .pinkynail {
  float: left;
  margin: 2px 10px 0 3px;
  max-width: 40px;
  max-height: 32px;
}
#media-items-modi .media-item .item {
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #f8f8f8;
  overflow: hidden;
}
#media-items-modi .media-item .item::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
#media-items-modi .media-item .item .centered {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate(50%, 50%);
}
#media-items-modi .media-item .item .centered img {
  margin: 0 auto;
  overflow: hidden;
  border: none;
  top: 0;
  left: 0;
  position: absolute;
  transform: translate(-50%, -50%);
  max-width: initial;
  max-height: initial;
}
#media-items-modi .media-item .item .centered.portrait img {
  max-width: 100%;
}
#media-items-modi .media-item .item .centered.landscape img {
  max-height: 100%;
}
#media-items-modi .media-item .item::before {
  content: "";
  display: block;
  padding-top: 100%;
}
#media-items-modi .media-item .item .progress,
#media-items-modi .media-item .item .bar {
  background: #ccc;
  border-radius: 22px;
  left: 50%;
  margin: 0;
  padding: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}
#media-items-modi .media-item .item .percent {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  padding: 0 5px;
  position: relative;
  width: 100%;
  z-index: 10;
}
#media-items-modi .media-item .item .bar {
  background: #719430;
  height: 100%;
  left: 0;
  transform: translate(0%, -50%);
  width: 0;
  z-index: 9;
}
