/*==================================================
	
	Theme Name: WSO Square Child
	Theme URI: https://www.winchesterstudio.soton.ac.uk
	Description: Same as Square but archived posts no longer show on home.
	Author: Parks & Parker & GK
	Template: square2


==================================================*/

/* --------------------------------------------------------------
CSS 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, 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;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}

/* Clearing */
.clearfix:before,
.clearfix:after,
.clear:before,
.clear:after,
.row:before,
.row:after {
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0; }
.row:after,
.clearfix:after,
.clear:after,
.row:after {
  clear: both; }
.row,
.clear,
.clearfix { zoom: 1; }

/* .container class is cleared by default */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }


/* --------------------------------------------------------------
WordPress Elements
-------------------------------------------------------------- */
.wp-caption {
	margin: 0 0 15px;
	text-align:center;
}
.wp-caption img {
	margin-top: 5px;
}

.wp-caption .wp-caption-text {
	font-size: 0.8em;
	line-height: 17px;
	padding: 5px 4px;
	margin: 0;
}

.aligncenter {
	display:block;
	margin:0 auto 20px;
}

.alignright {
	float:right;
	margin: 10px 0 30px 40px;
}

.alignleft {
	float:left;
	margin: 10px 40px 30px 0;
}

.floatleft {
	float:left;
}

.floatright {
	float:right;
}

img.aligncenter,
img.alignright,
img.alignleft {
	text-align:center;
}

.textcenter {
	text-align:center;
}

.textright {
	text-align:right;
}

.textleft {
	text-align:left;
}

.screen-reader-text {
	position: absolute;
	left: -9000px;
}


/* --------------------------------------------------------------
Basic Styles
-------------------------------------------------------------- */
body {
	background: #f6f6f6;
	font: 16px/1.5 'Lato', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
	color: #555;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

img.float-left {
	margin: 0 40px 30px 0;
}

img.float-right {
	margin: 0 0 30px 40px;
}

a, a:visited {
	color: #f56559;
	text-decoration: none;
	-webkit-transition: color .1s ease-in-out;
	-moz-transition: color .1s ease-in-out;
	-o-transition: color .1s ease-in-out;
	transition: color .1s ease-in-out;
	border-bottom: 1px solid #ddd;
}

a:hover {
	color: #000;
}

hr {
	display: block;
	height: 2px;
	width: 60px;
	background: #ddd;
	border: 0;
	margin: 20px 0;
	clear: both;
}

form {
	margin: 0;
	padding: 0;
}

input {
	outline: none;
}

input[type="text"],
input[type="email"],
textarea {
	display: block;
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	margin: 0;
	padding: 10px;
	background: #fff;
	color: #999;
	font-family: inherit;
	font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
	outline: none;
	border-color: #ccc;
}

::-webkit-input-placeholder { color: #ccc; }
:-moz-placeholder { color: #ccc; }
::-moz-placeholder { color: #ccc; }
:-ms-input-placeholder { color: #ccc; }

textarea {
	width: 100%;
}

label {
	display: block;
	text-transform: uppercase;
	color: #aaa;
	font-size: 12px;
	margin-bottom: 15px;
	font-weight: bold;
	line-height: 1;
}

* { 
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
}


/* --------------------------------------------------------------
Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Slab', serif;
	font-weight: 700;
	color: #333;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight:inherit; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 15px; }

p       { margin-bottom: 20px;}
em      { font-style: italic;}
strong  { font-weight: bold;}
.small  { font-size: 80%;}
.center { text-align: center;}

.single .post-title,
.page .post-title,
.archive-title {
	font-size: 34px;
}

.page .post-title {
	margin: 0 0 20px;
}

.single article .content,
.page article .content {
	font-size: 18px;
	line-height: 1.8;
}


/* --------------------------------------------------------------
Main Grid
-------------------------------------------------------------- */
.container {
	max-width: 1160px;
	padding: 0px;
	margin: 0 auto;
	position: relative;
}

#content {
	padding: 40px 0;
}

.search-results #content, .archive #content {
	max-width: 1180px;
}

.home .blocks {
	margin: -40px -10px;
}

.loading-container {
  padding: 80px 20px 50px 20px;
  text-align: center;
  color: #aaa;
}

.single #main,
.page #main {
	padding-right: 4%;
	float: left;
	width: 74%;
}

.single .single-post-container,
.page .page-container {
	background: #fff;
	padding: 50px;
	border: 1px solid;
	border-color: #f1eeea #ece9e6 #e2dfdc;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.04)
}

/* --------------------------------------------------------------
Header
-------------------------------------------------------------- */
#header {
	position: relative;
	background: #fff;
	padding: 40px 0;
}

#header .logo {
	float: left;
}

