#colorbox,#cboxOverlay,#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999999;
}
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999999;
}

#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,.7);
}

#colorbox {
    outline: 0;
}

#cboxContent {
    margin: 20px;
    background: #fff;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid#ccc;
}

#cboxLoadedContent {
	padding: 10px;
}

#cboxTitle {
    position: absolute;
    top: -20px;
    left: 0;
    color: #ccc;
}

#cboxCurrent {
    position: fixed;
    top: 30px;
    left: 30px;
    color: #fff;
}

#cboxLoadingGraphic {
    background: url(loading.gif)no-repeat center center;
}

#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;
}

#cboxPrevious,#cboxNext,#cboxClose {
    background: url(control.png)0 0 no-repeat;
}

#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}

#cboxPrevious {
    position: fixed;
    top: 50%;
    left: 30px;
    margin-top: -40px;
    width: 50px;
    height: 80px;
    text-indent: -9999px;
    background-position: 0 0;
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    opacity: .3;
}

#cboxPrevious:hover {
    opacity: .9;
}

#cboxNext {
    position: fixed;
    top: 50%;
    right: 30px;
    margin-top: -40px;
    width: 50px;
    height: 80px;
    text-indent: -9999px;
    background-position: -50px 0;
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    opacity: .3;
}

#cboxNext:hover {
    opacity: .9;
}

#cboxClose {
    position: fixed;
    top: 30px;
    right: 30px;
    display: block;
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    background-position: 0-80px;
    background-color: #000;
    -webkit-transition: all 0.8s ease 0s;
    -moz-transition: all 0.8s ease 0s;
    -o-transition: all 0.8s ease 0s;
    transition: all 0.8s ease 0s;
    opacity: .3;
}

#cboxClose:hover {
    opacity: .5;
}