@charset "utf-8";
@import url('fonts.css');
html {  
    -webkit-font-smoothing: subpixel-antialiased;
}
html, body {
	margin: 0;
	padding: 0;
}
::selection {
  background: #222;
  color: #FFF;
}
body {
	font-size: 14px;
	color: #222;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}
.wf-active body {
	font-family: 'DIN', Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
}
#debug {
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  z-index: 2000;
}
a:link, a:visited {
	color: #ce1126;
}
a:hover, a:active {
	color: #ce1126;
}
h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
	font-weight: normal;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.5em;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}
#container {
	max-width: 1200px;
	margin: 0 auto;
}
#container > header {
	padding-top: 500px;
	background: #ce1126 url(../images/office-bg.jpg) 50% 0% no-repeat;
	color: #FFF;
	background-attachment: fixed;
	background-size: 1200px;
}
#fixed-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	
	z-index: 1000;
	
	/*display: flex;*/
}
#fixed-nav nav {
	/*min-width: 70%;*/
	max-width: 840px;
	margin: 0 auto;
	padding: 1em;
	background: #000;
	color: #FFF;
	
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#fixed-nav nav h1 {
	font-size: 1em;
	margin: 0em 1em;
	height: 4em;
}
#fixed-nav nav h1 img {
	vertical-align: bottom;
	height: 100%;
}
#fixed-nav nav ul {
	margin: 0;
	padding: 0;
	font-size: 1em;
}
#fixed-nav nav li {
	display: inline-block;
	border-right: 1px solid #ce1126;
	text-transform: uppercase;
}
#fixed-nav nav li:last-child {
	border: none;
}
#fixed-nav nav li.menu {
	display: none;
}
#fixed-nav nav a {
	display: block;
	color: #FFF;
	padding: 1.5em 1em;
	height: 1em;
	text-decoration: none;
}

#about-us {
	background: #ececec;
	color: #ce1126;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	
	font-size: 1.2em;
	padding: 2em;
}
#about-us h2 {
	width: 100%;
	text-align: center;
	font-weight: normal;
	text-transform: uppercase;
}
#about-us p,
#about-us ul {
	display: block;
	width: 15em;
	margin: 1em;
	text-align: left;
	vertical-align: bottom;
}
#about-us p img {
	width: 5em;
	height: auto;
	margin: 1em auto;
	display: none;
}

#work h2 {
	display: none;
}

