.frm-relative,
.frm-new-application-option {
	position: relative;
}

.formidable_page_formidable-applications #frm_bs_dropdown a,
#frm_bs_dropdown a.frm-new-application-button {
	vertical-align: bottom;
}

#frm_new_application_modal .frm_modal_content {
	max-height: 375px;
	overflow-y: auto;
}

#frm_new_application_modal input[type="text"] {
	display: block;
}

#frm_new_application_modal .frm-modal-pagecounter {
	text-align: center;
	position: absolute;
	line-height: 26px;
	inset: 0;
	pointer-events: none;
}

.frm-invalid-application-name ~ .frm-new-application-option {
	opacity: 0.6;
	cursor: not-allowed;
}

.frm-new-application-option {
	cursor: pointer;
	margin-top: var(--gap-sm);
}

.frm-new-application-option + .frm-new-application-option {
	margin-top: var(--gap-sm);
}

.frm-new-application-option + div:not(.frm-new-application-option) {
	margin: 30px 0 10px;
}

.frm-new-application-option h3 {
	margin: 0;
	font-size: var(--text-sm) !important;
}

#frm_new_application_modal .frm-search {
	float: none;
	width: 100%;
	margin-top: 0;
}

#frm_new_application_modal .frm_modal_footer {
	min-height: 28px;
}

.frm-new-application-option-icon-wrapper + div {
	display: inline-block;
}

.frm-new-application-option h3 + div {
	font-size: var(--text-sm);
}

.frm-views-upsell {
	margin-top: var(--gap-sm);
	background: rgba(65, 153, 253, 0.1);
	border: 1px solid var(--grey-300);
	border-radius: var(--small-radius);
	display: flex;
}

.frm-views-upsell img {
	max-width: 100%;
	display: block;
}

.frm-views-upsell > p {
	flex: 1.5;
}

.frm-views-upsell > p:last-child {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-self: center;
	padding-right: var(--gap-sm);
}

.frm-views-upsell a.frm-button-secondary {
	align-self: flex-start;
	margin-top: var(--gap-xs);
}
