.afgf-group {
	grid-column: 1 / -1;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	margin-bottom: 20px;
	border: 1px solid #d5d7dc;
	border-radius: 8px;
}

.afgf-group--hidden {
	display: none !important;
}

.afgf-group > .gfield {
	margin: 0 !important;
	padding: 14px 16px;
	background-color: #f6f7f8;
	border-bottom: 1px solid #d5d7dc;
}

.afgf-group-marker__title {
	font-size: 15px;
	font-weight: 600;
}

.afgf-group-marker__desc {
	margin-top: 4px;
	font-size: 13px;
	color: #6b7280;
}

.afgf-group__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px;
}

.afgf-group__body > .gfield {
	margin: 0 !important;
}

.afgf-group__body > .gform_footer,
.afgf-group__body > .gform_page_footer {
	margin: 0 !important;
	padding: 0 !important;
}

.vertical-scroll-mobile .afgf-group__body {
	position: relative;
}

@media only screen and (max-width: 767px) {
	.vertical-scroll-mobile .afgf-group__body .gfield_checkbox {
		flex-wrap: wrap;
		overflow-y: auto;
		overflow-x: hidden;
		max-height: 230px;
		box-sizing: border-box;
		padding-right: 28px;
		scrollbar-width: none;
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		transform: translateZ(0);
		-webkit-transform: translateZ(0);
	}
	.vertical-scroll-mobile
		.afgf-group__body
		.gfield_checkbox
		input[type="checkbox"] {
		left: 0;
		opacity: 0;
		width: 1px;
		height: 1px;
	}

	.vertical-scroll-mobile
		.afgf-group__body
		.gfield_checkbox::-webkit-scrollbar {
		width: 0;
		display: none;
	}
}
@media only screen and (max-width: 580px) {
	.vertical-scroll-mobile .afgf-group__body .gfield_checkbox {
		flex-direction: column;
		flex-wrap: nowrap;
	}
	.vertical-scroll-mobile .gfield--width-fourth .gchoice {
		width: 100%;
	}
}
