@font-face {
	font-family: 'Gafata';
		src: url('fonts/gafata.eot');
		src: url('fonts/gafata.eot?#iefix') format('embedded-opentype'),
			url('fonts/gafata.svg#Gafata') format('svg'),
			url('fonts/gafata.woff') format('woff'),
			url('fonts/gafata.ttf')  format('truetype');
}

html {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
}

a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

.email {
	unicode-bidi: bidi-override;
	direction: rtl;
}

div.front {
	width: 100%;
	height: 100%;
	background: url('img/bg.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.vm {
	width: 560px;
	height: 375px;
	background: url('img/vm.png') no-repeat bottom center;
	position: absolute;
	left: 50%;
	bottom: 0px;
	margin-left: -280px;
}

div.hep {
	width: 401px;
	height: 283px;
	background: url('img/heplogo.png') no-repeat center;
	position: absolute;
	left: -webkit-calc(50% - 200px);
	left: -moz-calc(50% - 200px);
	left: calc(50% - 200px);
	top: -webkit-calc(50% - 340px);
	top: -moz-calc(50% - 340px);
	top: calc(50% - 340px);
}

div.hep h1 {
	visibility: hidden;
}

div.left-box {
	width: -webkit-calc(50% - 10px);
	width: -moz-calc(50% - 10px);
	width: calc(50% - 10px);
	height: 400px;
	float: left;
	margin-top: 20px;
	overflow: hidden;
}

div.right-box {
	width: -webkit-calc(50% - 10px);
	width: -moz-calc(50% - 10px);
	width: calc(50% - 10px);
	height: 400px;
	float: right;
	margin-top: 20px;
	overflow: hidden;
}

div.box-content {
	padding: 50px;
}

div.box-content h2 {
	font-family: 'Gafata', sans-serif;
	color: #ffffff;
	font-size: 28px;
	font-weight: 400;
	margin: 0px;
	padding: 0px 0px 20px 0px;
}

div.box-content p {
	font-family: 'Gafata', sans-serif;
	color: #ffffff;
	font-size: 18px;
	font-weight: 400;
	margin: 14px 0px 0px 0px;
	padding: 0px;
	line-height: 25px;
}

/* @2x */

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
	div.hep {
		background: url('img/heplogo@2x.png') no-repeat center;
		background-size: 100%;
	}
}

@media only screen and (max-width: 900px) {
	div.right-box, div.left-box {
		height: 440px;
	}
}

@media only screen and (max-width: 720px) {
	div.right-box, div.left-box {
		height: 500px;
	}
}

@media only screen and (max-width: 620px) {
	div.right-box, div.left-box {
		width: 100%;
		float: left;
		height: auto;
		min-height: 400px;
	}
	div.vm {
		width: 100%;
		height: 375px;
		background: url('img/vm.png') no-repeat bottom center;
		background-size: 70%;
		position: absolute;
		bottom: 0px;
		left: 0px;
		margin-left: 0px;
	}
	div.hep {
		width: 80%;
		height: 50%;
		background-size: 80%;
		left: 10%;
		top: 10%;
	}
	div.hep h1 {
		font-size: 0px;
	}
}

@media only screen and (max-height: 620px) and (min-width: 420px) {
	div.vm {
		display: none;
	}
	div.hep {
		width: 80%;
		height: 50%;
		left: 10%;
		top: 25%;
		background-size: 40%;
	}
}
