/*
Theme Name: Hermes
Theme URI: https://creativemarket.com/tasko/224239-Hermes-WordPress-Theme
Author: Tasko
Author URI: http://tdwp.us/
Description: Modern and minimalistic theme with a clean design.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hermes
Tags: black, responsive-layout, accessibility-ready, custom-menu, editor-style, featured-images, rtl-language-support, sticky-post, threaded-comments, translation-ready

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.

Hermes is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General
	1.1 Inputs and buttons
2.0 Header
	2.1 Header Search Box
3.0 Footer
4.0 Navigation
5.0 Menus
	5.1 Mobile Menu
	5.2 Social Menu
6.0 Toggle Sidebar
7.0 Accessibility
8.0 Alignments
9.0 Clearings
10.0 Widgets
11.0 Content
	11.1 Posts and pages
	11.2 Audio Player
	11.3 Author Section
	11.4 Comments
	11.5 Archive page
12.0 Infinite scroll
13.0 Share Buttons, Tags, Categories and Related Posts
14.0 Media
	14.1 Captions
	14.2 Galleries
15.0 Responsive Design
16.0 Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General
--------------------------------------------------------------*/
body {
	font-size: 18px;
	line-height: 1.65;
	font-family: 'Open Sans', sans-serif;
}

#page {
    position: relative;
	left: 0;
	transition: left 0.15s ease-out;
}

body,
#page {
	background: #ffffff;
}

#masthead,
#colophon,
#toggle-sidebar,
.hentry-grid,
#masthead .main-navigation ul ul,
.site-main .posts-navigation {
	background: #0c0c0e;
	padding-left: 2px;
}

body,
a,
a:hover {
	color: #191919;
}

h1, h2, h3, h4, h5, h6,
.primary-font,
input[type="submit"],
label,
#page div#jp-relatedposts h3.jp-relatedposts-headline,
.posts-navigation {
	font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

a {
	font-weight: 400;
}

a:hover, a:focus {
	text-decoration: none;
}

::selection {
	background: yellow;
	color: black;
}

::-moz-selection {
	background: yellow;
	color: black;
}

img {
	display: inline-block;
	width: auto\9;
  	height: auto;
  	max-width: 100%;
  	vertical-align: middle;
  	border: 0;
  	-ms-interpolation-mode: bicubic;
}

blockquote {
	position: relative;
	font-size: 1.278em;
	margin: 40px 0;
    padding: 20px 30px 20px 80px;
    line-height: 1.3;
	border: none;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-style: italic;
}

blockquote blockquote {
    font-size: 1em;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

blockquote:before {
	content: "\201C";
    position: absolute;
    height: 0;
    width: 0;
    left: 10px; top: 15px;
    font-family: "Times New Roman",Georgia,Serif;
    font-size: 4em;
    line-height: 1;
    font-weight: 900;
}

pre:not(.line-pre) {
	background: #292E39;
	color: #ebedf0;
	text-shadow: 0 1px 1px rgba(0,0,0,0.2);
	line-height: 1.65;
	padding: 4% 7%;
	overflow: auto;
	max-width: 100%;
	border: none;
}

p, ul, ol, dd, dl, address, pre,
.jetpack-video-wrapper,
.mejs-container,
#page .wp-playlist,
table, .table,
#page .tiled-gallery,
#page .slideshow-window,
#page div#jp-relatedposts {
	margin-bottom: 35px;
}

#masthead #header-search-button:before,
#search-container #close-search-container:after,
.social-list li a::before,
#menu-button:before,
#skip-to-entry:before,
#close-toggle-sidebar:before,
.entry-header .entry-meta .comments-link a:before {
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	text-decoration: inherit;
	-webkit-font-smoothing: antialiased;
}

a:hover {
	-webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.hentry .entry-content .mejs-container a,
.hentry .page-links a,
#page #comments .comment-likes a {
	text-decoration: none;
}

/*--------------------------------------------------------------
1.1 Inputs and buttons
--------------------------------------------------------------*/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
textarea {
	border: 1px solid rgba(0,0,0,0.04);
	background: #f9f9f9;
	border-radius: 3px;
	color: #282828;
}

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	padding: 0 8px;
	height: 42px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
textarea:focus {
	outline: 0;
  	outline: thin dotted \9;
  	border-color: rgba(0,0,0,0.1);
}

input[type="submit"] {
	cursor: pointer;
	padding: 0 22px;
	line-height: 42px;
    	height: 42px;
	text-decoration: none;
	border-radius: 3px;
	color: #ffffff;
	font-size: 14px;
	display: inline-block;
	font-weight: 400;
	background: #0c0c0e;
	vertical-align: bottom;
	border: 1px solid #000;
}

input[type="submit"]:hover {
	color: inherit;
	border-radius: 3px;
	border: 1px solid #ba1b1b;
	background: #ba1b1b;
	font-weight: 400;
	color: #ffffff;
}

.search-field {
	width: 600px;
}

@media screen and (max-width: 640px) {

.search-field {
	width: 345px;
}

}

/*--------------------------------------------------------------
2.0 Header
--------------------------------------------------------------*/
#masthead {
	position: relative;
	z-index: 100;
	box-shadow: 1px 0 2px rgba(0,0,0,0.45);
	height: 80px;
}

#masthead,
#masthead a {
	color: #ffffff;
}

#masthead .site-branding {
	padding-right: 20px;
	margin: 20px 20px 0px 0;
	line-height: 1;
	max-width: 35%;
}

#page #masthead .site-branding {
    border-right: 0px solid rgba(255,255,255,0.4);
}

#masthead .site-branding .site-title,
#masthead .site-branding .site-description {
	font-weight: 400;
}

#masthead .site-branding .site-title {
	font-size: 1em;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.has-site-logo #masthead .site-branding .site-title {
	margin-top: 15px;
}

#masthead .site-branding .site-description {
	font-size: 0.789em;
	margin-top: 13px;
	margin-bottom: 0;
	display: none;
}

#masthead .header-controls {
    margin: 20px 0;
}

