/*
*   Fonts
*  -------------------------------------------------- */
/* @font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2)
		format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
		U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2)
		format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
		U+2215, U+FEFF, U+FFFD;
} */

/* #keap_order_form * {
  all: unset;
} */

/*
*   Brand Colors
*  -------------------------------------------------- */
#keap_order_form {
	--primary: rgb(22, 88, 108);
	--secondary: #2497c6;
	--nlaBlack: #1e1e1e;
	--lightGrey: #eff0f2;
	--darkGrey: #6a6f77;
	--offWhite: #fefefe;
	box-sizing: border-box;
	font-family: "Montserrat", sans-serif !important;
	font-weight: 550;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ADDED DUE TO GLOBAL STYLES OVERWRITING DIALOG STYLES */
#keap_order_form * {
	text-transform: none;
	text-align: left;
}

#keap_order_form p {
	margin-bottom: 0;
}

#keap_order_form button {
	all: unset;
}

/*
  !   Global
*/
#keap_order_form .uppercase {
	text-transform: uppercase !important;
}
#keap_order_form .strikethrough {
	text-decoration: line-through !important;
}
#keap_order_form .sec-text {
	color: var(--secondary);
}
#keap_order_form .invalid:not(.cc-number) > input {
	border: 1px solid rgba(255, 0, 0, 0.5) !important;
	background-color: rgba(255, 0, 0, 0.1) !important;
}
#keap_order_form .invalid.cc-number {
	border: 1px solid rgba(255, 0, 0, 0.5) !important;
	background-color: rgba(255, 0, 0, 0.1) !important;
}
#keap_order_form .material-symbols-outlined {
	font-variation-settings: "FILL" 1, "wght" 100, "GRAD" 0, "opsz" 20 !important;
}

/*
	!   Dialog
*/

/* Dialog Polyfill styling */
dialog {
	position: absolute;
	left: 0;
	right: 0;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	height: -moz-fit-content;
	height: -webkit-fit-content;
	height: fit-content;
	margin: auto;
	font-family: "Montserrat", sans-serif !important;
	font-size: 16px;
	font-weight: bold;
	border: none;
	text-transform: uppercase;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	column-gap: 20px;
	background-color: rgba(0, 0, 0, 0);
}

dialog:not([open]) {
	display: none;
}

dialog + .backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
}

._dialog_overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

dialog.fixed {
	position: fixed;
	top: 50%;
	transform: translate(0, -50%);
}

.open-order--dialog * {
	pointer-events: none;
	cursor:pointer;
}

/* Custom styling */

#keap_order_form #open-dialog {
	font-family: "Montserrat", sans-serif !important;
	background-color: var(--primary);
	color: var(--offWhite);
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	padding: 15px 10px;
	text-transform: uppercase;
	text-align: center;
}

#keap_order_form .form-dialog {
	padding: 0;
	border: none;
}

#keap_order_form .form-dialog::-webkit-backdrop {
	background-color: rgba(0, 0, 0, 0.75);
}

#keap_order_form .form-dialog::backdrop {
	background-color: rgba(0, 0, 0, 0.75);
}

@media only screen and (max-height: 925px) {
	#keap_order_form .form-dialog[open] {
		justify-content: flex-start;
		display: unset;
		position: fixed;
		top: 0;
	}
}

#keap_order_form #close-dialog {
	position: absolute;
	top: 1%;
	right: 2%;
	font-size: 32px;
	font-weight: thin;
	color: var(--darkGrey);
	cursor: pointer;
	border: none !important;
}

#keap_order_form #close-dialog:hover {
	color: var(--primary);
}

/*
	!   Payment Processing Alert
*/

#keap_order_form .payment-processing-container {
	width: 320px;
	padding: 0;
	position: absolute;
}

#keap_order_form .payment-processing__content {
	position: relative;
	min-width: 320px;
	min-height: 350px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
	z-index: 3;
}

#keap_order_form .payment-processing__text {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin: 15px 0;
	padding: 0;
	max-width: 280px;
	text-align: center;
}

