/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	height: auto;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a:hover
{
    text-decoration: none;
    cursor: pointer;
}
body
{
    background-color: #dddddd;
    font-family: Helvetica, Arial, Serif;
}
/*############################################################################################FIN DU RESET CSS#########################################################################################################*/


html, body {
	height: 100%;
	margin: 0; padding: 0;
}
body {
	display : table;
	width: 100%;
}
footer {
	display : table-row;
	height: 0;
	padding-top: 2vh;
	text-align: center;
}

/*###################################################################################### Mise en page du bandeau ######################################################################################################*/

header
{
    position: fixed;
    top: 0;
    width: 100vw;
    height: auto;
    text-align: center;
    background-color: #dddddd;
    padding-bottom: 2vh;
}

header>h1
{
    width: 100vw;
    font-size: 4vh;
    margin: 0 auto;
    padding-top: 1vh;
    padding-bottom: 2.5vh;

    clear: both;
}

header>h1 strong
{
    font-weight: bold;
}

/* En tete du header */
#entete
{
    width: 98vw;
    height: auto;
}

/* Flag for the choice of language */
input[name=fr], input[name=eng]
{
    font-size:4vh;
    background-color: #dddddd;
    border: none;
    float: left;
    padding: 1vh 2vw 0 2vw;
}

input[name=fr]:hover, input[name=eng]:hover
{
    cursor: pointer;
}

/* Pendant le dev du site */
#development
{
    width: 50vw;
    font-size: 2.5vh;
    position: absolute;
    left: 25vw;
}

#development>#warningSign
{
    margin-right: 2.5vw;
    color: red;
    font-size: 4vh;
}

/* Handling connexion member */
#bust
{
    margin: 0;
    font-size: 3vh;
    padding: 2vh 1vw 1vh 0;
    float: right;
    top: 0;
}

#bust:hover
{
    cursor: pointer;
}

/** BTN CONNEXION, DECONNEXION and GESTION MEMBRE**/
#entete>ul
{
    width: max-content;
    text-align: right;
    font-size: 2vh;

    clear: right;
    float: right;
}

#btnConnexion, #btnGestionM
{
    margin: 2vh 2vw 1vh 0;
}

#btnDeconnexion
{
    border : none;
    background-color: #dddddd;
    color: black;
    padding: 0;
    font-size: 2vh;
    margin: 1vh 2vw 1vh 0;
}

#btnConnexion:hover , #btnDeconnexion:hover, #btnGestionM:hover
{
    color: #007FFF;
    cursor: pointer;
}

#espace
{
    margin-left : 5vw;
    margin-right: 5vw;
}

a
{
    text-decoration: none;
    color: #000;

}

header>ul
{
    text-align: center;
    width: 100vw;
}

header>ul>li
{
    display: inline;
    font-size: 4vh;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2vw;

    color: #000;
}

header
{
    z-index: 5;
}

header>ul>li:hover, header>ul>li>a:hover
{
    color: #007FFF;
}

.ongletCourant
{
    color: #007FFF;
}

.ongletCourant:hover
{
    font-size: 4vh;
}


/*###################################################################################### Fin Mise en page du bandeau ######################################################################################################*/

section
{
    width: 80vw;
    height: auto;

    margin: 30vh auto 0 auto

}
section h1
{
    font-weight: bold;
    margin-bottom: 4vh;
    font-size: 4vh;
    text-align: center;
}

#content
{
    text-align: center;
}

/*###################################################################################### Mise en page de l'accueil ######################################################################################################*/

/** Animation de la page d'accueil **/
@keyframes AutoSlide
{
    0%, 15%
    {
        top: 0vh; /*1ère image*/
    }
    20%, 35%
    {
        top: -62.0vh; /*2ème image*/
    }
    40%, 55%
    {
        top: -122.0vh; /*3ème image*/
    }
    60%, 75%
    {
        top: -182.0vh; /*4ème image*/
    }
    80%, 95%
    {
        top: -243.0vh; /*5ème image*/
    }
}

#slideshow
{
    position: relative;
    width: 80vw;
    height: 60vh;
    margin:  30vh auto 0 auto;
    overflow: hidden;
}

