html {
    --angle: 18px; /*variable*/
}

h2 {
    font-family: var(--titre-petit); /*police type*/
    font-size: var(--32); /*police taille*/
}

/*----------------TABLEAU----------------*/

table {
    width: 80%; /*largeur*/
    margin: 0px auto; /*marge extérieur*/
    margin-bottom: 60px; /*marge extérieur bas*/
	border: 8px solid var(--blanc); /*bordure tout en un*/
    border-radius: 26px; /*bordure arrondi*/
    border-spacing: 0; /*espace entre cellule*/
    overflow: hidden; /*texte débortement*/
    background-color: var(--blanc); /*couleur du fond*/
}

th {
    padding: 20px 0px; /*marge intérieur*/
    font-family: var(--texte-gras); /*police type*/
    font-size: var(--16); /*police taille*/
    text-transform: uppercase; /*texte transformer*/
    line-height: 1; /*espace entre ligne*/
    border: 1px solid #af0532; /*bordure tout en un*/
}

th:first-child {
    width: 10%; /*largeur*/
}

th:not(:first-child) {
	width: calc((100% - 10%) / 4);
}

td {
    height: 60px; /*hauteur*/
    font-family: var(--texte); /*police type*/
    font-size: var(--12); /*police taille*/
    border: 1px solid var(--gris-220); /*bordure tout en un*/
}

.cours {
    padding: 10px; /*marge intérieur*/
    margin-bottom: 0px; /*marge extérieur bas*/
    font-family: var(--texte-gras); /*police type*/
}

.cours span {
    display: block; /*apparition des balises*/
    font-family: var(--texte); /*police type*/
    font-size: var(--11); /*police taille*/
}


/*----------------TABLEAU ARRONDI----------------*/

table tr:first-child th:first-child {
    border-top-left-radius: var(--angle); /*bordure arrondi haut gauche*/
}

table tr:first-child th:last-child {
    border-top-right-radius: var(--angle); /*bordure arrondi haut droit*/
}

table tr:last-child td:first-child {
    border-bottom-left-radius: var(--angle); /*bordure arrondi bas gauche*/
}

table td.coin {
    border-bottom-right-radius: var(--angle); /*bordure arrondi bas droit*/
}

/*----------------COMPACT----------------*/

.planning-compact {
    display: none; /*apparition des balises*/
}