#header .logo img {
	max-height: 60px;
}

#header .logo .site-title {
	margin-bottom: 0;
	display: inline-block;
	border: 0;
	color: #333;
}

	#header .logo .site-title h1 {
		font-size: 26px;
		line-height: 1;
		margin: 0;
	}

#header .logo .site-description {
	font-size: 14px;
	line-height: 1;
	color: #aaa;
	font-weight: normal;
	margin: 10px 0 0 0;
}


/* --------------------------------------------------------------
Navigation
-------------------------------------------------------------- */
#navigation {
	background-color: #fff;
	border-top: 1px solid #e9e7e5;
	border-bottom: 1px solid #e9e7e5;
	box-shadow: 0px 1px 2px rgba(0,0,0,0.02), inset 0px -2px 1px rgba(0,0,0,0.02);
}

#navigation > .container {
	border-left: 1px solid #eee;
}

#primary-nav {
	display: inline-block;
	float:left;
}

#primary-nav li {
	position: relative;
	display: inline-block;
	border-right: 1px solid #eee;
	margin-right: -3px;
}

#primary-nav li a,
.search-button,
.mobile-menu-button {
	display: block;
	padding: 15px 25px;
	color: #777;
	font-family: 'Roboto Slab';
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	border-bottom: 0;
}

#primary-nav li a:hover,
.search-button:hover,
.mobile-menu-button:hover {
	color: #f56559;
}

#primary-nav li a:active,
.search-button:active,
.mobile-menu-button:active {
	color: #f56559;
	background: #fbfbfb;
	box-shadow: inset 0px 1px 2px rgba(0,0,0,0.05)
}

/* Dropdown Menu */
#primary-nav li ul {
	display: none; /* hide dropdown menu */
	background: #333;
	position: absolute;
	top: 51px;
	left: -1px;
	z-index: 10;
}

#primary-nav li ul li {
	display: block;
	border: 0;
	margin: 0;
	white-space: nowrap;
	border-bottom: 1px solid #444;
}

#primary-nav li ul li:last-child {
	border: 0;
}

#primary-nav li ul li a {
	padding: 15px;
	color: #999;
}

#primary-nav li ul li a:hover {
	color: #fff;
}

#primary-nav li ul li a:active {
	background: transparent;
	color: #fff;
}

#primary-nav li:hover ul {
	display: block; /* display dropdown menu on hover */
}

/* Mobile menu */
.mobile-menu-button {
	display: none;
	float: left;
	border-right: 1px solid #eee;
	cursor: pointer;
}

/* Search button in menu */
#navigation .search-button {
	float: right;
	border-left: 1px solid #eee;
	margin-right: 0;
	position: relative;
	display: inline-block;
	border-right: 1px solid #eee;
	margin-right: 0;
	cursor: pointer;
}

	#navigation .search-button .fa-times,
	#navigation .search-button.active .fa-search {
		display: none;
	}

	#navigation .search-button.active .fa-times {
		display: inline-block;
	}


/* --------------------------------------------------------------
Search Bar
-------------------------------------------------------------- */
#search-bar {
	display: none;
	background: #393a3d;
	padding: 15px 0;
	box-shadow: 0px 1px rgba(255,255,255,1), inset 0px 1px 3px rgba(0,0,0,0.5);
}

#search-bar label {
	margin-bottom: 0;
}

#search-bar .search-form {
	float: right;
}

#search-bar .search-form .fa {
	margin-right: 10px;
	font-size: 16px;
	color: #69696c;
}

#search-bar .search-form input {
	font-family: inherit;
	font-size: 14px;
	width: 373px;
	border: 0;
	background: #525356;
	padding: 10px 0 10px 5px;
	color: #fff;
	border-radius: 3px;
}

#search-bar .search-submit {
	display: none;
}