#sContent {
    width: 80vw;
    margin: 0;
    padding: 0;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);

    /*CSS3 keyframes animation*/
    animation: AutoSlide 15s infinite ease-in-out forwards;

}

#sContent li
{
    height: 60vh;
    width: 80vw;

    text-align: center;
    margin: 0 auto 1vh auto;

    background-color: #dddddd;
}

#sContent li img
{
    height: 60vh;
    width: auto;

}
#sContent:active
{
    animation-play-state : paused;
}

#footerExposition
{
    width: 80vw;
    display : table-row;
	text-align: center;
}

#footerExposition h1
{
    font-weight: bold;
    font-size: 3vh;
    text-align: center;
}
#footerExposition h1 a
{
    text-decoration: underline;
    color: red;
}

/*###################################################################################### Fin Mise en page de l'accueil ######################################################################################################*/

/*###################################################################################### Mise en page de contact ######################################################################################################*/

.bcForm form
{
    width: max-content;
    margin: 0 auto;
    z-index:5;
}

.bcForm form  td:nth-child(2n + 1)
{
    text-align: right;
}

.bcForm form  td:nth-child(2n)
{
    text-align: left;
}

.bcForm form p
{
    text-align: center;
    margin-bottom: 3vh;
}

.bcForm form table input, .bcForm form table textarea
{
    margin-bottom: 2vh;
    margin-left: 2.5vw;
}

.bcForm form .requiredField::after
{
    content: " * ";
    color: red;
    font-size: 2vh;
}

#formActu
{
    text-align: center;
}

#formActu textarea
{
    margin-bottom: 3vh;
}
/*###################################################################################### Fin Mise en page de contact ######################################################################################################*/


/*###################################################################################### Mise en page de la galerie######################################################################################################*/

/* Partie normal */
#galleryBox
{
    width: 80vw;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

#galleryBox>figure
{
    float: left;
    width: 19vw;
    height: 19vw;
    clear: none;
    margin-right: 1vw;
    margin-bottom: 5vh;

    display: flex;
    justify-content: center;
    align-items: center;
}
#galleryBox>figure input
{
    z-index: 2;
}

#galleryBox>figure>img
{
    cursor: pointer;
}


#galleryBox>figure .imgV
{
    width: auto;
    height: 100%;
}

#galleryBox>figure .imgH
{
    width: 100%;
    height: auto;
}

#galleryBox>figure>figcaption
{
    display: none;
}

#galleryBox>figure>figcaption>ul
{
    font-size: 3vh;

}

/* Partie zommée */
/*animation pour réaiser un zoom*/
@keyframes zoom
{
    from {transform: scale(0);}
    to {transform: scale(1);}
}

.imgZoomed
{
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;


    background-color: rgba(0, 0, 0, 0.8);
}

.imgZoomed img
{
    width: 65vw;

    animation-name: zoom;
    animation-duration: 1s;
    margin: 0 auto;
}

#galleryBox>.imgZoomed figcaption
{
    width: 20vw;

    display: block;
    color: #dddddd;

    position: absolute;
    left: 75vw;

}

#galleryBox>.imgZoomed .imgH
{
    width: auto;
    height: 85vh;
    margin-right: 30vw;
    margin-left: 5vw;
}

#galleryBox>.imgZoomed #num11
{
    width: auto;
    height: auto;
}

#galleryBox>.imgZoomed .imgV
{
    width: auto;
    height: 85vh;
}

#btnClose
{
    position: absolute;
    font-size: 3vh;
    top: 2vh;
    right: 2vw;
    transform: translateX(-50%);
    color: #dddddd;
    cursor: pointer;
}

#btnPrev
{
    font-size: 3vh;

    position: absolute;
    top: 50vh;
    left: 2vw;

    color: #dddddd;
    cursor: pointer;
}

#btnNext
{
    font-size: 3vh;

    position: absolute;
    top: 50vh;
    right: 2vw;
    
    color: #dddddd;
    cursor: pointer;
}

/*     CHANGING GALERIE    */

#changeForm{
    padding-bottom : 5vh;
    text-align: center;
}

