/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
.ACFGallery #colorbox, .ACFGallery#cboxOverlay, .ACFGallery #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
.ACFGallery#cboxOverlay{position:fixed; width:100%; height:200%;}
.ACFGallery #cboxMiddleLeft, .ACFGallery #cboxBottomLeft{clear:left;}
.ACFGallery #cboxContent{position:relative;}
.ACFGallery #cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
.ACFGallery #cboxTitle{margin:0;}
.ACFGallery #cboxLoadingOverlay, .ACFGallery #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
.ACFGallery #cboxPrevious, .ACFGallery #cboxNext, .ACFGallery #cboxClose, .ACFGallery #cboxSlideshow{cursor:pointer;}
.ACFGallery .cboxPhoto{float:left;margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.ACFGallery .cboxIframe{width:100%; height:100%; display:block; border:0;}
.ACFGallery #colorbox, .ACFGallery #cboxContent, .ACFGallery #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.
*/
.ACFGallery#cboxOverlay{background:#181818;}
.ACFGallery#colorbox{outline:0;z-index:10000;}
    .ACFGallery #cboxContent{margin-top:0px;padding:0px 0px 0px 0px;background:#000;}
		.ACFGallery .cboxIframe{background:#000;}
        .ACFGallery #cboxError{padding:50px; border:1px solid #fff;}
        .ACFGallery #cboxLoadedContent{border:0px solid #fff; background:#000;}
        .ACFGallery #cboxTitle{position:absolute; top:-20px; left:0; color:#fff;}
        .ACFGallery #cboxCurrent{position:absolute; top:-20px; right:0px; color:#fff;}
		.ACFGallery #cboxLoadingGraphic{background:url(images/loadingSpinLCF.gif) no-repeat center center;display:none !important;}
		
		/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        .ACFGallery #cboxPrevious, .ACFGallery #cboxNext, .ACFGallery #cboxSlideshow, .ACFGallery #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) */
        .ACFGallery #cboxPrevious:active, .ACFGallery #cboxNext:active, .ACFGallery #cboxSlideshow:active, .ACFGallery #cboxClose:active {outline:0;}
		
        .ACFGallery #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        .ACFGallery #cboxPrevious{position:absolute; top:50%; left:1px; margin-top:-32px; background:url(images/controlsLCF3.png) no-repeat top left; width:24px; height:65px; text-indent:-9999px;}
        .ACFGallery #cboxPrevious.hover{background-position:bottom left;}
        .ACFGallery #cboxNext{position:absolute; top:50%; right:1px; margin-top:-32px; background:url(images/controlsLCF3.png) no-repeat top right; width:24px; height:65px; text-indent:-9999px;}
        .ACFGallery #cboxNext.hover{background-position:bottom right;}
        .ACFGallery #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controlsLCF_Close26.png) no-repeat top center; width:26px; height:26px; text-indent:-9999px;}
        .ACFGallery #cboxClose.hover{background-position:bottom center;}
		
		@media (max-width: 767px)
		{
			.ACFGallery #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controlsLCF_Close26.png) no-repeat top center; background-size: 100% 100%; width:20px; height:20px; text-indent:-9999px;}*/
		}