/*
    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;}
#cboxWrapper {max-width:none;}
#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;}
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {position:absolute; border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px;}
/*
	set & override any button css
*/
#colorbox button, #colorbox a.button {-moz-transition: none; -webkit-transition: none; -o-transition: none; transition: none; outline:none; box-shadow: none;}
#colorbox button:focus, #colorbox a.button:focus {-webkit-box-shadow:none; -moz-box-shadow:none; box-shadow:none; border:none; outline:none; box-shadow: none;}
/* 
    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-image: url(img/overlay.png);
}
#cboxOverlay, #cboxWrapper, #colorbox, #cboxContent, .cboxIframe, #cboxError, #cboxLoadedContent, #cboxLoadingGraphic, #cboxLoadingOverlay{
	background-color:#fff;
}
#colorbox{border-radius:5px; /*border:1px solid #ccc;*/}
    #cboxContent{margin:35px 0 15px 0; padding: 25px 15px 15px 15px; overflow:visible; /*border:1px solid #ccc;*/}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{padding:1px;}
		#cboxContent:before {
		    content: "";
		    display: block;
		    margin: 0 auto 0 auto;
		    width: 100%;
		    padding: 5px 0;
		    border-top: 1px solid #e5e5e5;
		}
        /*#cboxLoadingGraphic{background:url(img/ajax-loader-4.gif) no-repeat center center;}*/
/*
	font awesome loading graphic
*/
		#cboxLoadingGraphic {
			position: relative;
			width: 40px;
			height: 40px; 
			margin:0 auto;
			/*-webkit-animation: fa-spin 2s infinite linear;
			animation: fa-spin 2s infinite linear; (spin)*/
			-webkit-animation: fa-spin 1s infinite steps(8);
			animation: fa-spin 1s infinite steps(8);/*(pulse)*/
			margin-left: -20px;
			margin-top:-20px;
			top: 50%;
			left:50%;
		}
		#cboxLoadingGraphic:before {
			content: "\f110"; /* f110(pulse) , f1ce(spin) */
			color:#777777;
			font-family: FontAwesome;
			font-size:40px;
			position: absolute;
			top:-10px;
		}
        #cboxTitle{position:absolute; top:-32px; left:15px; padding:15px; color:#a0a0a0; /*display:none !important;*/}
        #cboxCurrent{position:absolute; bottom:-35px; left:0; font-size: .95em; color:#000;/* display:none !important;*/}
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {width:40px; height:40px; bottom:-48px; background:url(img/colorbox-mid.png) no-repeat 0 0;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background-position:0px 0px; right:145px;}
        #cboxPrevious:hover{background-position:0px -40px;}
        #cboxNext{background-position:-40px 0px;}
        #cboxNext:hover{background-position:-40px -40px;}
        #cboxClose{background-position:-80px 0px; right:0;}
        #cboxClose:hover{background-position:-80px -40px;}
		
        .cboxSlideshow_on #cboxNext, .cboxSlideshow_off #cboxNext{right:45px;}

        .cboxSlideshow_on #cboxSlideshow{background-position:-160px 0; right:95px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-160px -40x;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-120px 0; right:95px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-120px -40px;}