/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
    -ms-interpolation-mode: bicubic;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
}

#colorbox, #cboxContent, #cboxLoadedContent {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, .94);
}

    #cboxOverlay.opening {
        background-image: url("/DesktopModules/FaraShop/assets/css/vendors/img/ajax-loader.gif");
        background-repeat: no-repeat;
        background-position: center;
    }

#cboxLoadedContent {
    text-align: center;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxClose {
    position: absolute;
    text-indent: -9999px;
    line-height: 42px;
    background-color: transparent;
    border: 0 none;
    cursor: pointer;
    width: 44px;
    height: 40px;
    border-radius: 2px;
    left: 15px;
    top: 15px;
    display: none;
}

    #cboxClose:before, #cboxClose:after {
        position: absolute;
        top: 50%;
        left: 0px;
        content: '';
        display: block;
        width: 44px;
        height: 2px;
        background-color: #333;
    }

    #cboxClose:after {
        transform: rotate(45deg);
    }

    #cboxClose:before {
        transform: rotate(-45deg);
    }

    #cboxClose.open {
        display: block;
    }

@media (max-width: 767px) {
    #cboxClose {
        top: 15px !important;
        right: 10px;
    }
}

.cboxPhoto {
    margin: auto !important;
    border: 0;
    max-width: none;
    -ms-interpolation-mode: bicubic;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    padding: 0;
    margin: 0;
}

#cboxPrevious,
#cboxNext {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    text-indent: -999999px;
    background-color: transparent;
    border: 0 none;
    cursor: pointer;
    height: 40px;
    width: 40px;
}

    #cboxPrevious:before,
    #cboxNext:before {
        display: block;
        position: absolute;
        color: #aaa;
        text-indent: 0;
        border-right: 1px solid;
        border-bottom: 1px solid;
        height: 30px;
        width: 30px;
        content: '';
    }

#cboxPrevious {
    left: 5%;
}

    #cboxPrevious:before {
        transform: rotate(135deg);
    }

#cboxNext {
    right: 5%;
}

    #cboxNext:before {
        transform: rotate(-45deg);
    }

#cboxCurrent {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    color: #999;
    text-transform: uppercase;
    font-size: 14px;
}
