/*remove drop shadow around image*/
.fancybox-opened .fancybox-skin {
	box-shadow: none;
	/*background: none;*/
	border-radius: 0; /*AO: remove corner rounding*/
}

.fancy-AOoverride-close {
	position: fixed;
	height: 30px;
	width: 30px;
	top: 30px;
	right: 30px;
	/*margin-top: -15px;*/
	background-image: url('AO-css-close.svg');
	background-size: 30px 30px;
	/*background: #ff0000;*/
}

.fancy-AOoverride-next {
	position: fixed;
	height: 30px;
	width: 30px;
	top: 50%;
	margin-top: -15px;
	right: 30px;
	background-image: url('AO-css-right.svg');
	/*background: red;*/
}

.fancy-AOoverride-prev {
	position: fixed;
	height: 30px;
	width: 30px;
	top: 50%;
	margin-top: -15px;
	left: 30px;
	background-image: url('AO-css-left.svg');
	/*background: red;*/
}

.fancybox-overlay {
	background: url('AO-fancybox_overlay.png');
}


/*keep arrows visible all the time*/
.fancybox-nav span {
	visibility: visible;
}

/*Mobile*/
@media only screen and (max-width: 768px) {
	.fancy-AOoverride-close {
		background-image: none;
	}
	
	.fancy-AOoverride-next {
		background-image: none;
	}
	
	.fancy-AOoverride-prev {
		background-image: none;
	}
}


/*Title Override*/
.fancybox-title {
	visibility: hidden;
	/*font-family: inherit; /*AO mod*/*/
	/*font-weight: 300; /*AO addition*/*/
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: white;
	-webkit-border-radius: 0px;  /*AO mod*/
	-moz-border-radius: 0px;  /*AO mod*/
	border-radius: 0;  /*AO mod*/
	text-shadow: none;  /*AO mod*/
	color: black; /*AO mod*/
	font-weight: inherit;  /*AO mod*/
	line-height: inherit;  /*AO mod*/
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #FFF;
	background: rgba(0, 0, 0, 0.0);
}