@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i&display=swap");

:root[data-theme="light"] {
  --text: #000000;
  --background: #ffffff;/*#daddec*/
  --primary: #99ccff;
  --primary_opacity: #99ccff95;
  --secondary: #feb47b;
  --secondary_opacity: #feb47b30;
  --accent: #1919f0;
  --accent_opacity: #1919f030;
}
:root[data-theme="dark"] {
  --text: #ffffff;
  --background: #141726;
  --primary: #99ccff;
  --secondary: #feb47b;
  --accent: #1b1bf0;
}


.text_gradient{
  background:linear-gradient(120deg,var(--primary),var(--accent));
  background-clip: text;
  color: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent{
  color: var(--accent);
  white-space: nowrap;
  display: inline;
}

.accent_link{
  color: var(--accent);

}

.accent_link:hover{
  background-color: var(--primary_opacity);
  color: var(--background);
  box-shadow: var(--primary) 0px 0px 10px 0px,
  var(--accent) 0px 0px 15px 0px;  
}

*{
  margin: 0;
  padding: 0;
  font-size: 16px;
}

a{
  color: #0d6efd;
  text-decoration: underline;
}

.linkanimation{
  text-decoration: none;
  color: var(--accent);
  position: relative;
  white-space: nowrap; /* Empêche la coupure de texte */
  display: inline-block; /* Permet l'application de max-width */
  max-width: 100%; /* Limite la largeur maximale */
  word-break: keep-all; /* Empêche la cassure des mots */
  hyphens: none; /* Empêche la césure des mots */
}

.linkanimation::before {
  content: "";
  background: linear-gradient(to right, var(--accent) 45%, var(--accent) 55%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-repeat: no-repeat;
  transition: .3s ease-out;
}

.linkanimation:hover{
  font-weight: bold;
}

.linkanimation:hover::before {
  background: linear-gradient(to right, var(--accent) 45%, var(--primary_opacity) 55%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  transition: .5s ease-out;
}

.bouton_primaire{
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 16px;
  margin: 10px;
  color: var(--text);
  background: var(--primary_opacity);
  border: 2px solid var(--primary);
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-content: center;
  align-items:center;
}

.bouton_primaire:hover {
  color: var(--text);
  border: 2px solid var(--primary);
  background: var(--background);
  box-shadow: var(--primary) 0px 0px 10px 0px,
    var(--accent) 0px 0px 15px 0px;
}


.bouton_secondaire{
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 16px;
  margin: 10px;
  color: black;
  background: var(--secondary_opacity);
  border: 2px solid var(--secondary);
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  text-align: center;
}


.bouton_secondaire:hover {
  border: 2px solid var(--secondary);
  background: var(--background);
  box-shadow: var(--secondary) 0px 0px 10px 0px,
    var(--secondary) 0px 0px 10px 0px;
}


.bouton_secondaire_inv{
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 16px;
  margin: 10px;
  color: black;
  background: var(--secondary);
  border: 2px solid var(--secondary_opacity);
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  text-align: center;
}


.bouton_secondaire_inv:hover {
  border: 2px solid var(--secondary);
  background: var(--background);
  box-shadow: var(--secondary) 0px 0px 10px 0px,
    var(--secondary) 0px 0px 10px 0px;
}



.info_link{
  display: flex;
  align-content: center;
  align-items: center;
}

.info_link:hover{
/*  border: 2px solid var(--secondary);*/
/*  background: var(--secondary_opacity);*/
  box-shadow: var(--secondary) 0px 0px 10px 0px,
    var(--secondary) 0px 0px 10px 0px;
    border-radius: 32px;
}

body{
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro", sans-serif;
/*  color: #040316;*/
}

.center{
  margin: auto;
  width: auto;
  text-align: center;
}

.bouton {
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  padding: 5px 10px;
  margin: 10px 10px;
  color: #ffffff;
  background: #99ccff;
  border: 2px solid #99ccff;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.bouton:hover {
  background-color: #7fa7d1;
  border-color: #7fa7d1;

}

.fond{
/*  background-color: #f8f9fa;*/
  background-color: #fff;
  padding-top:calc(8vh);
/*  padding-bottom: 2vh;*/
  min-height: calc(92vh);
  background-color: rgba(225, 240, 255, 0.2);
  display: flex;
  position: relative;
}

.form {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
}

.form * {
  box-sizing: border-box;
  line-height: 1.5;
}

.form_centrer{
  text-align: center;
}

.form__title {
  font-size: 2em;
  font-weight: 600;
}

.form_item {
  width: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.form_item > * {
  align-self: flex-start; 
}

.form_label {
/*  font-weight: 600;*/
  padding-top: 10px;
}


.form_row{
  width: 50%;
  margin: auto;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;


}

.form_row > * {
  align-self: flex-left; 
}


.form_input {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
}

.form_radio{
  list-style-type: none;
  display: flex;
  margin: auto;
  width: 100%;
  justify-content: space-around;
}

.form_radio div *{
  text-align: center;
  display: inline-block;
  width: auto;
}

.form_radio li{
  margin-left:20px;
}


.form_check{
  order: -1;
  margin-top: 10px;
  margin-right: 10px;

}

.form_input:disabled{
  background: #e9ecef;
}

.form_group_unite{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;  
}

.form_input_unite{
  width: 1%;
  position: relative;
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}


.form_input_middle{
  width: 1%;
  position: relative;
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-right: 0;
  border-left: 0;
}

.form_input_multiple_choix{
  height: 25vh;
  max-height: 40vh;
}

.form_item_prefix{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: .375rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.form_item_middle{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: .375rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.form_item_unite{
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  padding: .375rem .75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  text-align: center;
  white-space: nowrap;
  background-color: #e9ecef;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.form_input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form_input::placeholder {
  color: #bbbbbb;
}

.form_input--error {
  color: #d50000;
  background: #fff8f8;
  border-color: #d50000;
}

.form_input--error::placeholder {
  color: #ffbfbf;
}

.form__error {
  padding-top: 10px;
  color: #d50000;
  font-size: 0.9em;
  visibility: hidden;
}

.form_input--error + .form__error {
  visibility: visible;
}

.form_input--small {
  max-width: 250px;
}

textarea.form_input {
  resize: none;
  min-height: 200px;
}

.form_btn {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 16px;
  margin: 10px 0;
  margin-top: 50px;
  width: 100%;
  color: #ffffff;
  background: #99ccff;
  border: 2px solid #99ccff;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  text-align: center;
}

.form_btn:hover {
  background-color: #7fa7d1;
  border-color: #7fa7d1;

}

.bouton_suppression{
  background-color: red;
  border: 2px solid red;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.bouton_suppression:hover{
  background-color: #ac0000;
  border-color: #ac0000;
}


.bouton_plus{
  background-color: green;
  border: 2px solid green;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.bouton_plus:hover{
  background-color: #015601;
  border-color: #015601;
}


@media only screen and (max-width:900px) {
  .form_item , .form_row{
    width: 90%;
  }
}


.bouton_ajout_div {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}


.bouton_ajout {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  padding: 10px 16px;
  margin: 10px 0;
  margin-right: 2.5%;
  flex-basis: 10%;
  max-width: 190px;
  color: #ffffff;
  background: #99ccff;
  border: 2px solid #99ccff;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  align-self: right;
}

.bouton_ajout:hover {
  background-color: #7fa7d1;
  border-color: #7fa7d1;

}


/*navbar*/

.dropzone{
  width: 100%;
  border: 2px solid #99ccff;
  height: 100px;
  text-align: center;
  margin-bottom: 10px;
}


.navbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 8vh;
  background-color: #000;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  font-size: 13pt;
  z-index: 5;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.nav-item{
  margin: auto;
  text-decoration: none;
  display: inline-block;
  margin-left: 10px;
}

.navbar-logo{
  flex-basis: 10%;
}

.navbar-principale{
  flex-basis: 75%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}


.nav-link{
  text-decoration: none;
  color:white;
}

.logo{
  margin: auto 1vw;

}

@media only screen and (max-width:768px) {
  .ligne_bouton_nav{
    width: 30px;
    height:3px;
    background: white;
    margin: 7px;
  }

  .nav{
    justify-content: space-between;
  }

  .hamburger{
    margin: 2vh 3vw;
    display: inline-block;
    border: 1px solid white;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  .objet_navbar{
    display: none;
  }

  .nav_open{
    float: none;
    display: inline-block;
  }

  #toggle, #toggle_button {
    visibility: visible;
  }

.dropdown {
  display: flex;
  margin-right: 2vw;
}

}

.dropdown {
  position: absolute;
  right: 0;
  margin-right: 50px;
}


.dropdown-toggle {
  font-family: "Source Sans Pro", sans-serif;
  justify-content: flex-start;
  display: flex;
  align-items: center;
}

.logo_dropdown{
  margin-right: 10px;
}

.dropdown-menu {
  position: relative;
}

.ul_bouton_compte{
  margin-top: 10px;
  position: absolute;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: left;
  width: 200px;
  height: 80px;
  background: white;
  right: 0px;
  list-style: none;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.4s ease;
}

.dropdown-menu li {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropdown-menu li:hover {
  background-color: rgb(153, 204, 255);
  border-radius: 5px;
}

.dropdown-menu a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-decoration: none;
}

.dropdown button{
  background: none;
  text-decoration: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}


.bouton_compte_open{
  color: red;
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
  transform: translateY(0px);
  
}



/*table*/

td:hover {
  cursor: pointer;
  
}
tbody tr:hover td{
  cursor: pointer;
  background-color: var(--primary_opacity) !important;
/*  background-color: #ccc;*/
  /*border-bottom: solid 3px #007bff;*/
}

.colonne_action{
  width: 3%;
}

#bouton_plus{
  position: absolute;
  visibility: hidden;
  cursor: pointer;
  z-index:2;
  text-decoration: none;
}

.bouton_ligne{
  position: absolute;
  visibility: hidden;
  cursor: pointer;
  z-index:2;
  text-decoration: none;
  background-color: #007bff;
  height: 30px;
  width:40px;
  border: 2px solid #007bff;
  border-radius: 5px;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bouton_ligne ul {
  margin-top: 115px;
  position: absolute;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: left;
  width: 200px;
  height: 80px;
  background: white;
  left: 0px;
  list-style: none;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  
}

.bouton_ligne li {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bouton_ligne li a{
  text-decoration: none;
  color:black;
}

.bouton_ligne li:hover {
  background-color: rgb(153, 204, 255);
  border-radius: 5px;
}


#bouton_plus:active{
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.barre_bouton_plus{
  position: absolute;
  width: 100px;
  height:3px;
  left:8px;
  background-color: #007bff;
  visibility: hidden;

}


 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height *//* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 25%; /* Could be more or less, depending on screen size */
  max-height: 80%;
  border-radius: 8px;
}

.modal-content2 {
  max-height: 80%;
  overflow-y: scroll;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 
table{
  width: 100%;
  border-collapse: collapse;
  border-style: hidden;
  margin: auto;
  position: relative;

}


thead{
  border-radius:20px;
}

th, td {
  padding: 5px;
  text-align: left;
  border : solid 1px #ccc;
}

th{
  font-weight: bold;
  font-size: 13pt;
  position: sticky;
  top:0px;
  background-color: #485e75;
  background-color: #99CCFF;
  background-color: #343a40;
  color: white;
  z-index: 1;
}


.wrapper {
  width: 95%;
  margin: auto;
  height: auto;
  max-height: 80vh;
  overflow-y: auto;
  border : solid 1px #ccc;
  border-radius:5px;
}


/*alert*/

.alert{
  top:10px;
  position: absolute;
  padding: 0.75rem 1.25rem;
  left: 50%;
  transform: translate(-50%,0);
  text-align: center;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  z-index: 10;
}

.close{
  margin-left: 10px;
  font-size: 20px;
  color:black;
  cursor: pointer;
}

.info{
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.success{
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.warning{
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.danger{
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* modal , barre d'outil