/*
    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; -webkit-transform: translate3d(0,0,0); overflow: visible !important;}
#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:*/
#cboxOverlay{
	background: rgba(0,0,0,0.9);
}
#colorbox{outline:0;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc; display: none !important;}
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff; display: none !important;}
#cboxNext,
#cboxPrevious{
    position: fixed;
    top: 50%;
    margin-top: -20px;
    width: 50px;
    height: 50px;
/*
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
*/
    text-indent: -9999px;
        transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
#cboxNext {
	right: -60px;
/*	transform: rotate(45deg);*/
}
#cboxPrevious{
	left: -60px;
/*    transform: rotate(-135deg);*/
}
#cboxNext::before,
#cboxPrevious::before {
	content: "";
	display: block;
	position: absolute;
    top: 50%;
    width: 75%;
    height: 75%;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
}
#cboxNext::before {
    left: 35%;
	transform: translate(-50%, -50%) rotate(45deg);
}
#cboxPrevious::before {
    left: 65%;
	transform: translate(-50%, -50%) rotate(-135deg);
}

#cboxClose{
    position: absolute;
    display: block;
    text-indent: -9999px;
    width: 40px;
    height: 40px;
    top: -60px;
    right: 0;
    transition: all .3s ease;
}
#cboxClose:before,
#cboxClose:after {
    content: '';
    top: 50%;
    left: 50%;
    width: 141%;
    height: 2px;
	transform-origin: center center;
    position: absolute;
    background: #fff;
}
#cboxClose:before {
	transform: translate(-50%, -50%) rotate(-45deg);
}
#cboxClose:after {
	transform: translate(-50%, -50%) rotate(45deg);
}

@media screen and (min-width: 813px) {
	
	#cboxPrevious:hover{
		left: -65px;
	}
	#cboxNext:hover {
		right: -65px;
	}
	#cboxClose:hover{
		transform: scale(1.1);
	}
}

@media screen and (max-width: 812px) {
	
	#cboxClose {
		width: 30px;
		top: -40px;
	}
	#cboxNext, #cboxPrevious {
		top: 50%;
		width: 30px;
    	height: 120px;
    	transform: translateY(-50%);
	}
	#cboxNext {
		right: -30px;
	}
	#cboxPrevious {
		left: -30px;
	}
	#cboxNext::before,
	#cboxPrevious::before {
		width: 22px;
		height: 22px;
	}
	
}