/*--------------------------------------------------------------
2.1 Header Search Box
--------------------------------------------------------------*/
#masthead #header-search-button {
	line-height: 1.3;
	color: #ccc;
	font-size: 18px;
}

#masthead #header-search-button:before {
	content: "\f002";
}

#search-container {
	display: none;
	position: fixed;
	top: 0; bottom: 0;
	left: 0; right: 0;
	padding: 15px;
	background:rgba(0,0,0,0.85);
	z-index: 9999;
	color: #ffffff;
}

#search-container .header-searchform {
	display: table;
	height: 100%;
	width: 100%;
	text-align: center;
	font-weight: 400;
}

#search-container .header-searchform .header-searchform-inner {
	display: table-cell;
	height: 100%;
	vertical-align: middle;
}

#search-container .header-searchform input,
#search-container .header-searchform button {
	background: none;
	border: none;
}

#search-container .header-searchform input {
	border-bottom: 2px solid #eeeeee;
	font-size: 1.263em;
	width: 50%;
}

#search-container #close-search-container {
	position: absolute;
	top: 15px;
	right: 15px;
	font-weight: 400;
	color: #ffd800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.admin-bar #search-container #close-search-container {
    top: 45px;
}

.demo-site #search-container #close-search-container {
    top: 95px;
}

.demo-site.admin-bar #search-container #close-search-container {
    top: 125px;
}

#search-container #close-search-container:after {
	content: '\f00d';
	margin-left: 8px;
}

#search-container ::-moz-placeholder {
  color: inherit;
}

#search-container :-ms-input-placeholder {
  color: inherit;
}

#search-container ::-webkit-input-placeholder {
  color: inherit;
}

/*--------------------------------------------------------------
3.0 Footer
--------------------------------------------------------------*/
#colophon {
	border-top: 1px solid rgba(255,255,255,0.1);
}

#colophon,
#colophon a {
	color: #9c9fa0;
}

#colophon a:hover,
#colophon .widget .widget-title {
	color: #ffffff;
}

#colophon .footer-widgets {
	font-size: 0.778em;
	padding-top: 40px;
}

#colophon .footer-widgets .widget {
	border-right: 1px solid rgba(255,255,255,0.1);
	padding-right: 30px;
}

#colophon .footer-widgets .footer-widget:nth-of-type(4n) .widget {
	border-right: none;
	padding-right: 0;
}

#colophon .site-footer-bottom {
	font-size: 12px;
	padding: 20px 0px 18px;
	border-bottom: 3px solid rgba(255,255,255,0.08);
	margin-left: -90px;
}

#colophon .site-info,
#colophon .gotop-link {
	line-height: 1.2;
	padding-left: 100px;
}

#colophon #gotop:after {
	content: "\2191";
	padding-left: 6px;
}

/*--------------------------------------------------------------
4.0 Navigation
--------------------------------------------------------------*/
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin-bottom: 40px;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	width: 50%;
}

.comment-navigation .nav-next,
.post-navigation .nav-next {
	text-align: right;
}

.site-main .post-navigation {
	border-top: 1px solid rgba(0,0,0,0.08);
	padding-top: 40px;
	line-height: 1.2;
}

.site-main .post-navigation .meta-title,
.site-main .posts-navigation a {
	color: #9c9fa0;
}

.site-main .post-navigation a .post-title,
.site-main .posts-navigation a {
	font-weight: bold;
	font-size: 0.778em;
}

.site-main .post-navigation .meta-title {
	display: block;
	font-size: 0.611em;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	margin-bottom: 7px;
}

.site-main .post-navigation a .post-title {
	font-style: italic;
}

.site-main .posts-navigation {
	position: relative;
	margin-bottom: 0;
	border-top: 1px solid rgba(255,255,255,0.1);
	text-transform: uppercase;
	padding: 23px 30px 20px;
	text-align: center;
}

.site-main .posts-navigation a:hover {
	color: #ffffff;
}

.site-main .posts-navigation .nav-links:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: 1px;
	margin-left: -1px;
	background:rgba(255,255,255,0.1);
}

.post-navigation .nav-next a .post-title:after,
.posts-navigation .nav-next a:after,
.comment-navigation .nav-next a:after {
	content: "\2192";
	padding-left: 4px;
}

.post-navigation .nav-previous a .post-title:before,
.posts-navigation .nav-previous a:before,
.comment-navigation .nav-previous a:before {
	content: "\2190";
	padding-right: 4px;
}

/*--------------------------------------------------------------
5.0 Menus
--------------------------------------------------------------*/
#masthead .main-navigation {
    margin: 20px 0;
}

#masthead .main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#masthead .main-navigation li {
	float: left;
	position: relative;
}

#masthead .main-navigation a {
	font-family: 'Open Sans', sans-serif;
	display: block;
	text-decoration: none;
	font-size: 14px;
	margin-right: 40px;
	margin-bottom: -2px;
	padding-top: 12px;
	color: #ccc;
	font-weight: bold;
}

#masthead .main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	padding: 4px 10px;
	margin-left: -10px;
}

#masthead .main-navigation ul ul ul {
	top: 0;
	padding-top: 4px;
}

#masthead .main-navigation ul ul a {
	width: 130px;
	color: #ffffff;
	line-height: 1.2;
	padding: 6px 0 3px;
	margin: 0;
}

#masthead .main-navigation ul ul li {
	border-bottom: 1px solid rgba(255,255,255,0.1);
	padding-bottom: 1px;
	margin-bottom: 1px;
}

#masthead .main-navigation ul ul li:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-color:  transparent;
}

#masthead .main-navigation ul li:hover > ul {
	left: auto;
}

#masthead .main-navigation ul ul li:hover > ul {
	left: 100%;
}

#masthead .main-navigation .current_page_item > a,
#masthead .main-navigation .current-menu-item > a,
#masthead .main-navigation .current_page_ancestor > a,
#masthead .main-navigation li:hover > a {
	color: #ba1b1b;
	
}

