@import url('flexboxgrid.css');
@import url('fonts.css');
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*styles*/
html {
  overflow-x: hidden;
  font-family: 'Source Sans Pro', sans-serif;
  color: #404041;
}
p {
  font-size: 1rem;
  line-height: 140%;
}
a {
  text-decoration: none;
  color: #404041;
  font-weight: bold;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 120%;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
strong {
  font-weight: bold;
}
.content-container {
  width: 60%;
  margin: 0 auto;
}
.logo {
  background: url(../images/head.png) no-repeat 50% 0;
  padding: 2rem 0;
}
.logo h1 a{
  width: 179px;
  height: 192px;
  background: url(../images/logo.png) no-repeat;
  margin: 2rem auto 0 auto;
  display: block;
}
.logo h1 span {
  display: none;
}
.menu-main-menu-container {
  width: 40%;
  margin: 0 auto 4rem auto;
  font-weight: 300;
}
.menu {
	width: 40%;
	margin: 0 auto 4rem auto;
	font-weight: 300;
}

.menu ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.menu ul li {
	color: #fff;
	display: block;
	width: 100%;
	padding: 0.5rem 1rem;
	border-right: solid 6px #fff;
	text-transform: uppercase;
}

.menu ul li a {
	color: #000;
  font-weight: 300;
}

.menu ul .menu-item1 {
	background: #a9e7e8;
}

.menu ul .menu-item2 {
	background: #edeb58;
}

.menu ul .menu-item3 {
	background: #fe6c2d;
}
.menu ul .non-active {
	background: #ddd;
}
.quote {
  width: 30%;
  margin: 3rem auto;
  text-align: center;
}
.quote h3 {
  font-size: 2rem;
  font-family: 'Baron Neue', sans-serif;
  margin-bottom: 1rem;
}
.intro, .portfolio {
  width: 60%;
  margin: 2rem auto;
  font-weight: 300;
}
footer {
  background: #404041 url(../images/head.png) no-repeat 50% bottom;
  color: #fff;
  padding: 4rem 0;
}
footer .footer-container {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  font-size: 0.9rem;
}
footer .footer-container a {
  color: #fff;
}
footer .footer-container .col-center {
  text-align: center;
}
footer .footer-container .col-right {
  padding-left: 10%;
}
footer .footer-container h4 {
  text-align: left;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Source Sans Pro', sans-serif;
}
footer .footer-container p {
  font-size: 0.9rem;
}
footer .footer-container li {
  display: inline-block;
  text-transform: uppercase;
  border-right: solid 1px #ccc;
  padding-right: 0.5rem;
  margin-right: 0.5rem;
}
/* who we are */
.director {
  background: #f0f0f0;
  padding: 4rem 0;
}
.director h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.director h2 span {
	position: relative;
	z-index: 2;
}
.director h2:before {
	content: "";
	width: 30px;
	height: 10px;
	background: #b6e6e7;
	position: absolute;
	bottom: 0;
	left: -10px;
	z-index: 1;
}
.team {
  width: 80%;
  margin: 3rem auto;
}
.team-member {
  padding: 2rem;
  text-align: center;
}
.team-member h3 {
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
  text-align: left;
  position: relative;
}
.team-member h3 span {
  z-index: 2;
  position: relative;
}
.team-member h3:before {
	content: "";
	width: 30px;
	height: 10px;
	position: absolute;
	bottom: 0;
	left: -10px;
	z-index: 1;
}
.team-member-1 h3:before{
	background: #11a590;
}
.team-member-2 h3:before{
	background: #edeb58;
}
.team-member-3 h3:before{
	background: #58a5b5;
}
.team-member-4 h3:before{
	background: #f87542;
}
.team-member p {
  margin: 2rem 0;
  text-align: left;
  font-size: 17px;
  line-height: 24px;
}
.team-member-title {
  min-height: 90px;
} 
.team-member-photo {
  height: 150px;
}
.difference, .how-we-work {
  margin: 3rem 0;
}
.difference {
  background: #f0f0f0;
  padding: 2rem 0;
}
.how-we-work .process {
  padding: 0 1rem;
  border-right: solid 1px #333;
  margin: 3rem 0;
}
.how-we-work .process:last-child {
  border-right: none;
}
.how-we-work .process h3 {
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  font-weight: 300;
  text-align: center;
  position: relative;
}
.how-we-work .process h3:before {
  content: "";
  background: #b6e6e7;
	width: 30px;
	height: 10px;
	position: absolute;
	top: 10px;
	left: 32%;
	z-index: 1;
}
.how-we-work .process h3 span {
  display: block;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
.how-we-work p {
  margin: 2rem 0;
}
/* portfolio */
.sub-menu {
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  text-align: center;
}
.sub-menu li {
  border-right: solid 1px #808080;
}
.sub-menu li:last-child {
  border: none;
}
.sub-menu li a {
  color: #808080;
  font-weight: 300;
}
.project {
  width: 32%;
  float: left;
  margin-bottom: 17px;
  position: relative;
  overflow: hidden;
}
.project img {
  width: 100%;
  height: auto;
}
.project-details {
  padding: 5%;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
}

.project-details.grey{
	background: #E4E4E4;
}
.project-details.blue{
	background: #AAE7E8;
}
.project-details.yellow{
	background: #EFEA5A;
}
.project-details.teal{
	background: #00A88F;
}
.project-details.orange{
	background: #FF6C2E;
	color: #fff;
}
.project-details.dark h5,
.project-details.dark h6,
.project-details.dark p{
  color: #404041;
}
.project-details.light h5,
.project-details.light h6,
.project-details.light p{
  color: #fff;
}
.project-details h5 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}
.project-details h6 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9rem;
  margin: 0.5rem 0 0 0;
}
.project-type {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  margin: 2rem 0 0 0;
}
.project-type::before {
	content: "";
	width: 30px;
	height: 10px;
	display: block;
	margin-bottom: 15px;
	background: #404041;
}
.project-details.orange .project-type::before {
	background: #fff;
}

