/*
Theme Name: Gray Whale
Theme URI: https://basilosaur.us/wordpress/themes/graywhale/
Author: Basilosaur.us
Author URI: https://basilosaur.us/
Description: Gray Whale is a highly configurable, elegant theme for small businesses, personal websites, and project pages. It is robustly featured, offering a full-screen front-page splash with space for you to tell readers who you are and what you do in style. It includes many options available through the WordPress Customizer to change the theme's colors, add contact and social media information, and modify the terms under which your site is licensed. And it offers several page templates, including a portfolio view that allows you to transform any page with children into a showcase for your products, projects, case studies, and more.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: graywhale
Tags: gray, blue, one-column, two-columns, fluid-layout, responsive-layout, custom-colors, custom-header, editor-style, post-formats, microformats, sticky-post, theme-options, threaded-comments

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Gray Whale is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

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

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
html {
	font-size: 17px;
}
body,
button,
input,
select,
textarea {
	color: #222120;
	font-family: 'Open Sans', sans-serif;
	font-size: 1em;
	line-height: 1.7em;
}
h1, h2, h3, h4, h5, h6 {
	clear: both;
	line-height: 1.25em;
	padding-bottom: .4em;
	letter-spacing: 0.05em;

}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.66em;
}
h3 {
	font-size: 1.5em;
}
h4 {
	font-size: 1.33em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}
p {
	margin-bottom: 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
	color: #333;
	font-style: italic;
	letter-spacing: .025em;
	line-height: 1.75em;
	color: #666;
	text-align: justify;
}
cite {
	font-size: .8em;
	font-weight: bold;
	font-variant: small-caps;
	font-style: normal;
	letter-spacing: 1px;
	text-indent:-1.25em;
	padding-bottom: 1rem;
	max-width: 85%;
	float:right;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}
cite:before {
	content: '\2014\0020';
}
address {
	margin: 0 0 1.5em;
	letter-spacing: .05em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
.site-title {
	position: relative;
	display: inline-block;
	vertical-align: bottom;
	font-size: 2.5em;
	font-weight: 300;
	letter-spacing: 0.1em;
	left: -2px;
	padding-bottom: .15em;
	line-height: 1.25em;
}
.site-description {
	font-size: 1.1em;
	line-height: 1.5em;
	letter-spacing: 0.1em;
}
.entry-title,
.widget-title,
.widgettitle {
	position: relative;
	left: -2px;
	font-size: 2em;
	letter-spacing: .05em;
	line-height: 1.25em;
	padding-bottom: .2em;
	margin-top: -.25em;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}
.entry-posted-on {
	color: #666;
	font-size: 1.15em;
	font-weight: 300;
	letter-spacing: 0.1em;
	padding-bottom: .8em;
}
.entry-meta,
.entry-footer {
	color: #666;
	font-weight: 300;
	font-size: .8em;
	letter-spacing: 0.1em;
}
.widget-title,
.widgettitle,
.portfolio-card .entry-title {
	color: inherit;
	font-size: 1.5em;
	font-variant: small-caps;
	padding-bottom: 1em;
}
.entry-meta .genericon,
.entry-footer .genericon {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 1.125em 'Genericons';
	vertical-align: middle;
	color: #888;
}


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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

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. */
}

figure {
	margin: 0;
}

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

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	max-width: 100%;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #999;
	background: #fff;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 1.2em;
	font-weight: 300;
	letter-spacing: .05em;
	line-height: 1;
	padding: .6em 1em .6em;
	transition: .5s;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background: #ddd;
	transition: .5s;
}