#masthead .current_page_ancestor > a,
#masthead .current_page_item > a:hover,
#masthead .current-menu-item > a:hover,
#masthead .current_page_ancestor > a:hover,
#masthead ul:not(.sub-menu) > .menu-item-has-children:hover > a:hover,
#masthead ul:not(.sub-menu) > .menu-item-has-children:hover > a,
#masthead .main-navigation ul ul li:hover > a {
	color: #ffd800;
	border-color:transparent;
}

/*--------------------------------------------------------------
5.1 Mobile Menu
--------------------------------------------------------------*/
#masthead #menu-button {
	display: none;
	text-transform: uppercase;
	font-size: 0.611em;
	margin: 20px 20px 20px 0;
	color: #9c9fa0;
}

#masthead #menu-button:hover {
	color: #ffffff;
}

#menu-button:before {
	content: "\f0c9";
	margin-right: 6px;
}

body.active-toggle-sidebar #menu-button:before {
	content: "\f00d";
}

/*--------------------------------------------------------------
5.2 Social Menu
--------------------------------------------------------------*/
#masthead .social-list {
	float: right;
}

#masthead .social-list .menu-items {
	margin: 0 18px 0 0;
	padding: 0 13px 0 0;
	border-right: 1px solid rgba(255,255,255,0.4);
}

.social-list .menu-items {
	clear: both;
	line-height: 1;
}

.social-list .menu-items li,
.social-list .menu-items li a,
.social-list li a::before {
	display: inline-block;
	margin:0;
	line-height: 1;
}

.social-list li a::before {
	content: '';
	text-align: center;
	width: 28px;
	font-size: 0.778em;
}

.social-list li a::before { content: '\f0c1'; color: #9c9fa0; }
.social-list li a[href*="facebook.com"]::before { content: '\f09a'; }
.social-list li a[href*="twitter.com"]::before { content: '\f099'; }
.social-list li a[href*="plus.google.com"]::before { content: '\f0d5'; }
.social-list li a[href*="dribbble.com"]::before { content: '\f17d'; }
.social-list li a[href*="pinterest.com"]::before { content: '\f0d2'; }
.social-list li a[href*="github.com"]::before { content: '\f113'; }
.social-list li a[href*="tumblr.com"]::before { content: '\f173'; }
.social-list li a[href*="youtube.com"]::before { content: '\f16a'; }
.social-list li a[href*="flickr.com"]::before { content: '\f16e'; }
.social-list li a[href*="vimeo.com"]::before { content: '\f194'; }
.social-list li a[href*="instagram.com"]::before { content: '\f16d'; }
.social-list li a[href*="linkedin.com"]::before { content: '\f0e1'; }
.social-list li a[href$="/feed/"]::before { content: '\f09e'; }
.social-list li a[href*="behance.net"]::before { content: '\f1b4'; }
.social-list li a[href*="vk.com"]::before { content: '\f189'; }
.social-list li a[href*="soundcloud.com"]::before { content: '\f1be'; }
.social-list li a[href*="reddit.com"]::before { content: '\f1a1'; }
.social-list li a[href^="mailto:"]::before { content: '\f0e0'; }
.social-list li a[href*="deviantart.com"]::before { content: '\f1bd'; }
.social-list li a:hover::before {color: #ffffff;}

/*--------------------------------------------------------------
6.0 Toggle Sidebar
--------------------------------------------------------------*/
#toggle-sidebar {
	position: fixed;
	left: -15.625em; /*left or right and the width of your navigation panel*/
    width: 15.625em; /*should match the above value*/
    border-right: 1px solid rgba(0,0,0,0.6);
    z-index: 9999;
    -moz-box-shadow:    inset -15px 0 30px 1px rgba(0,0,0,0.2);
   	-webkit-box-shadow: inset -15px 0 30px 1px rgba(0,0,0,0.2);
   	box-shadow:         inset -15px 0 30px 1px rgba(0,0,0,0.2);
   	height: 100%;
   	display: none;
}

#toggle-sidebar .inner-panel {
	position: relative;
	padding: 30px;
	text-transform: uppercase;
}

.admin-bar #toggle-sidebar .inner-panel {
    top: 35px;
}

.demo-site #toggle-sidebar .inner-panel {
    top: 80px;
}

.demo-site.admin-bar #toggle-sidebar .inner-panel {
    top: 115px;
}

#toggle-sidebar .inner-panel,
#toggle-sidebar .social-list li a::before {
	font-size: 14px;
}

#toggle-sidebar {
	overflow: scroll;
    overflow-x: hidden;
}

#toggle-sidebar .mobile-navigation ul li a:hover,
#toggle-sidebar .mobile-navigation ul .sub-menu a:hover {
	color: #ffd800;
}

#toggle-sidebar .mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#toggle-sidebar .mobile-navigation ul .sub-menu {
	font-size: 11px;
}

#toggle-sidebar .mobile-navigation ul li a {
	font-weight: bold;
	color: #ffffff;
}

#toggle-sidebar .mobile-navigation ul .sub-menu a {
	font-weight: 400;
	color: #9c9fa0;
}

#toggle-sidebar .mobile-navigation ul:not(.sub-menu) > li:first-child {
	border: none;
}

#toggle-sidebar .mobile-navigation ul li {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 8px;
	padding-top: 8px;
}

#toggle-sidebar .social-list .menu-items {
	text-align: center;
	margin-top: 30px;
}

#toggle-sidebar .social-list .menu-items a {
	line-height: 35px;
	width: 35px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	margin: 10px 7px 0 0;
}

#close-toggle-sidebar {
    position: absolute;
    top: 15px; right: 0;
    font-weight: bold;
    font-size: 10px;
    padding: 1px 8px 0 6px;
    border-radius: 10px;   
}

#toggle-sidebar #close-toggle-sidebar {
    background: rgba(255,255,255,0.6);
    color: rgba(0,0,0,0.7);
}

#close-toggle-sidebar:before {
    content: "\f00d";
    padding-right: 4px;
}

