.vigil-form_wrapper .gform_page_fields>div {
	margin: 0;
}

legend.gfield_label {
	margin: 0;
	line-height: unset;
}

.vigil-form_wrapper .textarea.small {
	height: 9rem;
}

@media (min-width: 32em) {

	.vigil-form_wrapper .textarea.small {
		height: 7rem;
	}
}

@media (min-width: 48em) {

	.vigil-form_wrapper .textarea.small {
		height: 5rem;
	}
}

.vigil-form_wrapper .gfield,
.vigil-form_wrapper .gfield legend,
.vigil-form_wrapper .ginput_complex {
	margin: 0;
	display: block;
}

.vigil-form_wrapper .ginput_complex > *,
.vigil-form_wrapper .ginput_complex > * > fieldset {
	padding: 0;
}

.vigil-form_wrapper .gfield--type-product {
	font-size: 1.25rem;
}

#gf_progressbar_wrapper_69,
.vigil-form_wrapper .gfield_price .gfield_required,
.vigil-form_wrapper .gfield_price .ginput_product_price_label,
.vigil-form_wrapper .gform_card_icon_container {
	display: none;
}

.vigil-form_wrapper .gfield_price .gfield_label_before_complex {
	font-weight: 400;
}

.vigil-form_wrapper .gfield_price .gfield_label_before_complex::after {
	content: ":";
}

.vigil-form_wrapper .gfield_price .ginput_product_price_wrapper,
.vigil-form_wrapper .gfield_price .ginput_container_singleproduct,
.vigil-form_wrapper .gfield_price label {
	display: inline;
	font-size: inherit;
}

.vigil-form_wrapper .gfield_price input {
	font: inherit;
	font-weight: 700;
	border: 0;
	padding: 0;
	display: inline;
	outline: none;
	cursor: default;
	width: 50%;
}

.vigil-form_wrapper .ginput_container_creditcard {
	margin-top: .5rem;
	display: grid;
	gap: .5rem;
	margin-bottom: 1rem;
}

.vigil-form_wrapper .ginput_container_creditcard>span:first-child {
	position: relative;
}

.vigil-form_wrapper .ginput_container_creditcard>span:first-child::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: .5rem;
	background-image: url(/wp-content/themes/sotlf/images/cards.png);
	background-repeat: no-repeat;
	background-position: center center;
	width: 164px;
	height: 100%;
}

.vigil-form_wrapper .ginput_card_expiration_container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem;
}

#vigil-preview {
	width: 100%;
	margin-bottom: 1rem;
}

.gform_page_footer .button {
	width: 100%;
	text-transform: none;
	cursor: pointer;
}

#vigil-preview,
.gform_page_footer .button.gform_previous_button {
	background-color: white;
	color: var(--red);
	border: 2px solid currentcolor;
	cursor: pointer;
}

.vigil-form_wrapper .gform_card_icon_container,
.vigil-form_wrapper .gfield--type-creditcard .gform-field-label--type-sub,
.vigil-form_wrapper .ginput_card_security_code_icon {
	display: none;
}

.vigil-form_wrapper .ginput_cardextras {
	display: grid;
	grid-template-columns: 60% auto;
	gap: .5rem;
}


.ginput_complex {
	margin: 0;
}

.ginput_complex > span,
.ginput_cardinfo_left {
	padding: 0;
}



#vigil-preview-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
	padding: var(--gutter_width);
}

#vigil-preview-popup-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.25);
	z-index: 1;
}

#vigil-preview-popup-inner {
	background-color: white;
	position: relative;
	z-index: 2;
	padding: var(--gutter_width);
	width: 100%;
	height: 100%;
	background-image: var(--vigil_background);
	background-size: cover;
	background-repeat: no-repeat;
	border-radius: 3px;
}

#vigil-preview-popup-close {
	position: absolute;
	top: 0;
	right: 0;
	background: transparent;
	padding: 0;
	border: 0;
	font-size: 0;
	cursor: pointer;
}

#vigil-preview-popup-close::before {
	content: "\00D7";
	font-size: 2.5rem;
	line-height: .7;
	color: black;
	padding: .75rem;
	display: block;
}

#vigil-preview-popup-content {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#vigil-preview-popup-content #saint {
	position: relative;
	text-align: center;
}

#vigil-preview-popup-content #saint::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 37.5%;
	width: 25%;
	aspect-ratio: 231 / 444;
	background-image: var(--vigil_candle);
	background-size: contain;
}

#vigil-preview-popup-content #saint img {
	max-height: 100%;
}

#vigil-preview-popup-content #content {
	background-color: rgba(255, 255, 255, 0.8);
	padding: 2.5rem;
	margin: 0 1rem 1rem 1rem;
	font-size: 1rem;
	border-radius: .5rem;
	width: 100%;
}

#vigil-preview-popup-content #content p:first-child { margin-top: 0; }

#vigil-preview-popup-content #content p:last-child { margin-bottom: 0; }

.page-section.hero {
	margin: 0;
	padding: 0;
	background-image: var(--background_image);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

body.page .page-section.hero .hero-inner {
	gap: 0;
}

.vigil-form_wrapper .gform_fields {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.vigil-form_wrapper .gfield {
    padding: 0;
}


@media (min-width: 40em) {

	#vigil-preview {
		width: 200px;
		margin-bottom: 0;
	}

	.gform_page_footer .button.gform_next_button {
		width: 200px;
		margin-top: -57px;
	}

	.gform_page_footer .button.gform_previous_button {
		width: 100px;
	}

	.gform_page_footer .button.gform_button {
		width: 300px;
	}
}

body .page-section.hero .hero-inner {
	display: flex;
}

.hero-text {
	background-color: rgba(255, 255, 255, 0.75);
	padding: 1.5rem;
	border-radius: .5rem;
}

@media (min-width: 45em) {

	body .page-section.hero .hero-inner {
		padding: 2rem var(--gutter_width);
		gap: 1rem;
		align-items: flex-end;
	}

	.ftps-hero-content {
		flex: 1;
	}

	body .page-section.hero .hero-inner .ftps-hero-image {
		position: relative;
		top: 2rem;
	}

	.vigil-form_wrapper .gform_fields {
        grid-template-columns: 1fr 1fr;
    }

    .vigil-form_wrapper .gfield {
        grid-column: span 2;
    }
	
    .vigil-form_wrapper .gfield.gfield--width-half {
        grid-column: span 1;
    }
}

@media (min-width: 52em) {

	#vigil-preview-popup-content {
		flex-direction: row;
		gap: 2rem;
	}

	#vigil-preview-popup-content #saint {
		height: 100%;
		display: flex;
		align-self: flex-end;
		top: 3rem;
	}

	#vigil-preview-popup-content #content {
		width: unset;
		flex: auto;
		height: fit-content;
		margin: 3rem 2rem 3rem 3rem;
		font-size: 1.125rem;
	}

	#vigil-preview-popup-inner {
		padding: 3rem;
	}
}

@media (min-width: 50em) {

	.page-section-hero .use-as-foreground .ftps-hero-img {
		align-items: flex-end !important;
		padding: 4rem 0 0 0 !important;
	}

	.page-section-hero:has(.use-as-foreground) .page-section-inner {
		min-height: 65vh !important;
	}
}

@media (min-width: 75em) {

	body .page-section.hero .hero-inner {
		padding: 0 var(--gutter_width) 4rem var(--gutter_width);
	}

	body .page-section.hero .hero-inner .ftps-hero-image {
		top: 4rem;
	}
}
