/********************************************************************************/
/* CONTACT
/********************************************************************************/


#contact-details {
	padding-top: 20px;
}


#form-container {
	position: relative;
	margin: 1em 0;
}
#contact-form {
}
#contact-form.off {
	opacity: 0;
	-webkit-transition: opacity 0.4s ease;
	   -moz-transition:	opacity 0.4s ease;
		-ms-transition: opacity 0.4s ease;
		 -o-transition: opacity 0.4s ease;
			transition:	opacity 0.4s ease;
}
.form-group {
}
.form-field {
	position: relative;
	margin-bottom: 0.625em;
	background: #14123c;
}
.form-field > .sep {
	position: absolute;
	top: 0;
	right: 0;
	width: 1.5em;
	text-align: center;
	color: #fff;
	line-height: 2.2em;
}
input[type=text],
input[type=email],
input[type=submit],
textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 0px;
	padding: 0 1.5em;
	background: transparent;
	color: #fff;
	font-family: 'Alef', sans-serif;
	font-size: 1em;
	line-height: 2em;
}
textarea {
	height: 7.25em;
}
::-webkit-input-placeholder 	{ color: #eaeaea; }
:-moz-placeholder 			{ color: #eaeaea; opacity: 1; }
::-moz-placeholder 			{ color: #eaeaea; opacity: 1; }
:-ms-input-placeholder 		{ color: #eaeaea; }
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	outline-color: #000;
	-webkit-box-shadow: 0px 4px 6px -2px rgba(0,0,0,0.75);
	   -moz-box-shadow: 0px 4px 6px -2px rgba(0,0,0,0.75);
			box-shadow: 0px 4px 6px -2px rgba(0,0,0,0.75);
}
input[type=submit] {
	width: 100%;
	height: 2em;
	border: 1px solid #14123c;
	background: #fff;
	color: #14123c;
	cursor: pointer;
}

.form-field > .callout {
	display: block;
	position: absolute;
	z-index: -1;
	top: 0.15em;
	right: 35%;
	height: 2em;
	border-radius: 4px;
	padding: 0 1em;
	line-height: 2em;
	white-space: nowrap;
	background: #0d578f;
	color: #fff;
	font-size: 0.85em;
	opacity: 0;
	-webkit-transform: translateX(-30px);
	   -moz-transform: translateX(-30px);
		-ms-transform: translateX(-30px);
		 -o-transform: translateX(-30px);
			transform: translateX(-30px);
	-webkit-transition: all 0.35s ease;
			transition: all 0.35s ease;
	-webkit-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
	   -moz-box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
			box-shadow: 0px 2px 5px -3px rgba(0,0,0,0.75);
}
.form-field > .callout:after {
	content: "";
	display: block;
	position: absolute;
	right: -6px;
	top: 50%;
	width: 0px;
	height: 0px;
	margin-top: -6px;
	border-top: 6px solid transparent;
	border-left: 6px solid #0d578f;
	border-bottom: 6px solid transparent;
	border-right: 0;
}
.invalid-input + .callout {
	z-index: 9;
	opacity: 1;
	-webkit-transform: none;
	   -moz-transform: none;
		-ms-transform: none;
		 -o-transform: none;
			transform: none;
}


.form-loader > .spinner {
	border-top: 4px solid rgba(37,37,37,0.2);
	border-right: 4px solid rgba(37,37,37,0.2);
	border-bottom: 4px solid rgba(37,37,37,0.2);
	border-left: 6px solid #252525;
}

.form-return {
	position: absolute;
	z-index: -9;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 3em 0.5em 0 0;
	opacity: 0;
	-webkit-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
		-ms-transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0s, z-index 0s ease 0.4s; 
}
.form-return.on {
	z-index: 9;
	opacity: 1;
	-webkit-transition: opacity 0.4s ease 0.4s, z-index 0s ease 0.4s;
		-ms-transition: opacity 0.4s ease 0.4s, z-index 0s ease 0.4s;
			transition: opacity 0.4s ease 0.4s, z-index 0s ease 0.4s; 	
}

#contact-extra {
	padding: 0.5em 0;
	text-align: left;
}
#waze-link {
	color: inherit;
}
#waze-link > img {
	height: 20px;
	vertical-align: middle;
}


@media (min-width: 1200px) {
	#contact-details {
		margin: -10px 0 0 -10px;
		padding-top: 0;
		line-height: 1.1em;

	}
	
	#form-container {
		margin: 1em -0.3em;
	}
	.form-group {
		width: 50%;
		float: right;
	}
	.form-field {
		margin-left: 0.3em;
		margin-right: 0.3em;
	}
	.submit-field {
		margin-bottom: 0;
	}
	textarea {
		height: 4.65em;
	}
	
	#contact-extra {
		clear: both;
	}

}

@media (min-width: 1600px) {
	#contact-details {
		margin: 0;
	}
	
	#form-container {
		font-size: 16px;
	}
	.form-group:last-child {
		width: 100%;
	}
	
	textarea {
		height: 7.25em;
	}
	
	#waze-link > img {
		height: auto;
	}
}