/*--------------------------------------------------------------
7.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-size: 1.4rem;
	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 */
}

/*--------------------------------------------------------------
8.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.667em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.667em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
9.0 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;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}


/*--------------------------------------------------------------
10.0 Widgets
--------------------------------------------------------------*/
#secondary {
	padding-left: 40px;
	margin-left: 10px;
	margin-bottom: 60px;
	font-size: 0.778em;
	border-left: 1px solid rgba(0,0,0,0.08);
}

.left-sidebar #secondary {
	border-right: 1px solid rgba(0,0,0,0.08);
	border-left: none;
	padding-left: 0;
	margin-left: 0;
	padding-right: 40px;
	margin-right: 10px;
}

#secondary a {
	color: inherit;
}

#secondary a:hover {
	color: #9c9fa0;
}

.widget {
	margin: 0 0 40px;
}

.widget .widget-title {
	margin: 0 0 20px;
	font-size: 1em;
	letter-spacing: 0.1em;
	font-weight: bold;
	text-transform: uppercase;
}

.widget .widget-title span {
	display: inline-block;
	border-bottom: 2px solid;
	padding-bottom: 2px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	-webkit-padding-start: 0;
}

.widget ul li {
	line-height: 1.3;
	margin-top: 7px;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

.widget.widget_recent_comments td {
	border-top: none;
}

.widget.widget_recent_comments .recentcommentsavatar {
    margin-bottom: 0;
}

.widget.widget_recent_comments .recentcommentsavatar td.recentcommentsavatartop,
.widget.widget_recent_comments .recentcommentsavatar td.recentcommentsavatarend {
    padding-left: 0;
    padding-right: 0;
}

.widget.widget_recent_comments .recentcommentsavatar td.recentcommentstexttop,
.widget.widget_recent_comments .recentcommentsavatar td.recentcommentstextend {
    padding-left: 20px;
}

.widget.widget_author_grid ul,
.widget.widget_goodreads div[class*="gr_custom_each_container"] {
	overflow: hidden;
}

.widget.widget_goodreads div[class*="gr_custom_each_container"] {
	border-bottom: 1px solid rgba(0,0,0,0.08);
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.widget.widget_goodreads div[class*="gr_custom_each_container"]:last-child {
	border: none;
	padding: 0;
}

.widget.widget_goodreads div[class*="gr_custom_book_container"] {
	float: left;
	margin-right: 15px;
}

.widget.widget_goodreads div[class*="gr_custom_rating"] {
	line-height: 1;
	margin-bottom: 5px;
}

.widget.widget_goodreads div[class*="gr_custom_title"] {
	line-height: 1.4;
}

.widget.widget_goodreads div[class*="gr_custom_author"] {
	font-size: 11px;
}

.widget.widget_author_grid ul li {
	float: left;
	width: 25%;
}

.widget.widget_authors .avatar,
.widget.widget_authors li a strong {
	display: block;
	margin-bottom: 15px;
}

.widget.widget_authors .avatar {
	margin-top: 30px;
}

.widget.widget_authors li strong {
	color: inherit;
	font-size: 18px;
}

/*--------------------------------------------------------------
11.0 Content
--------------------------------------------------------------*/
#content {
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

.inactive-sidebar .site-main,
.full-width-template .site-main {
	max-width: 800px;
	margin: 0 auto;
}

.hentry-grid {
	padding: 0px;
}

.hentry-grid .hentry .hentry-inner .primary-font,
.hentry-grid .hentry .cat-links a {
	font-weight: 400;
}

.single .entry-content p.intro,
.page .entry-content p.intro,
.single .entry-content p span.dropcap,
.page .entry-content p span.dropcap,
.hentry-grid .hentry-col .hentry .entry-header .entry-title a,
.hentry .entry-content a,
#comments .comment-content a {
	font-weight: bold;
}

.hentry .cat-links a,
.hentry .tags-links a,
.hentry .entry-content a,
#comments .comment-content a,
#comments .reply a {
	text-decoration: underline;
}

.hentry-grid .hentry-col {
	position: relative;
	display: table;
	width: 25%;
	float: left;
	
}

.hentry-grid .hentry-col:first-child > .hentry,
.hentry-grid .hentry-col:nth-child(2) > .hentry {
	height: 400px;
}

.hentry-grid .hentry-col:first-child  {
	width: 69%;
}

.hentry-grid .hentry-col:first-child > .hentry .entry-header .entry-title {
	font-size: 1.611em;
}

.hentry-grid .hentry-col:nth-child(2) {
	width: 31%;
}

.hentry-grid .hentry-col:nth-child(5n),
.hentry-grid .hentry-col:nth-child(7n) {
	width: 50%;
}

.infinite-scroll.neverending .hentry-grid .hentry-col:nth-child(7n) {
    width: 75%;
}

.hentry-grid .hentry-col:nth-child(5n) > .hentry .entry-header .entry-title,
.hentry-grid .hentry-col:nth-child(7n) > .hentry .entry-header .entry-title,
.hentry-grid .hentry-col:nth-child(2) > .hentry .entry-header .entry-title {
	font-size: 1.278em;
}

.hentry-grid .hentry-col .hentry {
	background: #f9f9f9;
	padding: 20px;
	height: 320px;
	overflow: hidden;
	display: table-cell;
	vertical-align: bottom;
	box-shadow: 0 0 0 2px #0c0c0e;
}

.hentry-grid .hentry-col .hentry.has-post-thumbnail {
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.hentry-grid .hentry-col .hentry.has-post-thumbnail .hentry-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.3);
	-webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

.hentry-grid .hentry-col .hentry.has-post-thumbnail:hover .hentry-overlay {
	background: rgba(0,0,0,0.8);
}

.hentry-grid .hentry-col .hentry .entry-meta {
	opacity: 0.7;
	font-weight: 400;
	font-size: 0.611em;
	text-transform: uppercase;
}

.hentry-grid .hentry-col .hentry .entry-meta .sep {
	margin: 0 4px;
}

