/*!
 * Teciza Lead Popup 1.0.1 - front end. https://www.teciza.net
 * Colours come from the settings: --tlp-accent, --tlp-dark, --tlp-tab.
 */

/* ---------- "Enquire Now" tab ---------- */
.tlp-tab {
	position: fixed;
	top: var(--tlp-tab-top, 50%);
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	color: #ffffff !important;
	background: var(--tlp-tab, #1b4d89);
	box-shadow: 0 6px 18px rgba(14, 42, 76, 0.28);
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	transition: filter 0.15s ease, padding 0.15s ease;
}
.tlp-tab--right {
	right: 0;
	border-radius: 10px 0 0 10px;
}
.tlp-tab--left {
	left: 0;
	border-radius: 0 10px 10px 0;
	transform: translateY(-50%) rotate(180deg);
}
.tlp-tab svg {
	transform: rotate(90deg);
}
.tlp-tab:hover {
	filter: brightness(0.9);
}
.tlp-tab--right:hover {
	padding-right: 13px;
}
.tlp-tab--left:hover {
	padding-left: 13px;
}
.tlp-tab:focus-visible {
	outline: 3px solid #9cc3f0;
	outline-offset: 2px;
}
html:has(.awb-off-canvas-wrap.awb-show) .tlp-tab {
	visibility: hidden;
}
@media (max-width: 767px) {
	.tlp-tab--m-hidden {
		display: none;
	}
	.tlp-tab--m-button {
		top: auto;
		right: 12px;
		bottom: var(--tlp-tab-bottom, 76px);
		left: auto;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border-radius: 50%;
		transform: none;
		writing-mode: horizontal-tb;
	}
	.tlp-tab--m-button svg {
		width: 22px;
		height: 22px;
		transform: none;
	}
	.tlp-tab--m-button span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.tlp-tab--m-button:hover {
		padding: 0;
	}
	.tlp-tab--m-tab {
		padding: 11px 8px;
		font-size: 13px;
	}
}

/* ---------- lead popup ---------- */
.tlp-oc .awb-off-canvas {
	overflow: hidden;
	border-radius: 16px;
}
.tlp-oc .awb-off-canvas-inner {
	padding: 0 !important;
}
.tlp-oc .off-canvas-close {
	z-index: 3;
	top: 12px !important;
	right: 12px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 !important;
	color: #3d4855 !important;
	background: #f3f6fa !important;
	border-radius: 50%;
}
.tlp-inner > .fusion-builder-row {
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.tlp-inner .fusion-layout-column {
	margin: 0 !important;
}
.tlp-side > .fusion-column-wrapper {
	height: 100%;
	margin: 0 !important;
	padding: 30px 28px 26px !important;
	color: rgba(255, 255, 255, 0.82);
	background: var(--tlp-dark, #0e2a4c) !important;
	background: linear-gradient(160deg, var(--tlp-dark, #0e2a4c) 0%, color-mix(in srgb, var(--tlp-dark, #0e2a4c) 72%, var(--tlp-accent, #1b4d89)) 60%, var(--tlp-dark, #0e2a4c) 100%) !important;
}
.tlp-main > .fusion-column-wrapper {
	justify-content: center !important;
	height: 100%;
	margin: 0 !important;
	padding: 30px 30px 18px !important;
}
.tlp-oc p {
	margin: 0;
}
.tlp-kicker {
	margin-bottom: 10px !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #9cc3f0;
}
.tlp-title {
	margin-bottom: 10px !important;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}
.tlp-intro {
	margin-bottom: 12px !important;
	font-size: 14.5px;
	line-height: 1.5;
}
.tlp-points {
	display: grid;
	gap: 8px;
	margin: 0 0 16px !important;
	padding: 0 !important;
	list-style: none !important;
}
.tlp-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14.5px;
	font-weight: 600;
	color: #ffffff;
}
.tlp-ico {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #ffffff;
	background: var(--tlp-accent, #1b4d89);
	background: color-mix(in srgb, var(--tlp-accent, #1b4d89) 70%, #5b9cf0);
	border-radius: 8px;
}
.tlp-foot {
	padding-top: 12px;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.tlp-formt {
	padding-right: 40px;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--tlp-accent, #1b4d89);
}
.tlp-formsub {
	margin: 4px 0 14px !important;
	font-size: 14px;
	line-height: 1.5;
	color: #5b6573;
}
.tlp-or {
	margin-top: 6px !important;
	font-size: 14px;
	text-align: center;
	color: #5b6573;
}
.tlp-or a {
	font-weight: 700;
	color: var(--tlp-accent, #1b4d89);
}
.tlp-no {
	margin-top: 8px !important;
	text-align: center;
}
.tlp-dismiss {
	padding: 6px 10px;
	font: inherit;
	font-size: 13px;
	color: #5b6573;
	text-decoration: underline;
	text-underline-offset: 3px;
	background: none;
	border: 0;
	cursor: pointer;
}
.tlp-dismiss:hover {
	color: var(--tlp-accent, #1b4d89);
}
.tlp-dismiss:focus-visible {
	outline: 2px solid var(--tlp-accent, #1b4d89);
	outline-offset: 2px;
	border-radius: 4px;
}
.tlp-noform {
	padding: 14px;
	font-size: 14px;
	color: #8a2c2c;
	background: #fdf1f1;
	border-radius: 8px;
}
/* tablets and small laptops: one column, the dark part on top */
@media (max-width: 860px) {
	.tlp-inner .fusion-layout-column {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}
	.tlp-side > .fusion-column-wrapper {
		padding: 22px 20px 16px !important;
	}
	.tlp-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 0 !important;
	}
	.tlp-foot {
		display: none;
	}
	.tlp-main > .fusion-column-wrapper {
		padding: 20px 20px 12px !important;
	}
	.tlp-oc .off-canvas-close {
		color: #ffffff !important;
		background: rgba(255, 255, 255, 0.16) !important;
	}
}
/* phones: a compact sheet from the bottom (about half the screen): title strip, the form, call + dismiss */
@media (max-width: 767px) {
	.tlp-oc.awb-off-canvas-wrap {
		align-items: flex-end !important;
		padding: 0 !important;
	}
	.tlp-oc .awb-off-canvas {
		width: 100% !important;
		max-width: 100% !important;
		max-height: 92svh;
		margin: 0 !important;
		overflow-y: auto;
		border-radius: 18px 18px 0 0;
	}
	.tlp-kicker,
	.tlp-intro,
	.tlp-points,
	.tlp-foot,
	.tlp-formt {
		display: none !important;
	}
	.tlp-side > .fusion-column-wrapper {
		padding: 15px 58px 14px 18px !important;
	}
	.tlp-title {
		margin: 0 !important;
		font-size: 19px;
		line-height: 1.25;
	}
	.tlp-oc .off-canvas-close {
		top: 9px !important;
		right: 10px !important;
		width: 34px;
		height: 34px;
	}
	.tlp-main > .fusion-column-wrapper {
		padding: 12px 18px 6px !important;
	}
	.tlp-formsub {
		margin: 0 0 8px !important;
		font-size: 13.5px;
		line-height: 1.45;
	}
	.tlp-or {
		margin-top: 2px !important;
		font-size: 13.5px;
	}
	.tlp-no {
		margin-top: 0 !important;
	}
	.tlp-dismiss {
		padding: 4px 10px 8px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.tlp-tab {
		transition: none;
	}
}
