/*
Theme Name: Cubic
Theme URI: https://wordpress.com/themes/cubic/
Description: A minimalistic square theme.
Version: 1.0.7
Author: Automattic
Author URI: https://wordpress.com/themes/
Template: boardwalk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cubic
Tags: blog, custom-colors, custom-menu, featured-images, grid-layout, holiday, one-column, photography, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Colors
2.0 Typography
3.0 Layout
4.0 Pagination
5.0 Content
6.0 Jetpack
7.0 Responsive
	7.1 x <= 568px
	7.2 x <= 768px
	7.3 x <= 1024px
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Colors
--------------------------------------------------------------*/
button,
mark,
input[type="button"],
input[type="reset"],
input[type="submit"],
ins,
.bypostauthor > .comment-body .fn,
.comment #respond h3 small a,
.comment-reply-title a,
.filter-on .hentry.has-post-thumbnail:hover .entry-link,
.hentry.color-1,
.hentry.has-post-thumbnail .entry-link,
.pace .pace-progress,
.widget_tag_cloud a {
	background: #10b0b8;
}
.hentry.color-2 {
	background-color: #0e9ea5;
}
.hentry.color-3 {
	background-color: #0d8d93;
}
.hentry.color-4 {
	background-color: #0b7b80;
}
.hentry.color-5 {
	background-color: #0a6a6e;
}
.hentry.color-1 + .hentry.color-1,
.hentry.color-2 + .hentry.color-2,
.hentry.color-3 + .hentry.color-3,
.hentry.color-4 + .hentry.color-4,
.hentry.color-5 + .hentry.color-5 {
	background-color: #28b8bf;
}
.hentry.color-1 + .navigation + .hentry.color-1,
.hentry.color-2 + .navigation + .hentry.color-2,
.hentry.color-3 + .navigation + .hentry.color-3,
.hentry.color-4 + .navigation + .hentry.color-4,
.hentry.color-5 + .navigation + .hentry.color-5 {
	background-color: #40c0c6;
}
a,
#infinite-handle:hover,
#infinite-handle:hover:before,
.comment-author a:hover,
.comment-author a:focus,
.comment-author a:active,
.dropdown-toggle:hover:after,
.dropdown-toggle:focus:after,
.dropdown-toggle:active:after,
.entry-author .author-link a,
.page-links > span,
.page-links a:hover,
.page-links a:focus,
.page-links a:active,
.paging-navigation a:hover,
.paging-navigation a:focus,
.paging-navigation a:active,
.post-navigation a:hover,
.post-navigation a:focus,
.post-navigation a:active,
.search-form.hover:before,
.sidebar-toggle:hover,
.sidebar-toggle:focus,
.sidebar-toggle:active,
.sidebar-toggle.toggle-on:hover,
.sidebar-toggle.toggle-on:active,
.site .wp-playlist-light .wp-playlist-playing,
.site-title a:hover,
.site-title a:focus,
.site-title a:active,
.social-navigation a:hover,
.social-navigation a:focus,
.social-navigation a:active,
.widget-grofile .grofile-meta h4 a:hover,
.widget-grofile .grofile-meta h4 a:hover,
.widget-grofile .grofile-meta h4 a:active,
.widget-title a:hover,
.widget-title a:focus,
.widget-title a:active,
.widgettitle a:hover,
.widgettitle a:focus,
.widgettitle a:active {
	color: #10b0b8;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	/* font-family: 'Playfair Display', serif; */
	font-family: Arial, serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.comment-author,
.hentry div#jp-relatedposts h3.jp-relatedposts-headline,
.hentry div.sharedaddy h3.sd-title,
.no-comments,
.page-links {
	font-family: Montserrat, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.0625em;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	font-weight: normal;
}
.archive .taxonomy-description,
.comment-reply-title small,
.page-links > .page-links-title,
.search-results .page-title span {
	font-family: 'Playfair Display', serif;
}

.heading {
	font-family: Montserrat, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.0625em;
}

.heading a {
	font-weight: normal;
}

.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6 {
	clear: both;
}


/*--------------------------------------------------------------
3.0 Layout
--------------------------------------------------------------*/
.next-link .site-main,
.previous-link .site-main {
	padding: 0 !important;
}
.site-description {
	margin: 0.145em 0 -0.145em;
	font-family: 'Playfair Display', serif;
	line-height: 1.7142857;
	font-weight: normal;
	text-transform: none;
	letter-spacing: 0;
}
.tags-html * {
	font-size: 2px;
	position: absolute;
	z-index: -1;
}


/*--------------------------------------------------------------
4.0 Pagination
--------------------------------------------------------------*/
.paging-navigation {
	position: relative;
	clear: both;
	border-top: 1px solid #d9d9d9;
}
.paging-navigation:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	width: 1px;
	height: 72px;
	background: #d9d9d9;
}
.paging-navigation .nav-links {
	height: 100%;
}
.paging-navigation .nav-next,
.paging-navigation .nav-previous {
	position: inherit;
	left: 0;
	overflow: hidden;
	float: right;
	width: 50%;
	height: 72px;
	border: 0 !important;
}
.paging-navigation .nav-next a:before,
.paging-navigation .nav-previous a:before {
	-webkit-transform: rotate(-90deg);
	-moz-transform:    rotate(-90deg);
	transform:         rotate(-90deg);
}
.paging-navigation a {
	height: 72px;
}

