/*
Theme Name: Asuna
Theme URI: http://asuna.otakujournalist.com/
Author: Lauren Orsini
Author URI: http://otakujournalist.com
Description: Asuna is a beginner-friendly theme with multiple layouts and custom colors that you can change without any coding. Designed by an anime blogger for anime bloggers.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asuna
Tags: custom-header, custom-footer, footer-widgets, left-sidebar, right-sidebar, custom-colors

Asuna is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Header
# Footer
# Widgets
# Content
	## Global
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: "Open Sans", 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;
	color: #404040;
	font-weight: 700;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2.2em;
	margin: 0.4em 0;
	line-height: 1em;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.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-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	color: #8c8c8c;
}

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%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

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 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: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #fff;
	border-color: #ccc #ccc #bbb;
	/*border-radius: 3px;*/
	background: #e6e6e6;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);*/
	color: rgba(0, 0, 0, .8);
	font-size: 18px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 1em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	/*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}

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 {
	border-color: #aaa #bbb #bbb;
	/*box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);*/
}

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;
	padding: 3px;
}

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;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
	font-weight: bold;
}

a:visited {
	
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	font-size: .9em;
	position: fixed;
	bottom: 0;
	z-index: 1;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	display: none;
	margin-left: 0.8em;
}

.main-navigation a {
	position: relative;
	display: block;
	padding: 0.8em 1em;
	font-weight: 400;
	text-decoration: none;
	line-height: 1.6em;
	color: white;
	text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation a:focus {
	text-decoration: underline;
}

.main-navigation a,
.main-navigation ul ul li:lastchild a {
	border-bottom: 1px solid white;
}

.main-navigation ul li:last-child a {
	border-bottom: none;
}

.main-navigation ul .toggled-on {
	display: block;
}

.main-navigation li {
	border-top: 1px solid #eaeaea;
	border-top: 1px solid rgba(51, 51, 51, 0.1);
	position: relative;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
	/*font-weight: 700;*/
}

.main-navigation .nav-menu > ul > li:first-child,
.main-navigation .nav-menu > li:first-child {
	border-top: 0;
}

.main-navigation .menu-item-has-children > a,
.main-navigation .page_item_has_children > a{
	padding-right: 48px;
}

.no-js .main-navigation ul ul {
	display: block;
}

.dropdown-toggle {
	position: absolute;
	height: 27px;
	width: 27px;
	top: 8px;
	right: 6px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	padding: 0;
	font-family: 'FontAwesome';
	background-color: rgba(255, 255, 255, 0.5);
	/*border: 1px solid #fff;*/
	content: "";
	color: #fff;
	text-transform: lowercase; /* Stop screen readers from reading the text as capital letters */
}

.dropdown-toggle:after {
	content: "\f078";
	font-size: 12px;
	line-height: 27px;
	position: relative;
	top: 0;
	left: 1px;
	width: 27px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	/*background-color: #fff;
	color: #000;*/
	border: 1px solid #fff;
}

.dropdown-toggle.toggle-on:after {
	content: "\f077";
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: fixed;
	z-index: 100;
	bottom: 1em;
	left: 1em;
	font-size: 1em;
	text-transform: uppercase;
	background-color: #404040;
	color: #fff;
	border: solid 2px #fff;
	transition: all ease-out 400ms;
}

.menu-toggle.hide {
	bottom: -2.5em;
}

/* Make sure the button doesn't hide when menu is open. */

.toggled .menu-toggle.hide {
	bottom: 1em;
}


.menu-toggle:hover,
.menu-toggle:focus {
	text-decoration: underline;
}

@media screen and (min-width: 50em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

/* Hovering menu */

.main-navigation.toggled {
	position: fixed;
	bottom: 0;
	padding: 1em;
	z-index: 1;
}

.nav-menu {
	margin-bottom: 3.5em;
	margin-top: 2em;
	background-color: #404040;
}

.main-navigation.toggled ul {
	max-height: calc(100vh - 8em);
	overflow-y: auto;
}

.main-navigation.toggled ul ul {
	display: none;
}

.main-navigation.toggled ul ul.toggled-on,
.main-navigation.toggled ul ul.toggled-on > ul {
	display: block;
}

/* Horizontal menu on wide screens */
@media screen and (min-width: 800px) {
	
	/* Position the menu in the header */
	.main-navigation,
	.main-navigation.toggled {
		position: relative;
		min-height: none;
		background-color: #000;
	}
	
	.nav-menu {
		padding: 0;
		margin-top: 3em;
		margin-bottom: 0;
	}
	
	.main-navigation ul,
	.main-navigation.toggled ul {
		max-height: none;
		padding-left: 0;
		text-align: center;
	}
	
	.main-navigation.toggled ul {
		overflow-y: visible;
	}
	
	/* Display the menu items in a horizontal order */
	.main-navigation li {
		display: inline-block;
		border: none;
	}
	
	/* Add an outline to the drop-down menus */
	.main-navigation ul ul {
		outline: 1px solid #333;
	}
	
	/* Left-align drop-down menu items */
	.main-navigation li li {
		display: block;
		text-align: left;
	}
	
	.main-navigation a,
	.main-navigation ul ul li:last-child a {
		border-bottom: none;
	}
	
	/* Add an outline on hovered and focused menu items */
	.main-navigation a:hover,
	.main-navigation a:focus {
		background: transparent;
		color: #fff;
		text-decoration: underline;
		/*outline: solid 1px #b3b3b3;*/
	}
	
	/* Create hover and focus contrast on drop-down items */
	.main-navigation li li a:hover,
	.main-navigation li li a:focus {
		background: #eee;
		color: #000;
		text-decoration: none;
	}
	
	/* Position drop-down menus absolutely */
	.main-navigation ul ul.toggled-on {
		position: absolute;
		width: 12em;
		display: block;
		z-index: 10;
		margin-left: 0;
		background: #000;
	}
	
	.main-navigation ul ul ul.toggled-on {
		position: relative;
	}
	
	/* Indent 3rd level drop-down menus */
	.main-navigation ul ul ul a {
		padding-left: 2em;
	}
	
	/* Simplify the drop-down toggle */
	.dropdown-toggle {
		top: 11px;
		right: 12px;
		border: none;
	}
	
	.dropdown-toggle::after {
		line-height: 27px;
		width: 27px;
	}
	
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
	background-size: cover;

}

.site-branding {
	text-align: center;
	background-color: rgba(255, 255, 255, 0.5);
	margin: auto;
	font-family: "Lora", serif;
	width: 35%;
}

.site-title {
	margin: 1em 0;
	font-size: 2.4em;
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	line-height: 1em;
	word-break: break-word;
	padding-top: .5em;
}

@media screen and (max-width: 500px) {
	.site-branding {
		width: 50%;
		margin-bottom: 2em;
	}
	.site-title {
		font-size: 2em;
	}
}

.site-title a {
	text-decoration: none;
	color: inherit;
}

.site-title a:hover, .site-title a:focus {
	text-decoration: underline;
}



.site-description {
	margin: 1.75em 1em 0;
	font-size: 95%;
	color: #000;
	padding-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	padding: 2em;
	text-align: center;
	color: #fff;
	font-size: .9em;
}

.site-footer a {
	color: #fff;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

#secondary {
	position: relative;
	padding: 1.8em 1.4em 0;
}

.widget-area {
}

.widget {
	margin: 0 0 .5em;
	padding: 1.8em;
	background-color: rgba(255, 255, 255, 0.5);
	font-size: .9em;
}

@media screen and (min-width: 400px) {
	#secondary {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		padding: 1.8em;
	}

	.widget {
		float: left;
		width: 300px;
		margin: 0 .9em 1.8em;
	}
}

.widget-title {
	margin-top: .5em
	margin-bottom: .5em;
	font-size: 1.1em;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;

}

.widget ul, 
.widget ol {
	padding: 0 .7em;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	list-style-type: circle;
}

.site-content .widget li {
	display: block;
}

/* Specific Widget Styles */

.widget_archive li {
	color: #808080;
}

.widget_categories .children {
	padding-top: 0;
	padding-bottom: .5em;
	padding-left: .5em;
}

.widget_search .search-submit {
	display: none;
}

.widget_search input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	padding: .5em 1em;
	border: 1px solid #c3c3c3;
	border-radius: 0;
}