.project:hover .project-details {
  display: block;
}
.project:hover .project-details a {
	color: #fff;
}
/* Single Project */
.single-project-details {
  margin: 3rem 0;
}
.single-project-details h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}
.single-project-details h6 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 1rem 0 0 0;
}
.single-project-details h6::before {
	content: "";
	width: 30px;
	height: 10px;
	display: block;
	margin-bottom: 15px;
	background: #404041;
}
.single-project-nav {
  margin-top: 3rem;
  text-align: right;
}
.single-project-nav li {
  margin-right: 1rem;
  display: inline-block;
  vertical-align: bottom;
}
.single-project-nav li a{
  color: #404041;
}
.single-project-images {
  margin-bottom: 4rem;
}
.single-project-images img {
  width: 100%;
  height: auto;
}
.contact-page {
  background: #f0f0f0;
  padding: 3rem 0;
}
/*ninja forms*/
.nf-before-form-content {
  display: none;
}
#nf-field-5-container{
  width: 48%;
  float: left;
  clear: none;
}
#nf-field-9-container {
  width: 48%;
  float: right;
  clear: none;
}
#nf-field-8 {
  background: #f87542;
}
#nf-field-8:hover {
  color: #fff;
  cursor: pointer;
}
.nf-field-label label {
  font-weight: normal !important;
}
.nf-form-content {
  max-width: 100% !important;
}
.nf-form-cont {
  margin-top: 3rem;
}


@media screen and (max-width: 500px) {
	.menu,
	.quote,
	.intro,
	.portfolio {
		width: 90%;
	}
  .content-container {
    width: 80%;
  }
	.menu ul {
		flex-direction: column;
	}
	.menu ul li {
		margin-bottom: 0.5rem;
		width: auto;
	}
	.project {
		width: 100%;
		margin: 0 0 20px 0;
	}
	.footer-container .col-left,
	.footer-container .col-center,
	.footer-container .col-right {
		margin-bottom: 1rem;
		width: 100%;
	}
  #nf-field-5-container,
  #nf-field-9-container {
    width: 100%;
    float: none;
    clear: both;
  }
  .director-photo {
    text-align: center;
    margin: 2rem 0 0 0;
  }
  footer .footer-container .col-left {
    padding: 0;
  }
  footer .footer-container .col-left img {
    display: block;
    margin: 0 auto 1rem auto;
  }
  footer .footer-container .col-center {
    text-align: left;
    padding: 0;
  }
  footer .footer-container .col-right {
    padding: 0;
  }

}
