@import url('reset.css');
@import url('font.css');

head {
	display: none;
}

body {
	font-family: 'helvetica neue', helvetica, arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.left { float: left; }
.center { text-align: center; }
.right { float: right; }

.red { color: #e43c44; }
.grey { color: #666; }

.clearfix { clear: both; }

.container {
	width: 100%;
	max-width: 1000px;
	height: 100%;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

header {
	width: 100%;
	height: 70px;
	background-color: #252525;
	font: 18px 'Brandon Grotesque Bold';
	color: #fff;
}

header #logo {
	width: 96%;
	max-width: 1000px;
	position: absolute;
	top: 20px;
	text-align: center;
}

header p { display: inline-block; line-height: 70px; vertical-align: middle; }
header .title { font-family: 'Brandon Grotesque Light'; }

#intro {
	width: 100%;
	height: 380px;
	background: url('../img/bg_intro.png') center center no-repeat;
	background-size: auto 100%;
	background-color: #e5e5e5;
	font-size: 2.5em;
}

#intro p { 
	width: 60%; 
	margin: 0 auto;
	padding-top: 120px;
	font: 100% 'Brandon Grotesque Light';
	color: #fff;
	text-align: center;
	line-height: 50px;
}

#cases {
	width: 100%;
	padding: 70px 0 30px 0;
	background-color: #eee;
}

#cases .container {
	text-align: center;
}

#overlay {
	display: none;
	width: 100%;
	height: 100%;
	background-color: rgba(238,238,238,0.95);
	position: absolute;
	z-index: 2;
}

#overlay h2 {
	font: 41px 'Brandon Grotesque Light';
	color: #252525;
	display: inline;
	position: relative;
	top: -10px;
}

#overlay .caseheader { margin-bottom: 20px; }

#overlay .caseheader #btnclose {
	width: 29px;
	height: 29px;
	display: block;
	float: right;
	background: url('../img/btn_close.png') no-repeat;
	position: relative;
}

#overlay .caseheader #btnclose:hover { cursor: pointer; }

#overlay .caseheader #btnclose:after {
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	opacity: 0;
	background: url('../img/btn_close.png') no-repeat;
	background-position: -29px 0;
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
}

#overlay .caseheader #btnclose:hover:after { opacity: 1; }

#overlay .container {
	text-align: left;
}

#overlay .case {
	display: none;
	margin-bottom: 70px;
}

#overlay .casecontainer {
	background-color: #fff;
	margin-bottom: 70px;
}

#overlay .caseimage {
	float: left;
	display: block;
	margin-right: 25px;
}

#overlay .description {
	display: block;
	padding: 45px 25px 25px 0;
	color: #666;
}

#overlay .description p {
	font-size: 13px;
	line-height: 20px;
}

#overlay .description a {
	color: #555;
	font-weight: bold;
}

#overlay .description h3 {
	font: 15px 'Brandon Grotesque Black';
	color: #e43c44;
	text-transform: uppercase;
}

#overlay .description h4 {
	font: 15px 'Brandon Grotesque Black';
	color: #ccc;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.thumb {
	width: 310px;
	height: 380px;
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}

.thumb a:hover { cursor: pointer; }

.thumb:nth-child(3n+0) {
	margin-right: 0;
}

.thumb img {
	border: 6px solid #fff;
}

.thumb .overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background: rgba(37,37,37,0.9) url('../img/icon_details.png') center center no-repeat;
	text-align: left;
}