/* --------------------------------------------------------------
Sidebar & Widgets
-------------------------------------------------------------- */
#sidebar {
	font-size: 14px;
	line-height: 24px;
	float: left;
	width: 26%;
	margin: 10px 0 30px 0;
}

#sidebar .widget {
	margin-bottom: 30px;
}

#sidebar input {
	width: 100%;
}

#sidebar h6 {
	text-transform: uppercase;
	color: #656565;
	margin: 0 0 10px;
}

#sidebar li {
	line-height: 32px;
}

#sidebar li:before {
	content: "\f105";
	font-family: 'FontAwesome';
	color: #ccc;
	margin-right: 10px;
}

#sidebar a {
	color: #656565;
}

#sidebar a:hover {
	color: #f56559;
}

#sidebar .textwidget {
	font-size: 16px;
	line-height: 1.5;
}

/* Calendar widget */
#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	text-align: right;
	color: #333;
	font-size: 12px;
	margin-top: 10px;
	margin-bottom: 15px;
}

#wp-calendar thead {
	font-size: 10px;
}

#wp-calendar thead th {
	padding-bottom: 10px;
}

#wp-calendar tbody {
	color: #aaa;
}

#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	text-align: center;
	padding:8px;
}

#wp-calendar tbody td:hover {
	background: #fff;
}

#wp-calendar tbody .pad {
	background: none;
}

#wp-calendar tfoot #next,
#wp-calendar tfoot #prev {
	font-size: 10px; text-transform: uppercase;
}

#wp-calendar tfoot #next {
	text-align: right;
}

#wp-calendar tfoot #prev {
	padding-top: 10px;
}

/* RSS widget */
.rss-date {
	color: #aaa;
	display: block;
	font-size: 13px;
	margin-bottom: 10px;
}


/* --------------------------------------------------------------
Posts & Pages
-------------------------------------------------------------- */
#blocks {
	margin-bottom: 20px;
}

article.block {
	position: relative;
	width: 373px;
	margin: 20px 10px 0 10px;
	display: none;
}

article.block .featured {
	display: block;
	font-size: 0px;
	line-height: 1;
	margin-bottom: -3px;
}

article.block .featured a {
	border-bottom: 0;
}

article.block .category {
	font-size: 10px;
	text-transform: uppercase;
	font-weight: bold;
}
	article.block .category a {
		color: #999;
		border: 0;
	}

article.block .content {
	background: #fff;
	border: 1px solid;
	border-color: #f1eeea #ece9e6 #e2dfdc;
	border-radius: 3px;
}

article.block .inner {
	padding: 30px;
}

article.block p {
	margin-bottom: 0;
}

article.block .metadata {
	float: left;
	width: 100%;
	padding: 15px 30px;
	background: #fafafa;
	font-size: 13px;
	line-height: 1;
	color: #aaa;
	font-weight: bold;
	text-transform: uppercase;
	border-top: 1px solid #f5f5f5;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}

	article.block .metadata a {
		color: #aaa;
		text-decoration: none;
		border: 0;
	}
		article.block .metadata a:hover {
			color: #777;
		}
	
	article.block .metadata i {
		color: #ddd;
	}


.post-title {
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 10px;
}

.post-title a,
.content .post-title a {
	border: 0;
	color: #333;
}

.post-title a:hover {
	color: #000;
}

/* --------------------------------------------------------------
Post Elements
-------------------------------------------------------------- */
/* Headers */
.content h1, 
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	margin-bottom: 20px;
}

/* Blockquotes */
.content blockquote {
	width: 100%;
	font-style: italic;
	padding: 0 0 0 20px;
	margin-bottom: 20px;
	font-size: 18px;
	color: #aaa;
}

.content blockquote cite {
	display: block;
	font-size: 14px;
	color: #bbb;
	font-weight: bold;
	font-style: normal;
	text-transform: uppercase;
	text-align: right;
	margin-top: 10px;
}

.content cite {
	font-style: italic;
}

/* Lists */
.content ol,
.content ul {
	background: #f8f8f8;
	font-size: 16px;
	line-height: 1.5;
	padding: 40px 40px 40px 60px;
	margin-bottom: 25px;
}
	.content ol ul,
	.content ol ol,
	.content ul ul,
	.content ul ol {
		padding: 0;
		margin: 10px 0 0 30px;
	}