button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background: #222120;
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea {
	border: 1px solid #999;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: .05em;
	padding: .33em .66em;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	box-shadow: 0 0 4px 1px #eee;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}
select {
	background: #fff;
	border: 1px solid #999;
	font-weight: 300;
	padding: .12em .66em;
	outline: 0;
}

/*EXTRA STYLING FOR CONTACT FORM 7 */
div.wpcf7,
.contact-form {
	position: relative;
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #999;
	background-color: #f2f2f2;
	padding: 1.5em 1.5em 0;
	text-align: left;
}
.contact-form.contact-form input[type="text"],
.contact-form.contact-form input[type="email"],
.contact-form.contact-form input[type="tel"],
.contact-form.contact-form input[type="url"] {
    margin-bottom: 13px;
    max-width: 100%;
    width: 550px;
}
.contact-form.contact-form textarea {
	width: 100%;
	height: auto;
	max-height: 250px;
}
.contact-form.contact-form .contact-submit {
	text-align: right;
	margin-top: 1em;
}

/*--------------------------------------------------------------
4.5 Page Structure
--------------------------------------------------------------*/
body {
	background-color: #666;
}
#page {
	position: relative;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	background-color: #fff;
	box-shadow: 0 0 12px 2px #333;
}
.frontpage-header {
	overflow: hidden;
	position: relative;
	min-height: 400px;
	background-color: #444444;
/*	background-repeat: no-repeat;
	background-attachment: local;
	background-position: center;
	background-clip: padding-box;
	background-size: cover;*/
	z-index: 0;
}
.frontpage-image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-repeat: no-repeat;
	background-attachment: local;
	background-position: center;
	background-clip: padding-box;
	background-size: cover;
	z-index: 0;
}
.interior-header {
	overflow: hidden;
	position: relative;
	min-height: 200px;
	background-repeat: no-repeat;
	background-attachment: local;
	background-position: center;
	background-clip: padding-box;
	background-size: cover;
	z-index: 0;
}
.site-branding {
	position: relative;
	display: inline-block;
	max-width: 90%;
	color: #fff;
	background-color: #99a6bf;
	margin-top: 0;
	padding: .5em 1.75em 1em;
	margin-top: 1.5em;
	opacity: 0.8;
	z-index: 4;
}
.frontpage-header .site-branding {
	padding: 1.5em 1.66em 1.5em 2em;
	margin-bottom: 1.5em;
	z-index: 4;
}
.frontpage-description {
	position: absolute;
	display: inline-block;
	width: 66%;
	min-width: 500px;
	right: 0;
	bottom: 1.5em;
	padding: 1.2em 2em 1.2em 1.66em;
	color: #fff;
	background-color: #99a6bf;
	opacity: 0.8;
	z-index: 4;
}
#content {
	position: relative;
	padding-top: 3em;
	background-color: #fff;
	z-index: 6;
}
.home #content {
	padding-top: 1.5em;
}
.inner {
	position: relative;
	min-width: 900px;
	width: 66%;
	margin: 0 auto;
}
.blog .inner,
.single .inner,
.archive .inner,
.search .inner,
.page-template-templatessidebar-page-php .inner,
.error404 .inner {
	width: 75%;
	min-width: 1080px;
}
.blog #primary,
.single #primary,
.archive #primary,
.search #primary,
.page-template-templatessidebar-page-php #primary {
	width: 70%;
	position: relative;
	display: inline-block;
	vertical-align: top;
	padding-right: 4%;
	margin-right: -4px;
}
.blog #secondary,
.single #secondary,
.archive #secondary,
.search #secondary,
.page-template-templatessidebar-page-php #secondary {
	width: 29%;
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin-right: -4px;
	font-size: .85em;
	line-height: 1.7em;
}
#colophon {
	font-size: .8em;
}
.main-footer {
	background-color: #99a6bf;
	color: #fff;
	padding: 1em 0 0;
	line-height: 1.7em;
}
.footer-column.footer-column {
	display: inline-block;
	vertical-align: top;
	width: 23.5%;
	margin-right: -4px;
	margin-left: 2%;
	margin-bottom: 1em;
	border: 1px solid #eee;
}
.footer-column:first-of-type {
	margin-left: 0;
}
.stuck.stuck {
	position:fixed;
	top:0;
	bottom: auto;
	margin:0;
	z-index: 90;
}
.accentgradient {
	background-color: #e9e9e9;
}

#tothetop {
	position: fixed;
	display: block;
	right: .5rem;
	bottom: .33rem;
	z-index: 99;
}
.tothetop {
	font-size: 3em;
	line-height: .9em;
	color: #444;
}
/*--------------------------------------------------------------
Columns
--------------------------------------------------------------*/
.column {
	vertical-align: top;
	margin-right: -4px;
	margin-left: 3%;
}
.c50 {
	width: 47%;
}
.c33 {
	width: 31.6%;
}
.c25 {
	width: 22.75%;
}
.column:first-of-type {
	margin-left: 0;
}
.boxed {
	border: 1px solid #999;
	background-color: #f2f2f2;
	padding: 1em;
}


