/*
    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:999999999999; overflow:hidden; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#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; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #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.
*/
#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
    #cboxContent{margin:29px 95px 34px; overflow:visible; background:#000;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px;}
        #cboxLoadedContent{background:#000;}
        #cboxLoadingGraphic{background:url(../img/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{
		position:absolute;
		bottom:-34px;
		line-height:24px;
		font-size:14px;
		left:0;
		text-align:center;
		width:100%;
		color:#fff;
	}
        #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

        /* 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; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:transparent;}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxNext,
        #cboxPrevious{
		background:rgba(255,255,255,0.9);
		border-radius:100%;
		width:80px;
		height:80px;
		top:50%;
		margin:-40px 0px 0px 0px;
		right:auto;
		left:-95px;
	}
	#cboxNext{
		left:auto;
		right:-95px;
	}


	#cboxPrevious::after,
	#cboxPrevious::before,
	#cboxNext::after,
	#cboxNext::before{
		content:"";
		width:12px;
		height:2px;
		background:#000;
		position:absolute;
		top:50%;
		margin:-2px 0px 0px;
		-webkit-transform:rotate(45deg);
		transform:rotate(45deg);
		-webkit-transition:all 400ms ease,transform 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
		transition:all 400ms ease,transform 400ms cubic-bezier(1.000, 0.000, 0.000, 1.000);
	}

	#cboxPrevious::before{
		margin:2px 0px 0px;
		right:35px;
	}
	
	#cboxPrevious::after{
		margin:-5px 0px 0px;
		right:35px;
		-webkit-transform:rotate(-45deg);
		transform:rotate(-45deg);
		left:auto;
	}


	#cboxNext::before{
		margin:2px 0px 0px;
		right:33px;
		-webkit-transform:rotate(-45deg);
		transform:rotate(-45deg);
	}
	#cboxNext::after{
		margin:-5px 0px 0px;
		right:33px;
	}

	#cboxPrevious:hover::after,
	#cboxPrevious:hover::before,
	#cboxNext:hover::after,
	#cboxNext:hover::before{
		background:#be904a;
	}
	#cboxPrevious:hover::after,
	#cboxPrevious:hover::before{
		right:40px;
	}
	#cboxNext:hover::after,
	#cboxNext:hover::before{
		right:28px;
	}


        #cboxClose{
		height:15px;
		width:15px;
		right:0;
		top:-29px;
		transition:all 300ms ease;
	}
        #cboxClose::before,
        #cboxClose::after{
		content:" ";
		position:absolute;
		left:-3px;
		top:6px;
		width:2px;
		height:2px;
		-webkit-transform:rotate(45deg);
		transform:rotate(45deg);
		width:20px;
		display:block;
		background:#fff;
		-webkit-transition:background 300ms ease;
		transition:background 300ms ease;
	}
        #cboxClose::after{
		-webkit-transform:rotate(-45deg);
		transform:rotate(-45deg);
	}
        #cboxClose:hover::before,
        #cboxClose:hover::after{
		background-color:#be904a;
	}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
@media screen and (max-width: 800px){
	#cboxContent{margin:29px 0px 90px;}
        #cboxNext,
        #cboxPrevious{
		width:40px;
		height:40px;
		margin:0px 0px 0px 0px;
		right:auto;
		top:auto;
		bottom:-90px;
		left:0%;
	}
        #cboxNext{
		left:auto;
		right:0px;
	}
        #cboxTitle{
		font-size:11px;
		line-height:16px;
		bottom:-40px;
		height:32px;
	}


	#cboxPrevious::before,
	#cboxPrevious::after,
	#cboxPrevious:hover::after,
	#cboxPrevious:hover::before{
		right:15px;
	}


	#cboxNext::before,
	#cboxNext::after,
	#cboxNext:hover::after,
	#cboxNext:hover::before{
		right:13px;
	}
}