/*
Theme Name: Metz Utility 2016
Author: Alaric King
Author URI: http://alaricking.co.uk/
Description: Custom Theme by Alaric King
Version: 2.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Plugins
# Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #221e1f;
	font-family: 'PT Serif', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Karla', serif;
	margin: 0 0 0.5em;
	clear: both;
	line-height: 1;
}

h1 {
	font-size: 2.25em;
}


h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.4em;
}

@media screen and (min-width: 600px) { 
	h3 {
		font-size: 1.75em;
	}
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

@media screen and (min-width: 1024px) {
	.home-header {
		width: 70%;
	}
}

p.hero-text:after,
.score:after,
.entry-content h3:after {
    content: "";
    max-width: 1.5em;
    height: 1px;
    border-bottom: 0.14em solid;
    clear: both;
    margin: 0.85em 0;
    display: block;
}

p.hero-text:after {
	margin: 0.85em 0;
}

h3.score:after {
	margin: 1em 0 2em;
}

.entry-content h3:nth-of-type(n+2) {
	margin-top: 3em;
}

p {
	font-size: 1.15em;
	line-height: 1.4;
	margin: 0 0 1.5em;
}

header.home-header .two-thirds p {
    font-size: 1.2em;
    line-height: 1.3;
    max-width: 770px;
    margin-bottom: 1em;
}

@media screen and (min-width: 600px) {
	header.home-header .two-thirds p {
	    font-size: 1.2em;
	}
}

.hero-text {
	font-size: 1.6em;
    line-height: 1.3em;
    margin-bottom: 0.3em;
    font-weight: 700;
    letter-spacing: -0.06em;
}

@media screen and (min-width: 600px) {
	.hero-text {
		font-size: 3em;
	}
}

p:last-child {
	margin-bottom: 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.justify {
	text-align: justify;
}

.sans {
	font-family: 'PT Serif', serif;
}

.serif {
	font-family: 'Karla', serif;
}

.text-two-col {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 2em;
	-moz-column-gap: 2em;
	column-gap: 2em;
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	-o-column-break-inside: avoid;
	-ms-column-break-inside: avoid;
	column-break-inside: avoid;
}



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { 
	box-sizing: inherit;
}

body {
	background: #f9f9f9;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0em;
    padding-left: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li {
	list-style-position: inside;
}

.content-area ul:not(.tabs) {
	margin: 1em 0;
}

.content-area ul:not(.tabs) li {
	list-style: none;
    position: relative;
    padding-left: 1.5em;
    margin: 0 0 1em 2em;
    font-size: 1.1em;
    line-height: 1.2;
}

.content-area ul:not(.tabs) li:before {
	content: "";
    top: 0.6em;
    left: 0;
    width: 0.8em;
    height: 1px;
    border-bottom: 3px solid;
    display: block;
    position: absolute;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.one-half,
.one-third,
.one-fourth,
.one-fifth,
.two-third  {
	width: 100%;
	margin: 0 0 2em;
	display: block;
    float: left;
}

@media screen and (min-width: 600px) {
	.one-half,
	.one-third,
	.one-fourth,
	.one-fifth,
	.two-third {
		position: relative;
		margin: 0 4% 4% 0;
		float: left;
	}

	.one-half {
		width: 48%;
	}

	.one-third {
		width: 30.66%;
	}

	.one-fourth {
		width: 22%;
	}

	.one-fifth {
		width: 16.8%;
	}

	.two-third {
		width: 65%;
		margin-right: 0;
		padding-bottom: 5px;
	}

	.two-third p {
		padding-bottom: 5px;	
	}

	.one-half:nth-of-type(even),
	.one-third:nth-of-type(3n+3),
	.one-fourth:nth-of-type(4n+4),
	.col-last {
		margin-right: 0;
	}
}


.row {
	width: 100%;
	clear: both;
	float: left;
	position: relative;
}

.right {
	float: right;
}

.left {
	float: left;
}

.center-wrap {
  position: absolute;
  display: table;
  overflow: hidden;
  height: 100%;
  z-index: 20;
  width: 100%;
  left: 0;
  top: 0;
}

.center-wrap-row {
  display: table-row;
  height: 100%;
}

.center-wrap-cell {
  display: table-cell;
  vertical-align: middle;
  text-decoration: none;
  color: #FFF;
  text-align: left;
  font-size: 1em;
  position: relative;
  z-index: 10;
}

.center-blk {
    position: relative;
    clear: both;
    margin: 0 auto;
    max-width: 1280px;
    width: 90%;
}

a.hot-spot {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 15;
	top: 0;
	left: 0;
}

body.ie a.hot-spot {
	background: transparent url('img/blank.gif'); /* helps IE */
}

