/*
 * Fluent Forms, styled to match the site's Gravity forms.
 * Author: Pravash Karki - pravashkarki.com
 *
 * Plain CSS outside the Vite build, so the live bundle stays as it is.
 * The values copy the theme's Sass variables ($primary-color, $black,
 * $placeholder-color) and the Gravity form look read from the live site.
 * Selectors start with .fluentform:not(.fluentform_wrapper_3) so the PDF
 * form (Fluent form 3), which the theme bundle already styles, stays as it
 * is, and so they win over the per-form styles Fluent prints.
 */

.fluentform:not(.fluentform_wrapper_3) {
	--lds-ff-primary: #0a5e9b;
	--lds-ff-primary-hover: #10a8e1;
	--lds-ff-on-primary: #fff;
	--lds-ff-placeholder: #9d9d9d;
	--lds-ff-error: #b81c23;
	--lds-ff-gap-column: 16px;
}

/* The 12-column grid the migrated gf-span-* classes place fields on. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form fieldset,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-step-body .fluentform-step.active {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--lds-ff-gap-column);
}

/* Fluent's script writes display: block inline on the active step of a
 * multi-step form; !important is the only way past an inline style. Steps
 * that are not active keep their own display: none. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-step-body .fluentform-step.active {
	display: grid !important;
}

/* The trip planner's submit button keeps its own width, as in Gravity. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
	width: auto;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form fieldset > *,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .fluentform-step > * {
	grid-column: 1 / -1;
	min-width: 0;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .gf-span-3 { grid-column: span 3; }
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .gf-span-4 { grid-column: span 4; }
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .gf-span-6 { grid-column: span 6; }
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .gf-span-8 { grid-column: span 8; }
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .gf-span-9 { grid-column: span 9; }

@media (max-width: 640px) {
	.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form [class*="gf-span-"] {
		grid-column: 1 / -1;
	}
}

/* Inputs: square, transparent, a 1px border in the text colour. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control {
	border: 1px solid currentColor;
	border-radius: 0;
	background-color: transparent;
	color: inherit;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 15px;
	box-shadow: none;
}

/* Gravity's medium textarea height. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form textarea.ff-el-form-control {
	min-height: 200px;
}

/* Required fields: Fluent's own marker, one red "*" after the label. The
 * typed "*" the labels carried from Gravity is gone from the form data. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-is-required.asterisk-right label::after {
	content: " *";
	color: var(--lds-ff-error);
	margin-left: 2px;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control::placeholder {
	color: var(--lds-ff-placeholder);
	opacity: 1;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control:focus {
	outline: 2px solid var(--lds-ff-primary);
	outline-offset: 0;
}

/* Checkboxes: the theme's input reset leaves them with no size, so give
 * them back a visible box, as Gravity drew one. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form input[type="checkbox"] {
	appearance: auto;
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	vertical-align: middle;
	accent-color: var(--lds-ff-primary);
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--lds-ff-primary);
	outline-offset: 2px;
}

/* Field labels where Gravity showed them. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-input--label label {
	font-size: 16px;
	font-weight: 700;
	color: inherit;
}

/* The submit and step buttons, as Gravity's blue button. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style),
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-next,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev {
	/* !important only to beat the bundle's own !important dark button
	 * (body .fluentform .ff-btn-submit), meant for the PDF form. */
	background-color: var(--lds-ff-primary) !important;
	border: 1px solid transparent;
	border-radius: 0;
	color: var(--lds-ff-on-primary);
	font-size: 14px;
	font-weight: 500;
	min-height: 38px;
	padding: 0 16px;
	opacity: 1;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
	width: 100%;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style):hover,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-next:hover,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev:hover {
	/* !important for the same reason as the button above. */
	background-color: var(--lds-ff-primary-hover) !important;
	color: var(--lds-ff-on-primary);
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn:focus-visible {
	outline: 2px solid var(--lds-ff-primary);
	outline-offset: 2px;
}

/* Step progress, in the site's blue. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-progress-bar {
	background-color: var(--lds-ff-primary);
}

/* Errors, in Gravity's red. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-is-error .ff-el-form-control {
	border-color: var(--lds-ff-error);
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .error.text-danger {
	color: var(--lds-ff-error);
	font-size: 14px;
}

/* The success message where the form was: the form hides, and this box
 * takes its place, in the site's blue. */
.fluentform:not(.fluentform_wrapper_3) .ff-message-success {
	background: #eef5fb;
	color: #1b2733;
	font-size: 17px;
	line-height: 1.55;
	padding: 22px 26px;
	border: 0;
	border-left: 4px solid var(--lds-ff-primary);
	border-radius: 0;
	box-shadow: none;
}

.fluentform:not(.fluentform_wrapper_3) .ff-message-success p {
	margin: 0 0 8px;
}

.fluentform:not(.fluentform_wrapper_3) .ff-message-success p:last-child {
	margin-bottom: 0;
}

/*
 * Trip planner steps and buttons, as the Gravity trip planner showed them.
 * Values read from the Gravity form on the live site with the theme's
 * .trip-planner .gf_step rules: round 32px numbers, a yellow active and done
 * number, a small blue badge with a tick on a done step, uppercase grey
 * labels that hide on phones, a centred blue button at least 520px wide on
 * desktop and full width on tablets and phones. Previous is an outlined
 * button of the same size beside Send.
 */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	gap: 20px;
	/* 8px on top for the done badge, which Fluent's step container would
	 * clip; 8px less below keeps the form where Gravity had it. */
	margin: 0 0 32px;
	padding-top: 8px;
	overflow: visible;
	table-layout: auto;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 0;
	color: #585e6a;
	font-size: 14px;
	font-weight: 600;
	line-height: 14px;
	text-transform: uppercase;
	text-align: center;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li::before {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	margin: 0;
	border: 2px solid rgba(104, 110, 119, 0.35);
	border-radius: 50%;
	background: transparent;
	color: #000;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}

/* Gravity's line between steps sat behind the card and did not show. The
 * li::after Fluent draws as its line is the done badge here instead. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li::after {
	content: none;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_active,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_completed {
	color: #585e6a;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_active::before,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_completed::before {
	border: 1px solid #ffe66d;
	background: radial-gradient(50% 50% at 50% 50%, #feefa4, #ffe66d);
	color: #191308;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_completed::before {
	border-color: #fff;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles li.ff_completed::after {
	content: "";
	position: absolute;
	top: -8px;
	left: calc(50% + 4px);
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(10, 94, 155, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles .ff-step-title-text {
	display: block;
}

@media screen and (max-width: 768px) {
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
		margin-bottom: 22px;
	}
}

@media screen and (max-width: 640px) {
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles {
		gap: 10px;
	}

	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-titles .ff-step-title-text {
		display: none;
	}
}

/* Fluent's 15px under the steps; Gravity's card ended 30px below the button. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-step-body {
	margin-bottom: 0;
}

/* The address labels, hidden in the Gravity planner. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .fluent-address .ff-el-input--label {
	display: none;
}

/* Step buttons: centred under the step, 30px below the last field as in
 * Gravity's page footer; the last field already keeps 20px of it. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .step-nav,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .step-nav,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff-t-cell,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff_submit_btn_wrapper {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-next,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
	float: none;
	min-width: 520px;
	min-height: 38px;
	padding: 0 20px;
}

/* Previous: a button of the same size, type and blue as Next and Send,
 * drawn in outline so Send stays the main action. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev {
	/* !important to beat the shared step button rule above, which uses it
	 * against the bundle's own !important dark button. */
	background-color: #fff !important;
	min-width: 160px;
	min-height: 38px;
	padding: 0 20px;
	border: 1px solid var(--lds-ff-primary);
	color: var(--lds-ff-primary);
	font-size: 14px;
	font-weight: 500;
	line-height: normal;
}

.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev:hover,
.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev:focus-visible {
	background-color: var(--lds-ff-primary) !important;
	color: var(--lds-ff-on-primary);
	text-decoration: none;
}

/* The captcha sits centred above the centred buttons. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-el-recaptcha > div {
	margin: 0 auto;
}

@media screen and (max-width: 768px) {
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .step-nav,
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container {
		margin-top: 0;
	}

	.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-next,
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-prev,
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
		min-width: 0;
		width: 100%;
	}

	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff-t-column-1,
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff-t-column-2,
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff_submit_btn_wrapper {
		flex: 1 1 100%;
	}

	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .step-nav {
		width: 100%;
	}
}

/*
 * WhatsApp popup (two steps, no step bar), as the Gravity form showed it:
 * Next on the left, and Previous and Chat Now side by side on the left at
 * their own width. Previous keeps white text; Gravity's dark text on blue
 * was hard to read.
 */
/* Fluent writes float: right inline on Next; in a flex row float has no
 * effect, so the button sits on the left without !important. */
.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .step-nav,
.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
}