/*--------------------------------------------------------------
5.0 Content
--------------------------------------------------------------*/
/* Hentry */
.archive .hentry,
.blog .hentry,
.search-results .hentry {
	float: none;
	padding: 0 0 100%;
	margin: 0;
	width: 100%;
}
.archive .hentry.has-post-thumbnail,
.blog .hentry.has-post-thumbnail,
.search-results .hentry.has-post-thumbnail {
	background: #000;
}

/* Entry Header */
.archive .entry-header,
.blog .entry-header,
.search-results .entry-header {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}
.entry-header {
	max-height: 100%;
	text-align: center;
}
.archive .entry-title,
.blog .entry-title,
.search-results .entry-title {
	margin: 0 auto;
	font-size: 1.375em;
	line-height: 1.3636364;
}

/* Entry Thumbnail */
.archive .hentry.has-post-thumbnail .attachment-boardwalk-featured-image,
.blog .hentry.has-post-thumbnail .attachment-boardwalk-featured-image,
.search-results .hentry.has-post-thumbnail .attachment-boardwalk-featured-image {
	width: 100%;
	max-width: 100%;
	min-width: 100%;
	height: auto;
	max-height: none;
	min-height: 0;
}

/*--------------------------------------------------------------
6.0 Jetpack
--------------------------------------------------------------*/
#infinite-handle {
	position: inherit;
	clear: both;
	height: 73px;
	width: 100%;
	border: 0;
	border-top: 1px solid #d9d9d9;
}
.site-main .infinite-loader {
	position: inherit;
	clear: both;
}

/*--------------------------------------------------------------
7.0 Responsive
--------------------------------------------------------------*/

@media screen and (max-width: 567px) {
	.header-navigation {
		display: none;
	}	
	.main-navigation {
		display: block;
	}
}

/*--------------------------------------------------------------
7.1 x <= 568px
--------------------------------------------------------------*/
@media screen and (min-width: 568px) {
	.sidebar-toggle {
		display: none;
	}
	/* Content */
	.archive .hentry,
	.blog .hentry,
	.search-results .hentry {
		float: left;
		padding-bottom: 50%;
		width: 50%;
	}
	.archive .hentry:nth-of-type(2n+3),
	.blog .hentry:nth-of-type(2n+3),
	.search-results .hentry:nth-of-type(2n+3) {
		clear: left;
	}
}

/*--------------------------------------------------------------
7.2 x <= 768px
--------------------------------------------------------------*/
@media screen and (min-width: 768px) {
	/* Layout */
	.archive .page-header,
	.search-results .page-header,
	.unfixed-header.archive:not(.sidebar-open) .page-header,
	.unfixed-header.archive:not(.sidebar-open) .site-header,
	.unfixed-header.blog:not(.sidebar-open) .site-header,
	.unfixed-header.search-results:not(.sidebar-open) .page-header,
	.unfixed-header.search-results:not(.sidebar-open) .site-header {
		position: absolute;
	}
	.archive .site-footer,
	.blog .site-footer,
	.search-results .site-footer {
		position: inherit;
	}

	/* Jetpack */
	#infinite-handle:before {
		-webkit-transform: none;
		-moz-transform:    none;
		transform:         none;
	}
	.site-main .infinite-loader {
		width: 100%;
		height: 73px;
		border: 0;
		border-top: 1px solid #d9d9d9;
	}
	.infinite-scroll.neverending .site-main .infinite-loader {
		height: 49px;
	}
	.infinite-scroll.neverending .site-footer {
		display: none;
	}
	.infinity-end.neverending .site-footer {
		display: block;
	}
}

