/*
    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;box-sizing: border-box;}
#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;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background-color: rgba(128,128,128,0.50);}
#colorbox{outline:0;}

    #cboxTopLeft{}
    #cboxTopRight{}
    #cboxBottomLeft{}
    #cboxBottomRight{}
    #cboxMiddleLeft{}
    #cboxMiddleRight{}
    #cboxTopCenter{}
    #cboxBottomCenter{}
    #cboxContent{background:#fff; overflow:hidden;
        padding: 3em 10px 32px;
        box-shadow: 0 0 10px 0 rgba(0,0,0,50%);
        border-radius: 0.25em ;
}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{margin-bottom:28px;}
        #cboxTitle{position:absolute; top:1em; left:1em; width:calc(100% - 4em); color:#666;white-space: nowrap;text-overflow: ellipsis;}
        #cboxCurrent{position:absolute; bottom:1em; left:1em; color:#949494;}
        #cboxLoadingOverlay{background:url(../images/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
            background-color: #AAA;
            border: 1px solid #AAA;
            border-radius: 5px;
            color: #fff;
            font-size: 1em;
            padding: 0.5em 1em;
            position: relative;
            outline: none;
            cursor: pointer;
            margin: 0.25em;
            display: inline-block;
            line-height: 120%;
            box-sizing: border-box;
            text-indent:-9999px;
            white-space: nowrap;
        }
        
        /* 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:3px; right:calc(3px + 6em);}
        #cboxPrevious{position:absolute; bottom:3px; right:calc(3px + 3em);}
        #cboxNext{position:absolute; bottom:3px; right:3px;}
        #cboxClose{position:absolute; top:3px; right:3px;}
        
        #cboxSlideshow::before,
        #cboxSlideshow::after,
        #cboxPrevious::before,
        #cboxPrevious::after,
        #cboxNext::before,
        #cboxNext::after,
        #cboxClose::before,
        #cboxClose::after{
            content: "";
            display: block;
            position:absolute;
        }
        .cboxSlideshow_on #cboxSlideshow::before,
        .cboxSlideshow_on #cboxSlideshow::after{
            width:4px;
            height: 1em;
            background-color: #FFF;
            top:50%;
            left:50%;
            margin-top:-0.5em;
            margin-left:-6px;
        }
        .cboxSlideshow_on #cboxSlideshow::after{
            margin-left:2px;
}

        .cboxSlideshow_off #cboxSlideshow::before{
            border: 0.75em solid transparent;
            border-left-color: #fff;
            border-top-width: 0.5em;
            border-bottom-width: 0.5em;
            border-right-width: 0em;
            top:50%;
            left:50%;
             margin-left:-0.25em;
            margin-top:-0.5em;
        }




        #cboxPrevious::before{
            border: 0.5em solid transparent;
            border-right-color: #fff;
            border-top-width: 0.5em;
            border-bottom-width: 0.5em;
            border-left-width: 0em;
            top:50%;
            left:50%;
            margin-left:-0.5em;
            margin-top:-0.5em;
        }
        #cboxPrevious::after{
            width: 0.5em;
            height: 0.5em;
            background-color: #fff;
            top:50%;
            left:50%;
            margin-top:-0.25em;
            margin-left:-0.25em;
            }
        #cboxNext::before{
            border: 0.5em solid transparent;
            border-left-color: #fff;
            border-top-width: 0.5em;
            border-bottom-width: 0.5em;
            border-right-width: 0em;
            top:50%;
            left:50%;
            margin-top:-0.5em;
            }
        #cboxNext::after{
            width: 0.5em;
            height: 0.5em;
            background-color: #fff;
            top:50%;
            left:50%;
            margin-top:-0.25em;
            margin-left:-0.25em;
            }
    #cboxClose::before,
    #cboxClose::after{

    width:4px;
    height: 1em;
    background-color: #FFF;
    transform: rotate(-45deg);
    top:50%;
    left:50%;
    margin-left:-2px; 
    margin-top:-0.5em;

}
#cboxClose::after{transform: rotate(45deg);}
/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.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);
}