@import "w3.css";
@import "https://fonts.googleapis.com/icon?family=Material+Icons";

* {
    font-family: 'Georgia', 'Palatino Linotype', 'Times New Roman', serif;
}
a {
    text-decoration: none;
}
ul {
    list-style-type: none;
}

.bouton-rond {
    width: auto;
    padding: 0.4rem;
}
.controle-hauteur {
    height: 2.25rem; /* hauteur d'un input de type texte; pour ajuster contrôles de formulaires qui n'ont pas la bonne hauteur (comme <select>) */
}
.margin0 {
    margin: 0;
}
.marge-droite-petite {
    margin-right: 8px; /* 'px' par cohérence avec w3.css */
}
.marge-gauche-auto {
    margin-left: auto;
}
.padding0 {
    padding: 0;
}

.petites-maj {
    font-variant: small-caps;
}

.raturable {
    position: relative;
}
.rature::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: .1rem;
    background-color: black;
    transform: translateY(-50%);
    z-index: 1;
}

.flex-r-s-c {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.flex-r-spb-c {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.flex-c-s-c {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.flex-c-s-s {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.flex-c-s-str {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}
.flex1 {
    flex: 1;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body > header {
    background-image: url('/ressources/images/fond_haut.jpg');
    background-position: center;
    background-size: cover;
}

.logo a div:first-child {
    text-transform: uppercase;
}
.logo div {
    white-space: nowrap;
}
.session_utilisateur input {
    width: 9rem;
}
ol.miettes li + li:before {
    content: '>';
    margin-right: .5rem;
}

main {
    box-sizing: border-box;
    height: calc(100% - 6.2rem - 1.8rem);
    margin-top: 6.2rem;
    margin-bottom: 1.8rem;
    overflow-y: auto;
}

.h1-retour {
    position: relative; /* Positionnement relatif permet positions absolues pour enfants */
}
.h1-retour h1 {
    position: absolute; /* Positionnement absolu pour centrer */
    left: 50%; /* Déplacer vers la moitié de la largeur de .h1-retour */
    transform: translateX(-50%); /* Déplacer de moitié de sa propre largeur vers la gauche */
    text-align: center; /* Centrer le texte à l'intérieur de h1 */
}

ul.verticale li + li article.tuile {
    border-top-style: none!important; /* important pcq les définitions dans w3.css le sont aussi et ça me bloqqqqque */
}

@media only screen and (min-width: 993px) { /* l */
}
@media only screen and (min-width: 601px) and (max-width: 992px) { /* m */
}
@media only screen and (max-width: 600px) { /* s */
    .flex-c-s-s-small {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}







article.plante {
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: stretch;
    margin-bottom: .25em;
}
article.plante div:first-child {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
article.plante div:first-child > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
article.plante div + div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}
ul.semences-plante li {
    margin-bottom: .25em;
}
ul.semences-plante li {
    margin-bottom: .25em;
}
article.plante .mention_photo {
    margin-top: auto;
}

