/************************************************

Stylesheet: Form Stylesheet

*************************************************/

.nf-response-msg {
	text-align: center;
}

.theme_layout_2 .gfield,
.theme_layout_2 .gfield,
.theme_layout_2 .ninja-forms-field {
	font-family: 'Open Sans', sans-serif;
}
.home-contact-form .ninja-forms-field[type="button"] {
	width: 100%;
	padding: 8px 0;
}	

.ninja-forms-field[type="button"] {
	padding: 8px 16px;
	text-transform: uppercase;
	color: #FFF;
	font-weight: 300;
	-webkit-transition: background-color .25s ease-in-out;
	-o-transition: background-color .25s ease-in-out;
	transition: background-color .25s ease-in-out;
	font-size: 10px;
	border: none;
}


body .nf-field-element textarea {
	height: 90px;
	resize: none;
}

.no-top-label .gfield_label,
.validation_error,
.nf-form-fields-required {
	display: none;
}
.validation_message,
.nf-error-msg {
	font-size: 9px;
	font-style: italic;
	margin: -4px 0px 4px 8px;
	color: #A20009;
}
.gfield input, 
.gfield textarea,
.ninja-forms-field {
	box-shadow: none;
	border: 1px solid #CCC;
}
.gfield input, 
.gfield textarea,
.gfield input:focus,
.gfield textarea:focus,
.ninja-forms-field,
.ninja-forms-field:focus {
	border: 1px solid #CCC;
}
.gfield input:focus,
.gfield textarea:focus,
.ninja-forms-field,
.ninja-forms-field:focus {
	box-shadow: none;
}
.gfield textarea {
	height: 90px;
}

.nf-form-content  .nf-field-container {
	margin-bottom: 4px;
}

.gfield input,
.gfield textarea,
.gfield select,
.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"],
body .nf-field-element textarea {
	font-size: 10px;

}

.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"],
body .nf-field-element textarea  {
	font-weight: 300;
}

.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"] {
	padding: 0 12px;
}
body .nf-field-element textarea {
	padding: 6px 12px;
}

.gfield input,
.gfield textarea,
.gfield select {
		margin-bottom: 4px;
	font-weight: 300;
}


.gfield input,
.gfield select,
.gform_button,
.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"] {
	height: 28px
}

.gform_button.button {
	padding: 0 8px;
	border-radius: 0;
	text-transform: uppercase;
	font-weight: 300;
	margin-top: 2px;
}

/* placeholder */
.gform_body ::-webkit-input-placeholder,
.gfield select,
.nf-form-cont ::-webkit-input-placeholder {
	font-weight: 400;
	opacity: 1;
	font-weight: 300;
}

.gform_body :-moz-placeholder,
.gfield select,
.nf-form-cont :-moz-placeholder {
/* older Firefox*/
	font-weight: 400;
	opacity: 1;
	font-weight: 300;
}

.gform_body ::-moz-placeholder,
.gfield select,
.nf-form-cont ::-moz-placeholder {
/* Firefox 19+ */
	font-weight: 400;
	font-size: 10px;
	opacity: 1;
	font-weight: 300;
}

.gform_body :-ms-input-placeholder,
.gfield select,
.nf-form-cont :-ms-input-placeholder {
	font-weight: 400;
	opacity: 1;
	font-weight: 300;
}
.gform_wrapper .gform_button {
	width: 100%;
}

.gfield_html h3 {
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 16px;
}




.home-contact-form nf-field:nth-child(1),
.home-contact-form nf-field:nth-child(2),
.home-contact-form nf-field:nth-child(3),
.home-contact-form nf-field:nth-child(4),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(1),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(2),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(3),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(4) {
	width: 49.5%;
}
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(1),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(3),
.home-contact-form nf-field:nth-child(1),
.home-contact-form nf-field:nth-child(3) {
	float: left;
}
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(2),
.subpage .form-layout-1 .home-contact-form nf-field:nth-child(4),
.home-contact-form nf-field:nth-child(2), 
.home-contact-form nf-field:nth-child(4) {
	float: right;
}



.theme_layout_2.subpage .home-contact-form nf-field:nth-child(5), .theme_layout_3.subpage .home-contact-form nf-field:nth-child(5) {
    position: relative;
    top: auto;
    right: auto;
}
.theme_layout_2.subpage .ninja-forms-field, 
.theme_layout_2.subpage .home-contact-form .nf-field-element textarea {
	border: 1px solid #CCC;
    border-radius: 0;
    width: 100%;
}
.theme_layout_1.subpage .home-contact-form nf-field {
	    float: none;
}
@media (min-width: 641px) { 

	.field-left, .field-right {
		width: 49.5%;
	}
	.field-left {
		float: left;
	}
	.field-right {
		float: right;
	}
	.field-clear {
		clear: both;
	}

	.validation_message {
		margin: -14px 0px 16px 8px;
		position: relative;
		top: 10px;
	}	
	.cta-form {
		position: relative;
		max-width: 724px;
		margin: 0px auto;
	}
	.cta-form .gform_fields {
		line-height: 0;
	}
	.cta-form .gfield input,
	.cta-form .gfield select {
		margin-bottom: 0;
		width: 169px;
	}
	.cta-form .gfield.inline-block {
		display: inline-block;
		margin-right: 16px;
	}
	.cta-form .gform_footer {
		width: 169px;
		position: absolute;
		right: 0px;
		bottom: 0px;
	}
	.cta-form .gfield_html h3 {
		font-size: 18px;
	}
	.cta-form .gform_button {
		font-size: 18px;
		text-align: left;
	}
	

	
}
@media (min-width: 1025px) {

	.validation_message, .nf-error-msg {
		font-size: 12px;
	}

	.gfield input, 
	.gfield textarea, 
	.gfield select {
		font-size: 14px;
	}

	.validation_message { 
		font-size: 12px;
	}
	.cta-form {
		max-width: 100%;
	}
	.cta-form .gfield input,
	.cta-form .gfield select {
		width: 260px;
	}
	.cta-form .gfield.inline-block {
		margin-right: 23px;
	}
	.cta-form .gform_footer {
		width: 260px;
	}
	.cta-form .gfield_html h3 {
		font-size: 22px;
	}
	.gfield input,
	.gfield select,
	.gform_button,
	.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"] {
		height: 34px
	}

	/* placeholder */
	.gform_body ::-webkit-input-placeholder,
	.gfield select,
	.nf-form-cont ::-webkit-input-placeholder{
		font-size: 14px;
	}

	.gform_body :-moz-placeholder,
	.gfield select,
	.nf-form-cont :-moz-placeholder {
	/* older Firefox*/
		font-size: 14px;
	}

	.gform_body ::-moz-placeholder,
	.gfield select,
	.nf-form-cont ::-moz-placeholder {
	/* Firefox 19+ */
		font-size: 14px;
	}

	.gform_body :-ms-input-placeholder,
	.gfield select,
	.nf-form-cont :-ms-input-placeholder {
		font-size: 14px;
	}

	.ninja-forms-field[type="button"],
	.ninja-forms-field[type="text"],
.ninja-forms-field[type="email"],
body .nf-field-element textarea {
		font-size: 14px;
	}
	.home-contact-form .ninja-forms-field[type="button"] {
		padding: 8px 24px;
	}
	

	
	/*********************
	LAYOUT TWO STYLE
	*********************/
	

	.subpage .nf-form-content .nf-field-container {
		margin-bottom: 8px;
	}
}