/* Before/After Styles */
body.expanded {
	overflow: hidden;
}

body.expanded header {
	z-index: 1;
}

.ba-slider{
	width: 100%;
	height: auto;
	margin-bottom: 40px;
	overflow: hidden;
	padding: 0;
	position: relative;
	-webkit-transition: all .25s;
	transition: all .25s;
	display: flex;
	opacity: 1;
}

.ba-slider.hide{
	opacity: 0;
}

.ba-slider.expanded {
	background: rgba(0,0,0,1);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	max-height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 1000000;
}

.ba-slider.adjust-height > * {
	height: 100%;
	max-height: 100vh;
	width: auto !important;!i;!;
}

.ba-slider.adjust-height .hidden-image {
	height: 100vh !important;
	width: auto !important;
}

	.ba-slider .ba-span{
		background-color:rgba(255, 255, 255, 0.75);
		color:#fff;
		display:block;
		font-size:1.2em;
		/* Theoretically for IE 8 & 9 (more valid) */	
		/* ...but not required as filter works too */
		/* should come BEFORE filter */
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
		/* This works in IE 8 & 9 too */
		/* ... but also 5, 6, 7 */
		filter: alpha(opacity=0);
		/* Older than Firefox 0.9 */
		-moz-opacity:0;
		/* Safari 1.x (pre WebKit!) */
		-khtml-opacity: 0;
		/* Modern!
		/* Firefox 0.9+, Safari 2?, Chrome any?
		/* Opera 9+, IE 9+ */
		opacity: 0;
		padding:10px 15px;
		position:absolute;
			top:48%;
		text-shadow:0 1px 2px #000;
		-webkit-transition: all .25s;
		transition: all .25s;
		z-index:1000;
	}

	.ba-slider .ba-span.before{
		left:1em;
	}

/* Callouts */
.content .callouts .ba-slider{
	background:url(../images/img-shadow.png);
	background-repeat:no-repeat;
	background-position:center;
	background-size:100% auto;
	border:2px solid #fff;
	overflow: hidden;
}

