/* ------
LIGHTBOX
---------*/

#lightbox {
    /* z-index: 1200; */
    z-index: 9999;
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
    line-height: 0;
}

#lightbox a img {
    height: auto;
    max-width: 100% !important;
    border: none;
}

#outerImageContainer {
    position: relative;
    height: auto !important;
    margin: 0 auto;
    max-width: 100% !important;
    background-color: #fff;
}

#imageContainer {
    padding: 10px;
}

#imageContainer img {
    height: auto !important;
    max-width: 100% !important;
}

#loading {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    height: 25%;
    text-align: center;
    line-height: 0;
}

#hoverNav {
    z-index: 800;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#imageContainer > #hoverNav {
    left: 0;
}

#hoverNav a {
    height: 100% !important;
    outline: none;
}

#prevLink,
#nextLink {
    display: block;
    width: 49%;
    height: 100%;
    background-image: url(/common_images/skin001/transparent.gif);
}

#prevLink {
    float: left;
    left: 0;
}

#nextLink {
    float: right;
    right: 0;
}

#prevLink:link .icon-,
#prevLink:hover .icon-,
#prevLink:visited:hover .icon- {
    position: absolute;
    top: 45%;
    left: 8px;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    line-height: 40px;
    background: #ffffff;
}

#nextLink:link .icon-,
#nextLink:hover .icon-,
#nextLink:visited:hover .icon- {
    position: absolute;
    top: 45%;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 1.2em;
    line-height: 40px;
    background: #ffffff;
}

#imageDataContainer {
    margin: 0 auto;
    max-width: 100% !important;
    font-size: 1em;
    font-weight: 300;
    color: #64615f;
    background-color: #fff;
}

#imageData {
    float: left;
    width: 100%;
    padding: 0 10px;
    line-height: 130%;
    color: #64615f;
}

#imageData #imageDetails {
    float: left;
    width: 70%;
    text-align: left;
}

#bottomNav {
    float: left;
    width: 30%;
    padding-bottom: 15px;
}

#imageData #caption {
    display: block;
    float: left;
    width: 100%;
    font-size: 1.2em;
}

#imageData #caption * {
}

#imageData #numberDisplay {
    display: block;
    float: left;
    width: 100%;
    padding-bottom: 1em;
    font-size: 0.9em;
}

#imageData #bottomNavClose {
    float: right;
    width: 80px;
    height: 22px;
    padding-bottom: 0.7em;
    font-weight: 700;
}

#overlay {
    z-index: 9998;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    opacity: 0.6;
    background-color: #000;
    -moz-opacity: 0.6;
    filter: alpha(opacity=60);
}

.clearfix:after {
    content: ".";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

/* Hides from IE-mac \*/

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* End hide from IE-mac */

.gallery .lightbox img {
    margin: 0;
    max-height: none;
    height: auto;
    width: 130%;
    max-width: 130%;

}

.gallery a,
.gallery a:visited,
.gallery a:active {
    float: left;
    position: relative;
    width: 22.375%;
    margin-right: 3.5%;
    margin-bottom: 20px;
    text-decoration: none;
    height: 160px;
}

.gallery a.dernierElems,
.gallery a.dernierElems:visited,
.gallery a.dernierElems:active {
    margin-right: 0;
}

.gallery a .ecranLien {
    z-index: 72;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: none;
}

.gallery a .textEcranLien {
    display: none;
    z-index: 73;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -17px;
    margin-left: -17px;
    text-align: center;
    font-size: 2.1em;
    color: #ffffff;
}

.gallery a:hover .textEcranLien {
    display: block;
}

.descriptImage {
    display: none;
}

/***********************
Video
*****************/

.gallery_video.gallery a {
    position: relative;
    width: 22.375%;
    min-height: 177px;
    height: auto;
    text-align: center;
    line-height: 173px;
    background: #000;
}

.layoutLeftContent .gallery_video.gallery a {
    min-height: 111px;
    line-height: 107px;
    /* background: red; */
}

.gallery_video.gallery a img {
    padding: 0;
    vertical-align: middle;
}

.gallery_video.gallery a:nth-child(4n) {
    margin-right: 0;
}

.gallery iframe {
    float: left;
    width: 100%;
    height: auto !important;
    max-width: 100%;
}

.lightboxVideo {
    position: relative;
}

.lightboxVideoEcran {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: red; */
}

#slvj-window {
    z-index: 9998;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background: rgba(0,0,0,0.8);
}

#slvj-window,
#slvj-window * {
    box-sizing: border-box;
}

#slvj-background-close {
    z-index: 31;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
}

#slvj-back-lightbox {
    z-index: 9999;
    width: 700px;
    margin: auto;
    min-height: 540px;
}

.slvj-lightbox {
    z-index: 53;
    float: left;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 40px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 2px 2px rgba(0,0,0,0.3);
}

#slvj-close-icon {
    z-index: 551;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    font-size: 1.5em;
    background-image: url(../img/close-icon.png);
    background-repeat: no-repeat;
}

#slvj-video-embed {
    float: left;
    width: 100% !important;
}

#slvj-close-icon:hover {
    cursor: pointer;
}