/* =PRIMARY AND SECONDARY CONTENT AREA
----------------------------------------------- */
.blogwrap {
	display: grid;
	grid-template-columns: 78% 18%;
	gap: 2%;
}

#primary {
	grid-column: 1;
	background: white;
	padding: 2% 1% 2% 0;
}

#secondary {
	grid-column: 2;
	box-sizing: border-box;
	padding: 4% 0;
}

#secondary h3.widget-title {
	font-size: 14pt;
	margin-top: 1em;
}

#secondary .cat-item {
	font-size: smaller;
}

#secondary .searchform input[type='search'] {
	outline: 0;
}

#secondary .searchform input[type='submit'] {
	display: none;
}

.blogbg {
	background: white;
}

.blogwrap {
	max-width: 1266px;
	margin: 0 auto;
	position: relative;
	text-align: left;
}

article {
	clear: both;
}

/* PAGINATION
/*styles the wp-pagenavi pagination links*/
.wp-pagenavi {
	margin: 3em 0;
}

.wp-pagenavi a,
.wp-pagenavi span {
	padding: 0.3em 0.8em !important;
	font-size: 1.2em !important;
	color: #004b64;
	line-height: 2em;
	background: #eeeeee;
	transition: all 0.5s;
}

/*styles the wp-pagenavi current page number*/
.wp-pagenavi span.current {
	color: #ffffff !important;
	background: #279ecc !important;
}

/*styles the wp-pagenavi pagination links on hover*/
.wp-pagenavi a:hover {
	color: #ffffff !important;
	background: #279ecc !important;
}

/*styles the wp-pagenavi pages text*/
.wp-pagenavi .pages {
	background: none;
}

#wpd-bubble-wrapper {
	display: none !important;
}

/* =CATEGORIES SIDEBAR
-----------------------------------------------*/
.widget_categories {
	position: relative;
}

.widget_categories ul {
	list-style: none;
	position: relative;
}

.widget_categories ul li {
	background: #eee;
	margin: 0.5em 0;
	padding: 0;
	transition: 0.2s ease all;
	border: 1px solid white;
}

.widget_categories ul li:hover {
	background: #fcfcfc;
	border: 1px solid #ddd;
}

.widget_categories ul li a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 1em;
}

.widget_categories .widget-title {
	display: none;
}

.widget_st_latest_posts_widget h3.widget-title {
	padding: 1em 0 0;
	font-size: 12.5pt;
}

.widget_st_latest_posts_widget img {
	width: 64px !important;
	display: none;
}

.widget_st_latest_posts_widget .media {
	border-bottom: 1px solid #ccc;
}

.widget_categories ul li.current-cat {
	border: 1px solid #ddd;
	background: #fcfcfc;
}

/* =POST CONTENT
----------------------------------------------- */

.thumbleft {
	text-align: center;
	float: left;
	margin: 2% 5% 7% 0;
	width: 45%;
	transition: 0.1s ease all;
	position: relative;
	z-index: 10;
}

.thumbleft img {
	object-fit: cover;
	width: 100%;
	height: auto;
	object-position: center top;
}

/* Alignment */

.width320 {
	width: 400px;
	height: auto;
}

.max50,
.max40 {
	max-width: 50% !important;
	height: auto;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 1em;
}

.max40 {
	max-width: 40% !important;
}

.alignleft {
	float: left;
	margin-right: 2em;
}

.alignright {
	float: right;
	clear: right;
	max-width: 50% !important;
	margin-left: 1.625em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#content {
	padding: 0 3% 3%;
	position: relative;
}

#content img {
	display: inline-block;
	max-width: 100% !important;
	height: auto;
}

.page-header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 100;
	background: white;
	border-bottom: 2px solid #289dcc;
}

.page-header .page-title {
	font-size: 18px;
	padding-bottom: 0.1em;
	text-align: left;
}

.bio-header .page-title {
	visibility: hidden;
	max-height: 0;
	padding: 0.5em 0 0.25em;
}

.bio-header.is-stuck .page-title {
	visibility: visible;
	max-height: none;
}

.sticky-page-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background: white;
	z-index: 1000;
}

.page-header .page-title span {
	background-color: #006170;
	color: #fff;
	padding: 6px 12px;
	display: inline-block;
}

.page-header select {
	display: none;
}

#content article {
	margin-bottom: 30px;
}

.single #content article {
	margin-bottom: 0;
}

#content article img {
	margin-bottom: 0;
}

#content article .article-content {
	padding: 15px;
}

#content article .article-content .entry-title {
	padding: 0.5em 0 0;
	font-size: 32px;
}

#content article .article-content h3.entry-title {
	font-family: 'Scandia' !important;
	font-weight: bold;
	text-align: center;
	text-transform: none;
}

#content article .article-content blockquote {
	margin: 0;
	padding: 0;
}

#content article .article-content .entry-title a {
	color: #232323;
}

#content article .article-content .entry-title a:hover {
	color: #006170;
}

.type-post .entry-title,
.type-page .entry-title {
	font-size: 34px;
	line-height: 1.2;
}