/* Mobile Browsers */
@media only screen
and (max-width : 825px) {
	.ba-slider{
		width:100% !important;
	}
}

	.ba-slider .ba-span.after{
		right:1em;
	}

	.ba-slider.hover .ba-span{
		/* Theoretically for IE 8 & 9 (more valid) */	

		/* ...but not required as filter works too */
		/* should come BEFORE filter */
		-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		/* This works in IE 8 & 9 too */
		/* ... but also 5, 6, 7 */
		filter: alpha(opacity=100);
		/* Older than Firefox 0.9 */
		-moz-opacity:1;
		/* Safari 1.x (pre WebKit!) */
		-khtml-opacity: 1;
		/* Modern!
		/* Firefox 0.9+, Safari 2?, Chrome any?
		/* Opera 9+, IE 9+ */
		opacity: 1;
	}

	.ba-slider .right.image{
		position: absolute;
		height: 100%;
		z-index: 1;
		top: 0px;
		left: 0px;
		width: 100%;
	}
	
	.ba-slider .left.image{
		position: absolute;
			top: 0;
			left: 0;
		z-index: 2;
		border-right: 3px solid white;
		margin-right: -5px;
		overflow: hidden;
		display: inline-grid;
		width: 50%;
	}

	.ba-slider.expanded .left.image {
		max-height: 100%;
	}

	.ba-slider .left.image:after{
		background:#fff;
		content:"";
		display:block;
		height:4px;
		position:absolute;
		top:49%;
		right: -18px;
		width:4px;
	}
	
	.ba-slider .image img{
		-webkit-transition: all .25s;
		transition: all .25s;
	}
	
	.ba-slider .left.image img{
		max-width: none !important;
	}

	.ba-slider.expanded:not(.adjust-height) .left.image img{
		width: 100vw !important;
	}

	.acf-block-preview .ba-slider .left.image img{
		max-width: 200% !important;
	}
	
	.ba-slider .right.image img{
		width: 100% !important;
		height: auto;
	}

	.ba-slider.expanded .right.image img{
		/* height: 100%; */
	}
	
	.ba-slider .instruction{
		position: absolute;
		top:50%;
		z-index: 10;
		width: 95%;
	}
	
	.acf-block-preview .ba-slider .instruction,
	.ba-slider.expanded .instruction {
		display: none;
	}
	
		.ba-slider .instruction p{
			background: white;
			display: inline;
			padding: 1% !important;
			font-size: 1em;
			text-transform: uppercase;
		}
		
		.ba-slider .ba-toggle {
			justify-content: flex-end;
			margin: 10px 0;
			position: absolute;
			bottom: 0;
			left: 10px;
			width: calc(100% - 20px);
			z-index: 100;
		}
		
			.ba-slider .ba-toggle > a {
				margin: 0;
				font-size: 80%;
			}

			.ba-slider .ba-toggle > a.ba-slider-toggle-full {
				width: 46px !important;
				height: 46px !important;
				padding: 10px !important;
				position: relative;
				cursor: pointer;
				transition: transform 0.3s ease;
			}
		
			/* Full-Screen Icon */
		
			/* Top-left corner */
			.ba-slider .ba-toggle > a.ba-slider-toggle-full::before {
				content: '';
				position: absolute;
					top: 10px;
					left: 10px;
				width: 10px;
				height: 10px;
				border-top: 2px solid #fff;
				border-left: 2px solid #fff;
				transition: all 0.3s ease;
			}
		
			/* Bottom-right corner */
			.ba-slider .ba-toggle > a.ba-slider-toggle-full::after {
				content: '';
				position: absolute;
					bottom: 10px;
					right: 10px;
				width: 10px;
				height: 10px;
				border-bottom: 2px solid #fff;
				border-right: 2px solid #fff;
				transition: all 0.3s ease;
			}
		
			/* Top-right corner */
			.ba-slider .ba-toggle > a.ba-slider-toggle-full .top-right {
				position: absolute;
					top: 10px;
					right: 10px;
				width: 10px;
				height: 10px;
				border-top: 2px solid #fff;
				border-right: 2px solid #fff;
				transition: all 0.3s ease;
			}
		
			/* Bottom-left corner */
			.ba-slider .ba-toggle > a.ba-slider-toggle-full .bottom-left {
				position: absolute;
					bottom: 10px;
					left: 10px;
				width: 10px;
				height: 10px;
				border-bottom: 2px solid #fff;
				border-left: 2px solid #fff;
				transition: all 0.3s ease;
			}
			
			/* hover Full-Screen Icon */
			
			.ba-slider .ba-toggle > a.ba-slider-toggle-full:hover::before {
				border-top: 2px solid #000;
				border-left: 2px solid #000;
			}
			
			.ba-slider .ba-toggle > a.ba-slider-toggle-full:hover::after {
				border-bottom: 2px solid #000;
				border-right: 2px solid #000;
			}
			
			.ba-slider .ba-toggle > a.ba-slider-toggle-full:hover .top-right {
				border-top: 2px solid #000;
				border-right: 2px solid #000;
			}
			
			.ba-slider .ba-toggle > a.ba-slider-toggle-full:hover .bottom-left {
				border-bottom: 2px solid #000;
			  	border-left: 2px solid #000;
			}
		
			/* Exit Full-Screen Icon */
			.ba-slider.expanded .ba-toggle > a.ba-slider-toggle-full::before {
				transform: rotate(180deg);
			}
			
			.ba-slider.expanded .ba-toggle > a.ba-slider-toggle-full::after {
				transform: rotate(180deg);
			}
			
			.ba-slider.expanded .ba-toggle > a.ba-slider-toggle-full .bottom-left,
			.ba-slider.expanded .ba-toggle > a.ba-slider-toggle-full .top-right {
				transform: rotate(-180deg);
			}
		
/* Editor Styles */
.wp-block-acf-pc-forever-a-friar-before-after {
	background: #ccc;
	padding: 20px;
	position: relative;
}

	.wp-block-acf-pc-forever-a-friar-before-after.is-selected {
		border: 2px dashed #333;
	}

	.wp-block-acf-pc-forever-a-friar-before-after.is-selected:before {
		content: 'Please fill out the fields to the right.';
		display: block;
		font-weight: bold;
		padding: 0 0 20px;
		text-align: center;
	}
	
	.acf-block-preview .ba-slider {
		margin-bottom: 0;
	}
