/******************/
/* GENERAL ********/
/******************/

h1.sectionheading {
	max-width: 450px;
	margin: 0 auto;
	font: 700 22px/22px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 4px;
	text-align: center;
	color: #434A4F;
}

p.sectioncopy {
	max-width: 500px;
	margin: 10px auto 50px auto;
	font: 400 italic 16px/26px Georgia, Times, 'Times New Roman', serif;
	text-align: center;
	color: #434A4F;
}

.bar {
	width: 30px;
	height: 3px;
	margin: 15px auto 20px auto;
	background: #313338;
}

.choke {
	max-width: 1024px;
	margin: 0 auto;
}

hr {
	width: 100%;
	max-width: 1024px;
	margin: 100px auto;
	border: 0;
	height: 1px;
	background: #D1D3D4;
}

section.case-study {
	width: 100%;
}

section.case-study h1 {
	width: 90%;
	max-width: 600px;
	margin: 0 auto 50px auto;
	font: 700 26px/30px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 4px;
	text-align: center;
	color: #58595B;
}

section.case-study p {
	width: 90%;
	max-width: 600px;
	margin: 0 auto;
	font: 400 italic 20px/34px Georgia, Times, 'Times New Roman', serif;
	text-align: left;
	color: #58595B;
}

section.case-study p + p {
	margin-top: 20px;
}

section.case-study h1 + .image-group {
	margin-top: -50px;
}

section.case-study .inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 0;
	text-align: center;
}

.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 0 auto;
	height: auto; 
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/******************/
/* NAV ************/
/******************/

nav {
	width: 100%;
	position: absolute;
}

nav .logo {
	height: 40px;
	margin: 30px 0 30px 20px;
	position: relative;
	float: left;
}

nav .navigation {
	height: 40px;
	margin: 30px 0 30px 20px;
	position: relative;
	float: right;
}

@media (max-width: 640px) {
	nav .navigation {
		display: none;
	}
}

nav .navigation a {
	color: rgba(255, 255, 255, 0.7);
	margin-right: 20px;
	font: 600 16px Montserrat, "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	letter-spacing: 2px;
	text-decoration: none;
}

nav .navigation a:last-child {
	border: 2px solid rgba(255, 255, 255, 0.7);
	border-radius: 5px;
	padding: 10px 15px;
}

nav .navigation a:hover {
	color: rgba(255, 255, 255, 1);
}

nav .navigation a:last-child:hover {
	border: 2px solid rgba(255, 255, 255, 1);
}

/* HOMEPAGE HERO */

#homesweethome .hero {
	width: 100%;
	background: #434A4F;
	display: flex;
}

#homesweethome .hero .block {
	margin: auto;
	width: 70%;
	max-width: 700px;
}

#homesweethome .hero .block h1 {
	margin-top: 20px;
	font: 300 italic 22px/30px Georgia, Times, "Times New Roman", serif;
	color: #FFFFFF;
}

@media (max-width: 640px) {
	#homesweethome .hero .block h1 {
	margin-top: 20px;
	font: 300 italic 18px/26px Georgia, Times, "Times New Roman", serif;
	color: #FFFFFF;
}
}

#homesweethome .hero .block h1 span {
	font-weight: 700;
}

#homesweethome .hero .block h1:first-child {
	margin-top: 0;
}

#homesweethome .hero .block h1 a {
	color: #ABD037;
	text-decoration: none;
}

#homesweethome .hero .block h1 a:hover {
	color: #85A52A;
}

/* SERVICES */

.services {
	width: 100%;
	padding: 100px 0;
	background: #F2F2F2;
}

.slider {
	width: 80%;
	max-width: 1024px;
	margin: 75px auto 0 auto;
}

.slider .slick-prev {
	height: 60px;
	background: url(../img/arrow_left.png);
	opacity: 0.4;
}

.slider .slick-next {
	height: 60px;
	background: url(../img/arrow_right.png);
	opacity: 0.4;
}