.hentry-grid .hentry-col .hentry .entry-header {
	position: relative;
	z-index: 1;
}

.hentry-grid .hentry-col .hentry .entry-header,
.hentry-grid .hentry-col .hentry .entry-header a {
	color: #353535;
}

.hentry-grid .hentry-col .hentry.has-post-thumbnail .entry-header,
.hentry-grid .hentry-col .hentry.has-post-thumbnail .entry-header a {
	color: #ffffff;
}

.hentry-grid .hentry-col .hentry .entry-header .entry-title {
	font-size: 1em;
	line-height: 1.2;
	margin: 10px 0 8px;
	text-transform: uppercase;
}

.hentry-grid .hentry-col .hentry .entry-cats a {
	position: relative;
	display: inline-block;
	font-size: 0.611em;
	text-transform: uppercase;
	border-bottom: 2px solid #ffd800;
	line-height: 1;
	padding-bottom: 3px;
	font-weight: bold;
}

.hentry .entry-footer {
	margin-bottom: 40px;
}

.entry-header .entry-meta .comments-link:before {
    content: "\2022";
    margin-right: 5px;
    margin-left: 2px;
}

.entry-header .entry-meta .comments-link a:before {
    content: "\f075";
    margin-right: 4px;
}

/*--------------------------------------------------------------
11.1 Posts and pages
--------------------------------------------------------------*/
#primary-header,
#primary-header .primary-hentry-inner,
#primary-header .primary-hentry-inner .container {
	position: relative;
}

#primary-header {
	text-align: center;
	display: table;
	width: 100%;
	background: #f9f9f9;
	margin-bottom: 60px;
    table-layout:fixed;
}

#primary-header.has-featured-image {
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
    background-attachment: scroll;
	height: 98vh;
}

#primary-header.has-featured-image .primary-hentry-inner {
	background: linear-gradient(to top,rgba(0,0,0,0.8),transparent);
}

#primary-header .primary-hentry-inner {
	width: 100%;
	height: 100%;
	display: table-cell;
	vertical-align: middle;
	overflow: hidden;
	padding: 120px 0;
    color: #191919;
}

#primary-header .entry-title {
	font-size: 2.632em;
	margin: 0;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

#primary-header.has-featured-image .entry-title,
#primary-header.has-featured-image .entry-meta {
	color: #ffffff;
}

#primary-header .entry-meta a {
	color: inherit;
}

#primary-header .entry-meta {
	position: relative;
	font-size: 0.611em;
	text-transform: uppercase;
	letter-spacing: 0.5em;
	margin-bottom: 40px;
	font-weight: 400;
}

#primary-header .entry-meta:before {
	content: '';
	border-bottom: 2px solid #ffd800;
	position: absolute;
	bottom: -20px;
	width: 60px;
	left: 50%;
	margin-left: -30px;
}

#primary-header.has-featured-image #skip-to-entry:before {
	content: "\f107";
	display: inline-block;
	color: #ffffff;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border: 1px solid;
	border-radius: 50%;
	margin-top: 30px;
}

#primary-header.has-featured-image #skip-to-entry {
	-webkit-animation: bounce 4s 2s infinite;
    animation: bounce 4s 2s infinite;
}

/* Animation for the "skip-to-entry" button */
@-webkit-keyframes bounce {
    0%, 10%, 25%, 40%, 50% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    20% {
        -webkit-transform: translateY(-15px);
                transform: translateY(-15px);
    }
    30% {
        -webkit-transform: translateY(-3px);
                transform: translateY(-3px);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-15px);
                transform: translateY(-15px);
    }
    60% {
        -webkit-transform: translateY(-3px);
                transform: translateY(-3px);
    }
}

.single .entry-content p.intro,
.page .entry-content p.intro {
	font-size: 1.278em;
	line-height: 1.5;
}

.single .entry-content p span.dropcap,
.page .entry-content p span.dropcap {
	float: left;
	line-height: 0.5;
	margin-right: 10px;
	font-size: 4.778em;
}

.single .entry-content h1,
.page .entry-content h1,
.comments-area .comment-body h1,

.single .entry-content h2,
.page .entry-content h2,
.comments-area .comment-body h2,

.single .entry-content h3,
.page .entry-content h3,
.comments-area .comment-body h3,

.single .entry-content h4,
.page .entry-content h4,
.comments-area .comment-body h4,

.single .entry-content h5,
.page .entry-content h5,
.comments-area .comment-body h5,

.single .entry-content h6,
.page .entry-content h6,
.comments-area .comment-body h6 {
	line-height: 1.3;
	margin-top: 42px;
	margin-bottom: 12px;
}

.single .entry-content h1,
.page .entry-content h1,
.comments-area .comment-body h1 {
	font-size: 2.611em;
}

.single .entry-content h2,
.page .entry-content h2,
.comments-area .comment-body h2 {
	font-size: 2.000em;
}

.single .entry-content h3,
.page .entry-content h3,
.comments-area .comment-body h3 {
	font-size: 1.611em;
}

.single .entry-content h4,
.page .entry-content h4,
.comments-area .comment-body h4 {
	font-size: 1.278em;
}

.single .entry-content h5,
.page .entry-content h5,
.comments-area .comment-body h5 {
	font-size: 1em;
}

.single .entry-content h6,
.page .entry-content h6,
.comments-area .comment-body h6 {
	font-size: 0.778em;
}

.hentry .edit-link {
	margin-top: 35px;
}

.hentry .edit-link a {
	display: inline-block;
	background: rgba(0,0,0,0.05);
	color: inherit;
	text-transform: uppercase;
	font-size: 0.611em;
	padding: 4px 10px 3px;
}

.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-links {
	clear: both;
	margin: 0 0 35px;
	font-size: 0.611em;
	text-transform: uppercase;
}

.page-links .page-links-title {
	letter-spacing: 0.5em;
	padding-right: 10px;
}

.page-links a:hover > span,
.page-links {
	color: #9c9fa0;
}

 .page-links .page-links-title,
 .page-links span,
 .page-links a {
	min-width: 30px;
	text-align: center;
	display: inline-block;
}

