/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#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: #000;
    opacity: 0.9; 
    filter: alpha(opacity = 90);
}
#colorbox{outline:0;}
#cboxContent{
    background: transparent;
    overflow: hidden;
    opacity: 0;
    animation: fadeAnim 0.5s ease 0.5s forwards;
}
#cboxLoadedContent{
    margin-bottom: 0;
    padding: 40px 0;

}
#cboxLoadedContent .modview{
    background: #e9e9e9;
    overflow: auto;
    padding: 40px;
    box-sizing: border-box;
    height: 100%;
    animation: fadeAnim 0.5s ease 0s forwards;
    border-radius: 16px;

}
@keyframes fadeAnim {
    0%   { 
        opacity: 0;
    }
    100%{ 
        opacity: 1;    
    }
}
#cboxLoadedContent .modview img{
    max-width: 100%;
}
#cboxTitle{
    display: none;
}
#cboxCurrent{
    display: none;
}
/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxPrevious{
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 0;
    left: 0;
    text-indent: 99999px;
    color: transparent;
    border: 2px solid #FFFF;
    box-sizing: border-box;
    transition: 0.3s ease;
    border-radius: 100px;
}
#cboxPrevious:before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    left: calc(50% - 3px);
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    transform: rotate(-45deg);
}
#cboxNext{
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 0;
    left: 40px;
    text-indent: 99999px;
    color: transparent;
    border: 2px solid #FFFF;
    box-sizing: border-box;
    transition: 0.3s ease;
    border-radius: 100px;
}
#cboxNext:before{
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: calc(50% - 3px);
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    transform: rotate(135deg);
}
#cboxClose{
    position: absolute;
    bottom: 0;
    text-indent: -9999px;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    color: transparent;
}
#cboxClose:before,
#cboxClose:after {
    content: "";
    position: absolute;
    display: block;
    width: 2px;
    height: 40px;
    background: #FFF;
    transition: 0.3s ease;
}
#cboxClose:before {
    top: calc(50% - 20px);
    left: calc(50% - 1px);
    transform: rotate(45deg);

}
#cboxClose:after {
    top: calc(50% - 20px);
    left: calc(50% - 1px);
    transform: rotate(-45deg);

}
#cboxClose:hover{background-position:-25px -25px;}
.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);
}

/* SP-max-769 */
@media screen and (max-width: 769px){
#cboxLoadedContent {

}

}
