/* ==========================================================
   HubSpot form pop-up (links to "#hs-form-<FORM-GUID>")

   This file is loaded on the page AND injected into HubSpot's
   form iframe inside our pop-up. Every form rule below is scoped
   to the pop-up only:
     .jlp-hs-iframe      -> <html> of the iframe inside our pop-up
     .jlp-hs-modal__body -> the pop-up itself (raw HTML forms)
   HubSpot forms elsewhere on the site are not affected.
   ========================================================== */

/* ---------- Modal ---------- */

.jlp-hs-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.jlp-hs-modal.is-open {
	display: flex;
}

.jlp-hs-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 46, 70, 0.7);
}

.jlp-hs-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #002c41;
	color: #fff;
	border-radius:0;
	padding: 3rem;
	font-size: .9375rem;
	font-family: poppins, Helvetica Neue, helvetica, roboto, arial, sans-serif;
	line-height: 1.5;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	animation: jlp-hs-in 0.2s ease-out;
	border:1px solid #fff;
}

.jlp-hs-modal__dialog h2 {
	font-size: 2.5rem;
	letter-spacing: -.0375rem;
	margin-bottom: 2rem;
	color: #fff;
	font-weight: 600;
	line-height: 1;
	font-family: poppins, Helvetica Neue, helvetica, roboto, arial, sans-serif;
}

.jlp-hs-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.jlp-hs-modal__close:hover,
.jlp-hs-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}

.jlp-hs-modal__loading,
.jlp-hs-modal__error {
	text-align: center;
	color: rgba(255, 255, 255, 0.75);
	margin: 24px 0;
}

.jlp-hs-modal__body iframe {
	display: block;
	width: 100% !important;
	border: 0;
	background: transparent;
}

/* Lock page scroll while the pop-up is open */
html.jlp-hs-modal-open,
html.jlp-hs-modal-open body {
	overflow: hidden;
}

@keyframes jlp-hs-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
	.jlp-hs-modal { padding: 0; }
	.jlp-hs-modal__dialog {
		max-width: none;
		max-height: 100vh;
		height: 100%;
		border-radius: 0;
		padding: 56px 20px 24px;
	}
}

/* ---------- Inside the HubSpot iframe: page basics ---------- */

