body {
  font-size: .875rem;
  background-color: #FFFEF0;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
      font-size: 3.5rem;
  }
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #173931;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #173931;
}

.sidebar .nav-link.active {
  color: #173931;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: #173931;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  font-weight: bold;
  color: #173931;
  background-color: #96B599;
  box-shadow: inset -1px 0 0 #96B599;
}

.navbar-brand:hover {
  color: #173931;
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark,
#searchBar {
  color: #173931;
  background-color: #D1DED2;
  border-color: #D1DED2;
  z-index: 6;
}

.form-control-dark:focus,
#searchBar:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px #D1DED2;
  z-index: 10;
}

.navbar-nav{
  z-index: -1;
}

#sidebarMenu {
  background-color: #D1DED2;
}

#navbarLogout{
  background-color: #96B599;
  color: #173931;
  
}

.logoutBtn {
  border-color: #96B599;
  border-style: unset;
}

h1 {
  color: #173931;
}

.loginCentered {
  height: 100vh;
}

#dataTable{
  color: #173931;
}

.description{
  text-align: justify;
  white-space: pre-line;
  font-size: medium;
}

.description::first-line {
  line-height: 0;
}

.mainContent{
  color: #173931;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {   
  border-color: #173931;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #173931;
  background-color: #96B599;
  outline: 0 none;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {   
  background-color: #96B599;
}

.shadowLogo {
  position:absolute;
  max-width:45%;
  max-height:60%;
  top:55%;
  left:55%;
  overflow:visible;
}

#logo{
  filter: invert(98%) sepia(5%) saturate(519%) hue-rotate(58deg) brightness(90%) contrast(92%);
  position:relative;
  max-width:70%;
  max-height:70%;
  margin-top:-50%;
  margin-left:-50%;
  z-index: -1;
}

#container{
  padding: 5px;
}

.ficheTitle{
  background-color: #173931; 
  color: #96B79F;
}

.ficheText{
  background-color: #96B79F;
  text-align: justify;
}

.ficheTopLeft{
  border-top-left-radius: 10px;
}

.ficheTopRight{
  border-top-right-radius: 10px;
}

.ficheBotLeft{
  border-bottom-left-radius: 10px;
}

.ficheBotRight{
  border-bottom-right-radius: 10px;
}

.form-control{
  background-color: #96B79F;
}

textarea {
  height: 200px;
  background-color: #96B79F;
}

.searchOpe:hover{
  cursor: pointer;
}

.infoBloc{
  background-color: #D1DED2;
  color: #173931;
}

fieldset{
  all: revert;
  border-width: 0.1px;
  border-radius: 10px;
  border-color: #173931;
}

legend{
  all: revert;
  font-size:large;
  font-weight: bold;
  margin-top: 30px;
}

.fsForm{
  margin: 5px;
}

#divCarto{
  display: flex;
  flex-direction: column;
}

.indicCode{
  padding-top: 0.3rem;
  padding-bottom: 0.4rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #173931;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bolder;
}

.colSrb{
  background-color: #59F552;
}

.colSre{
  background-color: #A3F1FF;
}

.colSreee{
  background-color: #c3ef32;
}

.nav-link:hover{
  color: #96B599 !important;
}

.nav-link {
  color:#173931 !important;
}

.logoutBtn:hover{
  color: #D1DED2 !important;
}

.commentaire{
  background-color:#D1DED2;
  padding: 2rem !important;
  border-radius: 20px;
  display: flex !important;
  margin: 1rem !important;
  white-space: pre-line;
}

.commentaire::before {
  content: '';
  margin: -1em 0;
  display: block;
}

.btnCom{
  background-color: #D1DED2;
  color:#173931;
  margin-bottom: 10px;
}

.btnCom:hover{
  background-color:#D1DED2;
  color: #96B599;
}

.btnCom2{
  color:#173931;
  position: absolute;
}

.btnCom2:hover {
  color: #96B599;
}

.dropDownAnnee{
  color: #D1DED2;
  background-color: #173931;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold ;
}

.notDisplayed{
  background-color: rgba(187,  45, 59, 0.5) !important;
}

#dataTable_wrapper{
  white-space: nowrap;
  overflow-x: scroll!important;
}

/* Scrollbars sur l'app avec les tableaux (scroll en x et y) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #D1DED2;
}

::-webkit-scrollbar-thumb {
  background: #173931;
  border-radius: 5px;
}

.blocCle{
  text-align: center;
  font-size: 20px;
  background-color: #173931;
  color: #96B79F;
  display: flex;
  justify-content: center;
}

.anneeCle{
  font-weight: bold;
}

.nbCle{
  font-weight: bolder;
  font-size: 50px;
  color: #FFFEF0;
}

.loginBloc{
  color:#173931;
  font-size: 23px;
  font-weight: bold;
}

.fileName{
  color: #173931;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* QTTE 3 Tab DOE DCR */
.okColor{
  background-color: #25F580!important; 
}

.koColor{
  background-color: #D44639!important;
}

.dateCol{
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
}

.dateCell{
  align-items: end;
  display: grid;
}

.navBox{
  background-color: #96B79F;
  color: #173931;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  margin: 1px;
}

#map {
  height: 35vw;
  width: 100%;
}

.ol-popup {
  position: absolute;
  background-color: white;
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 350px;
}
.ol-popup:after, .ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}
.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
}
.ol-popup-closer:after {
  content: "✖";
}
.popup-content{
  text-align:left;
}
a.ol-popup-closer {
  box-shadow: none;
}
.popup-content .desc_projet{
  font-size:0.9em;
}

.table100{
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

td, th {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.indicTabTitle{
  text-align: center;
  font-weight: bold;
  font-size: 20px;
}

/* Gestion nomCompte */
.titreCompte{
  padding: 5px;
  border-radius: 5px;
  background-color: #96B599;
  color: #173931;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Styles pour la mise en page des colonnes dans monCompte */
.row.gx-3 {
  display: flex;
  margin: 0 -0.5rem;
}

.row.gx-3 .col-12 {
  padding: 0 0.5rem;
  min-width: 0; /* Important pour éviter le débordement */
}

/* Ajustements pour les DataTables dans monCompte */
#dataTable_wrapper,
#dataTable2_wrapper {
  width: 100%;
  margin: 0;
}

#dataTable,
#dataTable2 {
  width: 100% !important;
  margin: 0;
}

/* Ajustement spécifique pour les conteneurs de tableaux */
.table-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Styles pour les cartes d'information */
.info-card {
    background-color: #D1DED2;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #96B599;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    margin-right: 15px;
    color: #173931;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.9rem;
    color: #173931;
    opacity: 0.8;
    margin-bottom: 2px;
}

.info-value {
    font-size: 1.1rem;
    color: #173931;
    font-weight: 500;
}

/* clair
#FFFEF0
#96B79F
#D1DED2
#96B599
#173931
sombre */ 