.content ul li {
	list-style-type: square
}
.content ol li {
	list-style-type: decimal
}

.content ul li,
.content ol li {
	margin-bottom: 10px;
}

/* Tables */
.content table {
	border: dotted 1px #e5e5e5;
	padding: 15px 20px;
	margin-bottom: 20px;
}

.content table th, .content table td {
	padding: 10px;
}

.content table th {
	font-weight: bold;
}

.content table td {
	border-bottom: 1px solid #f5f5f5;
}

.content table tr:last-child td {
	border-bottom: 0;
}

/* Definition Lists */
dl {
	margin-bottom: 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 15px 10px;
}

/* Address Tag */
address {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 10px 0;
	margin-bottom: 20px;
}

/* Abbreviation & Acronym */
abbr, acronym {
	border-bottom: 1px dotted #777;
	cursor: help;
}

/* Code */
.content code,
.content kbd {
	background: #f7f7f7;
	padding: 0 4px;
}

code, kbd, tt, var {
	font-family: Courier, monospace;
	font-size: 15px;
}

pre {
	position: relative;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	background: #272822;
	color: #fff;
	padding: 20px;
	margin-bottom: 20px;
	overflow: auto;
}

	pre:before {
		position: absolute;
		top: 20px;
		right: 20px;
		font-family: FontAwesome;
		content: "\f121";
		color: #555;
		font-size: 16px;
	}

	.content pre > code {
		background: none;
	}

/* Inserted Text */
mark, ins {
	background: #fff9c1;
	text-decoration: none;
}

/* Divider */
hr {
	display: block;
	height: 2px;
	width: 60px;
	background: #ddd;
	border: 0;
	margin: 20px 0;
	clear: both;
}

/* Superscript and subscript */
sup {
	vertical-align: super;
	font-size: smaller;
}

sub {
	vertical-align: sub;
	font-size: smaller;
}

/** Prev/Next links */
.adjacent-navigation {
	margin: 50px -50px -50px;
	border-top: 1px solid #efefef;
}

.single-format-quote .single-post-container .adjacent-navigation {
	margin-top: 0 !important;
	border-top: none;
}

.adjacent-navigation .inner {
	display: table;
	width: 100%;
}

.adjacent-navigation a {
	width: 50%;
	color: #555;
	border: none;
	text-decoration: none;
	font-size: 14px;
	padding-top: 20px;
	padding-bottom: 20px;
	display: table-cell;
	position: relative;
	line-height: 1.5;
	vertical-align: middle;
	margin-bottom: -25px;
}
	
	#content .adjacent-navigation a {
		color: #888;
	}

	#content .adjacent-navigation a:hover {
		color: #F56559;
	}

.adjacent-navigation a div {
	display: block;
	padding: 0 20px;
}
.adjacent-navigation a[rel="prev"] {
	border-right: 1px solid #efefef;
}
.adjacent-navigation a[rel="prev"] div {
	padding-left: 45px;
}
.adjacent-navigation a[rel="next"] div {
	text-align: right;
	padding-right: 45px;
}

.adjacent-navigation a i {
	position: absolute;
	top: 50%;
	margin-top: -6px;
}
.adjacent-navigation a[rel="prev"] i {
	left: 20px;
}
.adjacent-navigation a[rel="next"] i {
	right: 20px;
}

	

/* --------------------------------------------------------------
Post Formats
-------------------------------------------------------------- */
article.format-standard .featured {
	background: #fefefe;
	position: relative;
}

article.error-404 {
	margin: 100px 0;
	text-align: center;
	border: 0;
}
	article.error-404 #s {
		margin: 0 auto;
	}

/* Quote post format */
article.block.format-quote .content,
.quote-single {
	background: #393a3d;
	border: 0;
	text-align: center;
	font-family: 'Roboto Slab', serif;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
}

article.block.format-quote .content .quote-author,
.quote-single .quote-author {
	color: #9b9ea5;
	font-size: 16px;
}

article.block.format-quote .content .inner:before,
.quote-single:before {
	content: "\f10e";
	font-family: 'FontAwesome';
	color: #505257;
	position: absolute;
	bottom: 10px;
	right: 15px;
}

