#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

#cboxWrapper {
    max-width: none;
}

#cboxOverlay {
    position: fixed;
    right: 0;
    bottom: 0;
}

#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: #fff;*/
    /*  background: #6f6e6e;*/
    background: #000000;
    opacity: .4 !important;/*add*/
}

#colorbox {
    outline: 0;
    position: fixed;
    box-shadow: 0px 0px 15px 0px #8D8D8D;
    /*border-radius: 9px;*/
}

#cboxContent {
    overflow: hidden;
    background: #FFF;
    border-radius: 0.6rem;/*add*/
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    /*padding: 3px 8px;*/
    /* border-top: 1px solid #c0c5ca82;*/
    /*border-top: 1px solid #fff;
    border-top-width: 28px;
    background: #fff;
    border-radius: 1px;*/
    padding: 3px 8px;
    /*border: 2px solid #ffffff;*/
    /*border: 2px solid #4285f4;*/
    /*  border-top: 1px solid #5490d6;*/
    /*border-top: 1px solid #607d8b;*/
    border-top: 1px solid #E8E8E8 !important;
    margin-top: 29px !important;
    border-top-width: 28px;
    background: #fff;
    border-radius: 1px;
}

#cboxLoadingGraphic {
    background: url(../images/loading.gif) no-repeat center center;
}

#cboxLoadingOverlay {
    background: #FFF;
}

#cboxTitle {
    /*position: absolute;*/
    /*top: 3px;
    left: 10px;*/
    /*top: 22px;
    left: 15px;*/
    /* color: #FFF;*/
    /*color: #00273a;
    font-size: 21px;
    line-height: 18px;
    padding-left: 2px;*/
    position: absolute;
    top: 3px;
    left: 10px;
    /* color: #FFF;*/
    /*color: #666565;*/
    color: #000;
    font-size: 15px;
    line-height: 18px;
    padding-left: 2px;
}

#cboxCurrent {
    position: absolute;
    top: -22px;
    right: 205px;
    text-indent: -9999px;
}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
    border: 0;
    padding: 0;
    margin: 0;
    overflow: visible;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    position: absolute;
    background: url(../images/controls.png) no-repeat 0 0;
}

    #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {
        outline: 0;
    }

#cboxPrevious {
    background-position: 0 0;
    right: 44px;
}

    #cboxPrevious:hover {
        background-position: 0 -25px;
    }

#cboxNext {
    background-position: -25px 0;
    right: 22px;
}

    #cboxNext:hover {
        background-position: -25px -25px;
    }

#cboxClose {
    background-position: -50px -25px;
    right: 7px;
    /*top: 20px;*/
    top: 5px;
}

    #cboxClose:hover {
        background-position: -50px -25px;
    }

.cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious {
    right: 66px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position: -75px -25px;
    right: 44px;
}

    .cboxSlideshow_on #cboxSlideshow:hover {
        background-position: -100px -25px;
    }

.cboxSlideshow_off #cboxSlideshow {
    background-position: -100px 0;
    right: 44px;
}

    .cboxSlideshow_off #cboxSlideshow:hover {
        background-position: -75px -25px;
    }

.PrevCont {
    height: 100%;
    padding: 20% 0 0 0;
    font-size: 20px;
    color: #9c9595;
    text-align: center;
    box-sizing: border-box;
}

.DnldLinkDocPreview {
    position: fixed;
    top: 40%;
    right: 5%;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.53);
    padding: 8px 10px;
    border-radius: 50%;
    box-shadow: 1px 1px 1px 0px #000;
}

    .DnldLinkDocPreview:hover {
        background: #e2e2e2;
        color: #000;
    }

/*.DnldLinkDocNoPreview {
    color: #000000;
    background: #47a9fd;
    padding: 12px 18px;
    border-radius: 50%;
    box-shadow: 1px 1px 1px 0px #000;
    width: 96px;
    font-size: 55px;
    margin: 30px auto;
}*/
.DnldLinkDocNoPreview {
    color: #fff;
    background: #8fbd56;
    padding: 8px 3px;
    border-radius: 50%;
    width: 80px;
    height: 70px;
    font-size: 45px;
    margin: 33px auto;
}
.DnldLinkDocNoPreview:hover {
    background: #e2e2e2;
        color: #47a9fd;
}

#cboxClose:before {
   /* color: #00000087 !important;*/
}
/*add new css */
/*#cboxLoadedContent {

     padding: 7px 2px 2px 3px !important;
    border-top: 1px solid #fff;
    border-top-width: 28px;
    background: #fff;
    left: 0px;
    width: 100% !important;
}
#cboxClose:before {
    color: #ffffff !important;
    background: #E8413B;
    border-radius: 3%;
    padding: 5px;
    font-size: 10px !important;
}*/