/* ncq-event-editor.css - the rich text editor in the Submit Your Event popup,
   and the longer form that now sits around it. Loaded by snippet 1547. */

/* The real <textarea> stays in the form so Elementor keeps validating and
   sending it. display:none would make a required control unfocusable and the
   browser would then refuse to submit the form at all, so it is collapsed to a
   transparent 1px box instead. */
.gh-ncq-rte-source {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	overflow: hidden !important;
	pointer-events: none;
}

.gh-ncq-rte {
	position: relative;
	width: 100%;
	border: 1px solid #D9D9E3;
	border-radius: 12px;
	background: #FFFFFF;
	overflow: hidden;
}

.gh-ncq-rte:focus-within {
	border-color: #48206C;
}

.gh-ncq-rte.has-error {
	border-color: #B4232A;
}

.gh-ncq-rte-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 8px 10px;
	border-bottom: 1px solid #ECECF2;
	background: #FAFAFC;
}

.gh-ncq-rte-btn {
	min-width: 32px;
	padding: 0px 8px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: transparent;
	font-family: Inter, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 20px;
}

.gh-ncq-rte-btn:hover,
.gh-ncq-rte-btn:focus-visible {
	border-color: #D9D9E3;
	background: #FFFFFF;
	color: #48206C;
}

.gh-ncq-rte-surface {
	min-height: 140px;
	padding: 12px 16px;
	color: #364153;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
	outline: none;
	overflow-y: auto;
	max-height: 320px;
}

.gh-ncq-rte-surface.is-empty::before {
	content: attr(data-placeholder);
	color: #5A5A68;
	pointer-events: none;
}

.gh-ncq-rte-surface p {
	margin: 0 0 8px;
}

.gh-ncq-rte-surface ul,
.gh-ncq-rte-surface ol {
	margin: 0 0 8px;
	padding-left: 22px;
}

.gh-ncq-rte-surface a {
	color: #48206C;
	text-decoration: underline;
}

/* The link bar replaces a prompt() box: it keeps the caret and the selection
   in the editor while the address is typed. */
.gh-ncq-rte-linkbar {
	display: flex;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid #ECECF2;
	background: #FAFAFC;
}

.gh-ncq-rte-linkbar[hidden] {
	display: none;
}

.gh-ncq-rte-linkinput {
	flex: 1 1 auto;
	min-width: 0;
	padding: 6px 10px;
	border: 1px solid #D9D9E3;
	border-radius: 8px;
	font-family: Inter, sans-serif;
	font-size: 14px;
}

.gh-ncq-rte-linkadd,
.gh-ncq-rte-linkcancel {
	padding: 6px 14px;
	border: 1px solid #ED7D31;
	border-radius: 100px;
	background: #F7922F;
	color: #FFFFFF;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.gh-ncq-rte-linkcancel {
	border-color: #D9D9E3;
	background: #FFFFFF;
	color: #36205A;
}

.gh-ncq-rte-linkadd:hover {
	background: #ED7D31;
}

.gh-ncq-rte-linkcancel:hover {
	border-color: #48206C;
	color: #48206C;
}

/* Guidance line above the image upload. */
.gh-ncq-ev-help {
	margin: 0;
	color: #6B7280;
	font-family: Inter, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
}

/* The popup form is much longer now: let it scroll rather than run off the
   bottom of a laptop screen. */
.elementor-popup-modal .dialog-message {
	max-height: 86vh;
	overflow-y: auto;
}

/* Date, time and select fields arrive unstyled next to the themed text inputs. */
.gh-ncq-ct-form .elementor-field-type-date .elementor-field,
.gh-ncq-ct-form .elementor-field-type-time .elementor-field,
.gh-ncq-ct-form .elementor-field-type-select .elementor-field {
	width: 100%;
}

.gh-ncq-ct-form .elementor-field-type-upload .elementor-field {
	padding: 10px 0;
	font-family: Inter, sans-serif;
	font-size: 14px;
	color: #364153;
}