.full-bleed {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}


.hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 1.1em;
    line-height: 1.4;
    padding: 0.5em 0;
    -webkit-appearance: none;
    border-bottom: 2px solid;
    font-weight: 600;
        outline: 0;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #fff5bf;
}


button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-appearance: none;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	outline: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/* -------- Placeholders ---------- */

input[type="text"]::-webkit-input-placeholder {
   color: #1D1D1D;
}

input[type="text"]::-moz-placeholder { /* Firefox 18- */
   color: #1D1D1D;  
}

input[type="text"]::-moz-placeholder {  /* Firefox 19+ */
   color: #1D1D1D;
}

input[type="text"]:-ms-input-placeholder {  
   color: #1D1D1D; 
}

input[type="email"]::-webkit-input-placeholder {
   color: #1D1D1D;
}

input[type="email"]::-moz-placeholder { /* Firefox 18- */
   color: #1D1D1D;  
}

input[type="email"]::-moz-placeholder {  /* Firefox 19+ */
   color: #1D1D1D;
}

input[type="email"]:-ms-input-placeholder {  
   color: #1D1D1D; 
}


textarea::-webkit-input-placeholder {
   color: #1D1D1D;
}

textarea::-moz-placeholder { /* Firefox 18- */
   color: #1D1D1D;  
}

textarea::-moz-placeholder {  /* Firefox 19+ */
   color: #1D1D1D;
}

textarea:-ms-input-placeholder {  
   color: #1D1D1D; 
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: inherit;
	transition: all .08s ease-in-out;
    -moz-transition: all .08s ease-in-out;
    -webkit-transition: all .08s ease-in-out;
    outline: none;
}

a:visited {
}

a:hover,
a:focus,
a:active {
}

a:focus {
}

a:hover,
a:active {
	text-decoration: none;
}


/* -------- Buttons ---------- */

a.btn, .btn {
	color: #1D1D1D;
    font-size: 1em;
    border-bottom: 2px solid;
    display: inline-block;
    text-decoration: none;
    padding: 0 0 0.6em;
    line-height: 0.9em;
    font-weight: 600;
    position: relative;
}


a.btn:hover,
a.btn.hover {
    background: #fff5bf;
}

a.btn:active,
a.btn.active {
	background: #ffef97;
}

/* Button Large */

a.btn.lrg {
	font-size: 1.2em;
    padding: 1em 0.9em 0.95em;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: none;
    display: block;
    float: right;
    width: auto;
    margin: 0.4em 0 0;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
    margin: 0 1.5em;
}

.main-navigation li:last-child {
	margin-right: 0;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    padding: 0 0 0.1em;
    color: #221e1f;
    font-size: 1.15em;
    border-bottom: 2px solid transparent;
}

.main-navigation ul ul {
    float: left;
    position: absolute;
    top: 31px;
    left: -999em;
    z-index: 99999;
    background: #000;
    width: 205px;
    padding: 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	    width: 100%;
	    color: #FFF;
	    padding: 10px;
}
.main-navigation ul ul li:hover > a,
.main-navigation ul ul a:hover,
.main-navigation ul ul .current-menu-item > a {
	background: #464646;
}

.main-navigation ul ul li {

    width: 100%;
    margin: 0;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation a:hover,
.main-navigation .current_page_parent > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	border-color: inherit;
}


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.mobile-menu .knockout,
.mobile-menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;

}

.mobile-menu .knockout {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
	height: 100%;
	overflow: auto;
    overflow-y: scroll;
 }

.mobile-menu div:not(.knockout) {
    position: absolute;
    left: 0;
    float: left;
    padding: 3em 0;
    width: 100%;
    z-index: 110;
    display: block;
    background: none;
    box-shadow: none;
    text-align: center;
}

.mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}


button.menu-toggle {
    display: none;
    background-image: url('img/menu_dark.svg');
    background-repeat: no-repeat;
    background-position: center right;
    position: absolute;
    z-index: 120;
    right: 0;
    padding: 2em;
    top: 0.2em;
    border: none;
}

@media screen and (min-width: 600px) { 
	button.menu-toggle {
		top: 3em;
	}
}

button.menu-toggle:hover {
	opacity: 0.5;
	background-color: transparent;
}