/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px dotted #888;
}

a:visited {
	color: none;
	border-bottom: 0;
}

a:hover,
a:focus,
a:active {
	color: none;
	border-bottom: 0;
}
.noborder a, .noborder a:visited, .noborder a:hover, .noborder a:active, .noborder a:focus {
	border-bottom: 0;
}
.entry-meta a, .entry-footer a {
	color: #222120;
}
.entry-meta a:hover, .entry-meta a:active, .entry-meta a:focus,
.entry-meta a:hover, .entry-meta a:active, .entry-meta a:focus {
	color: #444;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	position: relative;
	text-align: center;
	letter-spacing: 0.05em;
	font-variant: small-caps;
	line-height: .95em;
	width: 100%;
}

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

.main-navigation li {
	float: left;
	position: relative;
	padding: 0 1em;
	margin-bottom: -2px;
	border-right: 1px solid #ddd;
}
.main-navigation li:last-of-type {
	border-right: 0;
}
.main-navigation li:hover {
	background-color: #f6f6f6;
}

.current_page_item a {
	color: #666;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: .75em 0;
}

.main-navigation ul ul {
/*	box-shadow: 0 2px 2px 1px #999;*/
	background-color: #f6f6f6;
	float: left;
	border: 1px solid #ddd;
	border-top: 0;
	text-align: left;
	font-size: .9em;
	position: absolute;
	top: 2.74em;
	left: -999em;
	z-index: 99999;
}

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

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
	border-right: 0;
}

.main-navigation li > a {
	transition: .5s;
}
.main-navigation li:hover > a {
	transition: .5s;
	color: #888;
}

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

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: -1px;
}

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

.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {
}

.comment-navigation,
.paging-navigation,
.post-navigation {
	margin: 0 0 1em;
	letter-spacing: 0.05em;
	font-variant: small-caps;
	font-size: 0.85em;
	color: #666;
	overflow: hidden;
}

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

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

/* MOBILE MENU */
.button-block.button-block {
	position: relative;
	padding: .75em 1.5em;
	text-align: right;
	width: 100%;
	display:none;
}
.button-block:before { /* THANKS TO AUTOMATTIC FOR THIS IDEA */
	cursor: pointer;
	line-height: 1em;
}
#mobile-menu {
	display: none;
	overflow: hidden;
	background-color: #eee;
	border-bottom: 2px solid #e6e6e6;
	margin-bottom:.5em;
	padding: .5em 1em ;
}

#mobile-menu.active {
  display: block;
}

#mobile-menu .widget {
  border: 0;
  padding: 0;
  margin: 0;
}
#mobile-menu ul {
	margin-left: 0;
	margin-bottom: 0;
}
#mobile-menu li {
	padding: .33em 0;
	margin-left: 0;
	list-style: none;
	border-bottom: 1px solid #ddd;
}
#mobile-menu li:last-child {
	border-bottom: 0;
}
#mobile-menu a {
	padding-left: 1.5em;
}
#mobile-menu ul ul a {
	padding-left: 3em;
}
#mobile-menu ul ul ul a {
	padding-left: 4.5em;
}
#mobile-menu .sub-menu li {
	border-bottom: 0;
}


/*--------------------------------------------------------------
6.0 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:hover,
.screen-reader-text:active,
.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-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 */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

