/*
    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%;}
#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{background:#f0f0f0;}
#colorbox{}
    #cboxContent{margin-top:3px;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{border:5px solid #ffffff; background:#fff;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{
        	position:absolute; 
        	bottom:13px; 
        	right:-200px; 
        	margin-top:-32px; 
        	background:url(../img/controlsPrevious.png) no-repeat; 
        	width:20px; 
        	height:20px; 
        	text-indent:-9999px;
        	filter:alpha(opacity=25);
			-moz-opacity:0.25;
			opacity:0.25;
        	}
        #cboxPrevious.hover{
			filter:alpha(opacity=50);
			-moz-opacity:0.5;
			opacity:0.5;
        }
        #cboxNext{
        	position:absolute; 
        	bottom:13px; 
        	right:-230px; 
        	margin-top:-32px; 
        	background:url(../img/controlsNext.png) no-repeat; 
        	width:20px; 
        	height:20px; 
        	text-indent:-9999px;
        	filter:alpha(opacity=25);
			-moz-opacity:0.25;
			opacity:0.25;
        	}
        #cboxNext.hover{
			filter:alpha(opacity=50);
			-moz-opacity:0.5;
			opacity:0.5;
        }
        #cboxLoadingOverlay{background:#ffffff;}
        #cboxLoadingGraphic{background:url(../img/loading.gif) no-repeat center center;}
        #cboxClose{
        	position:absolute; 
        	right:-226px; 
        	display:block; 
        	background:url(../img/controlsClose.png) no-repeat; 
        	width:15px; 
        	height:16px; 
        	text-indent:-9999px;
        	filter:alpha(opacity=25);
			-moz-opacity:0.25;
			opacity:0.25;
			}
        #cboxClose.hover{
			filter:alpha(opacity=50);
			-moz-opacity:0.5;
			opacity:0.5;
        }

		@media screen
			and (min-device-width: 420px) {
        #cboxClose{
        		top:15px; 
        	}
		}
		
		@media screen
			and (-webkit-min-device-pixel-ratio: 2)
			and (max-device-width: 420px) {
        #cboxPrevious{
     		   	background:url(../img/) no-repeat; 
        	}
        #cboxNext{
     		   	background:url(../img/) no-repeat; 
        	}
        #cboxClose{
        		bottom:15px; 
       		 	right:-222px; 
     		   	background:url(../img/controlsClose2.png) no-repeat; 
     		   	width:30px; 
     		   	height:32px; 
        	}
		}


        #cboxTitle{
			color: #aaa;
			font-family: Arial;
			font-size: 11px;
			position: absolute;
			right: -240px;
			top:0px;
			width:225px;
			height:100%;
			padding-left:10px;
			padding-right:10px;
			background:#fff;
			-moz-border-radius-bottomright: 5px;
			border-bottom-right-radius: 5px;
			-moz-border-radius-topright: 5px;
			border-top-right-radius: 5px;
		}

        #cboxTitle a{
			color: #777;
		}
		
        #cboxTitle .imageName a{
			color: #aaaaaa;
		}

        #cboxTitle a:hover{
			color: #ec008c;
		}