button.menu-toggle.toggle-open {
	 background-image: url('img/menu_close_light.svg');
}

button.menu-toggle.toggle-open {
    display: block;
}

.mobile-menu li {
	display: block;
	margin-bottom:1.5em;
}

.mobile-menu a {
    color: #FFF;
    font-size: 2em;
    text-decoration: none;
    padding-bottom: 0.05em;
    display: inline-block;
    line-height: 1;
}

.mobile-menu a:hover,
.mobile-menu .current_page_item > a,
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_ancestor > a,
.mobile-menu .current-menu-ancestor > a {
	border-bottom: 2px solid;
}


@media screen and (max-width: 1024px) {
	.main-navigation ul {
		display: none;
	}
	button.menu-toggle {
		display: block;
	}
}


.posts-navigation {
	float: left;
	width: 100%;
}

article.post .entry-footer {
padding-top: 40px;
    border-top: 1px solid #CCC;
    margin-top: 40px;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.left {
	float: left;
}

.right {
	float: right;
}

.center {
	float: none;
	margin: 0 auto;
	position: relative;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

.aligncenter {
	text-align: center;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#page-wrapper {
	position: relative;
	clear: both;
	margin: 0 auto;
	max-width: 1280px;
	width: 90%;
}

.site-header {
    padding: 1.4em 0 20%;
}

@media screen and (min-width: 600px) { 
	.site-header  {
		padding: 4.5em 0 20vh;
	}
}

.site-branding {
	float: left;
}

h1.site-title {
    font-size: 2em;
    margin: 0;
}

h1.site-title a {
	text-decoration: none;
	color: #221e1f;
}

/* -- Footer -- */

.site-footer {
    width: 100%;
    padding: 5% 0;
    clear: both;
    border-top: 1px solid;
}

.site-footer p {
	margin: 0;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.entry-header, .page-header {
    margin: 1.5em 0 0;
}

@media screen and (min-width: 600px) { 
	.entry-header, .page-header {
	    margin: 1.5em 0;
	}
}

.entry-header h1, .page-header h1  {
    margin: 0;
    font-size: 2em;
    float: left;
}

@media screen and (min-width: 600px) { 
	.entry-header h1, .page-header h1  {
	    font-size: 3em;
	}
}

h4.subtitle {
    font-weight: 400;
    font-size: 1.5em;
    margin-top: 0;
    float: left;
    width: 100%;
}

@media screen and (min-width: 600px) { 
	h4.subtitle {
    	max-width: 260px;
	}
}



#primary.sidebar {
	width: 100%;
}
#secondary {
	width: 100%;
	margin: 0 0 2em;
}

@media screen and (min-width: 770px) {
	#primary.sidebar  {
		width: 70%;
		float: left;
	}

	#secondary {
		float: right;
		width: 25%;
		margin-top: 6em;
	}
}