.justified {
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

.hyphens {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.main-navigation:before,
.main-navigation:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

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

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	padding: 1.33em 1em;
	border: 1px solid #ddd;
}
.widget ul {
	margin-left: 1em;
}

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

/* Search widget */
.widget_search .search-submit {
	display: none;
}

.main-footer .widget {
	border: 0;
	padding: 1em;
	margin-bottom: 1em;
}
.main-footer .widget ul {
	margin-left: 1em;
	margin-bottom: 0;
}
.contact-info.contact-info {
	padding: 1em 1.5em 0;
}
.social-links.social-links {
	width: 100%;
	padding-top: 1em;
	padding-bottom: 0;
}
.social-links.social-links ul {
	display: inline-block;
	list-style: none;
	margin-left: 0;
	font-size: 2em;
}
.social-links li {
	float: left;
	position: relative;
	padding: .33em .25em;
	opacity: .6;
	transition: .5s;
}
.social-links li:hover {
	opacity: 1;
	transition: .5s;
}
.site-info {
	border-top: 1px solid #999;
	letter-spacing: 0.1em;
	font-weight: 300;
	text-align: center;
	color: #666;
	line-height: 1;
	padding: .75em 0;
}
.footer-search {
	left: 0;
	bottom: 1em;
	padding: .33em 1em 0;
	width: 90%;
	display: block;
}
.footer-search .search-field {
	display: block;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	font-size: .8em;
	padding: .25em .5em;
	opacity: 0.6;
	transition: .5s;
}
.footer-search .search-field:focus {
	box-shadow: none;
	opacity: 1;
	transition: .5s;
}
.footer-search .search-submit {
	display: none;
}
/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
.page-header {
	margin-bottom: 2.5em;
}
.page-header .genericon {
	color: #888;
	font-size: 1.33em;
	line-height: .85em;
	margin-bottom: -.5em;
}
.page-title {
	font-size: 1.33em;
	line-height: 1;
	font-variant: small-caps;
	border-bottom: 1px solid #ddd;
}
.taxonomy-description {
	font-size: .85em;
	font-style: italic;
	color: #666;
	padding-right: 1em;
	padding-top: .5em;
	line-height: 1.6;
}
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 3em;
}

.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;
}
.entry-content {
	padding-left: .33em;
}

/* 404 Page */

.error-404 {
	position: relative;
	width: 90%;
	margin: 0 auto;
}
.search-404 {
	position: relative;
	padding: 0 1em 1em;
	top: -1.33em;
	border-bottom: 1px solid #666;
}
.search-404 span,
.search-404 form {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	text-align: right;
	width: 40%;
	margin-right: -4px;
}
.search-404 span {
	width: 60%;
	text-align: left;
}
.search-404 .search-submit {
	display: none;
}
.content-404 {
	font-size: .8em;
	padding-top: 2em;
}
.content-404 .menu-column {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 33%;
	padding-right: 3%;
	margin-right: -4px;
}
.content-404 .menu-column:last-child {
	padding-right: 0;
}



/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title,
.search .format-aside .entry-title,
.blog .format-status .entry-title,
.archive .format-status .entry-title,
.search .format-status .entry-title,
.blog .format-quote .entry-title,
.archive .format-quote .entry-title,
.search .format-quote .entry-title {
	font-size: 1.33em;
	font-variant: small-caps;
	left: 0;

}
.blog .format-status .entry-title::before,
.archive .format-status .entry-title::before,
.search .format-status .entry-title::before,
.blog .format-quote .entry-title::before,
.archive .format-quote .entry-title::before,
.search .format-quote .entry-title::before,
.blog .post-password-required .entry-title::before,
.archive .post-password-required .entry-title::before,
.search .post-password-required .entry-title::before,
.blog .sticky .entry-title::before,
.archive .sticky .entry-title::before,
.search .sticky .entry-title::before {
	content: '\f108';
	display: inline-block;
	position: relative;
	-webkit-font-smoothing: antialiased;
	font: normal 1.75em 'Genericons';
	vertical-align: bottom;
	color: #666;
	margin-left: -6px;
	top: 10px;
	left: -5px;
}
.blog .format-quote .entry-title::before,
.archive .format-quote .entry-title::before,
.search .format-quote .entry-title::before  {
	content: '\f106';
}