.widget_pages .children, .widget_nav_menu .sub-menu {
	padding-top: 0;
}

.widget_rss li {
	margin-bottom: 1em;
}

.rss-date, .widget_rss cite {
	color: #333;
	display: block;
	font-size: .8em;
}

.widget_pages a, .widget_nav_menu a {
	display: block;
	padding: 1em 0;
	border-bottom: 1px solid #c3c3c3;
}

.site-content .widget_meta li {
	padding: .3em 0;
}

.widget_calendar caption {
	padding: .5em 0;
	font-size: 1em;
	font-weight: 700;
	text-align: left;
}

.widget_calendar thead {
	font-size: 1.1em;
	font-weight: 800;
}

.widget_calendar thead th {
	border-bottom-width: 2px;
}

.widget_calendar td {
padding: .25em;
margin: .5em;
line-height: 2em;
}

.widget_calendar th {
	border: none;
}

.widget_calendar tbody {
	padding: .25em;
	margin: 1em;
}

.widget_calendar tbody a {
	background-color: rgba(255, 255, 255, 0.5);
	display: block;
	text-align: center;
}

td #prev {
	text-align: left !important;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
.site-main {
	margin: 1.4em;
	font-size: .8em;
	line-height: 1.6em;
}

/* Rules for sidebar left and sidebar right */
@media screen and (min-width: 65em) {
	
	/* Sidebar Right layouts */
	.sidebar-right .content-area {
		float: left;
		width: calc(100% - 306px);
	}

	.sidebar-right .content-area .page-title, .sidebar-right .content-area .entry-title, .sidebar-right .content-area .entry-meta {
		text-align: left;
	}	


	.sidebar-right #secondary {
		margin: 0;
	}

	.sidebar-right .site-content .widget-area {
		float: right;
		overflow: hidden;
		width: 17em;
		padding: 0 1.5em;
		/*border-left: 1px solid #ededed;*/
	}

	.sidebar-right .widget-title {
	text-align: left;
	color: #404040;

	}

	.sidebar-right .widget-title::after {
	display: block;
	content: "";
	margin: .2em auto;
	width: 100%;
	border-bottom: solid 4px #404040;
	}
	

	/* Sidebar Left layouts */
	.sidebar-left .content-area {
		float: right;
		width: calc(100% - 306px);
	}

	.sidebar-left .content-area .page-title, .sidebar-left .content-area .entry-title, .sidebar-left .content-area .entry-meta {
		text-align: left;
	}	

	.sidebar-left #secondary {
		margin: 0;
	}

	.sidebar-left .site-content .widget-area {
		float: left;
		overflow: hidden;
		width: 17em;
		padding: 0 1.5em;
		/*border-right: 1px solid #ededed;*/
	}

	.sidebar-left .widget-title {
		text-align: left;
		color: #404040;


	}

	.sidebar-left .widget-title::after {
		display: block;
		content: "";
		margin: .2em auto;
		width: 100%;
		border-bottom: solid 4px #404040;
	}
	
	/* Unified styles */
	.sidebar-right #secondary,
	.sidebar-left #secondary {
		background-color: #fff;
		padding: 1.8em 0 0;
		margin: 0;
	}
	
	.sidebar-right .widget,
	.sidebar-left .widget {
		padding: 0 1.8em;
		margin-bottom: 0;
	}
	
	.sidebar-right .widget::after,
	.sidebar-left .widget::after {
		display: block;
		width: 33%;
		margin: 2em auto;
		content: "";
	}
	
}

@media screen and (min-width: 480px) {
	.site-main {
		margin: 1.8em;
	}
}

@media screen and (min-width: 640px) {
	.site-main {
		font-size: 1em;
	}
}

@media screen and (min-width: 900px) {
	.site-main {
		max-width: 750px;
		margin: 1.8em auto;
	}
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.page-title, .entry-title, .entry-meta {
	text-align: center;
	font-size: 2.5em;
	margin: 0.4em 0;
	line-height: 1em;
}

/* Meta */

.entry-meta {
	font-size: .8em;
	color: #545454;
	font-family: "Open Sans", sans-serif;
	padding-top: 0;
}

.entry-meta a {
	font-weight: bold;
}

.entry-header {
	font-family: "Lora", serif;
}

.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;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# 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%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## 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;
}
