/* =========================================================
   dillenschneider.fr - css/site.css
   Styles communs extraits des pages du site
   ========================================================= */

/* Menu / navigation */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f2f2f2;
}

li {
    float: left;
}

li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover {
    background-color: cyan;
}

/* Ligne fixe en haut */
.ligne-en-HAUT {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
}

/* Variante rencontrée dans quelques anciennes pages */
.ligne-en-haut {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
}

/* Menu supérieur fixe */
.menu {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f2f2f2;
    z-index: 1000;
}

.menu a {
    padding: 10px;
}

.menu img {
    height: 30px;
    width: auto;
}

/* Barre fixe en bas */
.ligne-en-bas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ligne-en-bas p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

/* Classes historiques utilisées par certaines pages */
span.c1 {
    color: #0110AA;
}

div.c1 {
    text-align: center;
}

div.c2 {
    text-align: center;
}

div.c3 {
    text-align: left;
}

div.c4 {
    text-align: right;
}

/* Texte clignotant */
.clignote {
    color: #b30000;
    animation: clignote 5s linear infinite;
}

@keyframes clignote {
    50% {
        opacity: 0;
    }
}

/* Affichage mobile */
@media (max-width: 600px) {
    .ligne-en-bas {
        width: 100vw;
        box-sizing: border-box;
    }

    .ligne-en-bas p {
        font-size: 12px;
        padding: 0 10px;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
    }

    body {
        overflow-x: hidden;
    }
}
