/*
    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;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}

/* 
    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{
	position:fixed; top: 2%;left:2%; width:96%; height:96%;
	border: 1px solid #888;
	border-top: 1px solid #888;
	border-left: 1px solid #888;
	border-right: 1px solid #222;
	border-bottom: 1px solid #222;
	background:rgba(0,0,0,0.666);
	background-image:url(/images/glass.png);
	-webkit-box-shadow: 30px 30px 12px rgba(0,0,0,0.666); 
	   -moz-box-shadow: 30px 30px 12px rgba(0,0,0,0.666); 
		    box-shadow: 30px 30px 12px rgba(0,0,0,0.666); 
}


	
#colorbox{
	font: 13px pcb;
	color:#aaa;
}
#colorbox A:link {text-decoration: underline;color: #ccc;}
#colorbox A:visited {text-decoration: underline; color: #ccc;}
#colorbox A:hover {text-decoration: underline; color: #fff;text-shadow:0px 0px 3px #fff;}
#colorbox A:active {text-decoration: underline; color: #ccc;}

	
	
	
	
    #cboxContent{margin-top:20px;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:1px solid #888;padding:3px}
        #cboxTitle{
	        text-align:right;
	        max-width:90%;
	        position:absolute; 
	        bottom:15px; right:15px; 
	        color:#aaa;
	        background:rgba(0,0,0,0.8);
	        padding:1 5 1 5;
        
        	-webkit-border-radius: 3px; /* Saf3-4, iOS 1-3.2, Android ?1.6 */
     	   	   -moz-border-radius: 3px; /* FF1-3.6 */
                    border-radius: 3px; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */

  				/* useful if you yon't want a bg color from leaking outside the border: */
  			-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
  			-webkit-box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.7);
     		-moz-box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.7);
          	     box-shadow: 4px 4px 4px 0px rgba(0,0,0,0.7);
  
        
        }
		/* 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;}
		
        #cboxCurrent{position:absolute; top:-20px; left:0px; color:#aaa;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#aaa;}
        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(/images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:2px; margin-top:-32px; background:url(/images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
        #cboxNext:hover{background-position:bottom right;}
        #cboxLoadingOverlay{background:rgba(0,0,0,0.33);border:1px solid #888;}
        #cboxLoadingGraphic{background:url(/images/loading.gif) no-repeat center center;}
		
		
        #cboxClose{position:absolute; top:8px; right:-4px; display:block; background:url(/images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #cboxClose:hover{background-position:bottom center;}