
.lbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.lbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px 0 0 -32px;
    padding: 2px;
    z-index: 1100;
}
.lbox-loading {
    display: inline-block;
    width: 64px;
    height: 64px;
}
.lbox-loading div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #F0F0F0;
    border-radius: 50%;
    animation: lbox-loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #F0F0F0 transparent transparent transparent;
}
.lbox-loading div:nth-child(1) {
    animation-delay: -0.45s;
}
.lbox-loading div:nth-child(2) {
    animation-delay: -0.3s;
}
.lbox-loading div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lbox-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.lbox {
    background: #333333;
    background: RGBA(0, 0, 0, .8);
    position: absolute;
    border: 1px solid #999999;
    padding: 0;
    width: 480px;
    height: 200px;
    min-width: 80px;
    min-height: 80px;
    top: 0;
    left: 0;
    z-index: 1001;
    box-sizing: content-box;
}
.lbox-close {
    position: absolute;
    width: 26px;
    height: 26px;
    line-height: 26px;
    top: -10px;
    right: -10px;
    cursor: pointer;
    z-index: 9999;

    color: #222222;
    background: #FFFFFF;
    border-radius: 100%;
    box-shadow: 0 0 1px #FFFFFF;
    text-align: center;
    font-size: 16px;
    opacity: .8;

    transition: linear 100ms all;
    font-family: FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.lbox-close:hover {
    box-shadow: 0 0 5px #FFFFFF;
    color: #222222;
    opacity: 1;
}
.lbox-close:after {
    content: "\f00d";
}
.lbox-close-hidde {
    opacity: 0;
    visibility: hidden;
}

.lbox-slide {
    position: relative;
    top: 0;
    left: 0;
    background: #000000;
    overflow: hidden;
    z-index: 1050;
}
.lbox-slide-description {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}
.lbox-slide-description-content {
    padding: 10px;
    background: RGBA(0, 0, 0, .8);
    color: #FFFFFF;
}
.lbox-slide-image img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.lbox-slide-frame iframe {
    position: relative;
    z-index: 1;
}

/**
 * Navigation
 */
.lbox-gallery-navigation {
    position: absolute;
    top: 50%;
    margin-top: -29px;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 1075;
}
.lbox-gallery-navigation div {
    position: absolute;
    width: 26px;
    height: 26px;
    line-height: 26px;
    cursor: pointer;

    color: #222222;
    background: #FFFFFF;
    border-radius: 100%;
    box-shadow: 0 0 3px #FFFFFF;
    text-align: center;
    font-size: 16px;
    opacity: .8;

    transition: linear 100ms all;
    font-family: FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.lbox-gallery-navigation-left {
    left: -12px;
}
.lbox-gallery-navigation-right {
    right: -12px;
}
.lbox-gallery-navigation div:hover {
    box-shadow: 0 0 5px #FFFFFF;
    color: #222222;
    opacity: 1;
}
.lbox-gallery-navigation-left:after {
    content: "\f053";
}
.lbox-gallery-navigation-right:after {
    content: "\f054";
}



/**
 * Plein écran
 */

.lbox.lbox-fullscreen {
    border-radius: 0;
    border: none;
    padding: 0;
}
.lbox-fullscreen .lbox-slide {
    width: 100%;
    height: 100%;
    border-radius: 0;
}
