.navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
}

.img-drap {
  object-fit: cover;
  width: 18;
  height: 12;

}

@font-face {
  font-family: 'UbuntuCustom';
  src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'UbuntuCustom';
  src: url('../fonts/Ubuntu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'UbuntuCustom', sans-serif !important;

}

.lineaire-simple {
  min-height: 100vh;
  background: linear-gradient(#9beef6, 10%, white);

  background-repeat: no-repeat;
  background-size: cover;
}

.dialog-background {
  background-color: #faf4e8;

  background-repeat: no-repeat;
  background-size: cover;
}

.card {
  border-radius: 1rem;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: #050846ff;
}

.my-text {
  color: #050846ff;
  font-weight: 700;
}

.my-navbar {
  background-color: #F58727;
  display: flex;
  gap: 10px;
  width: 100%;
}

.table-lineaire-simple {
  background: linear-gradient(0.25turn, #9beef6, 60%, rgb(232, 232, 232))
}

.myicon {
  background-color: #ffffff;
}

.my-item {
  flex: 2;
  text-align: center;

}

/* .my-item:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  color: black;
  font-weight: 700;
} */

.my-item:hover {
  background-color: #F7C583;
  font-weight: 700;
  flex: 3;
  border-radius: 15px;
  box-shadow: 0 0 5px black;
}

.my-dropdown:hover {
  background-color: #F7C583;
}

.my-btn {
  background-color: #FFA94D;
  color: #050846ff;
  border: 3px solid #FF9A3D;
  border-radius: 10px;
  transition: all 0.3s ease;

}

.my-btn:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  font-weight: 700;
  color: black;
}

.my-btn:hover {
  background-color: #f8a950ff;
  color: #050846ff;
  box-shadow: 0 0 5px black;
}

.my-admin-btn {
  border-radius: 10px;
  background-color: #050846ff;
  color: white;
  border: 3px solid #050846ff;
  transition: all 0.3s ease;

}

.my-admin-btn:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  font-weight: 700;
  color: black;
}

.my-admin-btn:hover {
  background-color: #050846ff;
  color: white;
  box-shadow: 0 0 5px black;
}

.my-secondary-btn {
  background-color: #7E7E7E;
  border: 3px solid #7E7E7E;
  transition: all 0.3s ease;
  color: white;
}

.my-secondary-btn:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  font-weight: 700;
  color: black;
}

.my-success-btn {
  background-color: #2e8440;
  border: 3px solid #2e8440;
  transition: all 0.3s ease;
  color: white;
}


.my-success-btn:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  font-weight: 700;
  color: black;
}

.my-success-btn:hover {
  border: 3px solid #2e8440;
  box-shadow: 0 0 5px black;
  border-radius: 10px;
}

.my-secondary-btn:hover {

  border: 3px solid #595959ff;
  box-shadow: 0 0 5px black;
  border-radius: 10px;
}

.my-btn-alternatif {
  background-color: #FFA94D;
  border: 3px solid #FF9A3D;
  color: #050846ff;
  transition: all 0.3s ease;


}

.my-btn-alternatif:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  background-color: white;
  font-weight: 700;
  color: black;
}

.my-btn-alternatif:hover {
  color: #050846ff;
  border: 3px solid #FF9A3D;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}

.my-btn-info {
  background-color: #49d2ee;
  border: 3px solid #49d2ee;
  border-radius: 5px;
  color: rgb(0, 0, 0);
  transition: all 0.3s ease;


}

.my-btn-info:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  font-weight: 700;
  background-color: white;
  color: black;
}

