﻿/****************************************************************************/
/********************************** Général *********************************/
/****************************************************************************/


#contenu {
    margin: 20px;
}

.formulairedata {
    display: block;
    background-color: #CCFFCC;
    border: thin solid #000000;
    padding: 20px;
    margin: 10px auto 10px auto;
    width: 75%;
}

.titre {
    border-radius: 20px;
    margin: 20px auto 20px auto;
    text-align: center;
    border-style: solid;
    border-color: #008000;
    background-color: #CCCCCC;
    font-weight: bold;
    width: 50%;
    height: 50px;
    line-height: 50px;
    text-transform: uppercase;
}

.soustitre {
    margin: 20px auto 20px auto;
    text-align: center;
    background-color: #66CCFF;
    font-weight: bold;
    width: 500px;
    height: 30px;
    line-height: 30px;
    text-decoration: underline;
}

.tableau {
    border: 2px solid #000000;
    margin: 25px 25px 25px 0px;
    width: 100%;
}

    .tableau tr {
        text-align: center;
    }

    .tableau td {
        border: 1px solid #000000;
    }


/****************************************************************************/
/********************************** Erreur **********************************/
/****************************************************************************/


#erreur {
    margin: 25px;
}


/****************************************************************************/
/********************************* TreeView *********************************/
/****************************************************************************/


.trieview {
    line-height: 40px;
    text-align: center;
}


/****************************************************************************/
/********************************* TreeView *********************************/
/****************************************************************************/

#ctrl_listview {
    width: 1000px;
    margin: auto;
}


/****************************************************************************/
/******************************** Pagination ********************************/
/****************************************************************************/


.page {
    margin: 5px;
    padding: 5px;
    display: inline-block;
    text-decoration: none;
    width: 20px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    color: black;
}


.pageactive {
    background-color: black;
    margin: 5px;
    padding: 5px;
    display: inline-block;
    text-decoration: none;
    width: 20px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    line-height: 20px;
    color: white;
}

.page:hover {
    background-color: gray;
    color: black;
}


/****************************************************************************/
/********************************** Upload **********************************/
/****************************************************************************/


.upload {
    padding: 20px;
    margin: auto;
    width: 50%;
    background-color: #CCFFCC;
}

.contenuupload {
    margin: 20px;
}

.uploadstatus {
    font-style: italic;
    color: #0000FF;
}


/****************************************************************************/
/******************** Mise en forme message d'information *******************/
/****************************************************************************/


#infoimage {
    background-color: #C0C0C0;
    padding: 20px;
}

.infoimage {
    margin: 20px;
    background-color: #C0C0C0;
}


/****************************************************************************/
/************************* Mise en forme des boutons ************************/
/****************************************************************************/


.bouton {
    text-align: center;
    background-color: #C0C0C0;
    border: 1px solid #008000;
    margin: auto;
    height: 40px;
    vertical-align: middle;
    line-height: 40px;
    border-radius: 5px;
    cursor: pointer;
    width: 160px;
}

    .bouton:hover {
        background-color: #808080;
    }

    .bouton a {
        text-decoration: none;
        display: block;
        color: #000000;
    }

        .bouton a:visited {
            text-decoration: none;
            color: #000000;
        }


    .bouton:hover {
        background-color: #808080;
    }


/****************************************************************************/
/****************** Mise en forme options de téléchargement *****************/
/****************************************************************************/


.option {
    border: 1px solid #000000;
    margin: 20px;
    padding: 0px 20px 0px 20px;
}


/***************************************************************************/
/*************************** Contenu vidéo *********************************/
/***************************************************************************/


#contenu_video {
    width: 640px;
    margin-left: auto;
    margin-right: auto;
}


/****************************************************************************/
/****************************** Page d'accueil ******************************/
/****************************************************************************/


#imgaerienne {
    margin: 20px;
    border-color: #000000;
    float: left;
    overflow: hidden;
    width: 480px;
    height: 320px;
}

#infomairie {
    padding: 20px;
    border-radius: 20px;
    margin: 20px auto 20px auto;
    background-color: #CCFFCC;
    width: 50%;
    text-align: center;
    clear: left;
}

#demographie {
    padding: 20px;
    border-radius: 20px;
    margin: 20px auto 20px auto;
    background-color: #CCFFCC;
    width: 800px;
    text-align: center;
    clear: left;
}


#accueil {
    display: flex;
    justify-content: center;
}

#accueil_texte {
    font-size: x-large;
    padding: 20px;
    width: 500px;
    text-align: justify;
}

#accueil div p:first-child {
    font-weight: bold;
    text-decoration: underline;
}

.panel {
    margin: 20px;
    clear: left;
}





    /****************************************************************************/
    /********************************* Commune **********************************/
    /****************************************************************************/
    #commissions {
        margin: auto;
        width: 75%;
    }

#mairie {
    width: 400px;
    height: 300px;
    overflow: hidden;
    float: left;
    margin: 25px;
}

#conseil {
    width: 640px;
    height: 480px;
    margin: auto;
    overflow: hidden;
}


/****************************************************************************/
/************************** Commune - Formulaires ***************************/
/****************************************************************************/