.quote-single {
	position: relative;
	padding: 50px;
}

.quote-single p {
	margin-bottom: 10px;
}

.single-format-quote .single-post-container {
	padding-top: 0 !important;
}
/* Gallery post format */
#content div[id*='gallery-'] img {
	border: none;
}
#content .gallery-item a:hover {
	border: none;
}

.gallery-caption {
	font-size: 0.8em;
}

.flex-prev, .flex-next {
	border: 0;
}

/* Link post format */
.post-title .link-icon i {
	margin-left: 10px;
	color: #ccc;
	font-size: 14px;
}

/* More link */
a.more-link {
	display: block;
	margin: 30px 0 0;
}

/* Sticky */
article.sticky:after {
	position: absolute;
	display: block;
	content: "\f02e";
	font-family: 'FontAwesome';
	color: #f56559;
	top: -4px;
	right: 10px;
}

/* Single posts and pages */
.single .featured, .page .featured {
	margin-bottom: -7px;
}


/* --------------------------------------------------------------
Search Results
-------------------------------------------------------------- */
.search .archive-title,
.archive .archive-title {
	display: none;
	font-family: 'Lato';
	text-transform: uppercase;
	text-align: center;
	color: #999;
	font-size: 24px;
}


/* --------------------------------------------------------------
Metadata
-------------------------------------------------------------- */
.metadata {
	margin: 0;
}

.single .metadata {
	margin-bottom: 20px;
}

.metadata li {
	float: left;
	margin-right: 20px;
	margin-left: 0;
	list-style-type: none;
}

.metadata i {
	color: #ccc;
	margin-right: 5px;
}

.single .metadata i {
	margin-right: 10px;
}

.metadata a,
.metadata a:visited {
	color: #999;
	border: 0;
}

.metadata a:hover {
	color: #222;
}


/* --------------------------------------------------------------
Contact Form (with Jetpack plugin)
-------------------------------------------------------------- */
.contact-form {
	margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
	width: 100% !important;
	max-width: 100% !important;
}

.contact-form label {
	margin-bottom: 10px !important;
	color: #777;
}

.contact-form input {
	margin-bottom: 20px !important;
}

.contact-form textarea {
	margin-bottom: 30px !important;
}

.contact-form .contact-submit {
	margin-bottom: 0;
}


/* --------------------------------------------------------------
Sharing (with Jetpack plugin)
-------------------------------------------------------------- */
.sd-sharing {
	padding: 20px 20px 15px 20px !important;
	border-top: none !important;
	margin: 40px 0 !important;
	background: #f7f7f7;
}

div.sharedaddy h3,
#content div.sharedaddy h3,
#main div.sharedaddy h3,
#primary div.sharedaddy h3 {
	font-family: 'Lato', inherit !important;
	font-size: 15px !important;
}

div.sharedaddy h3::before,
#content div.sharedaddy h3::before,
#main div.sharedaddy h3::before,
#primary div.sharedaddy h3::before {
	border-top: none;
	margin-bottom: 0;
}


/* --------------------------------------------------------------
Subscribing (with Jetpack plugin)
-------------------------------------------------------------- */
#subscribe-email {
	margin-bottom: 10px;
}

#subscribe-field {
	padding: 10px;
}


/* --------------------------------------------------------------
Comments
-------------------------------------------------------------- */
.comments ul {
	margin-left: 0;
	margin-bottom: 0;
}
.comments ul li {
	list-style-type: none;
}

.comment ul {
	margin-left: 2em;
	margin-bottom: 30px;
}
.comment ul li {
	list-style-type: disc;
}

#comments h3 {
	font-size: 18px;
}

.comments h5 {
	margin: 60px 0 30px 0;
}

.comment .avatar {
	float: left;
	margin: 0 20px 20px 0;
	border-radius: 3px;
}

.comment .fn {
	color: #555759;
	margin-bottom: 0;
	font-weight: bold;
	position: relative;
	line-height: 1;
}

.comment .comment-meta {
	display: block;
	font-size: 14px;
	line-height: 1;
	margin-bottom: 10px;
	color: #777;
}

.comment .comment-body {
	position: relative;
	overflow: hidden;
}

.commentlist {
	margin-bottom: 50px;
}

.commentlist ul {
	margin-left: 70px;
}