#keap_order_form .payent-processing__try-again {
	font-family: "Montserrat", sans-serif !important;
	background-color: var(--primary);
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	padding: 15px 10px;
	text-transform: uppercase;
	text-align: center;
}

/* Spinner */
#keap_order_form .lds-spinner {
	color: official;
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
#keap_order_form .lds-spinner div {
	transform-origin: 40px 40px;
	-webkit-animation: lds-spinner 1.2s linear infinite;
	animation: lds-spinner 1.2s linear infinite;
}
#keap_order_form .lds-spinner div:after {
	content: " ";
	display: block;
	position: absolute;
	top: 3px;
	left: 37px;
	width: 6px;
	height: 18px;
	border-radius: 20%;
	background: var(--primary);
}
#keap_order_form .lds-spinner div:nth-child(1) {
	transform: rotate(0deg);
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}
#keap_order_form .lds-spinner div:nth-child(2) {
	transform: rotate(30deg);
	-webkit-animation-delay: -1s;
	animation-delay: -1s;
}
#keap_order_form .lds-spinner div:nth-child(3) {
	transform: rotate(60deg);
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}
#keap_order_form .lds-spinner div:nth-child(4) {
	transform: rotate(90deg);
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}
#keap_order_form .lds-spinner div:nth-child(5) {
	transform: rotate(120deg);
	-webkit-animation-delay: -0.7s;
	animation-delay: -0.7s;
}
#keap_order_form .lds-spinner div:nth-child(6) {
	transform: rotate(150deg);
	-webkit-animation-delay: -0.6s;
	animation-delay: -0.6s;
}
#keap_order_form .lds-spinner div:nth-child(7) {
	transform: rotate(180deg);
	-webkit-animation-delay: -0.5s;
	animation-delay: -0.5s;
}
#keap_order_form .lds-spinner div:nth-child(8) {
	transform: rotate(210deg);
	-webkit-animation-delay: -0.4s;
	animation-delay: -0.4s;
}
#keap_order_form .lds-spinner div:nth-child(9) {
	transform: rotate(240deg);
	-webkit-animation-delay: -0.3s;
	animation-delay: -0.3s;
}
#keap_order_form .lds-spinner div:nth-child(10) {
	transform: rotate(270deg);
	-webkit-animation-delay: -0.2s;
	animation-delay: -0.2s;
}
#keap_order_form .lds-spinner div:nth-child(11) {
	transform: rotate(300deg);
	-webkit-animation-delay: -0.1s;
	animation-delay: -0.1s;
}
#keap_order_form .lds-spinner div:nth-child(12) {
	transform: rotate(330deg);
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
@-webkit-keyframes lds-spinner {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes lds-spinner {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/*
  !   Header
*/

#keap_order_form .order-form {
	margin: 0 auto;
	max-width: 450px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-family: "Montserrat", sans-serif;
	width: 100%;
}

#keap_order_form .order-form__col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	background-color: #fff;
	max-width: 500px;
	border-radius: 8px;
	padding: 20px 0;
}

#keap_order_form .order-form__top-container {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-top: 24px;
	width: 100%;
}

#keap_order_form .order-form__top-copy {
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
}

#keap_order_form .order-form__product-text {
	grid-column: 1 / 3;
	display: flex;
	align-self: left;
	text-align: left;
}

#keap_order_form .order-form__product-price {
	grid-column: 2 / 3;
}

#keap_order_form .order-form__product-gift {
	padding: 0;
	grid-column: 1 / 3;
	align-self: left;
	transition: 0.2s ease-in-out;
	width: 100%;
}

#keap_order_form .hide-gift {
	opacity: 0;
}

#keap_order_form .order-form__product-text,
#keap_order_form .order-form__product-price,
#keap_order_form .order-form__product-gift,
#keap_order_form .order-form__gift-date {
	margin: 0;
	/* padding: 0 0 10px 0; */
}

#keap_order_form .strikethrough {
	grid-column: 2 / 3;
}

#keap_order_form .order-form__gift-date {
	color: var(--darkGrey);
	grid-column: 1 / 3;
}

