/* ACF */

/* Google Maps */
.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 1px;
	margin: 0;
}

/* fixes potential theme css conflict */
.acf-map img {
	max-width: inherit !important;
}



/* SJL Articles */

/* paragraph counting */
.sjl_article .entry-content {
	counter-reset: paragraph;
}

.sjl_article .entry-content > p:before {
	position: absolute;
	margin-top:  3px;
	margin-left: -30px;
	color: #b5b5b5;
	font-size: 13px;
	font-size: 1.3rem;
	content: counter(paragraph);
	counter-increment: paragraph;
}


/* anchor offset when wp admin-bar is active */
.admin-bar .sjl-offset-admin-bar {
	position: absolute;
	margin-top: -40px;
}

/* SJL backref links used by Footnotes && Illustrations */
.sjl-backref {
	display: inline-block;
	margin-left: 10px;
}
.sjl-backref:after {
	content: "\f474";
	font-family: 'dashicons';
	line-height: 1;
}


/* SJL Footnotes */

/* jQuery UI (footnote tooltips) */
.ui-tooltip {
	max-width: 320px;
	padding: 10px 20px;
	background-color: rgb(212, 209, 171);
	font-size: 12px;
}

.sjl-footnote {
	margin-bottom:  20px;
	overflow: hidden;
}

.sjl-footnote p:last-of-type{
	margin-bottom: 0;
}

/* SJL Illustrations */

.sjl-illustration-wrapper figure {
	margin-bottom:  20px;
	overflow: hidden;
}

.sjl-illustration-wrapper figure:after {
	content: '';
	clear: both;
	visibility: hidden;
}

.sjl-illustration-wrapper .figimage {
	float: left;
	margin-right: 50px;
	width: 100px;
	text-align: center;
}

.sjl-illustration-wrapper .figimage img {
	width: auto;
	max-width: 100%;
	max-height: 80px;
}

.sjl-illustration-wrapper figure figcaption {
	width: auto;
	overflow: hidden;
}



/* RoyalSlider */

.rsDefaultInv, .rsDefaultInv .rsOverflow, .rsDefaultInv .rsSlide, .rsDefaultInv .rsVideoFrameHolder, .rsDefaultInv .rsThumbs {
	background: transparent !important;
}

.rsDefaultInv .rsGCaption {
	position: relative !important;
	width: 100% !important;
	overflow: hidden;
	bottom: 0 !important;
	left: 0 !important;
	background: transparent !important;
	/* padding: 20px 0px !important; */
	padding: 0 !important;
	border-radius: 0 !important;
	/* margin-bottom: 20px; */
	margin-bottom: 0;
	/* border-bottom: 1px solid #999; */
}

.rsCaption {
	margin-right: 60px;
}

.sjl-rs-caption-wrap {
/* 	position: relative;
	width: 100%; */
	margin-bottom: 30px;
	overflow: hidden;
}


/* .rsDefaultInv .rsThumb.rsNavSelected {
		background: #FFF;
}

.new-royalslider-2 .rsThumb {
		width: 112px;
		height: 84px;
}
.rsDefaultInv .rsTmb {
		display: block;
} */

/* .sjl-rs-caption-wrap .rsThumb.rsNavSelected img {
	opacity: 0.5;
}

.sjl-rs-caption-wrap .rsThumb img {
		width: 100%;
		height: 100%;
} */

/* Magnific Popup */

.mfp-close:hover,
.mfp-arrow:hover {
	background-color: transparent;
}

/* ====== Zoom effect ====== */
.mfp-zoom-in {
	/* start state */
	/* animate in */
	/* animate out */
}
.mfp-zoom-in .mfp-with-anim {
	opacity: 0;
	transition: all 0.2s ease-in-out;
	transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
	opacity: 0;
	transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
	opacity: 1;
	transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
	transform: scale(0.8);
	opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}
