/* 
    Created on : Apr 11, 2017, 3:21:14 PM
    Author     : Tara
*/

.superlightboxcontainer {
    position: fixed;
    z-index: 99999;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.95);
    direction: ltr;
}

.superlightbox_wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
}

.superlightbox_close {
    width: 38px;
    height: 38px;
    position: absolute;
    z-index: 10;
    top: 0px;
    right: 0px;
    display: inline-block;
    background: url('../images/superlightbox-sprite.svg') no-repeat;
    margin: 10px;
    background-size: 500px;
}

.superlightbox_prev {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    background: url('../images/superlightbox-sprite.svg') -6px -46px no-repeat;
    height:51px;
    width: 51px;
    display: inline-block;
    z-index: 10;
    background-size: 500px;
}

.superlightbox_next {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translate(0%, -50%);
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    background: url('../images/superlightbox-sprite.svg') -6px -107px no-repeat;
    background-size: 500px;
    height:51px;
    width: 51px;
    display: inline-block;
    z-index: 10;
}

.superlightbox_slider {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.superlightbox_slider > div {
    position: absolute;
    z-index: 9;
    text-align: center;
    height: 100%;
    width: 100%;
    left: 0%;
    opacity: 0;
    overflow: hidden;
}

.superlightbox_slider > div:nth-child(2), 
.superlightbox_slider.superlightbox_sliding > div {
    opacity: 1;
}

.superlightbox_slider > div img {
    transition: all ease-in-out 800ms;
    -webkit-transition: all ease-in-out 800ms;
    -moz-transition: all ease-in-out 800ms;
    -o-transition: all ease-in-out 800ms;
    -ms-transition: all ease-in-out 800ms;
    left: 50%;
    position: absolute;
    top: 50%;
    opacity: 1;
    /*height: auto;
    width: 100%;*/
    max-width: none!important;
    transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
    -moz-transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -o-transform: translate(-50%, -50%) scale(1);
}

.superlightbox_slider .superlightbox_caption {
    background-color: rgba(0, 0, 0, 0.8);
    bottom: 60px;
    color: #fff;
    padding: 5px 10px;
    position: absolute;
    width: 100%;
    z-index: 11;
    pointer-events: none;
    
    transition: all ease-in-out 800ms;
    -webkit-transition: all ease-in-out 800ms;
    -moz-transition: all ease-in-out 800ms;
    -o-transition: all ease-in-out 800ms;
    -ms-transition: all ease-in-out 800ms;
    
    left: 50%;
    opacity: 1;
    height: auto;
    width: auto;
    
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    
    border-radius: 15px;
}

.superlightbox_slider.superlightbox_gallery_visible .superlightbox_caption {
    bottom: 161px;
}

.superlightbox_slider.superlightbox_sliding > div img {
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
}

.superlightbox_slider > div.superloading img {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    -webkit-transform: translate(-50%, -50%) scale(0.5);
    -moz-transform: translate(-50%, -50%) scale(0.5);
    -ms-transform: translate(-50%, -50%) scale(0.5);
    -o-transform: translate(-50%, -50%) scale(0.5);
}

.superlightbox_slider > div.superloading, 
.superlightbox_slider > div.superlightbox_slide_video {
    background: url('../images/superlightbox-loader.gif') no-repeat 50% 50%;
}

.superlightbox_slider > div.superlightbox_remove img {
    transform: translate(-50%, -50%) scale(0.5);
    -webkit-transform: translate(-50%, -50%) scale(0.5);
    -moz-transform: translate(-50%, -50%) scale(0.5);
    -ms-transform: translate(-50%, -50%) scale(0.5);
    -o-transform: translate(-50%, -50%) scale(0.5);
}

.superlightbox_slider > div.superlightbox_fullwidth img {
    width: 100%;
    height: auto;
    max-width: none;
}

.superlightbox_slider > div.superlightbox_fullheight img {
    width: auto;
    height: 100%;
    max-height: none;
}

.superlightbox_gallery {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    max-height: 150px;
    z-index: 10;
    text-align: center;
    overflow: hidden;
}

.nosupergallery .superlightbox_gallery {
    display: none;
}

.superlightbox_gallery_button {
    height: 38px;
    width: 68px;
    display: inline-block;
    background: url('../images/superlightbox-sprite.svg') no-repeat;
    background-size: 500px;
    opacity: 0.5;
}

.superlightbox_gallery_button.superlightbox_gallery_open {
    background-position: -5px -169px;
}

.superlightbox_gallery_button.superlightbox_gallery_close {
    background-position: -5px -215px;
}

.superlightbox_gallery_wrapper {
    height: 100px;
    position: relative;
    background-color: rgba(0,0,0,0.8);
}

.superlightbox_gallery_wrapper > div {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.superlightbox_gallery_nav {
    display: inline-block;
    width: 27px;
    height: 33px;
    position: absolute;
    background: url('../images/superlightbox-sprite.svg') no-repeat;
    background-size: 500px;
    z-index: 10;
    top: 50%;
    margin-top: 4px;
    opacity: 0.8;
}

.superlightbox_gallery_prev {
    left: 0px;
    background-position: -8px -263px;
}

.superlightbox_gallery_next {
    right: 0px;
    background-position: -6px -304px;
}

.superlightbox_embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    text-align: center;
    height: 0px;
}
.superlightbox_embed iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.superlightbox_embed_wrapper {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}