.blog .post-password-required .entry-title::before,
.archive .post-password-required .entry-title::before,
.search .post-password-required .entry-title::before,
.blog .sticky .entry-title::before,
.archive .sticky .entry-title::before,
.search .sticky .entry-title::before {
	content: '\f427';
	font-size: 1.1em;
	margin-left: -12px;
}
.blog .sticky .entry-title::before,
.archive .sticky .entry-title::before,
.search .sticky .entry-title::before {
	content: '\f308';
}
.blog .format-aside .entry-posted-on,
.archive .format-aside .entry-posted-on,
.search .format-aside .entry-posted-on,
.blog .format-aside .entry-meta,
.archive .format-aside .entry-meta,
.search .format-aside .entry-meta,
.blog .format-aside .entry-footer,
.archive .format-aside .entry-footer,
.search .format-aside .entry-footer,
.blog .format-status .entry-posted-on,
.archive .format-status .entry-posted-on,
.search .format-status .entry-posted-on,
.blog .format-status .entry-meta,
.archive .format-status .entry-meta,
.search .format-status .entry-meta,
.blog .format-status .entry-footer,
.archive .format-status .entry-footer,
.search .format-status .entry-footer,
.blog .format-quote .entry-posted-on,
.archive .format-quote .entry-posted-on,
.search .format-quote .entry-posted-on,
.blog .format-quote .entry-meta,
.archive .format-quote .entry-meta,
.search .format-quote .entry-meta,
.blog .format-quote .entry-footer,
.archive .format-quote .entry-footer,
.search .format-quote .entry-footer {
	display: none;
}
.blog .format-aside .entry-content,
.archive .format-aside .entry-content,
.search .format-aside .entry-content,
.blog .format-status .entry-content,
.archive .format-status .entry-content,
.search .format-status .entry-content,
.blog .format-quote .entry-content,
.archive .format-quote .entry-content,
.search .format-quote .entry-content {
	margin-top: .5em;
}
.blog .format-aside,
.archive .format-aside,
.search .format-aside,
.blog .format-status,
.archive .format-status,
.search .format-status,
.blog .format-quote,
.archive .format-quote,
.search .format-quote {
	position: relative;
	margin-bottom: 1.5em;
}
.blog .format-image img,
.archive .format-image img,
.search .format-image img {
	max-width: 90%;
	clear: both;
	display: block;
	margin: 0 auto;
}
.blog .post-password-required .entry-content,
.archive .post-password-required .entry-content,
.search .post-password-required .entry-content {
	display: none;
}

/*--------------------------------------------------------------
10.3 Portfolio Cards
--------------------------------------------------------------*/
.page-template-templatesportfolio-view-php .hentry {
	margin-bottom: 1.5em;
}
.portfolio-view {
	margin-bottom: 2.5em;
}
.portfolio-card {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 33%;
	margin-right: -4px;
	padding: 0 1%;
}
.portfolio-card article {
	position: relative;
	border: 1px solid #999;
	padding: 0 0 1em;
}
.portfolio-card .entry-title {
	padding: 0 1rem .66em;
}
.portfolio-card .entry-header {
	padding-top: 1.5em;
	padding-bottom: .5em;
}
.portfolio-card .entry-content {
	padding-left: 0;
	font-size: .85em;
	line-height: 1.7;
	margin-top: 0;
	padding: 0 1rem;
}
.portfolio-card .more-link {
	float: right;
	clear: both;
	font-size: .85em;
	padding: 0 1rem;
}
.portfolio-card .attachment-post-thumbnail {
	position: relative;
	display: block;
	border-bottom: -5px;
	line-height: .85;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
#comments {
	margin-top: 2em;
}
.comments-title {
	font-size: 1.33em;
	font-variant: small-caps;
	margin-bottom: .5em;
}
.comment-list,
.comment-respond {
	border: 1px solid #ddd;
}
.comment-list,
.comment-list .children {
	position: relative;
	background: #fafafa;
	list-style: none;
	padding: 1.5em 1em;
	margin-left: 0;
	font-size: .8em;
}
.comment-list .children {
	padding-bottom: 0;
}
.comment-list li {
}
.comment-meta {
	display: table;
	position: relative;
	width: 100%;
	font-weight: 300;
	letter-spacing: 0.05em;
	margin-bottom: 1em;
	border-bottom: 1px solid #666;
}
.comment-meta a {
	border: 0;
}
.comment-author,
.comment-metadata {
	display: table-cell;
	width: 50%;
	vertical-align: middle;
}
.comment-metadata {
	text-align: right;
}
.comment-body {
	position: relative;
	margin-bottom: 3em;
}
.pingback .comment-body {
	margin-bottom: .5em;
}

