@import url('../vendor/open-iconic/css/open-iconic.min.css');

@import url('../vendor/fontkit/stylesheet.css');

* {
	margin: 0;
	padding: 0;
	list-style: none;
}

html, body {
	height: 100%;
}

body {
	background: url('../bg/body.jpg') no-repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
	font: 16px/24px 'OpenSansRegular', 'Helvetica', 'Century Gothic';
	color: #333;
}

span.oi {
	vertical-align: middle;
}

#main {
	z-index: 1;
	padding-bottom: 92px;
}

#main, #contact-form {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#info {
	background: #fff;
	background-clip: padding-box;
	border: 10px solid rgba(255, 255, 255, .2);
	padding: 10px 0 30px 0;
	max-width: 960px;
	margin: 0 auto;
}

h1 {
	width: 102px;
	height: 90px;
	background: url('../bg/logo.png') no-repeat;
	text-indent: -999px;
	overflow: hidden;
	margin: 0 auto 20px auto;
}

#info p {
	padding: 20px 20px 0 20px;
	text-align: center;
}

#contact-btn, #contact-form button {
	font-weight: bold;
	color: #fff;
	border: 1px solid #fff;
	display: block;
	margin: 30px auto 92px auto;
	width: 160px;
	line-height: 38px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background: none;
}

#contact-btn:hover {
	color: #000;
	background: #fff;
}

#contact-overlay {
	display: none;
	z-index: 2;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
}

#contact-form {
	background: #fff;
	padding: 20px;
	min-width: 280px;
	max-width: 600px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

#contact-form .close {
	position: absolute;
	color: #333;
	font-size: .8em;
	top: 5px;
	right: 10px;
}

#contact-form h3 {
	text-transform: uppercase;
	font-size: 15px;
	line-height: 22px;
	margin-bottom: 10px;
}

#contact-form #text, #contact-form #fields {
	float: left;
}

#contact-form #text {
	width: 280px;
	margin-right: 40px;
	text-align: justify;
}

#contact-form #text ul {
	margin-top: 20px;
}

#contact-form #fields {
	width: 280px;
}

#contact-form #fields label {
	display: block;
	text-transform: uppercase;
	font-size: .7em;
	font-weight: bold;
}

#contact-form #fields input, #contact-form #fields textarea {
	padding: 5px;
	color: #333;
	border: 1px solid #ccc;
	font: 12px 'OpenSansRegular', 'Helvetica', 'Century Gothic';
	width: 268px;
}

#contact-form #fields textarea {
	resize: none;
}

#contact-form #fields input:focus, #contact-form #fields textarea:focus
	{
	outline: none;
}

#contact-form button {
	border: none;
	margin: 0;
	padding: 10px 0;
	background: #000;
	font: bold 13px 'OpenSansRegular', 'Helvetica', 'Century Gothic';
	letter-spacing: 4px;
	width: 100%;
	cursor: pointer;
}

#contact-form button.error {
	background: #900;
}

#contact-form button.success {
	background: #266226;
}

#contact-form p {
	position: relative;
}

#contact-form label.error {
	color: #900;
}

#footer {
	text-align: center;
	color: #FFF;
	position: absolute;
	bottom: 15px;
	left: 0;
	width: 100%;
}

@media only screen and (max-device-width: 640px) {
	#main {
		margin-top: 50px;
		padding-bottom: 20px;
	}
	#main, #contact-form {
		position: static;
		top: auto;
		transform: none;
	}
	#contact-overlay {
		position: static;
		height: auto;
		background: none;
		display: block;
	}
	#contact-btn {
		display: none;
	}
	#contact-form {
		border: 10px solid rgba(255, 255, 255, .2);
		border-left: none;
		border-right: none;
		background-clip: padding-box;
	}
	#contact-form .close {
		display: none;
	}
	#contact-form #text {
		margin-right: 0;
		width: 100%;
		max-width: 100%;
	}
	#contact-form #fields input, #contact-form #fields textarea,
		#contact-form #fields {
		width: 90%;
		max-width: 90%;
	}
	#footer {
		width: auto;
		position: static;
		padding: 15px 5px;
	}
}