#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;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#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;
}

/*Style*/
#cboxOverlay {
    background: #000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}
#colorbox, #colorbox * {
    outline: none;
}
#cboxContent {
    overflow: hidden;
}
.fVideos #cboxContent, .fImages #cboxContent, .fPdf #cboxContent {
    margin: 10px;
}
.cboxIframe {
    background: #000;
}
#cboxError {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.7rem;
    text-align: center;
    color: #FFF;
    background: #000;
    position: relative;
    z-index: 5;
}
#cboxLoadingOverlay::before {
    content: '';
	display: block;
	width: 50px;
	height: 50px;
	margin: -25px 0px 0px -25px;
	border-radius: 5px;
	position: absolute;
	top: 50%;
	left: 50%;
	background: #331839 url(../images/site/gLoading.gif) no-repeat center;
	background-size: auto 35px;
}
.fContent #cboxLoadedContent {
    padding: 10px;
    font-size: 0rem;
    letter-spacing: 0rem;
    text-align: center;
}
.fContent #cboxLoadedContent::before, .contFancy {
    display: inline-block;
    vertical-align: middle;
    margin: 0px auto;
    padding: 0px;
    box-sizing: border-box;
}
.fContent #cboxLoadedContent::before {
    content: '';
    width: 0px;
    height: 100%;
}
.contFancy {
    width: 100%;
    max-width: 770px;
    font-size: 0.94rem;
    text-align: left;
    background: #FFF;
    position: relative;
}
.fVideos #cboxLoadedContent, .fPdf #cboxLoadedContent {
    padding-top: 50px;
}

/*title*/
#cboxTitle, #cboxTitle .titleFancy {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
#cboxTitle {
    position: absolute;
    top: 0px;
    left: 0;
}
.fImages #cboxTitle {
    top: auto;
    bottom: 0px;
}
#cboxTitle .titleFancy {
    padding: 14px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    line-height: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    text-align: left;
    color: #FFF;
    background: rgba(51, 24, 57, 0.75);
}
.fVideos #cboxTitle .titleFancy, .fPdf #cboxTitle .titleFancy {
    height: 50px;
    padding: 18px 50px 0px 30px;
    font-size: 0.96rem;
    line-height: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #333333;
    background: #f5f5f5;
    text-transform: uppercase;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose, .btnCF {
    width: auto;
    margin: 0px;
    padding: 0px;
    border: 0px;
    outline: none;
    overflow: visible;
    background: none;
    box-sizing: border-box;
}
#cboxPrevious, #cboxNext, #cboxPrevious::before, #cboxNext::before, #cboxClose, #cboxClose::before, #cboxClose::after, .btnCF, .btnCF::before, .btnCF::after {
    display: block;
    position: absolute;
}
#cboxPrevious, #cboxNext, #cboxClose, .btnCF {
    text-align: left;
    text-indent: -9999px;
    transition: opacity 0.25s ease;
    z-index: 5;
}
#cboxPrevious:hover, #cboxNext:hover, #cboxClose:hover, .btnCF:hover {
    opacity: 0.75;
}
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, .btnCF:active {
    margin-top: 2px;
}
#cboxPrevious, #cboxNext, #cboxPrevious::before, #cboxNext::before, #cboxClose::before, #cboxClose::after, .btnCF::before, .btnCF::after {
    top: 50%;
}
#cboxPrevious::before, #cboxNext::before, #cboxClose::before, #cboxClose::after, .btnCF::before, .btnCF::after {
    content: '';
    left: 50%;
}
#cboxPrevious, #cboxNext {
    width: 40px;
    height: 40px;
    background: #FFF;
    transform: translate(0%, -50%);
}
#cboxPrevious {
    left: 0px;
}
#cboxNext {
    right: 0px;
}
#cboxPrevious::before, #cboxNext::before {
    width: 0px;
    height: 0px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    transform: translate(-50%, -50%);
}
#cboxPrevious::before {
    border-right: 7px solid #331839;
}
#cboxNext::before {
    border-left: 7px solid #331839;
}
#cboxClose, .btnCF {
    width: 25px;
    height: 25px;
    top: 5px;
    right: 5px;
    background: #331839;
}
#cboxClose {
    display: none;
}
#cboxClose.show {
    display: block;
}
.fImages #cboxClose {
    background: #FFF;
}
#cboxClose::before, #cboxClose::after, .btnCF::before, .btnCF::after {   
    background: #FFF;
    transform: translate(-50%, -50%) rotate(45deg);
}
.fImages #cboxClose::before, .fImages #cboxClose::after {
    background: #331839;
}
#cboxClose::before, .btnCF::before {
    width: 15px;
    height: 3px;
}
#cboxClose::after, .btnCF::after {
    width: 3px;
    height: 15px;
}

@media (max-width: 767px) {
    #cboxPrevious, #cboxNext {
        width: 25px;
        height: 25px;
    }
    #cboxTitle .titleFancy {
        padding: 11px 15px;
    }
    .fVideos #cboxTitle .titleFancy, .fPdf #cboxTitle .titleFancy {
        padding: 18px 50px 0px 15px;
        font-size: 0.9rem;
        letter-spacing: 0.04rem;
    }
}