/*------------------------------------------------------------------------------
  Styles pour l'affichage de la carte des sorties botaniques.
------------------------------------------------------------------------------*/
html, body {
    width: 100%; height: 100%; padding: 0; margin: 0;
}
body {
    display: flex; flex-direction: column; justify-content: start; 
}
header { 
    flex: 0 0 auto;                   /* Se rapporte au container flex père (body) */
    display: flex;                    /* Se rapporte au contenu de header */
    flex-flow: row nowrap; 
    justify-content: space-between;   /* alignement sur l'axe principal (horizontal) )*/
    align-items: center;              /* alignement sur l'axe perpendiculaire */
 }
header img   {margin-left: 2%; padding: 5px; height: 90px;}
header > div {display: flex; flex-flow: column nowrap; 
              justify-content: flex-start;   /* alignement sur l'axe principal (vertical) )*/
              align-items: center;           /* alignement sur l'axe perpendiculaire */
              margin: 0 10px 0 10px;
}
header h2    {display: block; margin: 0; padding: 0;
              text-align: center; white-space: nowrap;}

header h3    {display: block; margin: 0; padding: 0;
              text-align: center; white-space: nowrap;}

#map {
    width:90%; margin:10px 5% 10px 5%; height:300px;
    border: solid red; 
    flex-shrink: 0;
    }
    
p   {
    width:90%; margin:10px 5% 10px 5%;
    }
#tableTitre {width:calc(90% - 17px);   /* Dimension calculée pour aligner les colonnes avec
                                          la table dans divListe malgré l'ascenseur du div */
             margin:10px 5% 0px 5%; border-collapse: collapse;}

#divListe {
    width:90%; margin:0 0 5vh 5%; height: fit-content;
    overflow-y: scroll;
    border-bottom: 1px solid red;
    border-left: 1px solid red;
    }

#tableListe {width:100%; margin:0; border-collapse: collapse;}
td,th {border:1px solid red; padding:5px; text-align:center;}

.col1 {width:15%;}
.col2 {width:70%; text-align:left;}

tr:nth-child(even) {background-color: #D6AAAA;}
tr:hover {background-color: #DDEEEE;}