#keap_order_form .order-from__product-price,
#keap_order_form .strikethrough {
	margin-left: 30px;
}

/* @media only screen and (max-width: 600px) {
	#keap_order_form .order-from__product-price,
	#keap_order_form .strikethrough {
		margin-left: 10px;
	}
} */

#keap_order_form .order-form__radio-container {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 50px;
	margin-bottom: 15px;
}

#keap_order_form .order-form__plan {
	margin: 0;
	padding: 0;
}

#keap_order_form .order-form__radio-label {
	position: relative;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: 0.2s ease-in-out;
}

#keap_order_form .order-form__radio:checked ~ label {
	position: relative;
	color: var(--secondary);
}

#keap_order_form .order-form__radio {
	position: absolute;
	opacity: 0;
}

@media only screen and (max-width: 600px) {
	#keap_order_form .order-form__radio-container {
		gap: 25px;
	}
}

/* hr {
	justify-self: left;
	width: 100%;
	margin-left: 0;
	height: 0;
	border-width: 1px;
	margin: 0;
	padding: 0;
} */

/*
  !   Form fields
*/

#keap_order_form .order-form__total-text {
	border-top: 1px solid var(--darkGrey);
	padding-top: 10px;
	margin-top: 10px;
}

#keap_order_form .order-form__total-price {
	margin-left: 80px;
	font-weight: 700;
}

#keap_order_form .order-form__typed-fields {
	background-color: var(--offWhite);
	flex-direction: column;
	padding: 10px 20px 2px 20px;
	display: flex;
	gap: 10px;
}

#keap_order_form .order-form__field-container {
	display: flex;
	flex-direction: column;
	width: 100%;
}

#keap_order_form .order-form__typed-fields label,
#keap_order_form .order-form__card-info-label {
	text-align: left;
	width: 100%;
	margin: 0 auto;
	font-size: small;
	font-weight: bold;
	line-height: 1.7;
}

#keap_order_form .order-form__typed-input {
	height: 50px;
	width: 100%;
	border-radius: 4px;
	border: solid 1px rgba(106, 111, 119, 0.5);
	background-color: var(--offWhite);
	font-size: 16px;
	padding: 0;
	margin: 0;
}

#keap_order_form .order-form__typed-input:focus {
	outline: none !important;
	box-shadow: 0 0 0 2px var(--primary) !important;
}

#keap_order_form .card-info-container {
	line-height: 0;
	text-align: left;
}

#keap_order_form .order-form__card-info {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 80px 80px;
	align-items: center;
	justify-content: center;
	border: solid 1px rgba(106, 111, 119, 0.5);
	width: 100%;
	border-radius: 4px;
	font-size: 16px;
}

#card-number {
	position: relative;
}

#keap_order_form .cc-number {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 3px;
}

#keap_order_form .cc-number:focus-within {
	outline: none !important;
	box-shadow: 0 0 0 2px var(--primary) !important;
}

#card-number:focus {
	outline: none !important;
	box-shadow: none !important;
}

#keap_order_form .cc-number::before {
	font-family: "Material Symbols Outlined";
	content: "credit_card";
	color: var(--darkGrey);
	padding-left: 3px;
}

#keap_order_form .order-form__card-info input {
	padding: 0;
	margin: 0;
	background: none;
	border: none;
	text-align: left;
	height: 52px;
	width: 100%;
}

#keap_order_form .order-form__card-info input:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--primary);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

/* Firefox */
input[type="number"] {
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
}

#keap_order_form input::-webkit-input-placeholder {
	font-family: "Montserrat", sans-serif;
	font-size: small;
}

#keap_order_form input::-moz-placeholder {
	font-family: "Montserrat", sans-serif;
	font-size: small;
}

#keap_order_form input:-ms-input-placeholder {
	font-family: "Montserrat", sans-serif;
	font-size: small;
}

#keap_order_form input::-ms-input-placeholder {
	font-family: "Montserrat", sans-serif;
	font-size: small;
}

#keap_order_form input::placeholder {
	font-family: "Montserrat", sans-serif;
	font-size: small;
}

