:root {
    --gap: 50px;
    --sizePx: 300px;
    --size: 300;
}

body { background: #1d1d1d; font-size: 18px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; margin: 0; padding: 0; color: white; }
h1 { text-align: center; }

a {
    color: white;
    text-decoration: none;
}

#fullscreen { width: 100%; background: no-repeat center center; background-size: contain; height: 100%; min-height: 80vh; }

.tuiles {
    margin: 0 auto 50px auto;
    padding: 50px;
    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns:repeat(auto-fill, var(--sizePx));
    gap: var(--gap);
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
    color: white;
}
.tuile {
    width: var(--sizePx);
    height: var(--sizePx);
    text-decoration: none;
    z-index: 1;
    color: white;
    transition: all 200ms;
}
.tuile > .wrap {
    filter: brightness(80%) saturate(70%);
    background-size: cover;
    background-position: center center;
    background-color: #444;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    display: block;
    box-shadow: rgba(0, 0, 0, 0.19) 0 10px 20px, rgba(0, 0, 0, 0.23) 0 6px 6px;
    overflow: hidden;
    transition: all 200ms;
}
.tuile:hover {
    z-index: 2;
}
.tuile:hover > .wrap {
    filter: brightness(100%) saturate(100%) ;
    transform:
        scale(1.2)
        translateX(calc((var(--w) - var(--size)) / 2 * -1px))
        translateY(calc((var(--h) - var(--size)) / 2 * -1px))
    ;
    z-index: 2;
    border-radius: 20px;
    width: calc(var(--w) * 1px);
    height: calc(var(--h) * 1px);
    box-shadow: rgba(0, 0, 0, 0.3) 0 19px 38px, rgba(0, 0, 0, 0.22) 0 15px 12px;
}
.tuile.note0 > .wrap { opacity: 0.1; }
.tuile.note1 > .wrap { box-shadow: inset 0 0 29px 3px rgba(52,135,0,0.4); }
.tuile.note2 > .wrap { box-shadow: inset 0 0 29px 3px rgba(52,135,0,0.5); }
.tuile.note3 > .wrap { box-shadow: inset 0 0 29px 3px rgba(52,135,0,0.6); }
.tuile.note4 > .wrap { box-shadow: inset 0 0 29px 3px rgba(52,135,0,0.8); }
.tuile.note5 > .wrap { box-shadow: inset 0 0 29px 3px rgba(52,135,0,1); }
@media screen and (max-width: 900px) {
    :root {
        --gap: 30px;
        --sizePx: 250px;
        --size: 250;
    }
}
@media screen and (max-width: 700px) {
    :root {
        --gap: 20px;
        --sizePx: 200px;
        --size: 200;
    }
}

#content { margin: 0 auto; }
.dossier .illustration { opacity: 0.3; }

.tuile:hover .overlay {
    opacity: 1;
}
.tuile .overlay
{
    opacity: 0;
    position: absolute;
    margin: 0 1px;
    width: calc(100% - 28px);
    padding: 10px 14px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6));
    bottom: 0;

    min-height: 19px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
    font-size: 16px;
    display: block;
}
.tuile .nom_dossier
{
    width: 100%;
    height: 100%;
    display: table;
    position: relative;

}
.tuile .nom_dossier > .wrap
{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    word-break: break-all;
}

.clear { clear: both; }




.select {
    display: inline-block;
    position: relative;
}
.select .nom {

}
.select .items {
    position: absolute;
    display: none;
    float: left;
    top: 40px;
    left: 0;
    background: #1d1d1d;
    box-shadow: 0 4px 5px black;
}
.select:hover .items{
    display: block;
}


#header .note { padding: 0 15px; display: inline-block; }
#header .note a { padding: 0; display: inline-block;  }
.note span+span { display: none; }
.note.note0 .note_lien0 span+span { display: block; }
.note.note1 .note_lien0 span+span,
.note.note1 .note_lien1 span+span { display: block; }
.note.note2 .note_lien0 span+span,
.note.note2 .note_lien1 span+span,
.note.note2 .note_lien2 span+span { display: block; }
.note.note3 .note_lien0 span+span,
.note.note3 .note_lien1 span+span,
.note.note3 .note_lien2 span+span,
.note.note3 .note_lien3 span+span { display: block; }
.note.note4 .note_lien0 span+span,
.note.note4 .note_lien1 span+span,
.note.note4 .note_lien2 span+span,
.note.note4 .note_lien3 span+span,
.note.note4 .note_lien4 span+span { display: block; }
.note.note5 .note_lien0 span+span,
.note.note5 .note_lien1 span+span,
.note.note5 .note_lien2 span+span,
.note.note5 .note_lien3 span+span,
.note.note5 .note_lien4 span+span,
.note.note5 .note_lien5 span+span { display: block; }



.note.note0 .note_lien0 span:first-child { display: none; }
.note.note1 .note_lien0 span:first-child,
.note.note1 .note_lien1 span:first-child { display: none; }
.note.note2 .note_lien0 span:first-child,
.note.note2 .note_lien1 span:first-child,
.note.note2 .note_lien2 span:first-child { display: none; }
.note.note3 .note_lien0 span:first-child,
.note.note3 .note_lien1 span:first-child,
.note.note3 .note_lien2 span:first-child,
.note.note3 .note_lien3 span:first-child { display: none; }
.note.note4 .note_lien0 span:first-child,
.note.note4 .note_lien1 span:first-child,
.note.note4 .note_lien2 span:first-child,
.note.note4 .note_lien3 span:first-child,
.note.note4 .note_lien4 span:first-child { display: none; }
.note.note5 .note_lien0 span:first-child,
.note.note5 .note_lien1 span:first-child,
.note.note5 .note_lien2 span:first-child,
.note.note5 .note_lien3 span:first-child,
.note.note5 .note_lien4 span:first-child,
.note.note5 .note_lien5 span:first-child { display: none; }


h1,
h2,
h3,
h4,
h5,
h6 { padding: 10px; }

table { border-collapse: collapse; margin: 20px; }
table tr { border: 1px solid rgba(255,255,255,.5); }
table tr:hover { background: #2293EC;  }
table td > a { padding: 20px; display: inline-block; }

#facebook_browser {
    display: flex;
    align-items: center;
    align-content: center;
}
#facebook_browser > .wrap {
    border-left: 5px solid #7e2121;
    color: #7e2121;
    padding: 10px;
    margin: 10px auto;
}
#facebook_browser.hide { display: none; }