/* Comment form */
#commentform h3 {
	text-transform: uppercase;
	color: #aaa;
}

#commentform .required {
	text-transform: uppercase;
	color: #aaa;
	font-size: 12px;
	margin-bottom: 15px;
	font-weight: bold;
	line-height: 1;
}

#commentform label {
	display: block;
}

#commentform textarea {
	width: 100%;
	min-height: 140px;
}

.comment-form-comment {
	margin-bottom: 20px;
}

.comment-notes, .form-allowed-tags, .closed-comments {
	font-size: 12px;
	line-height: 24px;
	color: #bbb;
	text-transform: uppercase;
	font-weight: bold;
}

.form-submit {
	float: right;
	margin-bottom: 0;
}

a#cancel-comment-reply-link,
a#cancel-comment-reply-link:visited,
a.comment-reply-link,
a.comment-reply-link:visited {
	color: #bbb;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="submit"] {
	font-family: inherit;
}

.comments-number {
	font-size: 14px;
	font-weight: normal;
	color: #ccc;
}

.comments h5 {
	margin: 60px 0 30px 0;
}

.comments li {
	padding: 10px 0;
}

.comment .avatar {
	float: left;
	margin: 0 20px 20px 0;
}

.comment h5 {
	color: #555759;
	margin: 20px 0 0 0;
}

.comment .fn {
	float: left;
	margin-right: 5px;
}

.comment .fn a {
	color: #000;
	border: 0;
}

.bypostauthor .fn {
	color: #000;
}

.comment .comment-meta {
	margin: 2px 0 5px 0;
	font-size: 12px;
}

.comment .comment-parent,
.comment .comment-date {
	color: #bcbcbc;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 20px;
}

.comment .comment-parent {
	margin-left: 7px;
}

.comment span.bullet {
	color: #bcbcbc;
	font-weight: bold;
	margin: 0 5px;
}

.comment-edit-link {
	color: #888;
}

.comment .comment-content {
	display: block;
	clear: both;
}
.comment .comment-content p {
	margin-bottom: 10px;
}
	.comment .comment-content p:last-child {
		margin-bottom: 5px;
	}

.reply {
	position: relative;
}

.comment-reply-link {
	font-size: 14px;
	border: 0;
	text-transform: uppercase;
}

#respond {
	padding: 15px 0;
}

li #respond {
	margin-left: 70px;
}

#comments #reply-title {
	font-size: 13px;
	float: right;
	margin: 0;
	font-weight: normal;
	line-height: 12px;
}

#comments .comment-parent i,
#comments .reply i {
	font-size: 11px;
}

.comment-form-fields {
	-webkit-column-count: 3; 
	-webkit-column-gap: 20px; 
	-webkit-column-fill: auto; 
	-moz-column-count: 3; 
	-moz-column-gap: 20px; 
	-moz-column-fill: balance; 
	column-count: 3; 
	column-gap: 20px;
	column-fill: auto;
}

.comment-form-fields input {
	width: 100%;
}

.comment-form h6 {
	text-transform: uppercase;
	color: #aaa;
	margin: 0 0 20px;
}

.comment-form input {
	margin-bottom: 40px;
}

.comment-form input[type="checkbox"],
.comment-form input#submit {
	margin-bottom: 0;
}

.comment-form textarea {
	width: 100%;
	min-height: 140px;
	margin-bottom: 20px;
	color: #555;
}

.comment-subscription-form {
	margin-bottom: 0;
}

/* fix */
p.comment-form-author {
	margin-top: 2px;
}

input,
#respond input {
	-webkit-appearance: none;
}

input[type="submit"],
.form-submit input[type="submit"] {
	-webkit-border-radius: 3px;
	border-radius: 3px;
}


/* --------------------------------------------------------------
Pagination
-------------------------------------------------------------- */
.pagination {
	width: 100%;
	text-align: center;
	font-size: 16px;
	line-height: 1;
	font-weight: bold;
	margin-bottom: 30px;
	margin-top: 40px;
}

.pagination .btn {
	background: #fff;
	padding: 10px 15px;
	margin: 0 3px;
	border-radius: 3px;
	border: 1px solid #e8e8e8;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.pagination span.btn {
	color: #f56559;
}

.pagination a.btn {
	color: #777;
}