#keap_order_form .order-form__bottom {
	flex-direction: column;
	padding: 0px 20px;
	display: flex;
	gap: 5px;
}

#keap_order_form .order-form__submit {
	font-family: "Montserrat", sans-serif !important;
	background-color: var(--primary);
	color: var(--offWhite);
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	padding: 15px 0;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	margin-bottom: 15px;
}

#keap_order_form .order-form__submit:disabled {
	background-color: var(--darkGrey);
	color: var(--offWhite);
}

#keap_order_form .order-form__submit:active {
	box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5);
}

#keap_order_form .order-form__submit-bottom-text {
	font-size: 14px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	color: var(--darkGrey);
	gap: 10%;
	margin-bottom: 15px;
}

#keap_order_form .order-form__submit-secured {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 0;
}

#keap_order_form .order-form__submit-secured span {
	margin-top: -4px;
}

@media only screen and (max-width: 600px) {
	.order-form__submit-bottom-text {
		font-size: 12px;
	}
}
#keap_order_form .order-form__disclaimer-container a {
	text-decoration: none;
	color: var(--primary);
}

/* #keap_order_form .order-form__disclaimer-container {
  line-height: .8;
} */

#keap_order_form .order-form__disclaimer {
	/* display: unset; */
	padding: 0px 2px;
	margin-bottom: 20px;
	color: var(--darkGrey);
	width: 100%;
	font-size: 12px;
	line-height: 1.45;
}

/* 
  !   Footer
*/
#keap_order_form .order-form__form-footer {
	display: flex;
	flex-direction: column;
	padding: 15px 0;
	justify-items: center;
}

#keap_order_form .form-footer__secured {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 180px;
	padding: 0 5px;
	margin: 0 auto 15px auto;
	gap: 5px;
	justify-content: center;
	border: var(--darkGrey) 1px solid;
	border-radius: 4px;
	height: 40px;
	color: var(--darkGrey);
}

#keap_order_form .form-footer__secured-text {
	font-size: 14px;
	margin-bottom: 0;
}

#keap_order_form .form-footer__secured-text::before {
	content: "";
	border-left: var(--darkGrey) 1px solid;
	margin-right: 10px;
	padding: 4px 0;
}

#keap_order_form .form-footer__question-text {
	color: var(--darkGrey);
	font-size: 12px;
	text-align: center;
	line-height: 1.2;
}

#keap_order_form .form-footer__question-link {
	color: var(--darkGrey);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	display: block;
	text-align: center;
}

#keap_order_form .product-details-col {
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr;
	max-width: 500px;
	row-gap: 20px;
}

.price-and-desc-container,
.policies-support-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 0 0 0;
	background-color: #fff;
	border-radius: 8px;
}

.policies-support__policies-container {
	max-width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 25px;
}

#keap_order_form .policy-icon-title {
	display: flex;
	padding-bottom: 15px;
}

#keap_order_form .policies-support__policy-text {
	font-weight: normal;
}

#keap_order_form .order-form__product-options {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	border-radius: 8px;
	gap: 10px;
	margin: 25px 0 10px 0;
	padding: 0 10px;
}

#keap_order_form .order-form input[type="radio"] {
	display: none;
}

#keap_order_form .box {
	width: 150px;
	height: 80px;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	font-size: 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

#keap_order_form .box:hover {
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
}

#keap_order_form input[type="radio"]:checked + .box {
	box-shadow: 0px 0px 6px rgba(22, 88, 108, 0.8);
	border: 2px solid rgb(22, 88, 108);
}

#keap_order_Form .box p {
	padding: 8px;
}

@media only screen and (max-width: 400px) {
	#keap_order_form .order-form__top-container {
		padding-top: 30px;
	}
	#keap_order_form .order-form__top-copy {
		width: 90%;
		margin: 0 auto 20px auto;
	}

	#keap_order_form .order-form__typed-fields {
		padding: 10px 10px 2px 10px;
	}

	#keap_order_form .order-form__bottom {
		padding: 10px 20px 0 20px;
	}
}