.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff-t-cell,
.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .step-nav,
.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .ff-inner_submit_container .ff_submit_btn_wrapper {
	display: block;
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 0;
}

.whats-app-popup .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
	width: auto;
}

/* The planner's first-step message was Gravity's "large" textarea, 288px. */
.trip-planner .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form textarea[name="untitled_51"] {
	min-height: 288px;
}

/*
 * The online payment form (the Fluent copy of Gravity form 14), drawn as the
 * Gravity form drew it. Values read from the live Gravity form's computed
 * styles. The form is found by its amount box, since Fluent puts no form
 * class on the form element.
 */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) {
	--hl-bf-text: #191308;
	--hl-bf-label: #112337;
	--hl-bf-muted: rgba(17, 35, 55, 0.65);
	--hl-bf-shadow: 0 1px 4px rgba(18, 25, 97, 0.08);
	--hl-bf-check-border: #686e77;
	--hl-bf-note-border: rgba(104, 110, 119, 0.35);
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-section-break h3 {
	margin: 0 0 8px;
	font-weight: 700;
}

/* Gravity's section: the heading, 8px, then a 1px line. */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-section-break hr {
	margin: 0;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-input--label {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	line-height: 22.88px;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-input--label label {
	display: block;
	color: var(--hl-bf-label);
	line-height: 22.88px;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-form-control {
	border-color: var(--hl-bf-text);
	color: var(--hl-bf-text);
	font-family: inherit;
	line-height: 17.6px;
	height: auto;
	box-shadow: var(--hl-bf-shadow);
}

/* Selects: no browser arrow, Gravity's chevron, and the grey placeholder. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) select.ff-el-form-control {
	appearance: none;
	padding-right: 34px;
	background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z' fill='rgba(17, 35, 55, 0.65)'/%3E%3C/svg%3E") no-repeat calc(100% - 12px) 50% / 10px auto;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) select.ff-el-form-control:has(option[value=""]:checked) {
	color: var(--lds-ff-placeholder);
	font-weight: 400;
}

/* Date fields: 12px narrower than the column, with Gravity's calendar
 * icon near the right edge, as Gravity's date box and its icon button. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input.ff-el-datepicker {
	width: calc(100% - 12px);
	padding-right: 34px;
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAIAAACTCYeWAAACbUlEQVR4nOybvWoCQRDH92K6Q2xEBEXERhQRtNAX0ELuMSxtRPxAtLRQrE7RRh9B8AO1tbHyHSzFz2fQLAkJQpK922TPO5n5FcN6DMP+mZv9L8K93m43ApUXAhgUDxUUL47pdBoKhaR3wuHwcrkkgjCisiT2tHe73cfj8etnIBDYbrdEBEZUFiyetoXGj5r3a2tWxpmHCrf48XicSqWkX/ieLwlCf+V0Oj2bzXRI4Zz5arXabDY10+4nUyz6KzcajVqtxs7h6DztOVXucDh6vd5+v7/9BPlpu0LQWZlurNvtyrJcr9dXqxVbEUfnk8nkZrMZDofZbPbXctY47VVVzefziqLM53NWTf2bs9ls1+uVmq3L5SIitsgFV+Xdbuf1ep1O5/l8ZtTkeO2pchoZyik+n498HkV04ff7iSC4Kns8HhovlwthItjqOp1OMBj8WEejUXo6EEEYUZnjtRf7GhuNnt3iJQcqKB4qr4QTIy6tZoGd5+G5rI4NHnhQQfFQQfFQQfFCiUQi8Xj8Met/wn3J0eT+dmH0+p/gnxlQMXbmH/n8Dxg78498/gdw5qGCPi8U9HnzwZnXAH1eKOjz5oMzrwH6vFDQ580HZ14D9HmhoM+bD868BujzQkGfNx+ceQ1QPFRQPFRQvD5kWabxdDoRy3M4HGi02+3sNA7xsViMxsViQSzPZDKhMZFIsNM4xBeLRRoLhcJgMLBs/2nP+/1+pVKh61KpxE7m+6iwXC63223yDLRaLbpbdg73V9Sj0UhV1fV6TayKoii5XC6TyWhmSs9yVzcCtDqooHiooHiooHiooHiooHiogBb/BgAA//+9QQ4rAAAABklEQVQDAHQkv1/18kyLAAAAAElFTkSuQmCC") no-repeat calc(100% - 7px) 50% / 21px 21px;
}

/* Number fields: Gravity's up and down chevrons, always shown. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input[type="number"]::-webkit-inner-spin-button,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input[type="number"]::-webkit-outer-spin-button {
	opacity: 1;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input[type="number"]::-webkit-inner-spin-button {
	appearance: none;
	width: 8px;
	cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z' fill='rgba(17, 35, 55, 0.65)'/%3E%3C/svg%3E") no-repeat center / 8px 14px;
}

/* The 0-priced payment item the gateway needs is never shown. */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .hl-hbl-price-item {
	display: none;
}

/* The consent box: Gravity's 30px square with a blue tick, and the
 * secure-payment note 12px under it. */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-group:has(.ff-el-tc) {
	margin-bottom: 12px;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc {
	display: block;
	margin: 0;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc label {
	display: flex;
	align-items: center;
	color: var(--hl-bf-label);
	font-size: 14px;
	line-height: 20.02px;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc label.ff_tc_label > span.ff_tc_checkbox {
	display: block;
	flex: 0 0 auto;
	width: auto;
	/* !important only to beat Fluent's own !important 8px on this span. */
	padding: 0 !important;
	line-height: 0;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc .ff_t_c {
	display: block;
	padding: 0;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc input[type="checkbox"] {
	display: block;
	top: 0;
	appearance: none;
	width: 30px;
	height: 30px;
	margin: 0 12px 0 0;
	border: 1px solid var(--hl-bf-check-border);
	border-radius: 0;
	background: #fff no-repeat center / 18px 18px;
	box-shadow: var(--hl-bf-shadow);
	cursor: pointer;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc input[type="checkbox"]:checked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-7.5' fill='none' stroke='%230a5e9b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-tc a,
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .hl-consent-note a {
	color: var(--hl-bf-text);
	text-decoration: underline;
}

/* The secure-payment note under the consent box, in Gravity's bordered box.
 * fluent-forms.js moves it into the consent field, so the consent error
 * shows under it, as in Gravity. */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-group:has(.ff-el-tc .hl-consent-note),
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-group:has(> .hl-consent-note) {
	margin-bottom: 20px;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-group > .hl-consent-note {
	margin-top: 12px;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .hl-consent-note {
	padding: 16px;
	border: 1px solid var(--hl-bf-note-border);
	color: var(--hl-bf-text);
	font-size: 13px;
	line-height: 18.59px;
}

.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .hl-fee-note-group small {
	font-size: 13px;
	line-height: 19.5px;
	color: #000;
}

/* The button at its own width, as in Gravity. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-btn-submit:not(.ff_btn_no_style) {
	display: inline-flex;
	align-items: center;
	width: auto;
	height: 38px;
	padding: 0 16px;
	line-height: 15.4px;
	box-shadow: var(--hl-bf-shadow);
}

/* Errors as Gravity showed them: a red border and the message 8px under
 * the field, in 13px. */
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-is-error .ff-el-form-control,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .ff-el-is-error .ff-el-tc input[type="checkbox"] {
	border-color: var(--lds-ff-error);
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) .error.text-danger {
	margin-top: 8px;
	font-size: 13px;
	line-height: 18.59px;
}

/* Phone numbers: the country button's shadow, and Gravity's green tick for
 * a valid number or red cross for one that is not, at its own 16px size
 * (fluent-forms.js sets the class). */
.fluentform .frm-fluent-form:has(.hl-booking-amount-group) .iti__selected-country {
	box-shadow: var(--hl-bf-shadow);
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input.hl-phone-valid,
.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input.hl-phone-invalid {
	padding-right: 40px;
	background: no-repeat calc(100% - 12px) 50% / 16px 16px;
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input.hl-phone-valid {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAGRSURBVDiNnZM9aFNhFIafc25ow+1gXTu14FAoSPU2gTQNdqpLpT+3N4WODoKLugoOgqOLk6vQosJNMkixdhAcmkaa9g6CiouIg6ugQ2mp/Y5D/64lrWnf8f3e5+WcDw6cU6PvRjMAch54uDI0ISrPxGh6Z4VL1fwkQg3wMfwzTVCKc9ecsgxkAQTutV1QqAb9KtrAuLjnyNJq2BzXduDiqys9ii4dwXzZcrtzCPbfgiAOLrCTeQ307Vu/1WmYlJNfAFqqDRUL8dVLreCx+ctdWU/fAIP71q4osyvltc8HGXXIoqr3caSau5uGB+KBjk2/s4ZROHLtfn16fTmdU4zvQKfBk+FK7hFAFEdet/ovDK4fJoXnqzMbj49PmTGRl2I2CCDCg2I1537INycmYSr3YavD3Wq1pgSLgZ/d1k9Ab8p3wMEH/zTP5RtTyddWBZrcSDbNyRyw889qe/ojwuxJ8GGwUW6+N7gJWOrNMLldD9ffngTDsWMaqeQjU3uKkRGxO/VwY+E0uLUeolEctX1kfwEJpnl4nNRqFwAAAABJRU5ErkJggg==");
}

.fluentform:not(.fluentform_wrapper_3) .frm-fluent-form:has(.hl-booking-amount-group) input.hl-phone-invalid {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAfAAAAHwBFQ/t5AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAE7SURBVDiNjZI/SwNBEEffTLqYiBJrv0IE5cAyxMhhpwjqN0wh1qI5BZtALIKt9lqJEC8JIcmORf64We+C0+0M7+3sj5Xh0f7u1ArXQAnHVemx88KaSmtRFZEmYt8FmZ5LWo+6wN58/omjnidJa1EVJQEq81ZXvQNABSVJa1H1HzBARRUugN46SQ7cU7gUgEE9OnRwC2wux8KXCMc2YYzSAnY8uG9mJ+WH5ydZdDIls80csJUFz+7xKkfi1wr8R7CUGPcIG8FoaGaxDwNoKHCOAcI44/aJFmQQNlcE87RbrL55UWUz7vqN6CBT4MFe2jIU6C+PxnYo0XyYvpmLBRr4/ySQSD78m/a6f6Km3ARwT6Hhp11MOm2FONwER1MFRgEcF5NOO0wwS2IwUufcKfAG9p4HZ0g+gFfn3NkPE8qrzATeYkIAAAAASUVORK5CYII=");
}

/*
 * The sidebar form (the Fluent copy of Gravity form 16) on the dark sidebar
 * card: white fields with dark text, a light error text, and spacing that
 * keeps the fields, the captcha and the button inside the card. The card
 * is capped at 540px for its short menus; with a form it takes the form's
 * height.
 */
.sidebar-side--general .sidebar-holder:has(.sidebar-card__form) {
	max-height: none;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-group {
	margin-bottom: 12px;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control {
	background-color: #fff;
	border-color: #fff;
	color: #191308;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control::placeholder {
	color: #595959;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form textarea.ff-el-form-control {
	height: 96px;
	min-height: 0;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .error.text-danger {
	color: #ffd2d2;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-is-error .ff-el-form-control {
	border-color: #ff8a8a;
}

.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .frm-fluent-form .ff-el-form-control:focus {
	outline-color: #ffe66d;
}

/* Google's captcha box is 304px wide, wider than a phone's form column in
 * the planner and the sidebar, so it shrinks to fit there. */
@media screen and (max-width: 640px) {
	.trip-planner .fluentform:not(.fluentform_wrapper_3) .ff-el-recaptcha > div,
	.sidebar-card__form .fluentform:not(.fluentform_wrapper_3) .ff-el-recaptcha > div {
		margin: 0;
		transform: scale(0.88);
		transform-origin: 0 0;
	}
}
