/*
    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; -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;}
.cboxIframe{width:100%; height:100%; display:block; border: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-color: rgba(0,0,0,0.7);}
#colorbox{}
#cboxContent{
	border: 1px solid transparent;
	background: #ffffff;
	clip-path: polygon(0% 0%, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0% 100%);
	-webkit-clip-path: polygon(0% 0%, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0% 100%);
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
	padding: 0;
	margin: 10px;
	overflow: hidden;
}
#cboxLoadedContent > img{
	padding: 10px;
	margin: 0;
}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{margin-bottom:-1px;}
#cboxTitle{position:absolute; bottom:5px; left:0; text-align:center; width:100%; color:#999;}
#cboxCurrent{position:absolute; bottom:5px; right:10px; color:#999;}
#cboxSlideshow{position:absolute; bottom:5px; right:42px; color:#444;}
#cboxPrevious{position:absolute; bottom:3px; left:10px; color:#444; font-size: 20px;}
#cboxNext{position:absolute; bottom:3px; left:45px; color:#444; font-size: 20px;}
#cboxLoadingOverlay{background:#fff url(../images/bx_loader.gif) no-repeat 5px 5px; background-position: center center;}
#cboxClose{
	z-index: 1000; 
	position:absolute;
	background-color: var(--blue);
	opacity: 1;
	width: 6rem;
	height: 6.5rem;
	top: 0;
	right: 0;
	color: var(--white);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 0;
}
#cboxClose:before{
	font-size: 3rem;
	content: "\f00d";
	font-family: 'Line Awesome Free';
	font-weight: 900;
	speak: none;
	text-transform: none;
	line-height: 1;
	
}
#cboxClose:hover{background-color: var(--red);}