.services .slider .item .service {
	width: 90%;
	height: 240px;
	margin: 0 5%;
	padding: 100px 0;
	background: #FFF;
}

.services .slider .item .service img {
	margin: 0 auto;
}

.services .slider .item .service h1 {
	padding-bottom: 40px;
	font: 400 14px/14px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 3px;
	text-align: center;
	color: #434A4F;
}

.services .slider .item .service p {
	width: 75%;
	margin: 0 auto;
	font: 400 14px/22px Georgia, serif;
	text-align: center;
	color: #808285;
}

/* WORK */

.projects {
	padding: 100px 0;
}

.projects .projectgrid {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
	overflow: hidden;
}

.projects .projectgrid .project {
	width: 50%;
	float: left;
	position: relative;
}

@media (max-width: 640px) {
	.projects .projectgrid .project,
	.projects .projectgrid .project:nth-child(even),
	.projects .projectgrid .project:nth-child(odd) {
		width: 100%;
		margin: 0;
	}
}

.projects .projectgrid .project img {
	width: 100%;
	display: block;
}

.projects .projectgrid .project .overlay {
	display: none;
}

.projects .projectgrid .project:hover > .overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10;
	display: flex;
}

.projects .projectgrid .project .overlay a {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-decoration: none;
	display: flex;
	text-align: center;
}

.info {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  text-align: center;
}

.projects .projectgrid .project .overlay h3 {
	display: block;
	margin: auto;
	font: 700 24px/24px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 1px;
	color: #FFFFFF;
}

.projects .projectgrid .project .overlay h3 span {
	font: 400 italic 16px/16px Georgia, Times, 'Times New Roman', serif;
	letter-spacing: normal;
	opacity: 0.7;
}

.testimonial {
	padding: 150px 0;
	text-align: center;
	position: relative;
	z-index: -2;
}

.testimonial:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255, 0.9);
  -moz-transition: background .3s linear;
  -webkit-transition: background .3s linear;
  -o-transition: background .3s linear;
  transition: background .3s linear;
  z-index: -1;
}

.testimonial p.quote {
	max-width: 640px;
	margin: 0 auto;
	font: 400 italic 22px/30px Georgia, Times, 'Times New Roman', serif;
	text-align: center;
	color: #58595B;
}

.testimonial .attribution {
	display: inline-block;
	background: url(../img/quotes.png) no-repeat;
	min-height: 30px;
	padding-left: 40px;
	z-index: 2;
}

.testimonial .attribution h1 {
	float: left;
	font: 700 14px/14px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 3px;
}

.testimonial .attribution p {
	float: left;
	font: 400 italic 14px/16px Georgia, Times, 'Times New Roman', serif;
	letter-spacing: 1px;
	color: #808285;
}

/******************/
/* PROJECTS *******/
/******************/

#project .hero {
	width: 100%;
	display: flex;
}

.hero-graphic {
	margin: auto;
	text-align: center;
}

.hero-graphic img {
	text-align: center;
}

.case-study ul.slick-dots {
	padding: inherit;
}

.case-study p.pssst {
	margin: 50px auto 0 auto;
	font: 400 italic 14px/20px Georgia, Times, 'Times New Roman', serif;
	text-align: left;
	color: #A7A9AC;
	text-align: center;
}

.case-study p.disclaimer {
	margin: -10px auto 50px auto;
	font: 400 italic 14px/20px Georgia, Times, 'Times New Roman', serif;
	text-align: left;
	color: #A7A9AC;
	text-align: center;
}

.image-group {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
}

.image-group img {
	width: 100%;
	margin: 50px 0;
}

.image-group .one-of-three {
	width: 33.33%;
	max-width: 300px;
	margin-right: 50px;
}

.image-group .one-of-three:last-of-type {
	margin-right: 0;
}

.image-group .one-of-two {
	width: 50%;
	max-width: 300px;
	margin-right: 50px;
}

.image-group .one-of-two:last-of-type {
	margin-right: 0;
}

.image-group .one-of-one {
	width: 100%;
	max-width: 300px;
	margin-right: 20px;
}