.thumb .overlay .label {
	color: #fff;
	font: 13px  'Brandon Grotesque Black';
	text-transform: uppercase;
	text-align: center;
	background-color: #252525;
	width: 100%;
	padding: 14px;
	position: absolute;
	bottom: -46px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

footer {
	width: 100%;
	background-color: #252525;
	overflow: auto;
}

footer .col {
	width: 32%;
	height: 100%;
	min-height: 410px;
	float: left;
	margin-right: 2%; 
	color: #666;
	font-size: 13px;
	line-height: 20px;
	padding: 60px 25px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

footer .col h1 {
	margin: 0;
	padding: 0;
	font: 30px 'Brandon Grotesque Light';
	color: #fff;
	text-align: center;
	margin-bottom: 30px;
}

footer .col span.location {
	display: block;
	font: 13px  'Brandon Grotesque Black';
	text-transform: uppercase;
	margin-top: 40px;
}

footer .col span.location img {
	margin-right: 10px;
	position: relative;
	top: 5px;
} 

footer .col#contact {
	background-color: #e43c44;
	color: #ffcccc;
	margin-right: 0%;
}

footer .col ul {
	margin-top: 30px;
}

footer .col ul li {
	background: url('../img/bullet.png') no-repeat left center;
	font: 13px  'Brandon Grotesque Bold';
	text-transform: uppercase;
	color: #fff;
	padding-left: 20px;
	margin-bottom: 6px;
}

footer .col ul#links li {
	background: 0;
	font: 13px  'Brandon Grotesque Black';
	margin-left: 0;
	padding: 0;
	margin-bottom: 4px;
}

footer .col ul#links a {
	color: #ffcccc;
	display: block;
	margin: 5px 0;
	line-height: 32px;
	vertical-align: middle;
	clear: both;
	text-decoration: none;
}

footer .col ul#links span.icon {
	width: 32px;
	height: 32px;
	display: inline-block;
	background: url('../img/sprite_linkicons.png') no-repeat;
	float: left;
	margin-right: 10px;
	position: relative;
	text-indent: -9999px;
}

footer .col ul#links li:nth-child(2) span.icon { background-position: -64px 0px; }
footer .col ul#links li:nth-child(3) span.icon { background-position: -128px 0px; }
footer .col ul#links li:nth-child(4) span.icon { background-position: -192px 0px; }

footer .col ul#links li span.icon:after {
	content: ""; 
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	opacity: 0;
	background: url('../img/sprite_linkicons.png') no-repeat;
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
}

footer .col ul#links li:nth-child(1) span.icon:after { background-position: -32px 0px; }
footer .col ul#links li:nth-child(2) span.icon:after { background-position: -96px 0px; }
footer .col ul#links li:nth-child(3) span.icon:after { background-position: -160px 0px; }
footer .col ul#links li:nth-child(4) span.icon:after { background-position: -224px 0px; }

footer .col ul#links li a:hover span.icon:after { opacity: 1; }

footer .col ul#links a:hover { color: #fff; }

@media only screen and (max-width: 999px) {

	#intro {
		height: auto;
	}

	#intro p {
		height: auto;
		padding: 80px 2%;
		width: 60%;
		font: 90% 'Brandon Grotesque Light';
	}

	.case:nth-child(3n+0) {
		margin-right: 15px;
	}

	.case:nth-child(2n+0) {
		margin-right: 0;
	}

}

@media only screen and (max-width: 880px) {

	#intro p {
		height: auto;
		padding: 80px 2%;
		width: 75%;
		font: 70% 'Brandon Grotesque Light';
	}

	footer .col {
		width: 48%;
		margin-right: 0;
		float: left;
	}
	
	footer .col:first-child {
		margin: 2%;
	}

	footer .col#contact {
		width: 100%;
		text-align: center;
	}
	
	footer .col#contact ul {
		

		display: inline-block;
		text-align: left;
	}
}

@media only screen and (max-width: 568px) {
	
	header p {
		display: none;
	}
	
	#intro {
		height: auto;
	}
	
	#intro p {
		height: auto;
		padding: 80px 2%;
		width: 85%;
		font: 50% 'Brandon Grotesque Light';
	}

	.case:nth-child(3n+0) {
		margin-right: 0px;
	}

	.case:nth-child(2n+0) {
		margin-right: 0;
	}
	
	.case {
		margin-right: 0;
	}

	footer .col {
		min-height: 0;
		margin-right: 0;
		width: 100%;
		text-align: center;
		padding: 80px;
	}
	
	footer .col ul li {
		text-align: left;
		margin-right: 15px;
	}
	
	footer .col:first-child {
		border-bottom: 2px solid #666;
	}
	
	footer .container {
		padding: 0;
	}

}

@media only screen and (max-width: 480px) {

	.container { padding: 0; }
	#cases { padding: 5px 0px; }
	.case { margin: 0 0 5px 0; }
	footer .col { padding: 40px; }

}
