/*
 * CFP Enrol Form: the "Enquire Now" section the plugin adds.
 * Mirrors the Divi section it replaces (All Course body layout, revision 5657):
 * grey band, white box, blue title, light grey fields, submit on the right.
 */
.cfp-enrol {
	--cfp-blue: #105b99;
	background: #ececec;
	padding: 50px 0 54px;
}

.cfp-enrol__inner {
	box-sizing: border-box;
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 30px;
	background: #fff;
}

.cfp-enrol__title {
	margin: 0 0 10px;
	padding: 0;
	color: var(--cfp-blue);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.cfp-enrol__form {
	padding: 0 40px;
	color: #333;
}

.cfp-enrol .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not(.ginput_total),
.cfp-enrol .gform_wrapper textarea,
.cfp-enrol .gform_wrapper select {
	background-color: #f7f7f7;
	border: 1px solid #454545;
	color: #000;
	font-size: 16px;
}

.cfp-enrol .gform_wrapper .gfield_description {
	font-size: 12px;
}

.cfp-enrol .gform_wrapper .gform_footer {
	display: flex;
	justify-content: flex-end;
}

.cfp-enrol .gform_wrapper .gform_footer .gform_button {
	cursor: pointer;
	transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.cfp-enrol .gform_wrapper .gform_footer .gform_button:hover {
	background-color: var(--cfp-blue);
	border-color: var(--cfp-blue);
	color: #fff;
}

@media (max-width: 980px) {
	.cfp-enrol__inner {
		width: 90%;
	}

	.cfp-enrol__form {
		padding: 0 30px;
	}
}

@media (max-width: 767px) {
	.cfp-enrol__inner {
		padding: 20px;
	}

	.cfp-enrol__title {
		font-size: 32px;
	}

	.cfp-enrol__form {
		padding: 0;
	}
}
