#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;
}

#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 {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

#cboxOverlay {
    background: rgba(0,0,0,.8);
}

#colorbox {
    outline: 0;
}

#cboxTopLeft {
    width: 0;
    height: 0;
}

#cboxTopRight {
    width: 0;
    height: 0;
}

#cboxBottomLeft {
    width: 0;
    height: 0;
}

#cboxBottomRight {
    width: 0;
    height: 0;
}

#cboxMiddleLeft {
    width: 0;
}

#cboxMiddleRight {
    width: 0;
}

#cboxTopCenter {
    height: 0;
}

#cboxBottomCenter {
    height: 0;
}

#cboxContent {
    background: #fff;
    /*overflow: hidden;*/
    padding: 0;
    box-shadow: 0 0 15px rgba(0,0,0,.8);
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin-bottom: 0;
}

#cboxTitle {
    display: none;
}

#cboxCurrent {
    display: none;
}

#cboxLoadingOverlay {
    background: white;
}

#cboxLoadingGraphic {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px;
    text-align: center;
}

#cboxLoadingGraphic:before {
    display: block;
    content: "";
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid #00b056;
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: cssload-spin .5s infinite linear;
    -o-animation: cssload-spin .5s infinite linear;
    -ms-animation: cssload-spin .5s infinite linear;
    -webkit-animation: cssload-spin .5s infinite linear;
    -moz-animation: cssload-spin .5s infinite linear;
}

@keyframes cssload-spin {
    100% {
        transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes cssload-spin {
    100% {
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-ms-keyframes cssload-spin {
    100% {
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes cssload-spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes cssload-spin {
    100% {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    width: auto;
    background: none;
}

#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active {
    outline: 0;
}

#cboxSlideshow {
    display: none;
}

#cboxPrevious,
#cboxNext {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    width: 60px;
    height: 60px;
    line-height: 62px;
    text-align: center;
    background: white;
    color: #333;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.1);
    font-size: 30px;
    border-radius: 30px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#cboxPrevious {
    left: -30px;
}

#cboxNext {
    right: -30px;
}

#cboxPrevious:hover,
#cboxNext:hover {
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70); /* IE 5.5+*/
    -moz-opacity: 0.7; /* Mozilla 1.6 */
    -khtml-opacity: 0.7; /* Konqueror 3.1, Safari 1.1 */
    opacity: 0.7; /* CSS3 - Mozilla 1.7b +, Firefox 0.9 +, Safari 1.2+, Opera 9 */
}

#cboxClose {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    top: 0;
    right: -60px;
    z-index: 50;
    color: white;
    font-size: 30px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#cboxClose:hover {
    color: red;
}

.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}