#work #tags {
	background: #000;
	padding: 0;
	font-size: 0.85em;
	display: flex;
	flex-wrap: wrap;
}
#work #tags a {
	display: inline-block;
	padding: 0.5em;
	/*text-transform: uppercase;*/
	text-decoration: none;
	text-align: center;
	background: #000;
	color: #FFF;
	border-right: 1px solid #ce1126;
	transition: all 0.25s;
	flex: 1 1 auto;
}
#work #tags a:last-child {
	border: none;
}
#work #tags a.active,
#work #tags a.active:hover {
	background: #ce1126;
	color: #FFF;
}
#work #tags a:hover {
	color: #ce1126;
}
#work .slideshow {
	position: relative;
	min-height: 500px;
  height: 100%;
}
#work .slideshow .arrow {
	position: absolute;
	
	background: #ce1126;
	color: #FFF;
	border-radius: 50%;
	
	text-align: center;
	font-size: 20px;
	font-weight: 100;
	height: 1em;
	width: 1em;
	line-height: 0.84em;
	padding: 0.5em;
	top: 50%;
	margin-top: -0.75em;
	
	cursor: pointer;
	z-index: 100;
}
#work .slideshow .arrow.left {
	left: 5px;
}
#work .slideshow .arrow.right {
	right: 5px;
}
.slick-slider .slick-track, .slick-slider .slick-list {
	height: 100%;
}
article.tile,
article.tile.slick-slide {
	width: 100%;
	/*max-height: 100%;*/
	height: 500px;
  background: #ce1126;
	
	display: table;
}
article.tile > header,
article.tile .image {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
article.tile > header {
    color: #FFF;
	width: 30%;
	padding: 0 50px 0 55px;
}
article.tile > header h3,
article.tile > header h4 {
	font-weight: normal;
	text-transform: uppercase;
}
article.tile > header h3 {
	font-size: 2em;
}
article.tile > header h4 {
	font-size: 1.3em;
}
article.tile > header a {
  color: inherit;
}
article.tile > header .caption {
	text-align: left;
}
article.tile.slick-inactive .image {
	background-image: none !important;
}
article.tile .image {
	width: 70%;
	height: 100%;
	background: center center no-repeat;
	background-size: cover;
	background-color: #FFF;
	position: relative;
}
article.tile .image img,
article.tile .image video {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
article.tile .image.credited:after {
	content: attr(data-credit);
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	color: #FFF;
	font-size: 0.6em;
	padding: 0.5em;
}

article.tile.category .image {
	display: flex;
	flex-wrap: wrap;
	width: auto;
  height: 500px;
	padding: 3px;
  box-sizing: border-box;
}
article.tile.category .image .csthumb {
	height: 50%;
	width: 33.33%;
	flex: 0 0 33.33%;
	margin: 0;
}


article.csthumb {
	position: relative;
	width: 200px;
	height: 200px;
	flex: 0 0 200px;
	margin: 5px;
	font-size: 1em;
	color: #FFF;
	text-align: center;
	background: center center no-repeat;
	background-size: 300%;
	background-clip: padding-box;
	background-color: #FFF;
	border: 3px solid #FFF;
	box-sizing: border-box;
	
	cursor: pointer;
	transition: all 0.5s;
}
article.csthumb header {
	width: 100%;
	height: 100%;
	padding: 0;
	/*text-shadow: 1px 1px 0px #000, 0px 0px 5px #000;*/
	/*display: table;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
	background: rgba(206,17,38,0.8);
	opacity: 1;
	transition: all 0.5s;
}
article.csthumb:hover {
	background-size: 100%;
}
article.csthumb:hover header {
	opacity: 0;
}
article.csthumb header .name {
	/*display: table-cell;*/
  display: block;
	vertical-align: middle;
	padding: 1em;
}
article.csthumb header .name h3,
article.csthumb header .name h4 {
	margin: 0.5em 0;
}

article.csthumb.unpublished {
	background-color: #222;
	border-color: #222;
}
article.csthumb.unpublished header {
	background-color: rgba(34,34,34,0.8);
}
article.csthumb.unpublished.for-approval {
	background-color: #622;
	border-color: #622;
}
article.csthumb.unpublished.for-approval header {
	background-color: rgba(102,34,34,0.8);
}

#instagram {
	background: #000;
	color: #ce1126;
	padding: 3em 2em;
	
	position: relative;
}
#instagram h2 {
	display: none;
}
#instagram h3 {
	font-size: 1em;
	margin: 0;
}
#instagram h3 a {
	display: block;
	font-size: 1em;
	width: 3em;
	height: 3em;
	line-height: 3em;
	border-radius: 50%;
	background: #ce1126;
	padding: 2em;
	margin: 0em auto 2em;
}
#instagram #instafeed {
	/*display: flex;
	flex-wrap: wrap;
	justify-content: space-around;*/
	text-align: center;
	margin: 0 auto;
	overflow: hidden;
	max-height: 220px;
	min-width: 220px;
	max-width: 1600px;
}
#instagram #instafeed a {
	display: inline-block;
	margin: 5px;
	height: 100px;
	width: 100px;
}
/*#instagram #instafeed a:hover:after {
	content:attr(data-caption);
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 0 3em 1em;
	box-sizing: border-box;
	color: #FFF;
	text-align: center;
}*/
#instagram #instafeed a img {
	max-width: 100%;
	height: auto;
}

#contact header {
	float: right;
	height: 300px;
	width: 30%;
	padding: 2em;
	box-sizing: border-box;
	
	background: #ce1126;
	color: #FFF;
}
#contact header h2 {
	margin-top: 0;
}
#contact header p {
	font-size: 1em;
}
#contact header a:link {
	color: #FFF;
	text-decoration: none;
}
#contact .social {
	text-align: left;
}
#contact .social a{
	margin: 1em;
	height: 2em;
	display: inline-block;
}
#contact .social a:first-child {
	margin-left: 0;
}
#contact .social img {
	height: 2em;
	vertical-align: top;
}
#contact #map {
	height: 300px;
	width: 70%;
}
#contact #map h1 {
	text-transform: none;
	margin: 0.5em 0;
}
.gm-style {
	font-family: inherit;
}

@media all and (max-width : 1200px){
	#container > header {
		background-size: auto 69%;
	}
}

