﻿
/* Styles pour les éléments de voeux */

#voeux {
    height: 120px;
    width: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
    margin: auto;
}


#rectangle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}


#texte1_voeux {
    color: green;
    position: absolute;
    top: 10px;
    width: 100%;
    font-weight: bold;
    font-size: x-large;
    animation: translation 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: 10;
}


@keyframes translation {
    from {
        transform: scale(0.5);
    }

    to {
        transform: scale(2);
    }
}

@keyframes couleur {
    from {
        color: black;
    }

    to {
        color: white;
    }
}


#texte2_voeux {
    position: absolute;
    top: 50px;
    width: 100%;
    font-weight: bold;
    font-size: x-large;
    z-index: 10;
}

#texte3_voeux {
    position: absolute;
    top: 80px;
    width: 100%;
    font-weight: bold;
    font-size: x-large;
    animation: couleur 0.1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: 10;
}

#neige1 {
    position: absolute;
    top: 0px;
    left: 0px;
    animation: neige1 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
}

#neige2 {
    position: absolute;
    top: 0px;
    left: 200px;
    animation: neige2 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
}

#neige3 {
    position: absolute;
    top: 0px;
    left: 400px;
    animation: neige3 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
}

#neige4 {
    position: absolute;
    top: 0px;
    left: 600px;
    animation: neige4 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
}


@keyframes neige1 {
    from {
        transform: translate(0,-100px);
    }

    to {
        transform: translate(50px,100px);
    }
}

@keyframes neige2 {
    from {
        transform: translate(0,-100px);
    }

    to {
        transform: translate(0,100px);
    }
}

@keyframes neige3 {
    from {
        transform: translate(0,-100px);
    }

    to {
        transform: translate(50px,100px);
    }
}

@keyframes neige4 {
    from {
        transform: translate(0,-100px);
    }

    to {
        transform: translate(0,100px);
    }
}


/* Styles pour les éléments de bandeau */

#bandeau {
    height: 120px;
    width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
    margin: auto;
}


#rectangle {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}


#texte1_bandeau {
    color: green;
    position: relative;
    top: 10px;
    margin: auto;
    font-weight: bold;
    font-size: x-large;
    animation: translation 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: 10;
}


#texte2_bandeau {
    position: relative;
    top: 20px;
    margin: auto;
    font-weight: bold;
    font-size: x-large;
    z-index: 10;
}

#texte3_bandeau {
    position: relative;
    top: 30px;
    margin: auto;
    font-weight: bold;
    font-size: x-large;
    animation: couleur 0.1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
    z-index: 10;
}


/* Styles pour le téléchargement */

#telechargement {
    padding: 20px;
    width: 75%;
    margin: auto;
    text-align: center;
    background-image: url('../../images/sky.jpg');
    clear: left;
}


/* Styles pour Facebook */

#facebook {
    width: 375px;
    margin: auto;
    height: 26px;
    color: #4E6CA4;
    font-weight: bold;
    line-height: 26px;
    vertical-align: middle;
    text-align: center;
}


/* Styles pour ele calendrier et les jours fériés */

#calendrier {
    margin: 20px 20px 20px 50px;
    width: 250px;
    float: left;
}

#feries {
    margin: 20px auto 20px auto;
    width: auto;
}


/* Styles pour le mot de la page */

#Mot_accueil {
    width: 90%;
    font-family: 'Times New Roman';
    border: 1px solid #000000;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

    #Mot_accueil div {
        width: 125px;
        text-align: center;
        background-color: #FFFFFF;
        position: absolute;
        top: -15px;
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
    }


/* Styles pour le message de bienvenue */

#bienvenue {
    margin: auto;
    text-align: center;
}


/* Styles pour le compteur */

#compteur {
    text-align: center;
    font-style: italic;
}


/* Styles pour le texte défilant */

#textedefilant {
    width: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    overflow: hidden;
    margin: auto;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    background-color: #FFFF00;
}

    #textedefilant div {
        animation-name: texte;
        animation-duration: 12s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-direction: alternate;
        left: 0px;
        width: 800px;
        color: blue;
        font-family: Arial;
        font-size: 14px;
        position: absolute;
    }

@keyframes texte {
    from {
        left: 0px;
    }

    to {
        left: 100%;
    }
}


/* Styles pour le commentaire long */

#Commentaires {
    text-align: center;
}

.boxcommentaire {
    border: thin solid #000000;
    overflow: auto;
    font-family: "Times New Roman";
    font-style: italic;
    color: #008000;
    background-color: #FFFFCC;
    width: 600px;
    height: 300px;
    font-size: large;
}


/* Styles pour les livres */

.previous {
    width: 30px;
    position: absolute;
    top: 75px;
    left: 0px;
    height: 50px;
    opacity: 0.5;
}

    .previous:hover {
        opacity: 1;
    }

.next {
    position: absolute;
    width: 30px;
    top: 75px;
    right: 0px;
    height: 50px;
    opacity: 0.5;
}

    .next:hover {
        opacity: 1;
    }

#defilement_titre {
    text-align:center;
}

#defilement table {
    position: absolute;
    height: 200px;
    width: 700px;
    left: 100px;
    text-align: center;
    margin-bottom: 0px;
}

    #defilement table input {
        border: 1px solid #FFFFFF;
        vertical-align: middle;
        max-width: 100px;
        max-height: 180px;
    }

        #defilement table input:hover {
            border: 1px solid #000000;
            opacity: 0.5;
        }

#photos {
    margin: 20px auto 20px auto;
    border: 2px solid #000000;
    width: 900px;
    height: 220px;
    position: relative;
}

#affichage_photos {
    margin: 20px auto 20px auto;
    border: 2px solid #000000;
    width: 900px;
    height: 510px;
    clear: left;
    background-color: #FFFFFF;
    text-align: center;
}

    #affichage_photos img {
        max-height: 496px;
        max-width: 896px;
    }

    #affichage_photos p {
        padding: 0px;
        line-height: 500px;
        margin: 0px;
    }

#commentaires_blog {
    margin: 20px auto 20px auto;
    border: 2px solid #000000;
    max-width: 900px;
    clear: left;
    background-color: #FFFFFF;
    text-align: center;
}

#commentaires_blog_saisie {
    margin: 20px auto 20px auto;
    border: 2px solid #000000;
    width: 900px;
    background-color: #FFFFFF;
    text-align: center;
}


/* Styles pour le livre à feuilleter */

#previoushaut {
    width: 30px;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 50px;
}

#previousbas {
    width: 30px;
    position: absolute;
    left: 0px;
    height: 50px;
    bottom: 0px;
}

#nexthaut {
    position: absolute;
    width: 30px;
    top: 0px;
    right: 0px;
    height: 50px;
}

#nextbas {
    position: absolute;
    width: 30px;
    right: 0px;
    height: 50px;
    bottom: 0px;
}

#livre {
    padding: 0px;
    margin: 20px auto 20px auto;
    border: 2px solid #000000;
    width: 800px;
    overflow: hidden;
    position: relative;
    height: 1200px;
    background-color: #FFFFFF;
}

    #livre p {
        padding: 0px;
        margin: 0px;
        line-height: 1200px;
        text-align: center;
        vertical-align: middle;
    }

    #livre img {
        vertical-align: middle;
        max-width: 800px;
        max-height: 1200px;
    }