.pagination a.btn.light:hover {
	background: #fafafa;
	color: #f56559;
}

.pagination i {
	font-size: 10px;
	position: relative;
	top: -1px;
}

/* --------------------------------------------------------------
Comments
-------------------------------------------------------------- */
#comments {
	margin-top: 35px;
	padding-top: 35px;
	border-top: 2px solid #eee;
}

/* --------------------------------------------------------------
Contact form
-------------------------------------------------------------- */
.contact h6 {
	text-transform: uppercase;
	color: #aaa;
	margin: 0 0 20px;
}

.contact input {
	width: 100%;
	margin-bottom: 40px;
}

.contact textarea {
	width: 100%;
	min-height: 140px;
	margin-bottom: 40px;
}

.contact button {
	float: right;
}

.message {
	text-transform: uppercase;
	color: #bbb;
	letter-spacing: 1px;
	font-weight: bold;
}

label.error {
	display: block;
	font-size: 12px;
	font-weight: bold;
	color: #f36b6b;
	text-transform: uppercase;
	margin-top: -30px;
	margin-bottom: 30px;
}


/* --------------------------------------------------------------
Footer
-------------------------------------------------------------- */
#footer {
	background: #393a3d;
	color: #999;
	padding: 40px 0;
}

#footer .container {
	color: #888;
}

#footer .footer-left {
	float: left;
	max-width: 48%;
}

#footer .footer-right {
	float: right;
	max-width: 48%;
}

#footer .footer-text {
	display: block;
	margin: 0;
	font-size: 16px;
}

	#footer .footer-text a {
		color: #aaa;
		border-color: #555;
	}
	
	#footer .footer-text a:hover {
		color: #fff;
	}

/* Footer nav */
#footer-nav {
	margin-bottom: 5px;
}

#footer-nav li {
	display: inline-block;
	margin: 0 10px 0 0;
}

#footer-nav li a {
	border: 0;
	font-size: 14px;
	font-weight: bold;
	color: #999;
	text-transform: uppercase;
}

#footer-nav li a:hover {
	color: #fff;
}

/* Social icons */
#footer .footer-social a {
	display: inline-block;
	border: 0;
	color: #aaa;
	font-size: 24px;
}

#footer .footer-social a:hover {
	color: #fff;
}

#footer .footer-social a .fa-linkedin-square {
	font-size: 26px;
}

/* --------------------------------------------------------------
Buttons
-------------------------------------------------------------- */
button,
.btn,
input[type="submit"],
.form-submit input,
.widget_search #searchsubmit {
	display: inline-block;
	border: 0;
	outline: 0;
	margin: 0;
	padding: 15px 20px;
	color: #fff;
	background: #f56559;
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 3px;
}

button:hover,
.btn:hover,
input[type="submit"]:hover,
.form-submit input:hover,
.widget_search #searchsubmit:hover {
	background: #f08278;
	color: #fff;
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-o-transition: all .1s ease-in-out;
	transition: all .1s ease-in-out; 
}

/* --------------------------------------------------------------
Helpers
-------------------------------------------------------------- */
#content .fixed {
	position: fixed
}

.overflow {
	overflow: hidden;
}

/* --------------------------------------------------------------
Advertisements
-------------------------------------------------------------- */

/* Header Ad */
#ad-header {
	float: right;
}

/* Single Ad */
#ad-single {
	margin-top: 35px;
	padding-top: 35px;
	border-top: 2px solid #eee;
	text-align: center;
}

.sample-ad {
	text-align: center;
	color: #aaa;
	width: 100%;
	border: 1px solid #ddd;
	line-height: 70px;
}

#ad-header .sample-ad {
	width: 500px;
	height: 70px;
	line-height: 70px;
}

/* --------------------------------------------------------------
Media queries
-------------------------------------------------------------- */
@media only screen and (min-width: 1220px) {
	#primary-nav {
		display: block !important;
	}
}