.post .entry-title a,
.search .entry-title a {
	color: #333333;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

.post .entry-title a:hover,
.search .entry-title a:hover {
	color: #006170;
}

.post .entry-content {
	margin-bottom: 10px;
}

.entry-time {
	text-align: center;
	font-style: italic;
	padding: 0.5em 1em 1em;
	color: #666;
}

.content-column {
	vertical-align: top;
}

.entry-content {
	text-align: left;
	position: relative;
	font-size: 11pt;
	line-height: 2em;
}

.entry-content p {
	font-size: 11pt;
	line-height: inherit;
}
.entry-content a {
	color: #006170;
	text-decoration: underline;
}
.entry-content a:hover {
	color: #00b4cf;
}

.entry-content iframe {
	max-width: 100%;
}

.siteorigin-widget-tinymce iframe {
	width: 100%;
	height: 480px;
}

.entry-content td:empty:after {
	content: '\00a0';
}

.entry-content ul {
	list-style: square;
}

.entry-content img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.entry-content ul,
.entry-content ol {
	font-size: 11pt !important;
	padding: 0 0 0 0.5em;
	margin-bottom: 0;
	margin-top: 0.5em;
	color: inherit;
}

.entry-content ol {
	margin: 1em 0 0 1em;
	list-style-position: outside;
}

.entry-content h2 {
	text-align: left;
	font-weight: bold;
	font-size: x-large;
	font-family: inherit;
}

.entry-content h3 {
	text-align: left;
	font-weight: bold;
	font-size: 1.2em;
	font-family: inherit;
}
.entry-content h4 {
	text-align: left;
	font-weight: bold;
	font-size: 1.1em;
	font-family: inherit;
}
.entry-content h5 {
	text-align: left;
	font-weight: bold;
	font-size: 1em;
	font-family: inherit;
}
.entry-content table {
	border-spacing: 10px;
}

.entry-content table td {
	vertical-align: top;
}

.entry-content li {
	font-size: inherit;
	padding: 0 0 1.5em;
	line-height: 2em;
	color: inherit;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-bottom: 0;
}

.post .entry-content a:hover {
	text-decoration: underline;
}

footer.entry-meta {
	display: none;
}

.entry-meta {
	color: #666;
	padding-bottom: 20px;
	font-size: smaller;
}

.entry-meta .byline i,
.entry-meta .cat-links i {
	padding-left: 5px;
	padding-right: 5px;
	font-size: 16px;
	color: #006170;
}

.entry-meta .byline a,
.entry-meta .cat-links a {
	font-size: 20px;
}

.entry-meta .byline {
	margin-right: 25px;
}

.entry-meta a {
	color: #006170;
	text-decoration: underline;
}

.entry-meta a:hover {
	text-decoration: underline;
}

.entry-meta .sep {
	display: block;
	border-top: 1px solid #f2f2f2;
	position: relative;
	margin: 10px 0 0;
	padding: 5px 0;
}

.entry-meta .post-format {
	padding: 5px;
	position: absolute;
	right: -64px;
	top: -32px;
}

.entry-meta .post-format i {
	background-color: #006170;
	border-radius: 5px;
	color: #ffffff;
	display: block;
	height: 30px;
	line-height: 30px;
	text-align: center;
	width: 30px;
	border-radius: 5px;
	padding: 12px 8px 8px 8px;
}

.entry-meta .posted-on,
.entry-meta .comments-link,
.entry-meta .edit-link,
.entry-meta .tag-links {
	font-size: 12px;
	line-height: 20px;
	margin-right: 25px;
}

.entry-meta .posted-on a,
.entry-meta .comments-link a,
.entry-meta .edit-link a,
.entry-meta .tag-links a {
	color: #006170;
	font-size: 14px;
}

.entry-meta .posted-on a:hover,
.entry-meta .comments-link a:hover,
.entry-meta .edit-link a:hover,
.entry-meta .tag-links a:hover {
	color: #006170;
	text-decoration: none;
}

.entry-meta .posted-on i,
.entry-meta .comments-link i,
.entry-meta .edit-link i,
.entry-meta .tag-links i {
	font-size: 14px;
	padding-right: 5px;
	padding-left: 5px;
	text-decoration: none;
}

.entry-content a.read-more:hover {
	text-decoration: none;
}

.single #content .tags a {
	border: 1px solid #eaeaea;
	padding: 3px 5px;
	border-radius: 3px;
	color: #666;
}

.single #content .tags a:hover {
	color: #006170;
	text-decoration: none;
}

.wpdiscuz-front-actions {
	display: none;
}

.wc_comm_submit {
	font-family: inherit !important;
}

/* =POST CONTENT
----------------------------------------------- */
.related-posts-container {
	display: flex;
	flex-direction: row;
	max-width: 1250px;
	width: 100%;
	margin: 0 auto;
	padding: 0 0 2%;
	justify-content: space-evenly;
}

.related-posts-cell {
	flex: 1 1 0;
	margin: 1%;
	padding: 0;
	background: white;
	transition: 0.2s ease box-shadow;
}

.related-posts-cell:hover {
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.related-posts-cell img {
	display: inline-block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}

.related-posts-cell span {
	padding: 1em;
	min-height: 2em;
	display: block;
}

.related-posts-cell a {
	text-decoration: none;
	color: inherit;
	font-size: larger;
	color: #999;
}

@media (max-width: 850px) {
	/* Hide secondary content on screens 850px or smaller */
	@media (max-width: 850px) {
		#secondary {
			display: none;
		}

		.blogwrap {
			display: block;
		}
	}

	.blog-category {
		display: none;
	}

	.page-header select {
		margin: 0 auto;
		display: block;
		font-size: 18px;
		width: 100%;
	}

	.page-header .page-title.archive {
		display: none;
	}
}

@media (max-width: 640px) {
	.thumbleft {
		margin: 0;
		float: none;
		width: auto;
	}
}

@media (orientation: portrait) {
	.related-posts-container {
		display: block;
	}

	.related-posts-cell a {
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: center;
	}

	.related-posts-cell img {
		width: 200px;
		height: 120px;
		flex: 1;
		max-width: 45%;
	}

	.related-posts-cell span {
		flex: 3;
		font-size: smaller;
	}
}
