/* =Content
----------------------------------------------- */

.sticky {
	background: inherit; // dummy
}
.page-header, .hentry, .post-navigation, .paging-navigation {
	padding: 10px;
	padding: 1rem;
}
.page-header {
	margin: 0 0 30px;
	margin: 0 0 3rem;
	@include secondary-box;
	text-align: center;
}
.site-content {
	width: 100%;
}
.hentry {
	width: auto;
	max-width: 580px;
	@include primary-box;
	margin: 0 auto 20px;
	margin: 0 auto 2rem;
}
.entry-header {
	text-align:center;
}
.entry-title {
	font-size: 16px;
	font-size: 1.6rem;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
	a {
		color: $heading-color;
		&:hover {
			color: $link-color;
		}
	}
	&:before {
		color: #888;
	}
}

.entry-content,
.entry-summary,
.comment-content,
.pingback {
	font-size: 12px;
	font-size: 1.2rem;
	h1, h2, h3, h4, h5, h6 {
		margin: 0 0 10px;
		margin: 0 0 1rem;
	}
	h1 {
		font-size: 16px;
		font-size: 1.6rem;
		border-bottom: 1px solid $border-color;
	}
	h2 {
		font-size: 15px;
		font-size: 1.5rem;
	}
	h3 {
		font-size: 14px;
		font-size: 1.4rem;
	}
	h4 {
		font: bold 13px $sans-font;
		font: bold 1.3rem $sans-font;
		text-transform: uppercase;
	}
	h5 {
		font: bold 12px $sans-font;
		font: bold 1.2rem $sans-font;
		text-transform: uppercase;
	}
	h6 {
		font: bold 12px $sans-font;
		font: bold 1.2rem $sans-font;
	}
}

.not-found {
	.entry-content {
		text-align: center;
	}
	#searchsubmit {
		display: inline-block;
	}
}


.entry-meta {
	clear: both;
	font-size: 12px;
	font-size: 1.2rem;
	color: #888;
	span {
		display: inline-block;
		margin-right: 1em;
		&.byline {
			display: none;
		}
		&.post-author {
			margin-right: 0;
		}
	}
}


.tag-post-formats,
.post-password-required {
	.entry-title:before {
		@include fontello;
		margin-right: 0.4em;
	}
}
.format-image, .single-format-image {
	.entry-title:before  {
		content: '\e805 \0020';
	}
}
.format-gallery, .single-format-gallery {
	.entry-title:before  {
		content: '\1f304 \0020';
	}
}
.format-chat, .single-format-chat {
	.entry-title:before  {
		content: '\e802 \0020';
	}
}
.format-link, .single-format-link {
	.entry-title:before  {
		content: '\e807 \0020';
	}
}
.format-quote, .single-format-quote {
	.entry-title:before  {
		content: '\275d \0020';
	}
}
.format-audio, .single-format-audio {
	.entry-title:before  {
		content: '\e804 \0020';
	}
}
.format-video, .single-format-video {
	.entry-title:before  {
		content: '\e806 \0020';
	}
}
.format-status, .single-format-status {
	.entry-title:before  {
		content: '\1f514 \0020'; // icon-bell
	}
}
.format-aside, .single-format-aside {
	.entry-title:before  {
		content: '\e732 \0020';
	}
}
.post-password-required {
	.entry-title:before  {
		content: '\e708 \0020';
	}
}

footer.entry-meta {
	border-top: 1px solid $border-color;
	padding-top: 10px;
	padding-top: 1rem;
}
.single .entry-meta .byline,
.group-blog .entry-meta .byline,
{
	display: inline;
}
.attachment .entry-meta .byline {
	display: none;
}
.entry-content,
.entry-summary {
	margin: 1em 0 0;
}
.featured-image {
	width: 100%;
	text-align: center;
	line-height: 0;
}
.wp-post-image {
	@include blocks-box;
	margin: 0 0 10px;
	margin: 0 0 1rem;
	max-width: 100%;
	height: auto;
	text-align: center;
	line-height: 0;
	&.attachment-post-thumbnail {
		float: right;
		width: 80px;
		width: 8rem;
		margin: 0.4em 0 10px 10px;
		margin: 0.4em 0 1rem 1rem;
	}
}

.page-links {
	clear: both;
	@include secondary-box;
	margin: 0 0 1em;
	padding: 1rem;
	text-align: center;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	a {
		display: none;
	}
}


/* =Chat
----------------------------------------------- */
.format-chat .entry-content {
	@include blocks-box;
	margin: 0 0 1.5em;
	padding: 1rem;	
	p:last-child {
		margin-bottom: 0;
	}
}

/* =format-link
----------------------------------------------- */
.format-link .entry-content a:first-child {
	display: block;
	@include blocks-box;
	margin: 0 0 1.5em;
	padding: 1rem;	
	text-align: center;
}


/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
.site-header img,
.entry-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
}
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	max-width: 100%;
}
.wp-caption, .entry-attachment {
	margin-bottom: 1.5em;
	img {
		@include blocks-box;
	}
}
.wp-caption-text, .entry-attachment .entry-caption p {
	@include blocks-box;
	text-align: center;
}
.site-content .gallery {
	padding-bottom: 1.5em;
}
.gallery-caption {
	font-size: 12px;
	font-size: 1.2rem;
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

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


/* =Navigation
----------------------------------------------- */

.site-content {
	.site-navigation {
		clear: both;
		@include secondary-box;
		margin: 0 0 30px;
		margin: 0 0 3rem;
		overflow: hidden;
		font-size: 12px;
		span:empty {
			display: none;
		}
	}
	.nav-previous, .previous-image {
		float: left;
		text-align: left;		
	}
	.nav-next, .next-image {
		float: right;
		text-align: right;
	}
	.previous-image, .next-image, .comment-navigation div {
		margin: 1rem;
	}
}