/*--------------------------------------------------------------
7.3 x <= 1024px
--------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
	/* Content */
	.archive .hentry,
	.blog .hentry,
	.search-results .hentry {
		padding-bottom: 33.3333%;
		width: 33.3333%;
	}
	.archive .hentry:nth-of-type(2n+3),
	.blog .hentry:nth-of-type(2n+3),
	.search-results .hentry:nth-of-type(2n+3) {
		clear: none;
	}
	.archive .hentry:nth-of-type(3n+4),
	.blog .hentry:nth-of-type(3n+4),
	.search-results .hentry:nth-of-type(3n+4) {
		clear: left;
	}
}

.directory {
    text-align: center;
    margin: 30px;
    font-size: 10pt;
}

.header-navigation  {
        float: right;
        margin-top: 25px;
}

.header-navigation li {
        list-style: none;
        float: left;
}
.header-navigation li:not(:last-child) {
        margin-right: 30px;
}

.header-navigation li a {
	border-bottom: none;
}

.recommended-articles {
    display: flex;
    flex-wrap: wrap;
    /* width: 780px; */
    width: 100%;
    margin: 0 auto;
}

.recommended-articles .header-title {
    margin-bottom: 30px;
	width: 100%;
	text-align: center;
}

.recommended-articles .entry-thumbnail {
    display: block !important;
}

.recommended-articles .entry-title a {
    color: white;
    text-align: center;
    border: none;
    margin-top: 20px;
    font-size: 11pt;
}

.recommended-articles article {
    width: 33.33%;
    min-height: 0px !important;
    /* margin-bottom: 40px; */
    padding: 30px 0px;
    background: black;
}

.recommended-articles .entry-image img {
    display: block !important;
    position: initial !important;
    max-width: 100% !important;
    transform: none !important;
}
.recommended-articles .list-title h1 {
    font-size: 12px;
}

@media screen and (max-width: 779px) {
    .recommended-articles {
        width: auto;
        margin: 20px;
    }
    .recommended-articles article {
        width: 50%;
    }
}

@media screen and (max-width: 559px) {
    .recommended-articles article {
        width: 100%;
    }
}

.entry-author,
.entry-content,
.entry-footer {
	padding-right: 15px;
	padding-left: 15px;
}

.img-circle {
	border-radius: 100px;
}

#bbpress-forums div, #bbpress-forums ul {
	min-height: 0px !important;
}

.content-box-blue,
.content-box-gray,
.content-box-grey,
.content-box-army,
.content-box-green,
.content-box-purple,
.content-box-red,
.content-box-yellow {
    margin: 0 0 25px;
    overflow: hidden;
    padding: 20px;
    color: #000000;
        font-family: Arial;
        font-style: italic;
    font-size: 18px;
}

.content-box-blue {
    background-color: #F0F8FF;
    border-left: 8px solid #CEE1EF;
        font-size: 18px;
}

.content-box-gray {
    background-color: #e2e2e2;
    border-left: 8px solid #bdbdbd;
        font-size: 18px;
}

.content-box-grey {
    background-color: #F5F5F5;
    border-left: 8px solid #DDDDDD;
        font-size: 18px;
}

.content-box-army {
    background-color: #737a36;
    border: 1px solid #000000;
}

.content-box-green {
    background-color: #d9edc2;
    border: 1px solid #b2ce96;
}

.content-box-purple {
    background-color: #e2e2f9;
    border: 1px solid #bebde9;
}

.content-box-red {
    background-color: #f9dbdb;
    border-left: 8px solid #D95762;
        font-size: 18px;
}

.content-box-yellow {
    background-color: #fef5c4;
    border-left: 8px solid #FADF98;
}