.image-group .one-of-one:last-of-type {
	margin-right: 0;
}

@media (max-width: 720px) {
	.image-group {
		display: block;
	}
	
	.image-group .one-of-two,
	.image-group .one-of-three {
		width: 80%;
		margin: 0 10%;
		max-width: none;
		text-align: center
	}
}

.case-study ul li {
	margin: 10px auto 0 auto;
	font: 400 italic 16px/22px Georgia, Times, 'Times New Roman', serif;
	text-align: left;
	color: #A0A0A0;
}

.case-study ul:not(.slick-slider) ul {
	width: 90%;
  max-width: 600px;
	margin: 50px auto 0 auto;
}

.case-study a {
	display: inline-block;
	padding: 14px 18px;
	border-radius: 5px;
	font: 700 16px/16px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
}

/* PROJECTS - WORK TOGETHER */

#project .together {
	padding: 100px 0;
	background: #F1F2F2;
	text-align: center;
}

#project .together h2 {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
	font: 700 26px/30px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 4px;
	color: #434A4F;
}

#project .together a {
	display: inline-block;
	margin: 20px auto 0 auto;
	padding: 14px 18px;
	border-radius: 5px;
	border: 2px solid #434A4F;
	font: 700 16px/16px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
	color: #FFFFFF;
	background: #434A4F;
}

#project .together a:hover {
	background: #5C636A;
	border: 2px solid #5C636A;
}

/******************/
/* FOOTER *********/
/******************/

#footer {
	background: #434A4F;
	width: 100%;
	padding: 75px 0 50px 0;
}

#footer .centering {
	margin: 0 auto;
	text-align: center;
}

#footer .navigation {
	margin: 0 auto;
	text-align: center;
}

#footer .contact-info a {
	font: 700 16px/16px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
}

#footer .contact-info a:hover {
	color: rgba(255, 255, 255, 0.7);
}

#footer .navigation a {
	font: 700 12px/12px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 3px;
	margin: 0 10px;
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
}

#footer .navigation a:hover {
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
	#footer .navigation a {
		font: 700 20px/20px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
		display: inline-block;
		width: 50%;
		margin: 0 10px 30px 10px;
	}
}

#footer .madeinphilly {
	width: 80%;
	max-width: 300px;
}

#footer .social {
	overflow: hidden;
	text-align: center
}

#footer .socialicon {
	background-position: 0 0;
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 30px 10px;
}

#footer .socialicon.facebook {
	background: url(../img/social_facebook.png);
	background-size: 100%;
}

#footer .socialicon.instagram {
	background: url(../img/social_instagram.png);
	background-size: 100%;
}

#footer .socialicon.linkedin {
	background: url(../img/social_linkedin.png);
	background-size: 100%;
}

#footer .socialicon.twitter {
	background: url(../img/social_twitter.png);
	background-size: 100%;
}

#footer .socialicon:hover {
	background-position: 0 -40px;
}

#footer p.copyright {
	margin-top: 30px;
	font: 300 11px/11px Verdana, Geneva, sans-serif;
	letter-spacing: .3px;
	color: #939598;
}

/******************/
/* 404 ************/
/******************/

#fourohfour .hero {
	width: 100%;
	background: #434A4F;
	display: flex;
}

#fourohfour .hero .block {
	margin: auto;
	text-align: center;
}

#fourohfour .hero .block h1 {
	font: 700 200px/200px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	color: #FFFFFF;
}

#fourohfour .hero .block p {
	max-width: 500px;
	font: 700 20px/28px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	color: #FFFFFF;
}

#fourohfour .hero .block p a {
	display: inline-block;
	margin: 20px auto 0 auto;
	padding: 14px 18px;
	border-radius: 5px;
	border: 2px solid #FFFFFF;
	font: 700 16px/16px 'Montserrat', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
	color: #434A4F;
	background: #FFFFFF;
}

#fourohfour .hero .block p a:hover {
	background: #CAC9CA;
	border: 2px solid #CAC9CA;
}