.my-btn-info:hover {
  color: #050846ff;
  border: 3px solid #49d2ee;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}


.my-btn-alternatif2 {
  background-color: #FFA94D;
  color: #050846ff;
  transition: all 0.3s ease;


}

.my-btn-alternatif2:hover {
  color: #050846ff;
  background-color: #FFA94D;
  border-radius: 10px;

}

.my-danger-btn {
  background-color: #F0604D;
  border: 3px solid #F0604D;
  color: #ffffff;
  transition: all 0.3s ease;

}

.my-danger-btn:focus-visible {
  border: 5px solid rgb(33, 128, 128);
  font-weight: 700;
  background-color: white;
  color: black;
}

.my-danger-btn:hover {
  color: #050846ff;
  border: 3px solid #b51313ff;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}

.my-primary-btn {
  background-color: #1221f1ff;
  color: #ffffff;
  transition: all 0.3s ease;

}

.my-primary-btn:hover {
  color: #050846ff;
  border: 3px solid #1b26c5ff;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}

.my-card {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #050846ff;
  font-weight: 700;

}

.my-card-markdown {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;


}

.card-header {
  background-color: #f9ede0;
  border-radius: 10rem;
}

.my-image {
  border-radius: 10px;
}

.aide-tips {
  visibility: hidden;
  position: fixed;
  opacity: 0;
  bottom: 110%;
  transform: translateX(-5%);
  width: 700%;
  left: 110%;
  height: 200px;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  padding: 1em;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.aide-tips.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}

.aide-tips2 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 120%;
  transform: translateX(-50%);
  width: 250px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aide-tips2.show {
  visibility: visible;
  opacity: 1;
  z-index: 1000;

}


.img-tips2 {
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
  opacity: 0;
  bottom: 40%;
  left: 75%;
  text-align: center;
  position: absolute;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.img-tips2.show {
  visibility: visible;
  opacity: 1;
}

.aide-tips3 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 15%;
  left: 30%;
  transform: translateX(-30%);
  width: 350px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.aide-tips3.show {
  visibility: visible;
  opacity: 1;
  z-index: 1000;

}

.aide-tips4 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.aide-tips4.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}

.aide-tips5 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX();
  width: 500px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.aide-tips5.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}

/* s'ouvre en bas du parent*/

.aide-tips6 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -10%;
  right: 20%;
  transform: translate(-103%, 100%);
  width: 700px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.aide-tips6.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}


.aide-tips7 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -10%;
  right: 20%;
  transform: translate(-20%, 120%);
  width: 700px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.aide-tips7.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}

.aide-tips8 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -10%;
  right: 20%;
  transform: translate(-20%);
  width: 700px;
  padding: 0.8em 1em;
  background-color: #FFA94D;
  color: #050846ff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 10px -2px #4e4e4eff;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.aide-tips8.show {
  visibility: visible;
  opacity: 1;
  border-radius: 10px;
  z-index: 1000;
}


.my-warning {
  color: red;
}

.tipsindice {
  z-index: 1000;
}

.my-input-text {
  box-shadow: 0 4px 10px -6px #4e4e4eff;
}


.btn-orange {

  background-color: #ff812d;
  color: white;
  border-radius: 5px;
  padding: 8px 12px;
  border: 3px solid #ff812d;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);

}

.btn-orange:hover {
  color: #050846ff;
  border: 3px solid #ff812d;
  border-radius: 10px;
  box-shadow: 0 0 5px black;

}

.btn-orange2 {
  display: inline-block;
  width: 80px;
  color: white;
  background-color: #ff812d;
  border-radius: 5px;
  padding: 8px 12px;
  border: 3px solid #ff812d;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);

}

.btn-orange2:hover {
  color: #050846ff;
  border: 3px solid #ff812d;
  border-radius: 10px;
  box-shadow: 0 0 5px black;

}

.btn-blue {
  background-color: #0056b3;
  color: white;
  border-radius: 5px;
  padding: 8px 12px;
  border: 3px solid #0056b3;
  transition: all 0.5s ease;
  display: inline-block;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);


}

.btn-blue:hover {
  color: #050846ff;
  border: 3px solid #0056b3;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}

.btn-lightblue {
  border: 3px solid #00aaff;
  background-color: #00aaff;
  color: white;
  border-radius: 5px;
  padding: 8px 12px;
  border: 2px solid transparent;
  transition: all 0.5s ease;
  display: inline-block;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);

}

.btn-lightblue:hover {
  color: #050846ff;
  border: 3px solid #00aaff;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}

.radio-large {
  transform: scale(1.8);
  margin-right: 8px;
}



.my-table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
}

.my-table th,
.my-table td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.my-table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.my-table tbody+tbody {
  border-top: 2px solid #dee2e6;
}

/* --------- bordures --------- */
.my-table-bordered {
  border: 1px solid #dee2e6;
}

.my-table-bordered th,
.my-table-bordered td {
  border: 1px solid #dee2e6;
}

/* --------- couleurs --------- */
.my-table-info td,
.my-table-info th {
  background-color: #ffdfc3;
  color: #58412d;
}

.my-table-warning td,
.my-table-warning th {
  background-color: #fff3cd;
  color: #856404;
}

.my-table-danger td,
.my-table-danger th {
  background-color: #ff3927c6;
  color: #403938;
}

.hide {
  display: none;
}

.my-dialog {
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    display 0.4s ease allow-discrete,
    overlay 0.4s ease allow-discrete;
}

.my-dialog[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .my-dialog[open] {
    opacity: 0;
    transform: scale(0.9);
  }
}



.my-dialog-large {
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  width: 700px;
  max-width: 90%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    display 0.4s ease allow-discrete,
    overlay 0.4s ease allow-discrete;
}

.my-dialog-large[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .my-dialog-large[open] {
    opacity: 0;
    transform: scale(0.9);
  }
}


