@charset "utf-8";

/* APPLICATION FORM */
.mil_ftp_application_form_wrap label {
	display: block;
	color: rgb(6, 113, 181);
}
.mil_ftp_application_form_wrap .mil_ftp_form_field label::after {
	content: " *";
	color: #e00;
	font-weight: 400;
}

.mil_ftp_application_form_wrap .mil_ftp_form_field input[type="text"],
.mil_ftp_application_form_wrap .mil_ftp_form_field input[type="email"],
.mil_ftp_application_form_wrap .mil_ftp_form_field input[type="tel"]{
	padding: 14px;
	border: 1px solid rgba(0,0,0,0.25);
}

/* Address field labels */
.mil_ftp_application_form_wrap .field_type-address_international label {
	display: block;
	font-weight: 400;
}

/* First label for address field */
.mil_ftp_application_form_wrap .field_type-address_international label:first-of-type {
	font-weight: 700;
	margin-top: 5px;
}

/* Subsequent labels for address fields */
.mil_ftp_application_form_wrap .field_type-address_international label:not(:first-of-type) {
	color: inherit;
}

/* Submit button */
.mil_ftp_application_form_wrap .submit_button_wrap button[type="submit"] {
	background-color: #066aab;
	color: #fff;
	padding: 0 15px;
	height: 41px;
	border: 3px solid #066aab;
	border-radius: 3px;
}

/* Form field errors */
.mil_ftp_form_field.error input, .mil_ftp_form_field.error select, .mil_ftp_form_field.error textarea {
	border: 1px solid #e00;
	background: #fdd;
}
.mil_ftp_form_field .error_message {
	background: #e00;
	display: inline-block;
	color: #fff;
	padding: 1px 5px 2px;
}

/* Confirmation message */
.mil_ftp_application_form_wrap .confirmation_message {
	display: block;
	border: 1px solid #0a0;
	padding: 10px;
	text-align: center;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
}
.mil_ftp_application_form_wrap .confirmation_message::before {
	content: "\f12a";
	font-family: dashicons;
	display: block;
	text-align: center;
	color: #0a0;
	font-size: 36px;
	line-height: 1;
	margin-bottom: 10px;
}

/* Button Link */
a.button_link {
	display: inline-block;
	background: #0073aa;
	color: #fff;
	padding: 10px 20px;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 700;
	transition: background-color 0.3s ease;
}
a.button_link:hover {
	background: #005177;
	color: #fff;
	text-decoration: none !important;
}

/* DESKTOP */
@media screen and (min-width: 768px) {
	/* APPLICATION FORM */

	/* Grid layout for the application form */
	.mil_ftp_application_form_wrap fieldset {
		display: grid;
		grid-template-areas:
			'first_name last_name'
			'email phone'
			'job_title job_title'
			'company_name company_name'
			'address address'
			'hcaptcha hcaptcha'
			'submit submit';
		grid-gap: 10px;
	}

	/* Field areas */
	.mil_ftp_application_form_wrap .field_name-first_name {
		grid-area: first_name;
	}
	.mil_ftp_application_form_wrap .field_name-last_name {
		grid-area: last_name;
	}
	.mil_ftp_application_form_wrap .field_name-email {
		grid-area: email;
	}
	.mil_ftp_application_form_wrap .field_name-phone {
		grid-area: phone;
	}
	.mil_ftp_application_form_wrap .field_name-job_title {
		grid-area: job_title;
	}
	.mil_ftp_application_form_wrap .field_name-company_name {
		grid-area: company_name;
	}
	.mil_ftp_application_form_wrap .field_type-address_international {
		grid-area: address;
	}
	.mil_ftp_application_form_wrap .h-captcha, .mil_ftp_application_form_wrap .h-captcha-error, .mil_ftp_application_form_wrap .h-captcha-response {
		grid-area: hcaptcha;
	}
	.mil_ftp_application_form_wrap .submit_button_wrap {
		grid-area: submit;
	}

	/* Grid layout for address */
	.mil_ftp_application_form_wrap .field_type-address_international {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 10px;
	}

	/* First label for address field */
	.mil_ftp_application_form_wrap .field_type-address_international label:first-of-type {
		grid-column: 1 / -1;
	}

}