@media only screen and (max-width: 1219px) {
	.container {
		max-width: 718px;
	}

	.search-results #content,
	.archive #content {
		max-width: 738px;
	}

	#primary-nav {
		display: none;
		position: absolute;
		top: 52px;
		left: -1px;
		background: #333;
		z-index: 100;
		width: 100%;
	}

	#primary-nav li {
		display: block;
		border-right: 0;
		border-bottom: 1px solid #444;
		margin-right: 0;
	}

	#primary-nav li a {
		display: block;
		padding: 15px;
	}
	
	#primary-nav li a {
		color: #aaa;
	}

	#primary-nav li a:hover {
		color: #fff;
	}

	#primary-nav li a:active {
		background: #333;
		color: #fff;
		box-shadow: none;
	}

	#primary-nav li ul {
		background: #444;
		display: block;
		position: relative;
		top: 0;
		left: 0;
	}

	#primary-nav li ul li {
		padding-left: 15px;
		border-bottom: 1px solid #555;
	}

	.mobile-menu-button {
		display: block;
	}

	article.block {
		width: 349px;
	}

	.single .single-post-container,
	.page .page-container {
		padding: 40px;
	}

	.single #content,
	.page #content {
		padding: 20px 0 0 0;
	}

	#ad-header {
		float: left;
		margin-top: 20px;
		width: 100%;
	}

	#ad-header,
	#ad-single {
		display: none;
	}

	.adjacent-navigation {
		margin: 40px -40px -40px;
	}

	#comments {
		margin-top: 15px;
		padding-top: 25px;
	}

}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	body,
	.single article .content,
	.page article .content,
	blockquote {
		font-size: 14px;
		line-height: 1.6;
	}

	.container {
		max-width: 300px;
	}

	#header,
	#footer {
		padding: 20px;
	}

	#sidebar {
		padding: 0 20px;
	}

	.search-results #content,
	.archive #content {
		max-width: 320px;
	}

	article.block {
		width: 300px;
	}

	article.block .inner,
	.single .single-post-container,
	.page .page-container {
		padding: 20px;
	}

	article.block .metadata {
		padding: 15px 20px;
	}

	.single #main,
	.page #main {
		width: 100%;
		padding-right: 0;
	}

	#sidebar {
		width: 100%;
		margin: 30px 0;
	}

	.single .post-title,
	.page .post-title,
	.archive-title,
	.search .archive-title,
	.archive .archive-title {
		font-size: 18px;
		margin-bottom: 10px;
	}

	#search-bar .search-form .fa {
		display: none;
	}

	.search-form,
	#search-bar .search-form input {
		width: 100%
	}
	
	.content table {
		padding: 0;
	}

	.content ol,
	.content ul {
		font-size: 13px;
		padding: 20px 20px 20px 40px;
	}

	pre {
		padding: 10px;
		font-size: 13px;
	}

	pre:before {
		top: 10px;
		right: 10px;
	}

	.comment-form-fields {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}

	.comment-form input {
		margin-bottom: 20px;
	}
	
	.comment-form .form-submit {
		margin-bottom: 20px;
		float: none;
	}
	.comment-form input#submit {
		width: 100%;
	}

	.contact-form {
		margin-top: 20px;
	}

	#footer .footer-left,
	#footer .footer-right {
		max-width: 100%;
		float: left;
	}
	
	#footer .footer-social {
		margin-top: 10px;
	}

	#footer .footer-social a {
		font-size: 28px;
	}

	#footer .footer-social a .fa-fw {
		width: auto;
		margin-right: 10px;
	}

	.adjacent-navigation,
	.single-format-quote .single-post-container {
		display: none;
	}

}

/* MISC */
.icon-spin-reverse {
	display: inline-block;
	-moz-animation: spin 2s infinite linear reverse;
	-o-animation: spin 2s infinite linear reverse;
	-webkit-animation: spin 2s infinite linear reverse;
	animation: spin 2s infinite linear reverse;
}

/** Infinite scroll support */
.infinite-loader {
	position: fixed;
	left: 50%;
	top: 50%;
}

.infinite-wrap {
	display: none;
}

.no-more-posts {
	margin: 20px 0;
	width: 100%;
	display: none;
}
	.no-more-posts .inner {
		padding: 20px 30px;
		margin: 0 10px;
		border: 1px solid #e8e8e8;
		background: #fff;
		text-align: center;
	}
	.no-more-posts h4 {
		margin: 0;
	}
.infinity-end.neverending .no-more-posts {
	display: block;
}

#infinite-handle {
	display: none;
	visibility: hidden;
	opacity: 0;
}
