#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
    -webkit-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;
}

#cboxClose {
    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 {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: #000;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

#colorbox {
    outline: 0;
}

#cboxContent {
    margin-top: 80px;
    overflow: visible;
    background: #000;
}

#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 48px;
    height: 48px;
    position: absolute;
    top: -70px;
    right: 0;
    background: url(../img/close.png) no-repeat 0 0;
    background-size: cover;
}

#cboxClose:active {
    outline: 0;
}

@media screen and (max-width: 768px) {
    #cboxClose {
        width: 38px;
        height: 38px;
        top: -50px;
        background: url(../img/close.png) no-repeat 0 0;
        background-size: cover;
    }
}