.hentry .page-links span {
	border-right: 1px solid rgba(0,0,0,0.2);
}

.search-form label,
.post-password-form label {
	margin-bottom: 0;
}

.sticky {}

/*--------------------------------------------------------------
11.2 Audio Player
--------------------------------------------------------------*/
#page .mejs-container,
#page .mejs-container .mejs-controls,
#page .wp-playlist {
	border-radius: 3px;
}

#page .mejs-container {
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255,255,255,0.2);
}

#page .mejs-container .mejs-controls {
	background: #0c0c0e;
}

#page .mejs-container .mejs-controls .mejs-button button {
	outline: none;
}

#page .mejs-controls .mejs-time-rail .mejs-time-total {
	margin: 8px;
}

#page .mejs-container .mejs-controls .mejs-time {
	padding-top: 10px;
}

#page .mejs-controls .mejs-time-rail span,
#page .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
#page .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current,
#page .mejs-controls .mejs-time-rail span,
#page .mejs-controls .mejs-time-rail a {
	height: 4px;
}

#page .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
#page .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	top: 13px;
}

#page .mejs-controls .mejs-time-rail .mejs-time-current,
#page .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #ffd800;
}

#page .mejs-controls .mejs-time-rail .mejs-time-loaded {
	background: rgba(255,255,255,0.3);
}

#page .wp-playlist {
	padding: 10px;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.04);
	border-color: rgba(0,0,0,0.07);
}

#page .wp-playlist-light {
	background: #fbfbfb;
}

#page .wp-playlist .wp-playlist-tracks a {
	box-shadow: none;
	border: none;
	padding: 10px;
}

#page .wp-playlist-tracks {
	margin-left: 2px;
}

#page .wp-playlist-item {
	border-color:rgba(0,0,0,0.07);
	padding: 0;
}

#page .wp-playlist-item,
#page .wp-playlist-item a {
	color: rgba(0,0,0,0.5);
	font-weight: normal;
}

#page .wp-playlist-light .wp-playlist-playing,
#page .wp-playlist-light .wp-playlist-playing a {
	color: #000000;
	font-weight: bold;
}

#page .wp-playlist-item-length {
	top: 9px;
	right: 10px;
}

/*--------------------------------------------------------------
11.3 Author Section
--------------------------------------------------------------*/
.author-container {
	margin-bottom: 40px;
	padding-top: 40px;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-size: 0.778em;
}

.author-container .author-name {
	margin: 0 0 10px;
	font-weight: bold;
	font-size: 1em;
	text-transform: uppercase;
}

.author-container .author-name a {
	font-weight: bold;
}

.author-container .author-info {
	position: relative;
	min-height: 100px;
}

.author-container .avatar {
	width: 100px;
	height: 100px;
	position: absolute;
}

.author-container .author-bio {
	padding-left: 130px;
}

/*--------------------------------------------------------------
11.4 Comments
--------------------------------------------------------------*/
#comments {
	border-top: 1px solid rgba(0,0,0,0.08);
	padding-top: 40px;
	margin-bottom: 60px;
}

#comments .comments-title,
#reply-title,
#page #respond label {
    text-transform: uppercase;
}

#comments .comments-title,
#reply-title {
	font-size: 1em;
}

#comments .comments-title {
	float: left;
}

#comments .comments-title,
#comment-nav-above {
	margin-top: 0;
	margin-bottom: 0;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
	float: none;
	width: auto;
	display: inline-block;
}

#comments .comment-meta .url {
	font-weight: bold;
}

#comments .says {
	display: none;
}

.comment-navigation,
#comments .reply {
	font-style: italic;
}

#comments .comment-metadata,
#comments .comment-metadata a,
.comment-navigation a {
	color: #9c9fa0;
	color: rgba(0,0,0,0.4);
}

.comment-navigation {
	font-size: 0.778em;
	font-weight: bold;
	text-align: right;
}

.comment-navigation a {
	display: block;
	margin: 0 7px;
}

#comment-nav-above {
	float:right;
	line-height: 1.4;
}

#comment-nav-below {
	margin-top: -25px;
}

#comments .comment-list {
	clear: both;
}

#comments ul {
	list-style: none;
}

#comments ol {
	list-style: none;
	margin-left: 0;
	-webkit-padding-start: 0;
	padding-left: 0;
	margin-bottom: 40px;
}

#comments .comment-list article,
#comments .comment-list .pingback,
#comments .comment-list .trackback {
	border-top: 1px solid rgba(0,0,0,0.08);
	margin-bottom: 40px;
	padding-top: 45px;
	position:relative;
}

#page #comments .comment-list > .comment:last-child {
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

#comments .comment-list > li:first-child > article,
#comments .comment-list > .pingback:first-child,
#comments .comment-list > .trackback:first-child {
	border-top: none;
}

#comments .comment-author .avatar {
	height: 54px;
	width: 54px;
	position: absolute;
	top: 45px;
	left: 0;
}

#comments .comment-author,
#comments .comment-metadata {
	padding-left: 76px;
}

#comments .comment-metadata {
	margin-top: 3px;
}

#comments .reply,
#comments .comment-content {
	margin-top: 30px;
	clear: both;
}

#comments .comment-content :last-child,
#comments .comment-subscription-form {
	margin-bottom: 0;
}

#comments .comment-edit-link:before {
	content: "/";
	padding-right: 5px;
}

#comments .comment-list .children {
	list-style: none;
	margin-left: 52px;
}

#comments .comment-metadata,
#comments .reply,
#respond .logged-in-as,
#respond .comment-notes,
#comments .comment-subscription-form,
#comments .form-allowed-tags {
	font-size: 0.778em;
}

#respond label {
	display: block;
	font-size: 0.611em;
	color: #9c9fa0;
	font-weight: normal;
}

#comments .comment {
	position: relative;
}

#respond #author,
#respond #email,
#respond #url {
	width: 50%;
}