/*###################################################################################### Fin Mise en page de la galerie ######################################################################################################*/

#listMember
{
    width: max-content;
    margin: 0 auto;
    border:solid 1px black;
}

#listMember td, #listMember li:nth-child(1){
    background-color: #e8e8e8 !important;
}

#listMember table td{
    width: 195px;
    line-height: 2.5;
}

#listMember li:nth-child(2n+1){
    background: white;
}

.currentMember{
    display:inline;
}

input[type="submit"]
{
    border: none;
    color: white;
    padding: 1vh 2vw 1vh 2vw;
}

input[value=Supprimer], input[value=Annuler]
{
    background-color: red;
}

input[value=Ajouter], input[value="Ajouter une Actualité"], input[value=Envoyer], input[value=Rechercher], 
input[value=Valider], input[value="Oui, supprimer"], input[value="Se connecter"]
{
    background-color: #5ec830;
}

input[value=Modifier]
{
    background-color: blue;
}


input[type="text"]:-moz-read-only{
    background: inherit;
    border : none;
    font : inherit;
    color : inherit;
}

input[type="text"]:read-only{
    background: inherit;
    border : none;
    font : inherit;
    color : inherit;
}

.bcForm .formRecherche
{
    padding: 2vh 0;
    text-align: center;
}

.bcForm .formRecherche td
{
    padding: 2vh 0;
}

#galleryBox input
{
    padding: 0.5vh 1vw 0.5vh 1vw;
}

#addButton
{
    text-align: center;
}

#addButton input
{
    margin-bottom:5vh;
    padding: 2vh 6vw 2vh 6vw;
}

/*      BIO     */
#bcBio
{
    margin-left: 5vw;
    margin-right: 5vw;
    width: 90vw;
    height: auto;
}

#bcBio h2
{
    width: 85vw;
    margin-bottom: 3vh;
    font-size: 3vh;
    clear:both;
}

#bcBio h2:hover
{
    cursor: pointer;
}

#bcBio h2 .flecheBas
{
    display: inline-table;
    width: max-content;
    height: max-content;
    transform: rotate(90deg);
}

#bcBio>ul
{
    padding-left: 3vw;
    padding-right: 3vw;
    width: 84vw;
}

#bcBio>ul>li
{
    margin-bottom: 2vh;
    font-size: 2vh;
    width: 50%;
}

.allWidth>li
{
    width: 100% !important;
}

.underLine
{
    text-decoration: underline;
}

.bold
{
    font-weight: bolder;
}

.italic
{
    font-style: italic;
}

figure
{
    width: inherit;
}

#bcBio figcaption
{
    padding-top: 2vh;
    padding-bottom: 2vh;
}

.illustrationV
{
    float: right;
    text-align: center;
}

.illustrationV>figure
{
    margin: 0 auto;
}

.illustrationV>figure>img
{
    width: 100%;
    height: auto;
}

.illustrationH
{
    width: 50% !important;
    padding-top: 5vh;
    float: left;
    text-align: center;
}

.illustrationH>figure
{
    margin: 0 auto;
}

.illustrationH>figure>img
{
    width: 100%;
    height: auto;
}

.illustrationT
{
    width: 84vw !important;
    padding-top: 5vh;
    padding-bottom: 5vh;
    text-align: center;
}

.illustrationT>figure
{
    margin: 0 auto;
}

.illustrationT>figure>img
{
    width: 80%;
    height: auto;
}


figcaption strong
{
    font-style: italic;
}

#parcoursArtistique h3
{
    font-size: 3vh;
    width: 75%;
    margin-bottom: 2vh;
    margin-top: 1vh;
}

#parcoursArtistique h4
{
    /*text-decoration: underline;*/
    margin-bottom: 1vh;
    font-size: 2vh;
    clear: both;
}

#parcoursArtistique p
{
    font-size: 3vh;
    margin-left: 1vw;
}

body>header>p
{
    display: none;
}

/** ACTUALITE **/
#actualites article
{
    width: 80vw;
    height: auto;

    margin: 0 auto 10vh auto;
    padding-bottom: 2vh;
    border-bottom: black 1px solid;


}