@media all and (max-width : 960px){
	#work #tags {
		font-size: 0.7125em;
	}
	#work .slideshow {
		height: 720px;
	}
	article.tile {
		height: 100%;
	}
	article.tile > header,
	article.tile .image {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}
	article.tile > header {
		height: 220px;
		padding: 10px;
		/*display: table;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
	}
	article.tile > header .name {
		width: 30%;
		/*display: table-cell;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis:30%;
		vertical-align: middle;
	}
	article.tile > header h3 {
		font-size: 1.5em;
		margin: 0 0 0.5em 0;
	}
	article.tile > header h4 {
		font-size: 1.3em;
		margin: 0 0 0.5em 0;
	}
	article.tile > header .caption {
		margin: 0;
		padding: 0 1em;
		/*display: table-cell;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis:70%;
		vertical-align: middle;
	}
	article.tile > header .caption p {
		margin: 0;
	}
	article.tile .image {
		height: 500px;
	}
	
	#contact header,
	#contact #map {
		float: none;
		width: 100%;
	}
	#contact header {
		height: auto;
	}
	#contact #map {
		height: 350px;
	}
}

@media all and (max-width : 750px){
	#fixed-nav {
    font-size: 0.8em;
	}
	#fixed-nav nav ul {
		max-width: 50%;
	}
	#fixed-nav nav ul {
		height: 4em;
		overflow: hidden;
		transition: all 0.25s;
	}
	#fixed-nav nav ul.open {
		height: 24em;/* 4em x 6 elements */
	}
	#fixed-nav nav li.menu,
	#fixed-nav nav li {
		display: block;
		border: none;
		text-align: right;
	}
	#fixed-nav nav a {
		padding: 1.5em 0;
	}
	#fixed-nav nav a#menutoggle {
		position: relative;
		color: transparent;
	}
	#menutoggle:before,
	#menutoggle:after {
		content: '';
		height: 1.5em;
		width: 1.5em;
		position: absolute;
		top: 1.3em;
		right: 0em;
		box-sizing: border-box;
	}
	#menutoggle:before {
		border-top: 2px solid #FFF;
		border-bottom: 2px solid #FFF;
	}
	#menutoggle:after {
		height: 0.85em;
		border-bottom: 2px solid #FFF;
	}
	#container > header {
		background-size: contain;
    padding-top: 70%;
    background-position: center 60px;
    background-attachment: scroll;
	}	
	#about-us p,
	#about-us ul {
		width: auto;
		margin: 1em 0;
	}
	#work h2 {
		display: block;
		background: #000;
		color: #FFF;
		text-align: center;
		margin: 0;
		padding: 0.5em;
	}
	#work #tags {
		display: none;
	}
	#work .slideshow {
		height: 420px;
		min-height: 420px;
	}
	#work .arrow {
		display: none;
  }
  article.tile,
  article.tile.slick-slide {
    display: block;
    position: relative;
    max-height: 100%;
    height: 420px;
	}
	article.tile.category .image .csthumb {
		display: none;
		background: none !important;
	}
	article.tile > header {
		height: auto;
    padding: 0;
		display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
	}
	article.tile > header .name {
		width: 100%;
    height: 100px;
    background: #ce1126;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
	}
	article.tile > header .name:after {
    content:'read more';
    cursor: pointer;
	}
	article.tile > header h3 {
		font-size: 1.5em;
		margin: 0.25em 0;
	}
	article.tile > header h4 {
		font-size: 1.1em;
		margin: 0.25em 0;
	}
	article.tile > header .caption {
		opacity: 0;
    background: rgba(206,17,38,0.8);
    padding: 0 10%;
    height: 280px;
    transition: opacity 0.3s;
	}
	article.tile > header .caption:hover,
	article.tile > header .caption.view {
    opacity: 1;
	}
	article.tile .image {
    position: absolute;
    height: 280px;
    width: 100%;
    bottom: 0;
    right: 0;
	}
}

@media all and (max-width : 750px) and (max-height : 400px){
	#fixed-nav nav h1 {
		position: absolute;
		top: 1em;
		left: 1em;
	}
	#fixed-nav nav ul {
		float: right;
	}
	#fixed-nav nav ul.open {
		height: 8em;/* 4em x 2 elements */
	}
	#fixed-nav nav li {
		display: inline-block;
		margin: 4em 1em 0;
	}
	#fixed-nav nav li.menu {
		position: absolute;
		top: 1em;
		right: 1em;
		margin: 0 1em;
	}
  #work {
    height: 320px;
  }
	#work h2 {
		display: none;
	}
	#work .slideshow {
		max-height: 100%;
		min-height: 320px;
		height: 320px;
	}
	article.tile,
	article.tile.slick-slide {
		min-height: 100%;
    height: 100%;
	}
	article.tile > header {
		width: 100%;
		/*display: table;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
	}
	article.tile > header .name {
		/*display: table-cell;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis:30%;
    background: #ce1126;
    width: 30%;
    padding: 0 5%;
	}
	article.tile > header .caption {
    height: 320px;
	}
	article.tile .image {
		width: 70%;
    height: 320px;
		display: table-cell;
	}
}