@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
  max-width:100%;
  height: 100%;
  display: block;
  margin: 0.3rem;
  margin-top:0px;
  padding: 0;
  margin-left:-1px;
  margin-right:-1px;
  margin-bottom:2px;
  font-family:times new romain;
  background-color:#f2f2f2;
  
  
}
@media print {
  body * {
    visibility: hidden;
  }
  table, table * {
    visibility: visible;
  }
  table {
    position: absolute;
    left: 0;
    top: 0;
    border-collapse: separate; /* Ajouter une bordure entre les cellules */
    border-spacing: 5px; /* Espacement entre les cellules */
  }
  .container h4 {
    display: block;
    visibility: visible;
  }
}


/* BASIC */
.session h6{
	float : right;
	margin-top: 3px;
	color : white;
	margin-right :10px;
	
}

/* STRUCTURE */
.sidebar {
	float: left;
	width: 20%;
  background-color: #003066; 
	color: white;
	padding: 5px;
	height: calc(104vh - 212px);
}
.sidebar ul{
	margin-left:-15%;
	font-weight:bold;
}
.sidebar h2{
	color:white;
	font-family:times new romain;
	margin-left : 25%;
}


.sidebar a[href="sign.php"]:hover {
    background-color: #f00;
    color: #fff;
}
.sidebar a{
	text-decoration:none;
}
.sidebar.hidden {
  display:none;
}
.sidebar-toggle-button {
  position: fixed;
  top: 142px;
  left: 5px;
  z-index: 999;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: white;
}

.sidebar-toggle-button i {
  font-size: 28px;
}

.sidebar-toggle-button:hover {
  color: black;
}
 /* Style de base pour la table */
 table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  text-align: center;
}
.bouton{
  background-color : #003066;
  color: white;
  height: 2rem;
  border-radius: 2px;
  padding:3px;
  border-radius:7px;
  letter-spacing: 1px;
  text-decoration: none;
  border: 1px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 2.5rem;
  }

/* Style des cellules de la table */
th, td {
  border: 1px solid #ddd;
  padding: 3px;
  text-align: left;
  cursor: pointer;
  text-align: center;
}

/* Style de l'en-tête de la table */
th {
  color: white;
  font-weight: bold;
  background-color: #003066;
}

tr:nth-child(odd) {
  background-color: #e6e6e6;
}

/* Style des liens dans la table */
a {
  text-decoration: none;
  color: inherit;
}

/* Style des options dans la liste déroulante */
table select {
  width: 100%;
  border-radius: 5px;
  background-color: #f6f6f6;
  cursor: pointer;
  text-align: center;
}

/* Style pour les actions dans la liste déroulante */
option {
  padding: 10px;
}
@media(max-width:1080px){
/* Style pour la sélection de ligne au survol */
tr:hover {
  background-color: #cce6ff;
}
}
/* Media query pour la rendre responsive */
@media (max-width: 1080px) {
  /* Mettre la table en largeur 100% */
  table {
    width: 100%;
  }
  .none-mobile{
      display: none;
  }
}


.container {
    display: flex;
    flex-direction: column;
    height: calc(104vh - 212px);
    padding: 20px;
    background-color:#f6f6f6;
    margin-bottom:0;
    width:100%;
    overflow-y: scroll;
	text-align:center;
	
}
#resultats {
    display: none;
    flex-direction: column;
    height: calc(104vh - 212px);
    padding: 20px;
    background-color:#f6f6f6;
    margin-bottom:0;
    width:100%;
    overflow-y: scroll;
	
}


	
	

container h1, h2, h3{
	color:#003066;
}


container p{
	color: #003066;
}

.dashboard a{
	font-size:20px;
	color:#003066;
	line-height: 12px;
	
}
.wrapper-nav {
  display: flex;
  
}
.wrapper {
  display: flex;
 
  margin-top: -16px; 
  width: 100%;
}


.container h1, h2 {
	color:#003066;
	font-family:times new romain;

}

.container h3{
	color:red;
}

.text-red {
  color: red;
}



.toggle-btn {
  display: none; /* masquer le bouton sur grand écran */
}

/* afficher le bouton sur petit écran */
@media (max-width: 768px) {
  .toggle-btn {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
  }
}

/* styles pour le sidebar rétracté */
.wrapper.retracted #sidebar {
  width: 0;
}

.wrapper.retracted #content {
  margin-left: 0;
}

