/**
 * Extracted template styles; preserve the original rendering conditions.
 */

.form-modal {
	.modal-dialog {
		max-width: 750px;
	}

	.modal-content {
		padding: 45px;
		border-radius: 0;
		background: #002980;
	}

	h3 {
		color: #016e80;
	}

	.form-description {
		margin-bottom: 23px;
		font-style: normal;
		font-weight: 400;
		font-size: 14px;
		line-height: 22px;

		a {
			color: var(--color-blue-medium) !important;
		}
	}

	label {
		color: var(--white);
		font-family: var(--font-helvetica-neue);
		font-style: normal;
		font-weight: 700;
		font-size: 14px;
		line-height: 22px;
	}

	input,
	textarea {
		padding: 9px;
		border: 1px solid #016e80;
		border-radius: 4px;
		width: 100%;
		margin-bottom: 15px;
		text-align: left;
		font-size: 18px;
		line-height: 22px;
		outline: none;
	}

	textarea {
		height: 155px;
	}

	input::placeholder {
		color: #9c9c9c;
		font-family: var(--font-helvetica-neue);
		font-size: 18px;
		line-height: 22px;
	}

	.form-container .d-flex > div {
		flex: 1;

		&:first-child {
			padding-right: 0;
		}

		&:last-child {
			padding-left: 15px;
		}
	}

	.wpcf7-radio {
		display: flex;
		flex-direction: column;
	}

	.wpcf7-radio > span > label {
		display: flex;
		align-items: center;
	}

	.wpcf7-radio > span > label > input {
		margin-bottom: 0;
		width: 20px;
		margin-left: -20px;
		margin-right: 7px;
	}

	.wpcf7-radio > span > label > span {
		font-weight: 400;
	}

	input[type="submit"] {
		text-align: center;
	}

	.wpcf7-not-valid-tip {
		margin-top: -10px;
		margin-bottom: 3px;
		font-family: var(--font-helvetica-neue);
		font-size: 14px;
	}

	.wpcf7-response-output {
		border: none;
		padding: 0;
		margin-top: 11px;
		color: var(--color-blue-medium);
		font-family: var(--font-helvetica-neue);
		font-weight: 700;
	}

	.wpcf7 form.invalid .wpcf7-response-output,
	.wpcf7 form.unaccepted .wpcf7-response-output {
		border: none;
		padding: 0;
		margin-top: 11px;
		color: var(--color-error);
		font-family: var(--font-helvetica-neue);
		font-weight: 700;
	}

	.close {
		position: absolute;
		top: -6px;
		right: 7px;
		color: var(--white);
		text-shadow: none;
		opacity: 1;
	}

	select {
		width: 100%;
		border-radius: 4px;
		border: none;
		padding: 10px;
		background: var(--white);
		color: #8692a6;
		font-family: var(--font-helvetica-neue);
		font-style: normal;
		font-weight: 500;
		font-size: 16px;
		line-height: 20px;
		box-shadow: 0 2px 14px 1px rgba(0, 0, 0, 0.12);
		outline: none;

		option:first-child {
			display: none;
		}

		option {
			color: var(--dark-blue);
			font-style: normal;
			font-weight: 400;
			font-size: 14px;
			line-height: 27px;
		}
	}

	h4 {
		margin-bottom: 20px;
		color: var(--white);
		font-family: var(--font-saygon-text-bold);
		font-style: normal;
		font-weight: 300;
		font-size: 40px;
		line-height: 48px;
		text-align: center;
		letter-spacing: 1.14286px;
	}

	a {
		color: var(--blue-2);
		font-weight: 900;
	}
}

.vertical-line {
	border-left: 1px solid var(--blue-2);
	height: 56px;
	padding-right: 1.5rem;
}

.navbar-brand {
	margin-right: 1.5rem;
}

#header.animation {
	img {
		height: auto !important;
	}

	.vertical-line {
		height: auto !important;
	}
}


/**
 * Responsive styles.
 * Preserve precedence where breakpoint conditions overlap.
 */

@media (max-width: 991px) {
	.form-modal {
		input,
		textarea {
			border: 1px solid var(--black);
		}

		.form-container .d-flex > div:first-child,
		.form-container .d-flex > div:last-child {
			padding: 0;
		}

		.modal-content {
			padding: 20px;
		}
	}

	.right-logo {
		height: 30px !important;
	}

	.vertical-line {
		padding-right: 0 !important;
	}

	.navbar-brand {
		margin-right: 0 !important;
	}
}