#formulaire {
    padding: 20px;
    margin: auto;
    width: 75%;
}

    #formulaire ul li {
        margin: 10px;
        list-style-type: disc;
    }

        #formulaire ul li a:link {
            text-decoration: none;
            color: #0000FF;
        }

        #formulaire ul li a:visited {
            text-decoration: none;
            color: #0000FF;
        }

        #formulaire ul li:hover {
            background-color: #C0C0C0;
        }


/****************************************************************************/
/********************** Commune - Réunion de conseil ************************/
/****************************************************************************/


#contenuconseil {
    margin: 20px;
}


/****************************************************************************/
/******************** Commune - Histoire et patrimoine **********************/
/****************************************************************************/


#histoire {
    margin: 20px;
}


/****************************************************************************/
/*************************** Commune - Travaux ******************************/
/****************************************************************************/


#travaux {
    margin: 20px;
    float: left;
    width: 900px;
}


/****************************************************************************/
/*********************** Commune - Salle communale **************************/
/****************************************************************************/


#tarifs, #capacite, #contrat {
    margin: 10px;
    clear: left;
}

    #tarifs:hover, #capacite:hover, #contrat:hover {
        background-color: #C0C0C0;
    }

    #tarifs table, #contrat table {
        border: 1px solid #000000;
    }

.imagesalle {
    width: 400px;
    height: 300px;
    float: left;
    margin: 45px 95px 45px 95px;
    overflow: hidden;
}


/****************************************************************************/
/********************************* Photos ***********************************/
/****************************************************************************/


#blog_photos {
    margin-top: 10px;
    margin-bottom: 10px;
}

    #blog_photos img {
        max-width: 600px;
        max-height: 500px;
    }

.photos input {
    display: block;
    border: 1px solid #000000;
}

    .photos input:hover {
        border: 1px solid #008000;
        opacity: 0.5;
    }

.photos td {
    text-align: center;
}


/****************************************************************************/
/********************** Photos - Défilement d'images ************************/
/****************************************************************************/



.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;
    }


/****************************************************************************/
/********************** Photos - Caroussel d'images *************************/
/****************************************************************************/


#caroussel {
    margin: 25px;
    margin-top: 75px;
    border: 2px solid #000000;
    width: 480px;
    height: 360px;
    overflow: hidden;
    position: relative;
}

#carou p {
    padding: 0px;
    margin: 0px;
    line-height: 360px;
    text-align: center;
    height: 360px;
    vertical-align: middle;
    width: 480px;
}

#carou img {
    vertical-align: middle;
    max-width: 480px;
    max-height: 360px;
}

#textecaroussel {
    position: absolute;
    width: 100%;
    background-color: #000000;
    bottom: 0px;
    text-align: center;
    height: 40px;
    opacity: 0.5;
    line-height: 40px;
    vertical-align: middle;
}

#previous {
    width: 30px;
    position: absolute;
    top: 155px;
    left: 0px;
    height: 50px;
}

#next {
    position: absolute;
    width: 30px;
    top: 155px;
    right: 0px;
    height: 50px;
}

    #previous:hover, #next:hover {
        border: 1px solid #000000;
    }


.transparence {
    opacity: 0.5;
}



/***************************************************************************/
/****************************** Activités **********************************/
/***************************************************************************/


#associations {
    margin: 25px;
}

#fetes {
    margin: 20px auto 0px auto;
    width: 90%;
}

#acca {
    width: 90%;
    margin: 20px auto 0px auto;
}

#periode {
    width: 150px;
    float: right;
    margin-top: 150px;
}

/***************************************************************************/
/****************************** Contacts ***********************************/
/***************************************************************************/


#renseignements {
    display: block;
    background-color: #CCFFCC;
    border: thin solid #000000;
    padding: 20px;
    margin: auto;
    width: 80%;
}

#contact {
    margin: 25px;
}


/***************************************************************************/
/********************* Espace client - Connexion ***************************/
/***************************************************************************/


#formulaire_connexion {
    border: 2px solid #000000;
    margin: 50px auto 50px auto;
    width: 50%;
    background-color: #CCCCCC;
    border-radius: 20px;
    box-shadow: .5em .5em .25em #aaa;
}

    #formulaire_connexion > div {
        width: 400px;
        margin: 30px auto 30px auto;
    }

        #formulaire_connexion > div:last-child {
            text-align: center;
        }

.formulaire_connexion_titre {
    width: 100px;
    float: left;
}

.formulaire_connexion_lien {
    padding-left: 100px;
    text-align: left;
    display: none;
}


/***************************************************************************/
/************************** Confidentialité ********************************/
/***************************************************************************/


#politique_confidentialite {
    margin: 20px;
    text-align: center;
    background-color: #CCCCCC;
}


    #politique_confidentialite div {
        margin: 25px;
    }

#confidentialite {
    margin: 25px;
    text-align: justify;
}



/***************************************************************************/
/********************** Mises à jour successives ***************************/
/***************************************************************************/


#maj {
    width: 80%;
    margin: auto;
}

    #maj table tr:nth-child(2n+1) {
        background-color: skyblue;
    }

    #maj table tr:first-child {
        background-color: black;
        color: white;
        text-align: center;
    }