#respond #comment {
	width: 100%;
}

#comments .comment-awaiting-moderation,
#comments .no-comments {
	padding: 2px 5px;
	display: inline-block;
	margin-bottom: 0;
}

#comments .comment-awaiting-moderation {
	background: yellow;
}

#comments .no-comments {
	background: rgba(0,0,0,0.05);
	color: inherit;
}

#comments .comment-awaiting-moderation {
	margin-top: 30px;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
11.5 Archive page
--------------------------------------------------------------*/
.page-header {
	border-top: 1px solid rgba(255,255,255,0.1);
	border-bottom: none;
	margin: 0;
	padding: 20px 30px 18px;
	color: #ffffff;
	background: rgba(12,12,14,0.9);
}

.page-header .page-title {
	margin: 0;
	font-size: 1em;
	text-transform: uppercase;
	color: #ffd800;
}

.taxonomy-description {
	margin-top: 10px;
	color: #9c9fa0;
	max-width: 65%;
	font-size: 0.778em;
	line-height: 1.4;
}

.taxonomy-description p {
	margin: 0;
}

.no-results.not-found .search-form label,
.error-404.not-found .search-form label {
	width: 50%;
	font-weight: 400;
}

.no-results.not-found .search-form label input,
.error-404.not-found .search-form label input {
	width: 100%;
	font-size: 0.778em;
}

.no-results.not-found .page-content,
.error404 .page-content {
	position: relative;
	padding-top: 140px;
	padding-bottom: 140px;
	text-align: center;
	z-index: 1;
	overflow: hidden;
}

.error404 .title-404,
.error404 .search-form {
	margin-bottom: 30px;
}

.error404 .title-404 {
	position: relative;
	display: block;
	font-size: 10em;
	line-height: 1;
	text-align: center;
	font-weight: bold;
	text-shadow: 0 0 50px rgba(0,0,0,0.3);
}

.error404 .title-404:after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	width: 80px;
	margin-left: -40px;
	border-bottom: 2px solid #ffd800;
}

/*--------------------------------------------------------------
12.0 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;
}

#infinite-footer {
	z-index: 100;
}

#infinite-handle,
.infinite-loader {
	clear:both;
}

.infinite-loader {
	color: #ffffff;
	padding: 30px 0;
}

.infinite-loader .spinner {
	left: 50% !important;
}

#infinite-handle {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 20px 0;
	position: relative;
	text-align: center;
	z-index: 1;
	top: 2px;
}

#infinite-handle span {
	padding: 8px 20px;
	display: inline-block;
	background: rgba(255,255,255,0.12);
}

/*--------------------------------------------------------------
13.0 Share Buttons, Tags, Categories and Related Posts
--------------------------------------------------------------*/
#page div.sharedaddy  {
	margin-bottom: 30px;
}

#page div.sharedaddy h3.sd-title,
.hentry .cat-links,
.hentry .tags-links,
#page div#jp-relatedposts h3.jp-relatedposts-headline {
	font-size: 0.611em;
	text-transform: uppercase;
	color: #9c9fa0;
}

#page div.sharedaddy .sd-content ul {
	margin-bottom: 0 !important;
}

#page div.sharedaddy h3.sd-title,
.hentry .cat-links .links-title,
.hentry .tags-links .links-title,
#page div#jp-relatedposts h3.jp-relatedposts-headline {
	font-weight: 400;
	letter-spacing: 0.5em;
	margin-bottom: 15px;
	margin-right: 2px;
}

#page div#jp-relatedposts h3.jp-relatedposts-headline em {
	font-weight: 400;
}

#page div.sharedaddy h3.sd-title:before,
#page div#jp-relatedposts h3.jp-relatedposts-headline em:before {
	content: '';
	border: none;
	margin: 0;
}

#page .cat-links a,
#page .tags-links a,
#page div#jp-relatedposts .jp-relatedposts-post-title a {
	font-weight: bold;
}

#page div#jp-relatedposts .jp-relatedposts-post-title {
	margin-bottom: 7px;
}

#page div#jp-relatedposts .jp-relatedposts-post-title a {
	text-decoration: none;
}

/*--------------------------------------------------------------
14.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%;
}

/*--------------------------------------------------------------
14.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;
	font-size: 0.778em;
	color: #9c9fa0;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
14.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 30px;
	overflow: hidden;
}

.gallery-item {
	float: left;
	margin: 0 1px 1px 0;
	overflow: hidden;
	position: relative;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 49.5%;
	max-width: -webkit-calc(50% - 1px);
	max-width: calc(50% - 1px);
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
	max-width: -webkit-calc(33.3% - 1px);
	max-width: calc(33.3% - 1px);
}

.gallery-columns-4 .gallery-item {
	max-width: 24.5%;
	max-width: -webkit-calc(25% - 1px);
	max-width: calc(25% - 1px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19.5%;
	max-width: -webkit-calc(20% - 1px);
	max-width: calc(20% - 1px);
}

.gallery-columns-6 .gallery-item {
	max-width: 16%;
	max-width: -webkit-calc(16.66% - 1px);
	max-width: calc(16.66% - 1px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13.5%;
	max-width: -webkit-calc(14.285% - 1px);
	max-width: calc(14.285% - 1px);
}

.gallery-columns-8 .gallery-item {
	max-width: 12%;
	max-width: -webkit-calc(12.5% - 1px);
	max-width: calc(12.5% - 1px);
}

.gallery-columns-9 .gallery-item {
	max-width: 10%;
	max-width: -webkit-calc(11.11% - 1px);
	max-width: calc(11.11% - 1px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1 .gallery-item:nth-of-type(1n+1),
.gallery-columns-2 .gallery-item:nth-of-type(2n+1),
.gallery-columns-3 .gallery-item:nth-of-type(3n+1),
.gallery-columns-4 .gallery-item:nth-of-type(4n+1),
.gallery-columns-5 .gallery-item:nth-of-type(5n+1),
.gallery-columns-6 .gallery-item:nth-of-type(6n+1),
.gallery-columns-7 .gallery-item:nth-of-type(7n+1),
.gallery-columns-8 .gallery-item:nth-of-type(8n+1),
.gallery-columns-9 .gallery-item:nth-of-type(9n+1) {
	clear: left;
}

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0;

	background: rgba(0, 0, 0, 0.4);
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.26) 0%, rgba(0,0,0,0.59) 59%, rgba(0,0,0,0.65) 69%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.26)), color-stop(59%,rgba(0,0,0,0.59)), color-stop(69%,rgba(0,0,0,0.65)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.26) 0%,rgba(0,0,0,0.59) 59%,rgba(0,0,0,0.65) 69%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0.26) 0%,rgba(0,0,0,0.59) 59%,rgba(0,0,0,0.65) 69%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.26) 0%,rgba(0,0,0,0.59) 59%,rgba(0,0,0,0.65) 69%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.26) 0%,rgba(0,0,0,0.59) 59%,rgba(0,0,0,0.65) 69%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#42000000', endColorstr='#a6000000',GradientType=0 );

	color: #ffffff;
	font-size: 0.611em;
	line-height: 1.2;
    margin: 0;
    max-height: 50%;
    padding: 8px 10px;

    width: 100%;
	visibility:hidden;
	opacity: 0;
}

.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 50px;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
	visibility:visible;
	opacity: 1;
	max-height: 50%;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/*--------------------------------------------------------------
Hide smiley face at the bottom
--------------------------------------------------------------*/
#wpstats,
#botd,
#botd2 {
    display: none;
}