#actualites article h1
{
    font-size: 3vh;
    font-weight: bold;
    margin-bottom: 2vh;
}

#actualites article div
{
    display: flex;
}

#actualites article div div
{
    width: 50vw;
    height: auto;

    margin-left: 25vw;

    padding: 0 2.5vw;

    display: table-cell; /* comportement visuel de cellule */
    vertical-align: middle;
    margin: auto;
}

#actualites article div p
{
    text-align: left;
    margin-bottom: 2vh;

}

#actualites article img
{
    width: 25vw;
    height: auto;
    float: left !important;
}

.clearer
{
    clear: both;
}

#actualites article .descriptifFR
{

}

#actualites article .descriptifEN
{
    font-style: italic;
}

#actualites article form
{
    text-align: right;
}

#actualites
{
    text-align: center;
}

/** Bouton Ajout **/
.buttonAddAdmin
{
    border: black 1px solid;
    background-color: darkgrey;
    font-size: 10vh;
    padding: 2vh;

    vertical-align: middle;

    margin-top: 20vh;
    margin-bottom: 10vh;
}


/*###################################################################################### Mise en page de association ######################################################################################################*/

#association
{
    width: 80vw;
    height: auto;

    font-size: 2.8vh;
    
    margin: 30vh auto 0 auto
}

#association p br
{
    margin-bottom: 5vh;
}
#association>img
{
    float: right;
    width: 25vw;
    padding: 2vw;
    height: auto;
}
#association figure
{
    width: inherit;

    margin: 0 auto;
    padding: 2.5vh 0 2.5vh 0;

    clear: both;

    text-align: center;
}
#association figure img
{
    width: 50vw;
    height: auto;

    margin-bottom: 2vh;
}
#association figure figcaption
{
    width: 60vw;
    font-size: 3vh;
    margin: 0 auto;
}

#association a
{
    color:#0000FF;
}

#association a:hover
{
    font-weight: bold;
    text-decoration: underline;
}

#association input[name=deleteAssoc] 
{
    margin-left : 10vw;
}

/*###################################################################################### Fin Mise en page de association ######################################################################################################*/


/* Partie responsive pour écran ayant une hauteur plus grande que leurs largeur*/
td>p
{
    width: 11vw !important;
}

@media (max-aspect-ratio: 1/1) {

    /* Titre */
    #espace
    {
        margin: 0;
    }
    #espace:before
    {
        content: ' ';
        display: block;
    }

    /* Menu Déroulant */
    header>p
    {
        cursor: pointer;
        font-size: 5vh;
        padding-bottom: 1vh;
        width: max-content;
        margin: 0 auto;
    }

    header>ul>li
    {
       margin-bottom: 1vh;
    }
    .cacher
    {
        display: none;
    }

    .afficher
    {
        display: block;
    }

    /* diapo Accueil*/
    #slideshow #sContent li
    {
        position: relative;
    }

    #slideshow #sContent li img
    {
        width: 60vw;
        height: auto;

        position: absolute;
        top: 50%; /* poussé de la moitié de hauteur du référent */
        transform: translate(-50%,-50%); /* tiré de la moitié de sa propre hauteur */
    }

    /* Galerie */
    #galleryBox>figure
    {
        float: left;
        width: 38vw;
        height: 38vw;
        margin-right: 2vw;
    }

    #galleryBox>.imgZoomed>.imgV
    {
        height: 40vh;
        margin: 0;
    }

    #galleryBox>.imgZoomed>.imgH
    {
        width: 70vw;
        height: auto;
        margin: 0 10vw 0 10vw;
    }

    #galleryBox>.imgZoomed figcaption
    {
        bottom: 2vh;
        left: 15vw;
        width: 70vw;
    }
    #galleryBox>.imgZoomed figcaption ul
    {
        text-align: center;
    }
    #galleryBox>.imgZoomed figcaption ul li
    {
        display: inline;
    }
    #galleryBox>.imgZoomed figcaption ul li:after
    {
        content: " ";
    }

}