.my-dialog-pdf {
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    display 0.4s ease allow-discrete,
    overlay 0.4s ease allow-discrete;
}

.my-dialog-pdf[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .my-dialog-large[open] {
    opacity: 0;
    transform: scale(0.9);
  }
}

#syntheseForm .form-check-input {
  width: 1.4em;
  height: 1.4em;
  cursor: pointer;
  border: 2px solid #6c757d;
}

#syntheseForm .form-check-input:checked {
  background-color: hwb(45 3% 0%);
  border-color: #ed9d13;
}

#syntheseForm label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.2s;
  cursor: pointer;
}

#syntheseForm label:hover {
  background-color: #fff4e0;
}


.BDC-form-check-input {
  width: 1.4em;
  height: 1.4em;
  cursor: pointer;
  border: 2px solid #6c757d;
}


.BDC-form-check-input:checked {
  background-color: hwb(45 3% 0%);
  border-color: #ed9d13;
}

.BDC-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.2s;
  cursor: pointer;
}

.BDC-label:hover {
  background-color: #fff4e0;
}

.my-pdf-file:hover {
  background-color: #fff4e0;
  transition: background 0.3s;
  cursor: pointer;



}

#btn_simple,
#btn_expert {
  background-color: #ffc107;
  border-color: #ed9d13;
  margin-top: 10px;


}

#changeGroup label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

#changeGroup .form-check-input {
  width: 1.4em;
  height: 1.4em;
  border: 2px solid #6c757d;
}

#changeGroup .form-check-input:checked {
  background-color: hwb(45 3% 0%);
  border-color: #ed9d13;
}

#changeGroup label:hover {
  background-color: #fff4e0;


}

.settings {
  display: none;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    max-height 0.4s ease,
    display 0.4s ease allow-discrete;

}

.settings.open {
  display: block;
  opacity: 1;
  ;
}

#messages {
  table-layout: fixed;
}

@starting-style {
  .settings.open {
    opacity: 0;
    transform: translateY(-15px);
  }
}

.btn-switch {
  width: 80px;
}

.btn-secondary-switch {
  background-color: #f0f0f0 !important;
  color: #555 !important;
  box-shadow: 0 2px 0 #bbb;
  transform: translateY(-2px);
}

.btn-secondary-switch:hover {
  background-color: #c1c1c1 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 1.5px 0 #bbb;
}

.btn-success-switch {
  background-color: #2e8440 !important;

  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.4),
    inset 0 -1px 2px rgba(255, 255, 255, 0.1);

  border: 1px solid #1e562a !important;

}

.eco-impact-card {
  background-color: #f0fdf4;
  border-left: 10px solid #22c55e;

}


.eco-wh {
  color: #15803d;
}

.eco-co2 {
  color: #166534;
}

#card_actualite {
  background: #376AA1;
  background: linear-gradient(90deg, rgba(55, 106, 161, 1) 0%, rgba(79, 149, 211, 1) 100%);
  color: white;
}

.card-header-actualite {

  background-color: #376AA1;
}

text {
  font-weight: 700;
  color: #F58727;

}

#presentation {
  margin-top: -25px;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;


  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 40px 20px;
}

.presentation {
  width: 70%;
}

.rectangle {
  border: solid 3px orange;
  border-radius: 15px;
  background-color: white;
  width: 70%;
}

.rectangle-usage {

  border: solid 3px #3374ac;
  border-radius: 15px;
  background-color: white;
}

.rectangle-video {

  border: solid 3px #F58727;
  border-radius: 0px 0px 15px 15px;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);

}

.footer {
  background-color: #3374ac;
  height: 70%;
  border-top: 5px solid #F58727;
}

.card-presentation {
  /* background-color: #1c5384 ; */
  background-color: #3374ac;
  color: #f5f5f5;
}

.card-test {
  background-color: #F58727;
  color: black;
}

.card-video {
  border-radius: 20px 20px 0px 0px;
  background-color: #F58727;
  color: dark;
}

.my-image-presentation {
  width: 50%;
  transition: all;
  transition-duration: 0.5s;
}

.my-image-presentation:hover {
  width: 100%;
}

.outline {
  padding: 5px;
  border: 1px solid #ed9d13;
}

.my-groupe-fonction{
  background-color: #353535;
  
}

.my-dialog-outil {
  border: none;
  margin-top: 2rem;
  padding: 2rem;
  width: 100%;  
}

.my-card-outil {
    background-color: #ffffff;
    border: 5px solid #ebebeb;
    border-radius: 4px; 
    width: 200px;       
    height: 220px;      
    padding: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
}



.my-card-image-content img {
    max-width: 100%;
    max-height: 110px; 
    object-fit: contain;
}