/*--------------------------------------------------------------
Ratings
--------------------------------------------------------------*/
#page .sharedaddy .sd-rating,
#page #comments .pd-rating {
    margin-bottom: 20px;
}

#page #comments .pd-rating {
    line-height: 1;
}

#page #comments .pd-rating {
    font-size: 0.778em;
}

#page .sharedaddy .pd-rating {
    font-size: 0.611em;
}

/*--------------------------------------------------------------
15.0 Responsive Design
--------------------------------------------------------------*/
.mobile-view .header-social,
.mobile-view #site-navigation {
    display: none;
}

.mobile-view #masthead #menu-button,
.mobile-view #toggle-sidebar {
    display: block;
}

body.mobile-view.active-toggle-sidebar #page {
    left: 15.625em;
    overflow: hidden;
}

@media only screen and (max-width:992px) {
	.header-social,
	#site-navigation {
		display: none;
	}

	#masthead #menu-button,
	#toggle-sidebar {
		display: block;
	}

	#page .hentry-grid .hentry-col {
		width: 50%;
	}

	#page .hentry-grid .hentry-col .hentry .entry-header .entry-title {
		font-size: 19px;
	}

	#page .hentry-grid .hentry-col .hentry .cat-links a {
		font-size: 8px;
		font-weight: 400;
	}

	body.active-toggle-sidebar #page {
		left: 15.625em;
		overflow: hidden;
	}

	#page #secondary,
	#page #colophon .footer-widgets .widget {
		border: none;
		padding-left: 0;
		padding-right: 0;
	}

	#page #secondary {
		border-top: 1px solid rgba(0,0,0,0.08);
		padding-top: 60px;
		margin-left: 0;
		margin-right: 0;
	}

    #page #masthead .site-branding,
	.content-area.pull-right,
    .left-sidebar #page .content-area.pull-right{
		float: none !important;
	}

    #masthead #menu-button,
    #masthead .header-controls {
        margin-top: 5px;
        margin-bottom: 5px;
    }

	#masthead {
		padding-bottom: 10px;
		padding-top: 15px;
	}

	#page #masthead .site-branding {
		text-align: center;
		margin: 5px 0 10px;
        border-left: none;
        border-right: none;
		border-bottom: 2px solid rgba(255,255,255,0.15);
		padding: 0 0 17px;
        max-width: 100%;
	}

}

@media (max-width: 700px) {
    .demo-site #toggle-sidebar .inner-panel {
        top: 110px;
    }

    .demo-site.admin-bar #toggle-sidebar .inner-panel {
        top: 145px;
    }
    
    .admin-color-mp6 #wpadminbar, .mp6 #wpadminbar {
        z-index: 9999;
    }
}

/* Mobile */
@media only screen and (max-width:500px) {
	body {
		font-size: 16px;
	}

	#respond #author,
	#respond #email,
	#respond #url,
	#page .hentry-grid .hentry-col,
	#page div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post {
		width: 100%;
	}

	#primary-header .primary-hentry-inner .container {
		opacity: 1 !important;
		bottom: 0 !important;
	}
    
    blockquote {
        font-size: 1em;
        padding: 20px 10px 20px 30px;
    }

    blockquote:before {
        left: 0;
        font-size: 2em;
    }
}

/*--------------------------------------------------------------
16.0 Print
--------------------------------------------------------------*/
@media print {
	body {
		background: none !important;
		color: #000000;
		font-size: 12pt;
	}

	.single .entry-content p.intro,
	.page .entry-content p.intro {
		font-size: 12pt;
	}

	#page .content-area,
	#masthead .site-branding {
		float: none !important;
	}

	#masthead .site-branding {
		max-width: 100%;
	}

	#page #primary-header.has-featured-image {
		height: auto !important;
		min-height: 0 !important;
	}

	#primary-header .primary-hentry-inner {
		padding: 35px 0 0 !important;
	}

	#primary-header,
	#primary-header .primary-hentry-inner {
		display: block;
	}

	#primary-header .entry-title {
		font-size: 22pt;
	}

	#page a:after {
		content: "";
	}

	#page .site-main,
	.single .hentry,
	.page .hentry,
	#masthead .site-header-inner {
		padding:0;
		margin:0;
	}

	#site-navigation,
	#comments,
	#colophon,
	#skip-to-entry,
	.header-controls,
	.sidebar-section,
	.entry-footer,
	.author-container,
	.navigation,
	.sharedaddy,
	.jp-relatedposts {
		display: none;
	}
}