body.modal-open.tapi-video-guides-modal-active {
	height: auto !important;
}

/* Breadcrumbs */
.ideas-hub .breadcrumbs {
	margin-top: 30px;
	display: inline-block;
}

.ideas-hub .breadcrumbs span:not(:last-of-type):after {
	font-family: 'Font Awesome 5 Light';
	content: '\f054';
	margin: 0 3px 0 10px;
	font-size: 12px;
}

@media (max-width: 767px) {
	.ideas-hub .breadcrumbs span {
		display: none;
	}

	.ideas-hub .breadcrumbs span.breadcrumbs-last-linked {
		display: inline;
	}

	.ideas-hub .breadcrumbs span.breadcrumbs-last-linked:after {
		content: '';
		margin: 0;
	}

	.ideas-hub .breadcrumbs span.breadcrumbs-last-linked:before {
		font-family: "Font Awesome 5 Light";
		content: "\f053";
		font-size: 12px;
		margin-right: 5px;
	}

	.ideas-hub .breadcrumbs span.breadcrumbs-last-linked a {
		text-decoration: none;
	}
}

.tapi-video-guides-thumb {
	position: relative;
}

.tapi-video-guides-thumb [style*="--aspect-ratio"] {
	position: relative;
}

.tapi-video-guides-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	color: #fff;
	background: rgba(69, 84, 99, 0.85);
	pointer-events: none;
}

.tapi-video-guides-play-icon i {
	margin-left: 3px;
	font-size: 18px;
}

.tapi-video-guides-card-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.tapi-video-guides-card-ctas a {
	text-decoration: none;
}

.tapi-video-guides-card-ctas a i {
	color: #F1B434;
}

.tapi-video-guides-modal.custom-tapi-modal {
	--vg-modal-pad: 67px;
	--vg-modal-max-h: calc(var(--safe-viewport-height, 100vh) - var(--vg-modal-pad));
}

.tapi-video-guides-modal.custom-tapi-modal.in {
	display: block !important;
	padding: 0;
}

.tapi-video-guides-modal.custom-tapi-modal .modal-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1051;
	width: min(960px, calc(100vw - 30px), calc(var(--vg-modal-max-h) * 16 / 9));
	max-width: none;
	margin: 0 !important;
	transform: translate(-50%, -50%);
}

.tapi-video-guides-modal .modal-body {
	max-height: none;
	overflow: visible;
}

.tapi-video-guides-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: #fff;
	background: rgba(69, 84, 99, 0.9);
	transform: translateY(-50%);
	cursor: pointer;
}

.tapi-video-guides-nav:hover,
.tapi-video-guides-nav:focus {
	color: #fff;
	background: rgba(69, 84, 99, 1);
	outline: none;
}

.tapi-video-guides-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.tapi-video-guides-nav-prev {
	left: -56px;
}

.tapi-video-guides-nav-next {
	right: -56px;
}

.tapi-video-guides-nav i {
	font-size: 18px;
}

.tapi-video-guides-modal.tapi-video-guides-modal-portrait .modal-dialog {
	width: min(480px, calc(var(--vg-modal-max-h) * 9 / 16), calc(100vw - 30px));
	max-width: none;
}

.tapi-video-guides-modal.tapi-video-guides-modal-portrait .modal-content {
	background: #000;
}

.tapi-video-guides-modal-player {
	position: relative;
	display: block;
	width: 100%;
	max-height: var(--vg-modal-max-h);
	margin: 0 auto;
	overflow: hidden;
	background: #000;
}

.tapi-video-guides-modal-player.embed-responsive-16by9:not(.tapi-video-guides-modal-portrait) {
	aspect-ratio: 16 / 9;
	height: auto;
	padding: 0;
}

.tapi-video-guides-modal-player.embed-responsive-16by9:not(.tapi-video-guides-modal-portrait)::before {
	content: none;
	display: none;
	padding-top: 0;
}

.tapi-video-guides-modal-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.tapi-video-guides-modal-player.tapi-video-guides-modal-portrait {
	max-width: none;
	aspect-ratio: 9 / 16;
	height: auto;
}

.tapi-video-guides-modal-player.tapi-video-guides-modal-portrait::before {
	content: none;
	display: none;
	padding-top: 0;
}

@media (max-width: 767px) {
	.tapi-video-guides-modal.custom-tapi-modal {
		--vg-modal-pad: 67px;
	}

	.tapi-video-guides-modal.custom-tapi-modal .modal-dialog {
		width: min(960px, calc(100vw - 24px), calc(var(--vg-modal-max-h) * 16 / 9));
	}

	.tapi-video-guides-modal.tapi-video-guides-modal-portrait .modal-dialog {
		width: min(480px, calc(var(--vg-modal-max-h) * 9 / 16), calc(100vw - 24px));
	}

	.tapi-video-guides-nav {
		width: 36px;
		height: 36px;
	}

	.tapi-video-guides-nav-prev {
		left: -8px;
	}

	.tapi-video-guides-nav-next {
		right: -8px;
	}
}

@media (max-width: 479px) {
	.tapi-video-guides-nav-prev {
		left: 4px;
	}

	.tapi-video-guides-nav-next {
		right: 4px;
	}
}
@media (min-width: 320px) {
	.custom-tapi-modal .modal-close-out {
		top: -31px;
	}
}