/*
    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.5);
}

#colorbox {}

#cboxContent {
    border: 0px solid transparent;
    background: #ffffff;
    /* -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topright: 15px;
    -ms-border-top-right-radius: 15px;
    -o-border-top-right-radius: 15px;
    border-top-right-radius: 15px; */
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .25);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .25);
    -ms-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .25);
    -o-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .25);
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .25);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    padding: 30px 0px 20px 0px;
    margin: 10px;
}

#cboxLoadedContent {
    padding: 20px;
}

#cboxLoadedContent>img {
    padding: 10px;
    margin: 0px;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin-bottom: -1px;
}

#cboxTitle {
    position: absolute;
    bottom: 0px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #999;
}

#cboxCurrent {
    position: absolute;
    bottom: 0px;
    left: 100px;
    color: #999;
}

#cboxSlideshow {
    position: absolute;
    bottom: 0px;
    right: 42px;
    color: #444;
}

#cboxPrevious {
    position: absolute;
    bottom: 0px;
    left: 0;
    color: #444;
}

#cboxNext {
    position: absolute;
    bottom: 0px;
    left: 63px;
    color: #444;
}

#cboxLoadingOverlay {
    /* background: #fff url(../images/loading.gif) no-repeat 5px 5px; */
    background-position: center center;
}

#cboxClose {
	background-color: #004679;
	z-index: 1000;
	position: absolute;
	color: #fff;
	width: 45px;
	height: 45px;
	top: -12.5px;
	opacity: 1;
	right: -12.5px;
	font-size: 0px;
	/*text-shadow: 1px 1px 3px #ffffff;*/
	display: flex;
	align-items: center;
	justify-content: center;
}

#cboxClose:hover {
	text-decoration: none;
}

#cboxClose::before {
	visibility: visible;
	font-family: "Line Awesome Free";
	font-size: 30px;
	content: "\f057";
	color: #fff;
}
#cboxClose:hover:before {
	opacity: .7;
}