/* styles pour le bouton du sidebar rétracté */
.wrapper.retracted .toggle-btn span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.wrapper.retracted .toggle-btn span:nth-child(2) {
  opacity: 0;
}

.wrapper.retracted .toggle-btn span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  margin: 0 auto; /* centrer horizontalement */
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}


#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
  /* margin-bottom: 150px; */
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

.buttn{
	display: block;
	width:auto;
    padding: 10px;
    background-color:transparent;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-left:1px;
	margin-top: 10px;
	text-align:left;
}

.buttn:hover {
	
background-color: white;
color:#003066;
	
}
.buttn.active {
  background-color: #313a3a;
  color: white;
  cursor:default;
}


input[type=button], input[type=submit]  {
   background-color: #003066;
    border: none;
    color: white;
    height: 2.3rem;
    width: 20%;
    text-align: center;
    text-decoration: none;
    display: block; /* Utiliser un bloc pour centrer horizontalement */
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin-left: auto; /* Centrer horizontalement avec les marges */
    margin-right: auto; /* Centrer horizontalement avec les marges */
	cursor:pointer;
  
}

input[type=button]:hover, input[type=submit]:hover  {
  background-color: #313a3a;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text] {
    background-color: white;
    border: 1px solid #003066;
    color: #0d0d0d;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    height: 15px;
    border: 0.5px solid grey;
    border-radius: 5px 5px 5px 5px;
}
input[type=password] {
    background-color: white;
    border: 1px solid #003066;
    color: #0d0d0d;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    height: 15px;
    border: 0.5px solid grey;
    border-radius: 5px 5px 5px 5px;
}
.toggle-password {
  position: relative;
  cursor: pointer;
  margin-left: -25px;
  margin-right: 5px;
  color: #999;
}

.toggle-password i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#mot_de_passe_input[type="password"] {
  padding-right: 30px;
}


input[type=text]:focus {
    border-color: #003066;
    outline: none;
}
input[type=text]:placeholder {
  color: #cccccc;
}
text

input[type=email] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 50%;
  height:15px;
  border: 2px solid grey;
  border-radius: 5px 5px 5px 5px;
}

input[type=email]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=email]:placeholder {
  color: #cccccc;
}

textarea {
    background-color: #FFFFFF;
    border: 1px solid #003066;
    color: #0D0D0D;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    height: 100px; /* Ajustez la hauteur selon vos besoins */
    border: 0.5px solid grey;
    border-radius: 5px;
	font-family:times new romain;
}

textarea:focus {
    border-color: #003066;
    outline: none;
}



/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

.slideInLeft {
  animation-name: slideInLeft;
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}



/* OTHERS */

*:focus {
    outline: none;
} 

#icon {
  width:60%;
}

* {
  box-sizing: border-box;
}






/* Styles pour l'élément select */
select {

  width: 85%;
  height: 36px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #003066;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align:center;
  
  
}

input[type=date] {
	text-align:center;
	    width: 85%;
    height: 36px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #003066;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
	

}


/* Styles pour les options de l'élément select */
select option {
  color: black;
  background-color: #fff;
}

/* Styles pour l'élément select lorsqu'il est en focus */
select:focus {
  border-color: #313a3a;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

/* Style pour les inputs de type "number" */
input[type="number"] {
  width: 50px; /* Largeur du champ */
  padding: 8px; /* Espacement interne */
  font-size: 14px; /* Taille de police */
  border: 1px solid #ccc; /* Bordure */
  border-radius: 4px; /* Bordure arrondie */
  background-color: #fff; /* Couleur de fond */
  color: #003066; /* Couleur du texte */
  border: solid 1px grey;
}

/* Style pour les boutons de contrôle des inputs de type "number" */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Désactiver l'apparence par défaut des boutons */
  margin: 0; /* Supprimer la marge par défaut */
}

/* Style pour les boutons de contrôle des inputs de type "number" dans Firefox */
input[type="number"] {
  -moz-appearance: textfield; /* Restaurer l'apparence par défaut des boutons dans Firefox */
}
/* Style pour les champs en ligne */
.inline-fields {
  display: flex; /* Utiliser le modèle d'affichage flex */
  align-items: center; /* Aligner verticalement les éléments sur la ligne */
  margin-bottom :2rem;
}

.inline-fields label,
.inline-fields select {
  margin-right: 10px; /* Marge à droite entre les éléments */
}

button[type=submit] {
    background-color: #003066;
    border: none;
    color: white;
    height: 2.3rem;
    width: 20%;
    text-align: center;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}
input[type=number]{
	text-align:center;
}

