@media print{
  body{
      width: 21cm;
      height: 29.7cm;
  }
}

div.but_bul_court_links {
  margin-left: 16px;
  margin-bottom: 16px;
}

div.but_bul_court {
  /* width: 17cm; */
  display: grid;
  font-size: 11pt;
  grid-template-columns: 6cm 11cm;
  margin-left: 16px;
}

#infos_etudiant {
  grid-column: 1;
  grid-row: 1;
  border-radius: 3mm;
  border: 1px solid black;
  background-color: white;
  padding: 5mm;
}
.nom {
  font-weight: bold;
  font-size: 14pt;
}


#logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

#logo img {
  text-align: right;
  height: 3cm;
}

#assiduite {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  margin-top: 5mm;
  margin-bottom: 5mm;

  background-color: rgb(245, 237, 200);
	align-items: baseline;
  border: 1px solid black;
	padding: 4px 8px;
	border-radius: 3mm;
	display: grid;
	grid-template-columns: auto auto;
	column-gap: 4px;
	flex: none;
}
#assiduite > div > div:nth-child(2n) {
	text-align: right;
  font-weight: normal;
}
#assiduite .ligne-entete {
    grid-column: 1/3;
    color: black;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}
#assiduite abs {
  font-weight: bold;
}

div.but_bul_court table {
  border-collapse: collapse;
  border: 2px solid black; 
}

div.but_bul_court table th,
div.but_bul_court table td {
  background-color: white;
  border: 1px solid black; /* Thin black border between cells */
  padding: 2px 4px 2px 4px; /* Padding inside the cells */
}

table td.col_ue {
  width: 18mm;
}

#ues {
  grid-row: 2;
  grid-column: 1/3;
  justify-self: end;
  margin-top: 5mm;
  margin-bottom: 5mm;
}

#ues tr.titre_table th {
  background-color: rgb(183,235,255);
  padding: 2mm;
}

tr.titres_ues td, tr.jury td {
  font-weight: bold;
}

table.resultats_modules {
  width: 100%;
}

#ressources {
  grid-row: 3;
  grid-column: 1/3;
  margin-bottom: 5mm;
  width: 100%;
}
#ressources tr.titres_ues td:first-child {
  background-color: rgb(255, 192, 0);
} 
#saes {
  grid-row: 4;
  grid-column: 1/3;
  margin-bottom: 5mm;
  width: 100%;
}
#saes tr.titres_ues td:first-child {
  background-color: rgb(176, 255, 99);
}

#row_situation {
  grid-row: 5;
  grid-column: 1/3;
  display: grid;
  grid-template-columns: auto auto;
}
#cursus_etud, #situation {
  grid-row: 1;
}
#situation {
  background-color: white;
  justify-self: end;
  margin-left: 1cm;
  border-radius: 3mm;
  border: 1px solid black;
  padding: 5mm;
}

#footer {
  grid-row: 6;
  grid-column: 1/3;
  margin-top: 5mm;
  font-size: 9pt;
  font-style: italic;
}

.but_bul_court .cursus_but {
  margin-left: 0px;
}