.post-featured-image {
	width: 100%;
	text-align: center;
	background: #EFEFEF;
	margin: 1em 0;
    line-height: 0;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 5em;
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

article.post {

}

.img-type {
	margin: 5% 0 0;
}

.img-type .inner-pad {
	z-index: 10;
	position: relative;
}

@media screen and (min-width: 600px) {
	.img-type .inner-pad { 
		padding: 0 5%;
	}
}

.img-type h2 {
	font-size: 1.7em;
	margin-bottom: 0;
}

@media screen and (min-width: 600px) {
	.img-type h2 {
		font-size: 2.5em;
	}
}

.img-type-right .two-third.text-two-col {
	float: right;
}

@media screen and (min-width: 600px) {
	.img-type-left .two-third.text-two-col {
		float: left;
		margin-left: 5em;
	}
}

@media screen and (max-width: 1024px) {
	.img-type .text-two-col {
		-webkit-column-count: 1024px;
	    -moz-column-count: 1;
	    column-count: 1;
	}
}

.img-type figure {
    opacity: 0.2;
    position: absolute;
    width: 60%;
    margin: 0;
    top: 4em;
    display: none;
}

@media screen and (min-width: 1024px) {
	.img-type figure {
		width: 36%;
	}
}

@media screen and (min-width: 600px) {
	.img-type figure {
		display: block;
	}
}

.img-type-right {
	margin-bottom: 7%;
}

.img-type-right figure {
	left: 9em;
}

.img-type-left figure {
	right: 0;
	top: 0em;
}

.img-type .score:after {
	width: 0.75em;
	border-bottom: 0.15em solid;
	margin: 0.6em 0;
}

/* Project / Post Listing */


.entry-content.post-listing {
	margin-top: 2em;
}

article.post {
	margin-bottom: 12.5%;
}

article.post h3 a {
	text-decoration: none;
    line-height: 1.3;
}

article.post h3 a:hover {
	background: #fff5bf;
}

article.post h3.score:after {
	margin: 1em 0 1em;
}

.post-listing article.post .holder-wrap {
	margin: 0 0 1.5em;
	opacity: 0.4;
}

.post-listing article.post .holder-wrap:hover {
	opacity: 1;
}

.post-listing article.post .holder-wrap img {
	-webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.post-listing article.post .holder-wrap:hover img {
	-webkit-filter: grayscale(0);
    filter: grayscale(0);
}

@media screen and (min-width: 600px) { 
	.post-listing article.one-half {
		width: 45%;
	}
	.post-listing article.one-half:nth-of-type(even) {
		float: right;
		    clear: right;
	}
	.post-listing article.one-half:nth-of-type(odd) {
		clear: left;
	}
}

@media screen and (max-width: 830px) {
	.post-listing article.one-half {
		width: 100%;
	}
}

.featured-image {
	margin-bottom: 3em;
}


/* Contact */

.contact-profile {
	border-top: 1px solid;
	padding: 2.5em 0 0;
}

@media screen and (min-width: 600px) { 
	.contact-profile {
		margin-bottom: 3em;
		width: 45%;
	}
	.contact-profile:nth-of-type(even) {
		float: right;
	}
}


/* 404 */

.error-404 {
	margin-bottom: 20vh;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

#secondary h1.widget-title {
	font-size: 1em;
	font-weight: 600;
}

#secondary .widget ul {
    margin: 0;
    list-style-position: inside;
    padding: 0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}



/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

.holder-wrap {
	overflow: hidden;
}

.img-holder {
	position: relative;
	display: block;
	z-index: 0;
	background: rgba(0,0,0,0.1);
	width: 100%;
	height: 100%;
	float: left;
}

.img-holder:before {
	position: absolute;
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 100%;
	background: rgba(0,0,0,0.1);
	left: 50%;
	top: 50%;
	margin-left: -10px;
	margin-top: -10px;
	z-index: 90;
}


@-webkit-keyframes pulse_animation {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}

.img-holder:before {
	-webkit-animation-name: 'pulse_animation';
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
}


.img-holder img {
	width: 100%;
	float: left;
	opacity: 0;
	z-index: 10;

	transition: opacity .2s linear;
	-moz-transition: opacity .2s linear;
	-webkit-transition: opacity .2s linear;
}

.image-loaded .img-holder img {
	opacity: 1;
}

.image-loaded .img-holder:before {
	display: none;
}

.sixteen-nine {
  position: relative;
  background-size: 110%;
}
.sixteen-nine:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 60%;
}
.sixteen-nine > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
figure.video .sixteen-nine > figcaption.content {
	background: rgba(42, 35, 35, 0.35);
	transition: all .2s linear;
    -moz-transition: all .2s linear;
    -webkit-transition: all .2s linear;
    margin: 0;
}

figure.video:hover .sixteen-nine > figcaption.content {
	background: rgba(42, 35, 35, 0.8);
}

figure.video .sixteen-nine > figcaption.content h4 {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 2em 10%;
    text-align: center;
    color: #FFF;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 0 2em rgba(0, 0, 0, 0.9);
}



.tabbed-content ul.tabs{
	margin: 0px;
	padding: 0px;
	list-style: none;
}
.tabbed-content ul.tabs li{
	background: transparent;
    padding: 1.5em 1.5em 1em;
    margin-left: -1px;
    position: relative;
    left: 1px;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    cursor: pointer;
    vertical-align: top;
}

.tabbed-content ul.tabs li.current{
	background: #FBFBFB;
}

.tabbed-content .tab-inner {
	background: #FBFBFB;
    padding: 2em;
    display: none;
    overflow: hidden;
}

.tabbed-content .tab-inner.current {
	display: inherit;
}

/*--------------------------------------------------------------
##  Plugins
--------------------------------------------------------------*/

/* -- Infinite Scroll -- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* -- GForms -- */

.gform_wrapper {
}

.gform_body ul,
.gform_body li {
	list-style: none;
	padding: 0;
	margin: 0;
}

.gform_body li {
	display: block;
	width: 100%;
	float: left;
	clear: both;
	position: relative;
}

.gform_wrapper .validation_error,
.gform_wrapper .validation_message {
	display: none;
}