.comment-content {
	padding: 0 0 1em;
}
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor .comment-author::before,
.pingback .comment-body::before {
	position: relative;
	top:-2px;
	left: 0;
	content: '\f304';
	display: inline-block;
	position: relative;
	-webkit-font-smoothing: antialiased;
	font: normal 1.6em 'Genericons';
	vertical-align: bottom;
	color: #666;
	margin-left: -5px;
}
.pingback .comment-body::before {
	content: '\f430';
}
.reply {
	position: absolute;
	display: inline;
	bottom: -1em;
	right: 0;
	border: 1px solid #999;
	padding: .5em 1em .66em;
	line-height: 1;
	letter-spacing: .1em;
	background: #fff;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	transition: .5s;
	margin-left: .5em;
}
.reply:hover {
	background: #ddd;
	transition: .5s;
}
.reply a {
	border: 0;
}
.comment-closed .reply,
.depth-5 .reply,
.depth-6 .reply,
.depth-7 .reply,
.depth-8 .reply,
.depth-9 .reply,
.depth-10 .reply {
	display: none;
}
.comment-list .children {
	font-size: 1em;
	margin-left: .5em;
	padding-left: 0;
	padding-right: 0;
}
.comment-list .children .comment-body:last-child {
	margin-bottom: 0;
}
.comment-respond {
	position: relative;
	background: #fafafa;
	padding: 1.5em 1em .66em;
	margin-bottom: 1.5em;
}
.form-allowed-tags,
.form-allowed-tags * {
	font-family: 'Open Sans', sans-serif;
	font-size: .8em;
	font-weight: 300;
	letter-spacing: .05em;
}
.form-allowed-tags {
	border: 1px solid #eee;
	padding: .5em 1em;
	background: #fcfcfc;
}
.form-submit {
	text-align: right;
}
.comment-reply-title {
	margin-bottom: .66em;
	border-bottom: 1px solid #666;
}
.logged-in-as,
.comment-notes {
	font-size: .8em;
	letter-spacing: .05em;
}
.comment-form-author,
.comment-form-email,
.comment-form-url {
	margin-bottom: .66em;
}
.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
	font-size: .8em;
	display:block;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-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;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.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%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

@media screen and (max-width: 1200px) {
	.blog .inner,
	.single .inner,
	.archive .inner,
	.page-template-templatessidebar-page-php .inner,
	.error404 .inner {
		width: 90%;
		min-width: 0;
	}
}

@media screen and (max-width: 1000px) {
	.inner {
		width: 90%;
		min-width: 0;
	}
}
@media screen and (max-width: 768px) {
	.site-branding {
		width: 100%;
		max-width: none;
		text-align: center;
	}
	.interior-header .site-branding {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		margin-top: 0;
		padding-top: 1em;
	}
	.site-title {
		font-size: 2em;	
	}
	.site-description {
		font-size: 1em;
	}
	.frontpage-description {
		display: none;
	}
	.menu-full,
	#site-navigation .menu {
		display: none;
	}
	.button-block.button-block {
		display: inline-block;
	}
	.blog #primary,
	.single #primary,
	.archive #primary,
	.page-template-templatessidebar-page-php #primary {
		width: 95%;
		display: block;
		padding-right: 0;
		margin-right: auto;
		margin-left: auto;
	}
	.blog #secondary,
	.single #secondary,
	.archive #secondary,
	.page-template-templatessidebar-page-php #secondary {
		width: 80%;
		display: block;
		margin-right:auto;
		margin-left: auto;
	}
	.column {
		margin-bottom: 1.5em;	
	}
	.column:first-of-type {
		margin-left: 3%;
	}
	.c33, .c25, .c50 {
		width: 45.5%;
	}
	.portfolio-card {
		width: 50%;
	}
	.footer-column.footer-column {
		position: relative;
		width: 45.5%;
		margin-left: 3%;
		margin-bottom: 1em;
	}
	.footer-column:first-of-type {
		margin-left: 3%;
	}
	div.wpcf7 {
		width: 100%;
	}
}
@media screen and (max-width: 480px) {
	.site-branding {
		padding-left: .66em;
		padding-right: .66em;
	}
	.site-title {
		font-size: 1.6em;	
	}
	.site-description {
		font-size: .9em;
	}
	.blog #primary,
	.single #primary,
	.archive #primary,
	.page-template-templatessidebar-page-php #primary {
		width: 96%;
	}
	.blog #secondary,
	.single #secondary,
	.archive #secondary,
	.page-template-templatessidebar-page-php #secondary {
		width: 96%;
	}
	.entry-content {
		text-align: justify;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word;	
	}
	.column:first-of-type {
		margin-left: 3%;
	}
	.c33, .c25, .c50 {
		width: 94%;
	}
	.portfolio-card {
		width: 100%;
	}
	.footer-column.footer-column {
		width: 94%;
		margin-left: 3%;
		margin-bottom: 1em;
	}
}
