#images-box {
    /* La largeur totale du bloc conteneur, essentiellement pour le centrage */
    width: 850px;
    margin: 0px auto;
    position: relative;
    top: 20px;
}
 
.image-lightbox img {
    /* Chaque image hérite ses dimensions de son parent */
    width: inherit;
    height: inherit;
    z-index: 1000;
}
 
.holder {
    /* Dimension des images, vous pouvez les modifier */
    width: 150px;
    height: 100px;
    /* Flottement à gauche, donc l'ensemble est aligné à droite */
    float: left;
    margin: 0 20px 0 0;
}
 
.image-lightbox {
    /* Les dimensions héritent de .holder */
    width: inherit;
    height: inherit;
    padding: 10px;
    /* Ombrage des blocs */
    box-shadow: 0px 0px 5px rgba(0,0,0,0.1);
    background: #fff;
    border-radius: 3px;
    /* Position absolue pour permettre de zoomer ultérieurement */
    position: absolute;
    top: 0;
    font-family: Arial, sans-serif;
    /* Transitions pour rendre l'ensemble visuellement abouti */
    -webkit-transition: all ease-in 0.2s;
    -moz-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
}
.image-lightbox span {
    display: none;
}
 
.image-lightbox .expand {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 5000;
    background: rgba(0,0,0,0); /* Fixe un bogue d'IE */
    left: 0;
}
 
.image-lightbox .close {
    position: absolute;
    width: 15px; height: 15px;
    right: 15px; top: 15px;
}
 
.image-lightbox .close a {
    height: auto; width: auto;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
    background: #22272c;
    box-shadow: inset 0px 24px 20px -15px rgba(255, 255, 255, 0.1), 
        inset 0px 0px 10px rgba(0,0,0,0.4), 
        0px 0px 30px rgba(255,255,255,0.4);
    border-radius: 5px;
    font-weight: bold;
    float: right;
}
 
.image-lightbox .close a:hover {
    box-shadow: inset 0px -24px 20px -15px rgba(255, 255, 255, 0.01), 
        inset 0px 0px 10px rgba(0,0,0,0.4), 
        0px 0px 20px rgba(255,255,255,0.4);
}
div#image-1 { left: 120px; }
div#image-2 { left: 330px; }
div#image-3 { left: 540px; }
div#image-4 { top: 130px; left: 120px; }
div#image-5 { top: 130px; left: 330px; }
div#image-6 { top: 130px; left: 540px; }
div#image-7 { top: 260px; left: 120px; }
div#image-8 { top: 260px; left: 330px; }
div#image-9 { top: 260px; left: 540px; }

div[id^=image]:target {
    width: 500px;
    height: 375px;
    z-index: 5000;
    top: 0px;
    left: 200px;
}
div[id^=image]:target .close {
    display: block;
}
 
div[id^=image]:target .expand {
    display: none;
}
 
div#image-1:target, div#image-2:target, div#image-3:target { left: 160px; top: -15px}
div#image-4:target, div#image-5:target, div#image-6:target { left: 160px; top: -13px}
div#image-7:target, div#image-8:target, div#image-9:target { left: 160px; top: -16px}