/* Scholarship page and application form — Asana 1216665150170185 */

.scholarship-page .text-content h2 {
	color: var(--main-color);
	margin-top: 40px;
	margin-bottom: 14px;
}

.scholarship-page .text-content h3 {
	color: var(--main-color);
	margin-top: 30px;
	margin-bottom: 12px;
}

.scholarship-page .text-content ul {
	margin: 0 0 20px 0;
	padding-left: 22px;
	list-style: disc;
}

.scholarship-page .text-content ul li {
	margin-bottom: 8px;
	line-height: 30px;
}

.scholarship-page .text-content a {
	color: var(--orange-color);
	text-decoration: underline;
}

/* Give the Terms and Conditions heading room to clear the sticky header when
   the "terms and conditions" link jumps down to it. */
.scholarship-page #scholarship-terms,
.scholarship-page h2 {
	scroll-margin-top: 120px;
}

/* ------------------------------------------------------------------ the form */

.scholarship-form {
	background: #f5f8ff;
	border-radius: 6px;
	padding: 30px;
	margin-top: 20px;
}

.scholarship-form .frm_form_title {
	display: none;
}

.scholarship-form .scholarship-form__section {
	margin: 26px 0 6px;
	padding-top: 18px;
	border-top: 1px solid #d8e2f4;
	color: var(--main-color);
	font-size: 22px;
	line-height: 30px;
}

.scholarship-form .frm_form_field {
	margin-bottom: 18px;
}

.scholarship-form .frm_primary_label {
	display: block;
	color: var(--main-color);
	font-size: 17px;
	line-height: 26px;
	font-weight: 500;
	margin-bottom: 6px;
}

.scholarship-form .frm_required {
	color: #c02026;
}

.scholarship-form input[type="text"],
.scholarship-form input[type="email"],
.scholarship-form input[type="tel"],
.scholarship-form input[type="number"],
.scholarship-form select,
.scholarship-form textarea {
	width: 100%;
	max-width: 100%;
	background: #fff;
	border: 1px solid #c5d3ea;
	border-radius: 4px;
	padding: 11px 14px;
	font-size: 16px;
	line-height: 24px;
	color: #14203a;
	box-sizing: border-box;
}

/* The site's global form styles paint selects white-on-navy, which reads as a
   different control from the white text inputs next to it inside this panel. */
.scholarship-form .frm_form_field select,
.scholarship-form .with_frm_style select {
	background-color: #fff !important;
	color: #14203a !important;
	border: 1px solid #c5d3ea !important;
	height: auto;
}

.scholarship-form input:focus,
.scholarship-form select:focus,
.scholarship-form textarea:focus {
	border-color: var(--main-color);
	outline: 2px solid rgba(12, 48, 96, 0.18);
	outline-offset: 1px;
}

.scholarship-form .frm_radio,
.scholarship-form .frm_checkbox {
	display: inline-block;
	margin: 0 24px 6px 0;
}

.scholarship-form .frm_radio label,
.scholarship-form .frm_checkbox label {
	font-weight: 400;
	color: #14203a;
	line-height: 26px;
}

.scholarship-form .frm_description {
	font-size: 14px;
	line-height: 22px;
	color: #4a5875;
	margin-top: 4px;
}

.scholarship-form .frm_error,
.scholarship-form .frm_error_style {
	color: #c02026;
	font-size: 14px;
	line-height: 22px;
	margin-top: 4px;
}

/* File uploads: Formidable's drop area, made legible against the panel and
   never white-on-white (the filename has to stay readable). */
.scholarship-form .frm_dropzone,
.scholarship-form input[type="file"] {
	background: #fff;
	border: 1px dashed #9bb2d6;
	border-radius: 4px;
	padding: 14px;
	width: 100%;
	color: #14203a;
	box-sizing: border-box;
}

.scholarship-form .frm_dropzone .dz-message,
.scholarship-form .frm_dropzone .dz-filename,
.scholarship-form .frm_dropzone .dz-filename span,
.scholarship-form .frm_uploaded_files,
.scholarship-form .frm_uploaded_files a {
	color: #14203a !important;
}

.scholarship-form .frm_submit {
	position: relative;
	width: 282px;
	max-width: 100%;
	margin-top: 26px;
	border-radius: 3px;
	background: var(--orange-color);
	overflow: hidden;
}

.scholarship-form .frm_submit::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: #f5f8ff;
	transition: all 0.3s;
}

.scholarship-form .frm_submit:hover::before {
	width: 100%;
}

.scholarship-form .frm_submit .frm_button_submit {
	position: relative;
	z-index: 1;
	width: 100%;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #fff;
	font-size: 21px;
	line-height: 35px;
	padding: 10px 0;
	cursor: pointer;
}

.scholarship-form .frm_submit:hover .frm_button_submit {
	color: #14203a;
}

.scholarship-form__help {
	margin: 18px 0 0;
	font-size: 16px;
	line-height: 26px;
	color: #4a5875;
}

/* The in-page confirmation is replaced by the pop-up, so keep it out of the
   way but leave it in the DOM for screen readers and for the no-JS case. */
.scholarship-form .frm_message {
	background: #eaf4ea;
	border: 1px solid #bcdcbc;
	border-radius: 4px;
	padding: 16px;
	color: #1d4620;
	margin-top: 20px;
}

/* ----------------------------------------------------------------- the modal */

.scholarship-modal[hidden] {
	display: none;
}

.scholarship-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.scholarship-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 32, 60, 0.65);
}

.scholarship-modal__panel {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 480px;
	width: 100%;
	padding: 40px 30px 34px;
	text-align: center;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.scholarship-modal__text {
	margin: 0;
	color: var(--main-color);
	font-size: 22px;
	line-height: 32px;
}

.scholarship-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	color: var(--main-color);
	cursor: pointer;
	padding: 4px 8px;
}

body.scholarship-modal-open {
	overflow: hidden;
}

@media (max-width: 991px) {
	.scholarship-form {
		padding: 22px 18px;
	}
}

@media (max-width: 767px) {
	.scholarship-page .text-content h2 {
		margin-top: 30px;
	}

	.scholarship-form {
		padding: 18px 14px;
	}

	.scholarship-form .frm_submit {
		width: 100%;
	}

	.scholarship-form .frm_radio,
	.scholarship-form .frm_checkbox {
		display: block;
		margin-right: 0;
	}

	.scholarship-modal__panel {
		padding: 36px 20px 28px;
	}

	.scholarship-modal__text {
		font-size: 19px;
		line-height: 29px;
	}
}
