@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600);

/*html {
width: 100%;
height: 100%;
}

body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
font-weight: 300;
background: #FDFDFD;
}
*/
.contact{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	position: fixed;
	z-index: 80;
	overflow: hidden;
	transition: all 0.5s ease;
}

.contact .container {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	transition: all 0.3s ease;
}

.contactHidden{
	transform: translateX(100%);
}

body.contact.menu-active .container {
	transform: scale(0.9);
}

.contact .container .inner {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}


.contactNav a {
	font-size: 30px;
	padding: 0;
	color: #212121;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	transition: all 0.32s ease;
}

body:not(.menu-active) .nav a.menu-activator:hover {
	transform: rotate(90deg);
}

body.menu-active .nav a.menu-activator {
	transform: rotate(90deg);
}

.contactNav a.white {
	color: var(--headlineColor);/*#FAFAFA;*/
}

body.menu-active .nav a.white {
	color: #212121;
	transition: all 0.15s ease;
}

.contactNav a.link {
}

.contactNav a.link i {
	transform: translate(-50%, -50%);
	transition: all 0.32s ease;
	left: 50%;
	top: 50%;
	position: absolute;
}

.contactNav a.link i.hidden {
	opacity: 0;
	pointer-events: none;
}

.contactNav a.link:hover i {
	opacity: 0;
	pointer-events: none;
}

.contactNav a.link:hover i.hidden {
	opacity: 1;
	pointer-events: auto;
}

.contactNav i.ion-cube {
	display: inline-block;
	position: absolute;
	height: 75px;
	line-height: 75px;
	font-size: 35px;
	left: 50%;
	transform: translateX(-50%);
}

.contact .container .inner .panel {
	position: relative;
	box-sizing: border-box;
	height: 100%;
	width: 60%;
	float: left;
	transform: skew(-20deg);
}

.contact .container .inner .panel.panel-left {
	pointer-events: none;
	opacity:0;
	margin-left: -10%;
}

.contact .container .inner .panel .panel-content {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%) skew(20deg);
}

.contact .container .inner .panel.panel-left .panel-content .image-background {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 50%;
	top: 50%;
	opacity: 0.95;
	transform: translateX(-50%) translateY(-50%);
}

.contact .container .inner .panel.panel-right {
	margin-right: -10%;
	background: #333333;
}

.contact .container .inner .panel.panel-right .panel-content .form {
	display: block;
	position: absolute;
	margin: 0 auto;
	width: 300px;
	min-height: 400px;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-40%);
}

.contact .container .inner .panel.panel-right .panel-content .form h1 {
	display: block;
	margin: 0 0 45px 0;
	color: #B1B1B1;
	font-weight: 200;
	font-size: 18px;
}

.contact .group { 
	position: relative; 
	margin-bottom: 25px; 
}

.contact input, .contact textarea{
	font-size: 13px;
	height: 25px;
	padding: 10px 10px 10px 5px;
	display: block;
	width: 300px;
	border: none;
	outline: none;
	border-bottom: 1px solid #B1B1B1;
	color: #B1B1B1;
	background: rgba(0,0,0,0);
	opacity: 0.5;
	transition: 0.2s ease;
}

.contact textarea{
	height: 200px;
}

.contact input:focus, .contact textarea:focus {
	outline: none;
	opacity: 1;
}

.contact label {
	color: #B1B1B1; 
	font-size: 13px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 5px;
	top: 15px;
	opacity: 0.5;
	transition: 0.2s ease all; 
	-moz-transition: 0.2s ease all; 
	-webkit-transition: 0.2s ease all;
}

/* active state */
.contact input:focus ~ label,.contact input:valid ~ label, .contact textarea:focus ~ label, .contact textarea:valid ~ label{
	top: -10px;
	font-size: 12px;
	color: #B1B1B1;
	opacity: 1;
}

.contact .highlight {
	position: absolute;
	height: 60%; 
	width: 100px; 
	top: 25%; 
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

/* active state */
.contact input:focus ~ .highlight, .contact textarea:focus ~ .highlight {
	-webkit-animation:inputHighlighter 0.3s ease;
	-moz-animation:inputHighlighter 0.3s ease;
	animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#B1B1B1; }
	to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#B1B1B1; }
	to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#B1B1B1; }
	to 	{ width:0; background:transparent; }
}

.contact .send-btn {
	float: right;
	color: #B1B1B1;
	transition: 0.2s ease;
}

.contact .send-btn:hover {
	color: #FAFAFA;
	cursor: pointer;
}

.contact .menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;

	transition: all 0.33s ease;
}

.contact .menu::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(240,240,240,0.0);

	transition: all 0.45s ease;
}

body.menu-active .menu {
	left: 0;
}

body.menu-active .menu::before {
	background: rgba(240,240,240,0.9);
}
@media (max-width: 768px){

	.contact .container .inner .panel {
		transform: initial;
	}

	.contact .container .inner .panel.panel-left {
		width:20%;
		margin:0;
	}

	.contact .container .inner .panel.panel-right {
		width:90%;
	}

	.contact .container .inner .panel .panel-content {
		transform: initial;
		top:initial;
		left: initial;
	}

	.contact .container .inner .panel.panel-right .panel-content .form {
		display: block;
		position: absolute;
		margin: 0 auto;
		width: 80%;
		min-height: 400px;
		top: 10%;
		left: 5%;
		transform: initial;
	}

	.contact input, .contact textarea {
		width:90%;
	}

}