html.jlp-hs-iframe,
html.jlp-hs-iframe body {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: #fff;
	font-family: poppins, Helvetica Neue, helvetica, roboto, arial, sans-serif !important;
	font-size: 0.96825rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

html.jlp-hs-iframe *,
html.jlp-hs-iframe *:before,
html.jlp-hs-iframe *:after {
	box-sizing: border-box;
}

/* ---------- Form (iframe + raw HTML), pop-up only ---------- */

:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form {
	font-family: poppins, Helvetica Neue, helvetica, roboto, arial, sans-serif !important;
	color: #fff;
}

/* Rich text inside the form (headings, intro text) */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext p {
	color: #fff !important;
	font-size:inherit!important;
	font-family: inherit !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext p span{color:#fff!important}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext p {margin:0 0 1.25rem!important;}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext h1,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext h2 {
	font-size: 2.5rem;
	letter-spacing: -.0375rem;
	margin: 0 0 2rem;
	color: #fff !important;
	font-weight: 600;
	line-height: 1;
	font-family: inherit !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-richtext h3 {
	color: #fff !important;
	font-weight: 600;
	font-family: inherit !important;
}

/* Labels */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form label {
	display: block;
	font-size:inherit  !important;
	font-weight: 600;
	color: #fff !important;
	font-family: inherit !important;
	margin-bottom: .25rem;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-field.hs-fieldtype-checkbox{
	margin-bottom:10px;
	padding-top:10px
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-radiobutton label,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-radio label,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-checkbox label,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .legal-consent-container label{font-weight:400}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-required {
	color: #00a88d !important;
}

/* Columns */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form fieldset {
	max-width: 100% !important;
	border: 0;
	padding: 0;
	margin: 0;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form fieldset .input {
	margin-right: 0 !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form fieldset.form-columns-2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form fieldset.form-columns-2 .hs-form-field {
	float: none !important;
	width: 100% !important;
}
@media screen and (min-width: 30em) {
	:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form fieldset.form-columns-2 .hs-form-field {
		width: 49% !important;
	}
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-form-field {
	margin-bottom: 1.25rem;
}

/* Inputs */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-input:not([type=checkbox]):not([type=radio]),
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form select,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form textarea {
	display: block;
	width: 100% !important;
	height: 3.3rem;
	margin: 0;
	padding: 0 1rem;
	background-color: #fff !important;
	border: 1px solid #d6d6d6 !important;
	border-radius: .25rem;
	color: #002c41 !important;
	font-family: inherit !important;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-input:not([type=checkbox]):not([type=radio]):focus,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form select:focus,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form textarea:focus {
	border-color: #00a88d !important;
	box-shadow: 0 0 0 2px rgba(0, 168, 141, .35);
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form textarea {
	height: 9.25rem;
	padding: 1rem;
	resize: vertical;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.5rem;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23002c41' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center !important;
	background-size: .75rem .75rem !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form select[multiple] {
	height: auto;
	background-image: none !important;
	padding: 1rem;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form ::placeholder {
	color: #8a99a3;
	opacity: 1;
}

/* Phone field with country select */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-fieldtype-intl-phone {
	display: flex;
	justify-content: space-between;
	gap: 2%;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-fieldtype-intl-phone select {
	flex: 0 0 38%;
	width: 38% !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-fieldtype-intl-phone [type=tel] {
	flex: 1 1 60%;
	width: 60% !important;
}

/* Checkbox / radio lists */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form ul.inputs-list {
	list-style: none;
	margin: 1rem 0 1.25rem;
	padding: 0;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form ul.inputs-list li {
	padding-left: 0;
	margin-bottom: .5rem;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form ul.inputs-list li:before {
	display: none;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form input[type=checkbox],
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form input[type=radio] {
	position: relative;
	top: .125rem;
	margin: 0 .5rem 0 0;
	accent-color: #00a88d;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .inputs-list label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
}

/* Help text, consent text, errors */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-field-desc {
	color: rgba(255, 255, 255, .8) !important;
	font-size: .75rem;
	font-weight: 600;
	margin-bottom: .25rem;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .legal-consent-container,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .legal-consent-container p,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .legal-consent-container span {
	color: rgba(255, 255, 255, 1) !important;
	margin-left: 0;
	font-size: inherit !important !important;
	line-height: 1.5;
	font-family: inherit !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form a {
	color: #fff !important;
	text-decoration:underline!important
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form a:hover {
	color: #00a88d !important;
	text-decoration:underline!important
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form ul.hs-error-msgs {
	list-style: none;
	margin: .25rem 0 0;
	padding: 0;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-error-msg,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-error-msgs label,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs_error_rollup label {
	color: #e9636c !important;
	font-size: .8125rem !important;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-input.invalid.error {
	border-color: #e9636c !important;
}

/* Submit button */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs_submit {
	margin-top: .5rem;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs_submit .actions{
	margin-bottom:0!important;
	padding-bottom:0!important
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-button {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 3.25rem;
	min-width: 9.375rem;
	margin: .5rem 0 0;
	padding: 0 2rem;
	background: #00a88d !important;
	border: 0 !important;
	border-radius: 3.25rem !important;
	color: #002c41 !important;
	font-family: inherit !important;
	font-size: .9375rem !important;
	font-weight: 600 !important;
	line-height: 1;
	text-transform: uppercase;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: color .3s ease, background-color .3s ease;
}
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-button:hover,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .hs-form .hs-button:focus {
	background: #fff !important;
	color: #002c41 !important;
	outline: none;
}
 
/* Thank-you message after submit */
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .submitted-message,
:is(.jlp-hs-iframe, .jlp-hs-modal__body) .submitted-message p {
	color: #fff !important;
	font-family: poppins, Helvetica Neue, helvetica, roboto, arial, sans-serif !important;
	font-size: 1rem;
	text-align: center;
}

/* HubSpot form in pop-up: first/last name and email/phone in two columns */
.jlp-hs-modal .hs-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
}

/* By default every block spans the full width */
.jlp-hs-modal .hs-form > * {
	grid-column: 1 / -1;
}

/* These four fields take one column each */
.jlp-hs-modal .hs-form > .hs_firstname,
.jlp-hs-modal .hs-form > .hs_lastname,
.jlp-hs-modal .hs-form > .hs_email,
.jlp-hs-modal .hs-form > .hs_phone {
	grid-column: auto;
}

.jlp-hs-modal .hs-form .hs-input:not([type="checkbox"]):not([type="radio"]) {
	width: 100%;
	box-sizing: border-box;
}

/* On mobile everything goes back to one column */
@media (max-width: 640px) {
	.jlp-hs-modal .hs-form {
		grid-template-columns: 1fr;
	}
}