/*::-moz-selection { background:#ecf1f7; }
::selection { background:#ecf1f7; } */

.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
 *zoom: 1;
}

body {
	font-family:'Quicksand', sans-serif;
	font-weight:400;
	font-size:14px;
	letter-spacing:0;
	line-height:1;
	color:#ffffff;
	background:#000000;
}
div {
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
	        box-sizing:border-box;
}
a {
	color:#ffffff;
	text-decoration:none;
	-webkit-transition:all 100ms linear;
       -moz-transition:all 100ms linear;
	     -o-transition:all 100ms linear;
	        transition:all 100ms linear;	
}
img {
	display:block;
	max-width:100%;
	height:auto;
}
.table {
	display:table;
	table-layout:fixed;
	width:100%;
	height:100%;
}
.table .cell {
	display:table-cell;
	vertical-align:middle;
}
#bg {
	height:100%;
	width:100%;
	position:fixed;
	left:0;
	top:0;
	z-index:9997;
	background:url(img/bg.jpg) center center no-repeat;
	background-size:cover; 
	text-align:center;
}
#bg .tableWrap {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;	
	padding:35px 35px 100px;
}
#bg .table {
	border-top:1px solid #ffffff;
	border-left:1px solid #ffffff;
	border-right:1px solid #ffffff;	
}
#bg .inner {
	padding:30px;
}
#bg .logo {
	display:block;
	width:100%;
	max-width:870px;
	margin:0 auto 15px;	
}
#bg .socials a {
	display:inline-block;
	margin-right:24px;	
}
#bg .socials a:last-child {
	margin-right:0;	
}
#bg .socials a:hover {
	-webkit-opacity:0.5;
	   -moz-opacity:0.5;
	        opacity:0.5;
	filter:alpha(opacity=50);	
}
#bg .text {
	width:100%;
	height:20px;
	padding:0 35px;
	position:absolute;
	left:0;
	bottom:95px;
	font-size:25px;
	font-weight:700;
	line-height:30px;
	white-space:nowrap;
}
#bg .text.mobile {
	display:none;	
}
#bg .text .outer {
	overflow:hidden;
}
#bg .text .wrap {
	display:inline-block;
	padding:0 10px;
	position:relative;
}
#bg .text .wrap:before,
#bg .text .wrap:after {
	display:block;
	content:'';
	width:9999px;
	height:1px;
	background:#ffffff;
	position:absolute;
	top:15px;
	left:-9999px;	
}
#bg .text .wrap:after {
	left:auto;
	right:-9999px;	
}
#bg .text .spacer {
	display:inline-block;
	width:20px;	
}
#bg .text a {
	text-decoration:underline;	
}
#bg .text a:hover {
	text-decoration:none;	
}

/* contact form */
#contact {
	display:none;
	height:100%;
	width:100%;
	position:fixed;
	left:0;
	top:0;
	z-index:9999;
	background:url(img/black-80.png) repeat;
}
#contact .wrapper {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;	
	padding:50px 30px;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
}
#contact .inner {
	max-width:700px;
	margin:0 auto;
	color:#ffffff;
}
#contact .title {
	margin-bottom:30px;
	font-size:20px;
	font-weight:700;
	line-height:1.4;
	text-align:center;
}
#contact .field {
	margin-bottom:30px;	
}
#contact .field label.error {
	display:block;
	margin:5px 0;
	font-size:11px;
	color:#ef8c8c;
}
#contact input[type='text'],
#contact input[type='email'],
#contact textarea {
	width:100%;
    padding:15px;
    background:#000000;
    border:1px solid #ffffff;
	color:#ffffff;
	font-family:'Quicksand', sans-serif;
	font-weight:400;
	font-size:14px;
}
#contact textarea {
	height:150px;	
}
#contact input[type='submit'] {
	display:block;
    width:100%;
    max-width:300px;
	margin:0 auto;
    padding:20px;
	border:1px solid #ffffff;
    background:#ffffff;
	color:#000000;
	font-family:'Quicksand', sans-serif;
	font-weight:700;
	font-size:16px;
	letter-spacing:1px;
}
#contact input[type='submit']:hover {
	background:#000000;
	color:#ffffff;
}
#contact .close {
	margin-top:20px;
	text-align:center;
}
#contact .close span {
	display:inline-block;
	padding:3px 0;
	border-bottom:1px solid #ffffff;
	font-size:12px;
	text-transform:uppercase;
	letter-spacing:2px;
	text-indent:1px;
	font-weight:700;
	cursor:pointer;
}
#contact .close span:hover {
	border-color:transparent;
}
#contact .working, 
#contact .response,
#contact .message {
	color:#ffffff;
	font-size:18px;
	line-height:1.4;
	text-align:center;	
}

@media screen and (max-width: 1200px){
	
	#bg .text { font-size:20px; }
	#bg .text .spacer { width:10px; }
				
}

@media screen and (max-width: 1024px){
	
	#bg .logo { max-width:400px; }
	#bg .socials a { width:40px; margin-right:15px; }
	#bg .text { font-size:16px; }
				
}

@media screen and (max-height: 400px), screen and (max-width: 768px){
	
	#bg .tableWrap {
		padding:20px;	
	}
	#bg .table {
		border:1px solid #ffffff;
	}
	#bg .text { 
		display:none;
		height:auto;
		padding:0 10px;
		position:relative;
		left:auto;
		bottom:auto;
		font-size:14px;
		line-height:1.8;
		white-space:normal;
	}
	#bg .text.mobile {
		display:block;	
	}
	#bg .text .spacer {
		display:block;
		width:100%;
		height:auto;	
	}
	
	#contact input[type='submit'] { max-width:none;	}
	
}

@media screen and (max-width: 480px){

	#bg .socials a {
		width:30px;
		margin-right:10px;
	}

}