html {
  cursor: url("img/pointer32.png"), default;
}

label {
  cursor: url("img/pointer32.png"), pointer;
}

a,
input[type="submit"],
input[type="date"],
input[type="button"],
button {
  cursor: url("img/link32.png"), pointer;
}

a:hover {
  cursor: url("img/link32.png"), pointer;
}

input[type="text"],
input[type="password"] {
  cursor: url("img/text32.png"), text;
}

header {
  background-image: url("img/BARRE-ORDI.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

header h2 {
  color: #0c688e;
  font-size: 2em;
}

.header1 {
  background-image: url("img/BARRE-ORDI.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.header2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

body {
  background-image: url("img/FOND-BLEU-A.jpg");
  margin: 0 auto;
  text-align: center;
  font-family: "Roboto Condensed", sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a:active {
  cursor: url("img/busy.ani"), wait;
}

a:active::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: url("img/busy.ani"), wait;
  animation: cursor-reset 0.1s linear forwards;
}

@keyframes cursor-reset {
  0% {
    cursor: url("img/busy.ani"), wait;
  }

  100% {
    cursor: url("img/link32.png"), pointer;
  }
}

.clear {
  clear: both;
}

.logo {
  width: 10%;
  height: 10%;
}

.lighter {
  font-weight: lighter;
}

h1 {
  color: #0c688e;
  font-size: 3em;
  margin-block-start: 0;
  margin-block-end: 0;
}

h2 {
  color: #ccc917;
  font-size: 2em;
}

h3 {
  color: white;
}

.textcolor {
  color: white;
}

.textcolor1 {
  color: #ccc917;
}

.titremypage {
  color: #ccc917;
  font-size: 2em;
  text-decoration: none;
}

.DL {
  color: #0c688e;

  text-decoration: underline;
}

/* Formulaire de connexion */
.connexion {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 50%;
}

input,
select,
button {
  margin: 10px;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #0c688e;
  background: white;
}

input:hover,
select:hover {
  border: 1px solid #ccc917;
}

input:focus,
select:focus {
  border: 1px solid #ccc917;
  outline: none;
}

.error {
  color: red;
  font-size: 1em;
  font-weight: bold;
}

.success {
  color: #0c688e;
  font-size: 1em;
  font-weight: bold;
}

hr {
  height: 5px;
  background-color: #ccc917;
  border: none;
  background-image: linear-gradient(to right,
      rgba(214, 213, 37, 0),
      rgba(214, 213, 37, 1),
      rgba(214, 213, 37, 0));
  margin-top: 0;
  box-shadow: 0px 1px 4px black;
}

.retourMypage {
  color: #0c688e;
  background-color: #f4f4f4;
  border-radius: 30px;
  padding-right: 1em;
  text-decoration: none;
  font-weight: bolder;
  position: fixed;
  left: 10px;
  top: 10px;
  display: flex;
  align-items: center;
}

nav {
  /* border: lightgray 2px solid;
    border-radius: 15px; */
  margin-bottom: 1em;
}

nav div {
  font-size: 1.5em;
  font-weight: bold;
  color: #0c688e;
  text-align: center;
  padding: 10px;
  text-decoration: underline;
}

.menuMypage {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  list-style-type: none;
  max-width: 60%;
  margin: 0 auto;
  padding-left: 0;
}

.menuMypage li {
  border: 3px solid transparent;
  border-radius: 90px;
  background: white;
  color: #0c688e;
  text-align: center;
  padding: 30px;
  margin: 50%;
  margin: 0 auto;
  width: 150px;
  box-shadow: 10px 10px 10px black;
}

.menuMypage a {
  text-decoration: none;
  color: #fff;
  margin-bottom: 2em;
}

.menuMypage li:hover {
  background: white;
  border: 3px solid #ccc917;
  color: black;
}

/* Styles de base pour le tableau */
table {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 14px;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

/* Style des en-têtes de colonne */
th {
  background-color: #0c688e;
  color: #ffffff;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Style des cellules de données */
td {
  border-bottom: 1px solid #dddddd;
  padding: 10px;
  background: white;
  /* text-transform: uppercase; */
}

/* Style des cellules de données en survol */
tr:hover td {
  background-color: #ccc917;
  transition: all 0.5s ease-in-out;
}

td a {
  text-decoration: none;
  color: #0c688e;
  font-weight: bold;
}

td a:hover {
  color: black;
}

tbody {
  display: contents;
  height: 100px;
  width: 100%;
  overflow: auto;
  table-layout: fixed;
}

.filtres {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 1000px;
  margin: 0 auto;
}

.filtregroup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.filtre {
  font-weight: bold;
  color: #ccc917;
}

dialog {
  border: #0c688e 5px solid;
  border-radius: 15px;
  text-align: center;
  padding: 3em;
}

#formSupp,
#dialogDeleteDepartment,
#dialogDeleteFormation {
  border: red 5px solid;
}

.infoTrainingAttendance {
  border: #ccc917 2px solid;
  border-radius: 15px;
  text-align: center;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 1em;
}

.grise {
  color: grey;
}

.tabGrade tbody tr td:nth-child(6),
.tabGrade tbody tr td:nth-child(7) {
  font-weight: bold;
}

.tabGrade tbody tr td:nth-child(8) {
  text-decoration: underline;
}

.formGroup {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.form {
  display: flex;
  flex-direction: column;
}

.formCheckbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.formDay {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.formDay>div {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
}

.formDay>div>div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 10px;
}

/* Styles for the main container */
.bloc {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* Styles for the heading */
.bloc h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* Styles for the information divs */
.info {
  display: flex;
  flex-wrap: wrap;
  /* Permet le retour à la ligne si l'écran est trop étroit */
}

/* Styles for individual information blocks */
.blocInfo {
  flex: 1;
  margin-right: 10px;
}

/* Styles for paragraphs within information blocks */
.blocInfo p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
  text-align: left;
  /* Alignement à gauche */
  padding-left: 20%;
  /* Ajout d'un peu de marge à gauche */
  display: flex;
  align-items: center;
}

.underline {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.d-none {
  display: none !important;
}

/* pour affichage responsive */
@media screen and (max-width: 1350px) {
  .menuMypage {
    flex-direction: column;
    vertical-align: auto;
    justify-content: space-around;
    align-items: center;
  }

  .menuMypage li {
    margin: 15px;
  }
}