﻿/*
 * NOTE: ColorBox is the jQuery lightbox implementation we're using
 *
 * 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;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#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;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{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 defined in "Colors" */ }
#colorbox {
    position: fixed !important; /*overwriting the position calculation of the plugin itself*/
    /*top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%); /*ensure the centering of the lightbox*/
}
    #cboxTopLeft{width:20px; height:20px; /* background-color defined in "Colors" */}
    #cboxTopRight{width:20px; height:20px; /* background-color defined in "Colors" */}
    #cboxBottomLeft{width:20px; height:20px; /* background-color defined in "Colors" */}
    #cboxBottomRight{width:20px; height:20px; /* background-color defined in "Colors" */}
    #cboxMiddleLeft{width:20px; /* background-color defined in "Colors" */}
    #cboxMiddleRight{width:20px; /* background-color defined in "Colors" */}
    #cboxTopCenter{height:20px; /* background-color defined in "Colors" */}
    #cboxBottomCenter{height:20px; /* background-color defined in "Colors" */}
    #cboxContent{overflow:hidden; /* background-color defined in "Colors" */}
        .cboxIframe{/* background-color defined in "Colors" */}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxTitle{display:none;}
        #cboxCurrent{display:none;}
        #cboxSlideshow{display:none;}
        #cboxPrevious{display:none;}
        #cboxPrevious:hover{display:none;}
        #cboxNext{display:none;}
        #cboxNext:hover{display:none;}
        #cboxLoadingOverlay{background:url(../../Images/_SysImages/LearnerDesktop/ColorBoxTemp/loading_background.png) no-repeat center center;}
        #cboxLoadingGraphic{background:url(../../Images/_SysImages/LearnerDesktop/ColorBoxTemp/loading.gif) no-repeat center center;}
        #cboxClose{/* See BaseLD_Icons.css */ position:absolute; top:0; right:0; text-indent:-9999px;}
        #cboxClose:hover{/* See BaseLD_Icons.css */}

/*
  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);
}
