/****************************************/
/* FOOTER
/****************************************/

#page-footer {
	width: 100%;
	height: 60px;
	background: #d2d6d9;
	text-align: center;
}
#up-btn {
	display: block;
	position: fixed;
	z-index: 99;
	bottom: 10px;
	left: -60px;
	width: 56px;
	height: 56px;
	border: 1px solid #c5c4c4;
	border-radius: 28px;
	background: #e5e4e4 url('../img/buttons.png') -2px -57px no-repeat;
	opacity: 0.8;
	-webkit-transition: left 0.2s ease 0s;
			transition: left 0.2s ease 0s;
}
#up-btn.on {
	left: 20px;
	-webkit-transition: left 0.5s ease 1s;
			transition: left 0.5s ease 1s;
}

#sharpen-link {
	display: none;
}

@media (min-width : 1200px) {
	#page-footer {
		height: 0;
	}
	#up-btn {
		bottom: 25px;
		opacity: 0.5;
	}
	#up-btn:hover {
		opacity: 0.8;
	}
	#up-btn.on {
		left: 25px;
	}
}



/* Contact form */
.form-container {
	position: relative;
}

#main-form-container {
	position: fixed;
	z-index: 98;
	bottom: 0;
	left: 0;
	width: 100%;
	border-top: 1px solid #002e47;
	padding: 30px 20px 80px 20px;
	background: rgba(0,46,71,0.85);
	-webkit-transition: -webkit-transform 0.4s cubic-bezier(0.770, 0.000, 0.175, 1.000) 0s;
			transition: 		transform 0.4s cubic-bezier(0.770, 0.000, 0.175, 1.000) 0s;
	-webkit-transform: translate3d(0,100%,0);
			transform: translate3d(0,100%,0);
}
#main-form-container.open {
	-webkit-transform: translate3d(0,0,0);
			transform: translate3d(0,0,0);		
}
#main-form {
	color: #fdfdfe;
	font-weight: 400;
}
.form-container > form.off {
	opacity: 0;
	-webkit-transition: opacity 0.4s ease;
			transition: opacity 0.4s ease;	
}
.form-field {
	position: relative;
	margin-bottom: 15px;
}
.form-field:last-child {
	margin-bottom: 0;
}
input,
textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	border: 2px solid #ca9e5d;
	/*padding: 0.5em 1em;*/
	padding: 0.5em 1em;
	line-height: 1.3333em;
	font: inherit;
	background: #8c7857;
	color: #fff;
}
textarea {
}
::-webkit-input-placeholder { color: #eee; }
:-moz-placeholder { color: #eee; opacity: 1; }
::-moz-placeholder { color: #eee; opacity: 1; }
:-ms-input-placeholder { color: #eee; }
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] {
	box-sizing: border-box;
	cursor: pointer;
}
.form-field > .error-box {
	display: block;
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	margin-top: -1.1em;
	border-radius: 4px;
	padding: 0.5em 1em;
	white-space: nowrap;
	background: #e8552a;
	color: #fff;
	font-size: 0.85em;
	opacity: 0;
	-webkit-transform: translateX(50px);
	   -moz-transform: translateX(50px);
		-ms-transform: translateX(50px);
		 -o-transform: translateX(50px);
			transform: translateX(50px);
	-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 > .error-box:after {
	content: "";
	display: block;
	position: absolute;
	left: -5px;
	top: 0.75em;
	width: 0px;
	height: 0px;
	border-left: 0px;
	border-top: 5px solid transparent;
	border-right: 5px solid #e8552a;
	border-bottom: 5px solid transparent;
}
.form-field.invalid-field > .error-box {
	z-index: 9;
	opacity: 1;
	-webkit-transform: none;
	   -moz-transform: none;
		-ms-transform: none;
		 -o-transform: none;
			transform: none;
}
.form-return {
	position: absolute;
	z-index: -9;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	padding-top: 60px;
	color: #e8e8e8;
	text-align: center;
	font-size: 19px;
	opacity: 0;
	-webkit-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;
			transition: opacity 0.4s ease 0.4s;
}
.form-success, 
.form-failure {
	display: none;
}
.form-success.on, 
.form-failure.on {
	display: block;
}

@media (min-width : 1200px) {
	#main-form-container {
		padding-bottom: 30px;
	}
	#main-form-container .form-field {
		display: inline-block;
		margin: 0;
		padding: 0 0.5em;
	}
	input,
	textarea {
		width: 160px;
	}
	input[type=submit] {
		width: 96px;
	}
	.form-return {
		padding-top: 30px;
	}
}
@media (min-width : 1600px) {
	input,
	textarea {
		width: 232px;
	}
	input[type=submit] {
		width: 160px;
	}
}
/***/



/* Contact form toggle */
#contact-form-toggle {
	display: block;
	position: absolute;
	top: -66px;
	right: -60px;
	width: 56px;
	height: 56px;
	border: 1px solid #c5c4c4;
	border-radius: 28px;
	background: #e5e4e4 url('../img/envelopes.png') -1px 0 no-repeat;
	opacity: 0.8;
	-webkit-transition: right 0.2s ease 0s, background 0.4s ease;
			transition: right 0.2s ease 0s, background 0.4s ease;	
}
#contact-form-toggle.on {
	right: 20px;
	-webkit-transition: right 0.5s ease 1s, background 0.4s ease;
			transition: right 0.5s ease 1s, background 0.4s ease;
}
#main-form-container.open #contact-form-toggle {
	right: 20px;
	background-position: -1px -61px;
}
@media (min-width : 1200px) {
	#contact-form-toggle {
		top: -81px;
		opacity: 0.5;
	}
	#contact-form-toggle:hover {
		opacity: 0.8;
	}
	#contact-form-toggle.on {
		right: 25px;
	}
	#main-form-container.open #contact-form-toggle {
		right: 25px;
		opacity: 0.8;
	}
}

/***/