/*
* Form styles Written By D. Nugent, Shooting Creek Designs, Lead Web and Wireless Designer
*/
@media (min-width: 312px) and (max-width: 575px) {
	.contact-page {
		font-family: arialregular;
	}
}
@media (min-width: 576px) {
	.contact-page {
		font-family: frontage-regular;
	}
}
.rd-form {
	position: relative;
	text-align: left;
}

.rd-form button {
	min-width: 164px;
}

* + .rd-form {
	margin-top: 20px;
}

@media (min-width: 1200px) {
	* + .rd-form {
		margin-top: 60px;
	}
	p + .rd-form {
		margin-top: 50px;
	}
}

@media (min-width: 1600px) {
	* + .rd-form {
		margin-top: 90px;
	}
}

input:-webkit-autofill ~ label,
input:-webkit-autofill ~ .form-validation {
	color: #000000 !important;
}

.form-wrap {
	position: relative;
}

.form-wrap.has-error .form-input {
	border-color: #f5543f;
}

.form-wrap.has-focus .form-input {
	border-color: #000000;
}

.form-wrap + * {
	margin-top: 13px;
}

.form-wrap + .form-wrap-checkbox {
	margin-top: 23px;
}

* + .button-wrap {
	margin-top: 20px;
}

@media (min-width: 992px) {
	.form-wrap + * {
		margin-top: 23px;
	}
	.form-wrap + .form-wrap-checkbox {
		margin-top: 43px;
	}
	* + .button-wrap {
		margin-top: 40px;
	}
}

.form-input {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 19px;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.03em;
	color: #1E1E1E;
	background-color:#ffffff;
	background-image: none;
	border-radius: 0;
	-webkit-appearance: none;
	transition: .3s ease-in-out;
	border: 0;
	border-bottom: 1px solid #E8E8E8;
}

.form-input:focus {
	outline: 0;
}

.context-dark .form-input {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.2);
}

textarea.form-input {
	height: 154px;
	min-height: 50px;
	max-height: 262px;
	resize: vertical;
}

.form-label,
.form-label-outside {
	margin-bottom: 0;
	color: #1E1E1E;
	font-weight: 400;
}

.form-label {
	position: absolute;
	top: 25px;
	left: 0;
	right: 0;
	padding-left: 19px;
	padding-right: 19px;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: 0.03em;
	pointer-events: none;
	text-align: left;
	z-index: 9;
	transition: .25s;
	will-change: transform;
	transform: translateY(-50%);
	color: #1E1E1E;
}

.form-label.focus {
	opacity: 0;
}

.form-label.auto-fill {
	color: #1E1E1E;
}

.context-dark .form-label {
	color: #ffffff;
}

.form-label-outside {
	width: 100%;
	margin-bottom: 4px;
}

@media (min-width: 768px) {
	.form-label-outside {
		position: static;
	}
	.form-label-outside, .form-label-outside.focus, .form-label-outside.auto-fill {
		transform: none;
	}
}

[data-x-mode=true] .form-label {
	pointer-events: auto;
}

.form-icon {
	position: absolute;
	top: 13px;
	left: 1px;
	margin-right: 7px;
	font-size: 20px;
	line-height: 24px;
	color: #000000;
}

.form-wrap-icon .form-input,
.form-wrap-icon .form-label {
	padding-left: 39px;
}

.form-validation {
	position: absolute;
	/*right: 8px;*/
	bottom: 5px;
	z-index: 1;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 400;
	line-height: 12px;
	letter-spacing: 0;
	color: #f80909;
	transition: .3s;
}
.form-validation.msg {
	bottom: 85px;
}
.form-validation.submsg {
	bottom: 45px;
}

.form-validation-left .form-validation {
	top: 100%;
	right: auto;
	left: 0;
}

.context-dark .rd-form-validation-white .form-validation, .bg-gray-600 .rd-form-validation-white .form-validation, .bg-gray-700 .rd-form-validation-white .form-validation, .bg-primary .rd-form-validation-white .form-validation {
	color: #ffffff;
}

#form-output-global {
	position: absolute;
	bottom: -65px;
	left: 190px;
	z-index: 2000;
	visibility: hidden;
	transform: translate3d(-500px, 0, 0);
	transition: .3s all ease;
}

#form-output-global.active {
	visibility: visible;
	transform: translate3d(0, 0, 0);
}

/*@media (min-width: 576px) {
	#form-output-global {
		left: 30px;
	}
}*/

.form-output {
	position: absolute;
	top: 100%;
	left: 0;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.2;
	margin-top: 2px;
	transition: .3s;
	opacity: 0;
	visibility: hidden;
}

.form-output.active {
	opacity: 1;
	visibility: visible;
}

.form-output.error {
	color: #f5543f;
}

.form-output.success {
	color: #98bf44;
}

.recaptcha {
	max-width: 100%;
}

@media (max-width: 575.98px) {
	.recaptcha {
		transform: scale(0.9);
		margin-left: -20px;
	}
}
@media (min-width: 320px) and (max-width: 576px) {
	#form-output-global {
		bottom: -25px;
		left: 200px;
	 }
}
.input-group.date {
   margin-top:45px;
}
.form-label.date {
	top: 20px;
}
