.main_frame {
	text-align: center;
}
button.menu {
	width: 50%;
	padding: 10px;
	border-width: 4px;
	border-radius: 5px;
	display: block; /* Chaque bouton sur une nouvelle ligne */
	margin: 0.5em auto; /* `auto` pour centrer horizontalement, 0.5em pour l'espacement vertical */
}
.menu--space-bottom {
    margin-bottom: 2em !important;
}

.affichage_eval {
	text-align: left;
}

form.login {
	display: flex;
    flex-direction: column; /* Affiche les éléments en colonne */
    max-width: 300px; /* Largeur maximale du formulaire */
    margin: 0 auto; /* Centre le formulaire dans la page */
    /*gap: 10px; /* Espace entre les éléments */
    padding: 20px;
}

input[type=submit] {
	border: solid  1px  darkmagenta;
	padding: 15px;
	margin-bottom: 10px;
	outline: none;
	border-radius: 7px;
}
input[type=button].bigbutton {
	border: solid  1px  darkmagenta;
	padding: 15px;
	margin-bottom: 10px;
	outline: none;
	border-radius: 7px;
}

input[type=text], [type=password] {
	border: solid  1px  darkmagenta;
	margin-bottom: 10px;
	padding: 16px;
	outline: none;
	border-radius: 7px;
}

.tablebutton {
	vertical-align : middle;
	width : 100%;
}
table.tableau_classes {
	border: solid 3px #00A0FF;
}
table.tableau_exercices {
	border: solid 3px #00A0FF;
	width: 100%;
}
table.tableau_chooseButton {
	border: solid 3px #00A0FF;
}

th,td {
	border: solid 1px black;
}
th.noborder,td.noborder {
	border: none;
}
table.tableau_evals {
	margin: auto;
	border: none; /*solid 3px black;*/
}
.selected {
	border: solid 5px rgb(163, 3, 30);
}
.icon-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.icon-container a {
	display: block;
	margin: 5px 0;
}
.icon-container img {
	width: 24px;
	height: 24px;
}
.left-aligned {
	text-align: left;	
}
.stick_to_right {
	float: right;
}

.stretch_from_left {
	flex-grow: 1; /* Permet au bouton de s'étendre pour prendre l'espace disponible */
	margin-right: 5px; 
}

.button-container {
	display: flex;
	width: 100%;
}
.button-container-right {
	display: flex;
	justify-content: flex-end; /* Aligne les éléments enfants à droite */
  	gap: 10px; /* Ajoute un espace entre les boutons */
	width: 100%;
}
.button-container-mid {
	display: flex;
	justify-content: center; /* Aligne les éléments enfants à droite */
  	gap: 10px; /* Ajoute un espace entre les boutons */
	width: 100%;
}

.exo_select {
	width: 100%;
	display : flex;
}
.exo_categorie {
	color: blueviolet;
}

table.classesEtDates {
    /*width: 100%;               /* Prend toute la largeur disponible */
    table-layout: auto;        /* Largeur des colonnes ajustée automatiquement */
    border-collapse: collapse; /* Évite les espaces entre les cellules */
}

/* Style pour les TD (définit le comportement des conteneurs) */
td.displayH {
	vertical-align: top;
	padding: 5px;
}
td.displayH .tdligne {
display: inline-block;  /* Affichage horizontal */
margin: 2px;
white-space: nowrap;    /* Pas de retour à la ligne */
}

td.displayV {
vertical-align: top;
padding: 5px;
}
td.displayV .tdligne {
display: block;         /* Affichage vertical (une ligne par div) */
margin: 2px 0;
}

/* Style commun pour les inputs dans .tdligne */
.tdligne input[type="button"] {
vertical-align: middle;
}
.tdligne input[type="date"] {
vertical-align: middle;
margin-left: 5px;  /* Espacement entre le bouton et le datepicker */
}

h3 {
    display: block;
    font-size: 1.17em; /* Taille relative, souvent ~18.72px si la taille de base est 16px */
    margin-top: 2em;
    margin-bottom: 0.3em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

.bouton-lien {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #007BFF; /* Bleu par défaut, à personnaliser */
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    text-align: center;
    transition: background-color 0.3s;
}

.bouton-lien:hover {
    background-color: #0056b3; /* Effet au survol */
}