.gform_body label.gfield_label {
    display: block;
    position: relative;
    left: 0;
    z-index: 20;
    font-size: 1.1em;
    margin-bottom: 0.25em;
}

.gform_body .ginput_container {
	position: relative;
	float: left;
	width: 100%;
	display: block;
	z-index: 10;
}

.gform_body input,
.gform_body textarea,
.gform_body select {
    border: none;
    padding: 0.8em;
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 2em;
    border-bottom: 1px solid #000;
    background: #f1f1f1;
    border-radius: 0;
    width: 100%;
}

.gform_body textarea {
	border: none;
	height: 10em;
	resize:none;
	border-bottom: 1px solid #000;
}

.gform_body span.gfield_required {
	color: #FF0000;
}

.gform_footer {
	position: relative;	
	clear: both;
	width: 100%;
}

.gform_wrapper .gform_ajax_spinner {
	padding-left: 0;
	position: absolute;
	right: 10px;
	top: 10px;
	border-radius: 100%;
	z-index: 100;
}

.validation_message {
	color: #FF0000;
}

.gfield_error input,
.gfield_error textarea,
.gfield_error button {
	border-color: #FF0000;
	background: rgba(255, 0, 0, 0.05);
}

.gform_body input[type=text]::-webkit-input-placeholder {
   color: #404040;
}
.gform_body input[type=text]:-moz-placeholder { /* Firefox 18- */
   color: #404040;  
}
.gform_body input[type=text]::-moz-placeholder {  /* Firefox 19+ */
   color: #404040;  
}
.gform_body input[type=text]:-ms-input-placeholder {  
   color: #404040;  
}

.gform_body input[type=email]::-webkit-input-placeholder {
   color: #404040;
}
.gform_body input[type=email]:-moz-placeholder { /* Firefox 18- */
   color: #404040;  
}
.gform_body input[type=email]::-moz-placeholder {  /* Firefox 19+ */
   color: #404040;  
}
.gform_body input[type=email]:-ms-input-placeholder {  
	color: #404040;  
} 

.gform_body textarea::-webkit-input-placeholder {
   color: #404040;
}
.gform_body textarea:-moz-placeholder { /* Firefox 18- */
   color: #404040;  
}
.gform_body textarea::-moz-placeholder {  /* Firefox 19+ */
   color: #404040;  
}
.gform_body textarea:-ms-input-placeholder {  
	color: #404040;  
}

.gform_body input[readonly="readonly"] {
    color: #00421d;
    font-weight: 600;
}


.gform_body .gform_validation_container {
	display: none;
}

#gforms_confirmation_message {
	text-align: center;
	font-size: 1.2em;
	color: #00421d;
	font-style: italic;
}

.name_first label {
	display: none;
}


/* fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */

.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: transparent;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {

}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
	    z-index: 100000;
}

.fancybox-error {
	color: #444;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading:before {
	position: absolute;
	content: "";
	width: 15px;
	height: 15px;
	border-radius: 100%;
	background: #FFF;
	left: 50%;
	top: 50%;
	margin-left: -7px;
	margin-top: -7px;
	z-index: 90;
}

@-webkit-keyframes pulse_animation {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}

#fancybox-loading:before {
	-webkit-animation-name: 'pulse_animation';
	-webkit-animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
}

.fancybox-close {
	position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 8060;
    color: #FFF;
    text-decoration: none;
    font-size: 1.3em;
    text-align: center;
    padding: 2em;
    line-height: 0;
    background: url('img/menu_close_light.svg') center center no-repeat;
}

.fancybox-close:hover {
	opacity: 0.5;
}

.fancybox-nav {
	position: fixed;
	top: 0;
	width: 50%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('img/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	background: url('img/arrow-l.svg') 2em center no-repeat;
	left: 0;
}

.fancybox-next {
	background: url('img/arrow-r.svg') calc(100% - 2em) center no-repeat;
	right: 0;
}

.fancybox-nav span {
    position: absolute;
    top: 50%;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    color: #FFF;
    text-align: center;
    font-size: 1.3em;
    opacity: 0.5;
}

.fancybox-nav:hover span {
	opacity: 1;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: rgba(21, 19, 19, 0.97);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
    display: inline-block;
    margin-right: -100%;
    padding: 0.5em 0;
    background: transparent;
    text-shadow: 0 1px 2px #222;
    color: #FFF;
    line-height: 1.3;
    white-space: normal;
    font-size: 0.85em;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}
