/* I-FIKR Free Trial Banner 1.1.0 */
.ifikr-ftb {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: var(--ifk-ftb-h, 440px);
	margin: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: var(--ifk-ftb-r, 15px);
	background: #03102B;
	color: var(--ifk-ftb-pc, #FFFFFF);
	font-family: inherit;
	line-height: 1.4;
	text-align: left;
}
.ifikr-ftb *,
.ifikr-ftb *::before,
.ifikr-ftb *::after { box-sizing: border-box; }

/* "Match the site's content width": 90% of the page with a 20px inset (full width less 20px each side up to 1024px),
   whatever container the shortcode is in. --ifk-ftb-sb is the scrollbar width, set by the script. */
.ifikr-ftb.is-site-width {
	width: min(100%, calc((100vw - var(--ifk-ftb-sb, 0px)) * .9 - 40px));
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 1024px) {
	.ifikr-ftb.is-site-width { width: min(100%, calc(100vw - var(--ifk-ftb-sb, 0px) - 40px)); }
}

/* the video and its fallback image fill the banner, cropped like a background */
.ifikr-ftb__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #03102B;
}
.ifikr-ftb .ifikr-ftb__poster,
.ifikr-ftb .ifikr-ftb__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: var(--ifk-ftb-fx, 50%) 50%;
}
.ifikr-ftb .ifikr-ftb__video { opacity: 0; transition: opacity .6s ease; }
.ifikr-ftb.is-playing .ifikr-ftb__video { opacity: 1; }

/* text */
.ifikr-ftb__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: calc(var(--ifk-ftb-tw, 500px) + var(--ifk-ftb-px, 100px));
	padding: 40px 24px 40px var(--ifk-ftb-px, 100px);
}
.ifikr-ftb .ifikr-ftb__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: inherit;
	font-size: var(--ifk-ftb-ts, 34px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -.005em;
	text-transform: none;
	color: var(--ifk-ftb-tc, #FFFFFF);
}
.ifikr-ftb .ifikr-ftb__text {
	margin: 0 0 36px;
	padding: 0;
	font-family: inherit;
	font-size: var(--ifk-ftb-ps, 16px);
	font-weight: 400;
	line-height: 1.3;
	color: var(--ifk-ftb-pc, #FFFFFF);
}
.ifikr-ftb .ifikr-ftb__text:last-child { margin-bottom: 0; }

/* button */
.ifikr-ftb a.ifikr-ftb__btn {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	min-height: 53px;
	padding: 0 28px 0 30px;
	border: 0;
	border-radius: var(--ifk-ftb-br, 15px);
	background: var(--ifk-ftb-bb, #141414);
	color: var(--ifk-ftb-bc, #FFFFFF);
	font-family: inherit;
	font-size: var(--ifk-ftb-bs, 16px);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .2s ease;
}
.ifikr-ftb a.ifikr-ftb__btn:hover,
.ifikr-ftb a.ifikr-ftb__btn:focus-visible {
	background: var(--ifk-ftb-bh, #056BEB);
	color: var(--ifk-ftb-bc, #FFFFFF);
	text-decoration: none;
}
.ifikr-ftb a.ifikr-ftb__btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.ifikr-ftb a.ifikr-ftb__btn svg { flex: none; display: block; width: 17px; height: 17px; }

/* pause / play */
.ifikr-ftb .ifikr-ftb__pause {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .24);
	border-radius: 50%;
	background: rgba(3, 16, 43, .5);
	color: #FFFFFF;
	cursor: pointer;
	opacity: .75;
	box-shadow: none;
	transition: opacity .2s ease, background-color .2s ease;
}
.ifikr-ftb .ifikr-ftb__pause[hidden] { display: none; }
.ifikr-ftb .ifikr-ftb__pause:hover,
.ifikr-ftb .ifikr-ftb__pause:focus-visible { opacity: 1; background: rgba(5, 107, 235, .7); }
.ifikr-ftb .ifikr-ftb__pause:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.ifikr-ftb .ifikr-ftb__pause svg { display: block; width: 14px; height: 14px; }
.ifikr-ftb .ifikr-ftb__pause .ifikr-ftb__i-play { display: none; }
.ifikr-ftb.is-user-paused .ifikr-ftb__pause .ifikr-ftb__i-play { display: block; }
.ifikr-ftb.is-user-paused .ifikr-ftb__pause .ifikr-ftb__i-pause { display: none; }

/* smaller laptops: a narrower text column leaves room for the video's popups and logo */
@media (min-width: 1024px) and (max-width: 1279px) {
	.ifikr-ftb__content {
		max-width: calc(min(var(--ifk-ftb-tw, 500px), 480px) + min(var(--ifk-ftb-px, 100px), 56px));
		padding-left: min(var(--ifk-ftb-px, 100px), 56px);
	}
}

/* tablets and phones: the video (or its image) sits above the text */
@media (max-width: 1023px) {
	.ifikr-ftb {
		display: block;
		min-height: 0;
		background: var(--ifk-ftb-mbg, #06173A);
	}
	.ifikr-ftb__media {
		position: relative;
		inset: auto;
		height: max(var(--ifk-ftb-mh, 220px), 34vw);
	}
	.ifikr-ftb__media::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 40%;
		background: linear-gradient(180deg, transparent, var(--ifk-ftb-mbg, #06173A));
		pointer-events: none;
	}
	.ifikr-ftb .ifikr-ftb__poster,
	.ifikr-ftb .ifikr-ftb__video { object-position: var(--ifk-ftb-fxm, 85%) 50%; }
	.ifikr-ftb__content { max-width: none; padding: 20px 28px 32px; }
	.ifikr-ftb .ifikr-ftb__pause { z-index: 2; }
}
@media (max-width: 767px) {
	.ifikr-ftb__media { height: var(--ifk-ftb-mh, 220px); }
	.ifikr-ftb__content { padding: 20px 22px 28px; }
	.ifikr-ftb .ifikr-ftb__title { margin-bottom: 12px; font-size: calc(var(--ifk-ftb-ts, 34px) * .8); }
	.ifikr-ftb .ifikr-ftb__text { margin-bottom: 24px; }
	.ifikr-ftb .ifikr-ftb__pause { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.ifikr-ftb .ifikr-ftb__video { display: none; }
	.ifikr-ftb a.ifikr-ftb__btn,
	.ifikr-ftb .ifikr-ftb__pause { transition: none; }
}
