/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400;700&display=swap');

/* Variables */
:root {
	--main-bg-color: #f5f5e8;
	--main-header-color: #000;
	--main-header-font: Lucida Bright,Georgia,serif;
	--main-body-color: #545454;
	--main-body-font: Palatino,Palatino Linotype,Palatino LT STD,Book Antiqua,Georgia,serif;
	--main-secondary-font: "Myriad Pro", Myriad, "Liberation Sans", "Nimbus Sans L", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--main-nav-font: 'Teko', sans-serif;
	--main-border-color: #dad9d9;
	--main-normal-spacing: 10px;
	--main-small-spacing: 5px;
	--main-large-spacing: 20px;
	--main-header-height: 100px;
	--main-header-height-mobile: 70px; 
	--green-color: #daede2;
	--white-color: #fff;
	--dark-gray-color: #2f2f2f;
}

/* Animations */
@keyframes grain {
	0%, 100% { transform:translate(0, 0) }
	10% { transform:translate(-5%, -10%) }
	20% { transform:translate(-15%, 5%) }
	30% { transform:translate(7%, -25%) }
	40% { transform:translate(-5%, 25%) }
	50% { transform:translate(-15%, 10%) }
	60% { transform:translate(15%, 0%) }
	70% { transform:translate(0%, 15%) }
	80% { transform:translate(3%, 35%) }
	90% { transform:translate(-10%, 10%) }
}

@keyframes menuOpen {
	0% {
		height: 0;
		opacity: 0;
	}
	5% {
		height: 100vh;
		opacity: 0;
	}
	100% {
		height: 100vh;
		opacity: 1;
	}
}

@keyframes borderAnimate {
	0% {
		transform: rotate(0);
		background: conic-gradient(var(--white-color), transparent 20%);
	}
	80% {
		background: conic-gradient(var(--white-color), transparent 90%);
	}
	100% {
		transform: rotate(360deg);
		background: conic-gradient(var(--white-color), var(--white-color));
	}
}

@keyframes reveal {
	0% {
		width: 0;
	}
	100% {
		width: 35%;
	}
}

* {
	max-width: 100%;
}

html,
body {
	width: 100%;
	height: 100%;
}

body {
	font-size: 18px;
	line-height: 1;
	margin: 0;
	overflow-x: hidden;
}

.page-flip-container {
	border: 1px solid rgba(0,0,0,0);
	border-radius: 0;
	box-shadow: 0px 0px 0px rgba(0,0,0,0);
	height: 100%;
	max-width: 100%;
	position: relative;
	top: 100px;
	right: 0;
	overflow-x: hidden;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
	width: 100%;
	z-index: 2;
}

.page-flip-container::-webkit-scrollbar, 
::-webkit-scrollbar{
	display: none;
}

.page-flip-container.active {
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 6px;
	box-shadow: 2px 5.5px 4.5px rgba(0, 0, 0, 0.5);
	height: calc(100vh - 130px);
	position: fixed;
	top: calc(var(--main-header-height) + 10px);
	right: 55vw;
	width: 2100px;
}

	.page-flip-container > .padded-top-header {
		padding-top: 0;
	}

body.admin-bar .page-flip-container.active {
	height: calc(100vh - 165px);
	top: 140px;
}

body,
.txt-body {
	color: var(--main-body-color);
}

@media (prefers-color-scheme: dark) {

	/*body,
	.txt-body  {
		color: var(--white-color);
	}*/
	
}

body {
	background-color: rgba(245,245,232,.3);
	position: relative;
	height: 100%;
}

.page-flip-container,
.bg-body {
	background-color: #f5f5e8;
}

body,
.body-font {
	font-family: var(--main-body-font);
}

body:before {
	border-radius: 4px;
	filter: blur(8px);
	content: '';
	background: rgba(0,0,0,0);
	display: block;
	height: calc(100vh - 124px);
	position: fixed;
	top: 114px;
	transform: skew(-2deg);
	transition: all .5s ease;
	width: 0;
}

body.admin-bar:before {
	height: calc(100vh - 173px);
	top: 147px;
}

body:after {
	border-radius: 4px;
	filter: blur(0);
	content: '';
	background: rgba(0,0,0,0);
	display: block;
	height: calc(100vh - 124px);
	position: fixed;
	top: 113px;
	left: -7px;
	transition: all .45s ease;
	transform: skew(0deg);
	width: 0;
}

body.menu-open:before,
body.menu-open:after {
	width: 45vw;
	transition-delay: .25s;
}

body.menu-open:before {
	background: rgba(0,0,0,.2);
	filter: blur(8px);
	transform: skew(-2deg);
}

body.menu-open:after {
	filter: blur(3px);
	transform: skew(-1deg);
	background: rgba(0,0,0,.4);
}

body.admin-bar:after {
	height: calc(100vh - 172px);
	top: 145px;
}

.nav-font {
	font-family: var(--main-nav-font);
}

figcaption,
.figcaption {
	font-family: var(--main-secondary-font);
	font-weight: bold;
	text-align: right !important;
}

.figcaption.smaller {
	font-size: 13px;
}

a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a,
.pointer,
input[type="submit"] {
	cursor: pointer;
}

input[type="search"] {
	border: none;
	border-bottom: 1px solid var(--main-body-color);
	max-width: 100%;
	margin-right: 0;
	padding: var(--main-normal-spacing);
	width: 250px;
	background: transparent;
	color: var(--main-body-color);
	font-size: 1.1em;
	 -webkit-appearance: none;
	  border-radius: 0;
}

input:focus-visible {
	outline: none;
}

input[type="search"]::-webkit-search-cancel-button{
	background: red !important;
	box-shadow: none;
	filter: brightness(0) invert(1);
	color: var(--white-color) important;
}

textarea#comment {
	width: calc(100% - 6px);
}

h1,
h2,
h3,
h4,
h5 {
	color: var(--main-header-color);
	line-height: 140%;
}

h1,
h3,
h5,
.page-title,
.post-title,
.header-font {
	font-family: var(--main-header-font);
}

h2,
h4 {
	font-family: var(--main-body-font);
}

h1,
.page-title,
.post-title {
	font-size: 2em;
	margin: 0 0 var(--main-normal-spacing);
}

h2 {
	font-size: 1.75em;
	margin: 0 0 var(--main-normal-spacing);
}

h3 {
	font-size: 1.5em;
	margin: 0 0 var(--main-normal-spacing);
}

h4 {
	font-size: 1.25em;
	margin: 0 0 var(--main-small-spacing);
}

h5 {
	font-size: .9em;
	margin: 0 0 var(--main-small-spacing);
}

p {
	font-size: 1em;
}

p,
ol,
ul {
	margin: 0 0 var(--main-large-spacing);
}

p,
ul li,
ol li {
	line-height: 140%;
}

ul {
	padding-left: 15px;
}

	ul li {
		list-style: none;
		padding: 0 0 var(--main-normal-spacing);
		position: relative;
	}

	ul li:last-child {
		padding: 0 0 0;
	}

	ul li:before {
		background: var(--main-body-color);
		border-radius: 50%;
		content: '';
		display: block;
		height: 6px;
		position: absolute;
			left: -12px;
			top: 10px;
		width: 6px;
	}
	
	ul ul {
		margin-bottom: var(--main-normal-spacing);
		margin-top: var(--main-normal-spacing);
	}
	
.no-list,
.no-list ul,
ul.sub-menu,
ul.children{
	padding-left: 0;
}
	
	.no-list li:before {
		display: none;
	}
	
strong,
.text-bold,
.wp-caption p{
	font-weight: bold;
}

hr,
.wp-block-separator{
	background-color: var(--main-border-color);
	border: none;
	height: 1px;
	margin: 0 auto var(--main-normal-spacing);
	width: 100%;
}

/* Button */
.btn,
.bg-black,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"] {
	background-color: var(--main-header-color);
}

.bg-gray {
	background-color: var(--main-body-color);
}

.bg-dark-gray {
	background-color: var(--dark-gray-color);
}

.btn,
.txt-bg-color,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"] {
	color: var(--main-bg-color);
}

/* Text Colors */
.txt-white {
	color: var(--white-color);
}

/* Helper Classes */
.fw-normal {
	font-weight: normal;
}

.txt-center {
	text-align: center;
}

.txt-left {
	text-align: left;
}

.txt-right,
.main-menu li a,
.wp-caption p,
figcaption{
	text-align: right;
}

.show-phone,
.show-phone-small {
	display: none;
}

.title-btn:before,
.author-info:before{
	background: var(--main-header-color);
	content: '';
	display: block;
	height: 100%;
	position: absolute;
		left: 0;
		top: 0;
	transition: all .1s ease;
	width: 0;
	z-index: -1;
}

.title-btn:hover:before,
.author-info:hover:before{
	width: 100%;
}

.title-btn:hover > a,
.author-info:hover {
	color: var(--main-bg-color);
}

.d-block,
h1,
h2,
h3,
h4,
h5,
h6,
img.aligncenter,
.main-menu li a {
	display: block;
}

.screen-reader-text,
.d-none,
.main-menu li .sub-menu,
.main-menu li .children {
	display: none;
}

.d-inline-block {
	display: inline-block;
}

.d-inline-flex,
.wp-caption a {
	display: inline-flex;
}

.bigger {
	font-size: 140%;
}

.btn,
.smaller,
.wp-caption p,
figcaption,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"] {
	font-size: 85%;
}

img.aligncenter,
.author-img.aligncenter,
.wp-caption.aligncenter,
.auto-align {
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 0 var(--main-large-spacing) var(--main-large-spacing) 0;
}

img.alignright {
	margin: 0 0 var(--main-large-spacing) var(--main-large-spacing);
}

.float-left,
body.single .wp-caption.alignleft,
img.alignleft{
	float: left;
}

.float-right,
body.single .wp-caption.alignright,
img.alignright{
	float: right;
}

.flex-box,
.post-navigation .nav-links,
.posts-navigation .nav-links,
.search-form{
	display: flex;
	flex-wrap: wrap;
}

.search-form > *{
	max-width: 45vw;
	right: 0;
}

.menu-main-menu-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
	
	.menu-main-menu-container > * {
		max-width: 50%;
	}

.flex-box.justify-center {
	justify-content: center;	
}

.align-baseline {
	align-content: baseline;	
}

.justify-center,
.404-message .search-form {
	justify-content: center;
}

.flex-center {
	align-items: center;
}

.flex-end,
.search-form {
	justify-content: flex-end;
}

.search-form:before {
	border: 5px solid;
	border-radius: 50%;
	content: '';
	display: block;
	height: 13px;
	position: absolute;
	right: 20px;
	top: 7px;
	width: 13px;
}

.search-form:after {
	background: var(--main-body-color);
	content: '';
	display: block;
	height: 13px;
	position: absolute;
	right: 20px;
	top: 22px;
	transform: rotate(-45deg);
	width: 5px;
}

	.search-form > input[type="submit"] {
		background: none;
		overflow: hidden;
		width: 50px;
		text-indent: 999px;
	}

.flex-reverse {
	flex-direction: row-reverse;
}

.flex-start {
	align-content: flex-start;
}

.space-between,
.post-navigation .nav-links,
.posts-navigation .nav-links{
	justify-content: space-between;
}

.featured-flex,
.flex-box.post-inner-flex{
	width: calc(100% - 301px);
}

	.featured-flex  > *:first-child > *:nth-child(2) {
		width: calc(70% + 8px);
	}

	.post-inner .featured-flex  > *:first-child > *:nth-child(2) {
		width: calc(60% + 8px);
	}
	
	.featured-flex > *:first-child > *:first-child {
		width: 29%;
	}
	
	.post-inner .featured-flex > *:first-child > *:first-child {
		width: 39%;
	}

	.flex-box.featured-ticker > *:first-child {
		width: 25%;
	}

	.flex-box.featured-ticker > *:not(:first-child) {
		width: 24%;
	}

		.flex-box.featured-ticker > *:not(:first-child) > .post > *{
			width: calc(100% - 140px);
		}

		.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child {
			max-height: 120px;
			max-width: 120px;
			width: auto;
		}

		.flex-box.featured-ticker > *:not(:first-child) > .post.no-thumb > *:first-child {
			max-height: 100%;
			max-width: 100%;
			width: 100%;
		}

	.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post {
		display: block
	}

		.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *,
		.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child{
			width: 100%;
		}

		.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child{
			margin-bottom: var(--main-normal-spacing);
			max-height: 120px;
			max-width: 100%;
		}

.flex-box.two-column > * {
	width: calc(50% - var(--main-large-spacing) - var(--main-large-spacing) - 1px);
}

.flex-box.five-column > * {
	width: 25%;
}

.two-third-flex > *:nth-child(odd) {
	width: 36%;
}

.two-third-flex > *:nth-child(even) {
	width: 64%;
}

.three-column.flex-box > * {
	width: 31%;
}

.four-column.flex-box > * {
	width: 23%;
}

.p-fixed {
	position: fixed;
}

.p-relative,
.wp-caption,
.wp-caption a,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"],
.search-form {
	position: relative;
}

.p-absolute {
	position: absolute;
}

.bring-to-back {
	z-index: -1;
}

.bring-to-front {
	z-index: 100;
}

header.bring-to-front {
	left: 0;
	top: 0;
	z-index: 200;
	width: 100vw;
}

.inner {
	margin: 0 auto;
	max-width: 1400px;
	width: 100%;
}

.big-inner {
	max-width: 2000px;
}

.bg-animate,
.wp-caption a{
	background-size: 100% auto;
}

.author-thumb-large.bg-animate {
	background-size: auto 100%;
}

.post-container:hover .bg-animate,
.single-post .post-thumb.bg-animate:hover,
.wp-caption:hover a {
	background-size: 106% auto;
}

.post-container:hover .author-thumb-large.bg-animate {
	background-size: auto 106%;
}

.bg-cover {
	background-size: cover;
}

.bg-center,
.wp-caption a{
	background-position: center;
}

.bg-green {
	background-color: var(--green-color);
}

.border {
	border: 1px solid var(--main-border-color);
}

.border-bottom {
	border-bottom: 1px solid var(--main-border-color);
}

.border-left {
	border-left: 1px solid var(--main-border-color);
}

.border-right {
	border-right: 1px solid var(--main-border-color);
}

.border-top {
	border-top: 1px solid var(--main-border-color);
}

.main-menu ul > li:first-child {
	border-top: 0;	
}

.border-radius,
.wp-caption a,
.wp-caption > img,
.post-inner img,
.post-container .wp-block-image:not(.is-style-rounded) img,
.wp-block-image img,
.wp-block-image:not(.is-style-rounded)>a, 
.wp-block-image:not(.is-style-rounded) img{
	border-radius: 6px;
}

.border-radius-small,
.post-inner img.border-radius-small  {
	border-radius: 4px;
}

.border-radius-large,
.post-inner img.border-radius-large  {
	border-radius: 10px;
}

.border-radius-full,
.post-inner img.border-radius-full {
	border-radius: 50%;
}

.o-hidden,
.wp-caption a {
	overflow: hidden;
}

.o-x-hidden {
	overflow-x: hidden;
}

.o-y-hidden {
	overflow-y: hidden;
}

.full-height {
	height: 100%;
}

.full-viewer-height {
	height: 100vh;
}

.full-width, .post-inner .featured-flex, .post-navigation, .post-navigation .nav-links, .posts-navigation .nav-links, .search-form, .main-menu li, .sub-menu{
	width: 100%;
}

.full-viewer-width {
	width: 100vw;
}

.letter-spacing,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"] {
	letter-spacing: 0.06em;
}

.post-cfg.two-row {
	-webkit-columns: var(--main-large-spacing) 2;
	/* Chrome, Safari, Opera */
	-moz-columns: var(--main-large-spacing) 2;
	/* Firefox */
	columns: var(--main-large-spacing) 2;
}

.post-cfg.three-row {
	-webkit-columns: var(--main-large-spacing) 3;
	/* Chrome, Safari, Opera */
	-moz-columns: var(--main-large-spacing) 3;
	/* Firefox */
	columns: var(--main-large-spacing) 3;
}

.post-cfg.four-row {
	-webkit-columns: var(--main-large-spacing) 4;
	/* Chrome, Safari, Opera */
	-moz-columns: var(--main-large-spacing) 4;
	/* Firefox */
	columns: var(--main-large-spacing) 4;
}

.no-padding,
.wp-block-column.no-padding,
.wp-block-column.post-cfg{
	padding: 0;
}

.main-menu li {
	line-height: 1;
}

	.main-menu > li > a {
		font-size: 2.5em;
	}

	.main-menu > li.current-menu-item > a,
	.main-menu > li > a:hover{
		color: var(--main-header-color);
		font-size: 2.6em;
	}

.padded,
.main-menu li a {
	padding: var(--main-normal-spacing);
}

.main-menu > ul > li > a {
	font-weight: 700;
	font-size: 2.5em;
	line-height: 140%;
}

.main-menu li a {
	background: rgba(255,255,255, 0);
}

.main-menu li a:hover,
.main-menu li .sub-menu,
.main-menu li .children {
}

.main-menu li .sub-menu a,
.main-menu li .children a{
	color: var(--main-header-color);
}

.padded-small,
.author-info,
.wp-caption p{
	padding: var(--main-small-spacing);
}

.padded-large,
.wp-caption,
.wp-block-cover, 
.wp-block-cover-image,
.wp-block-column,
.post-navigation,
.posts-navigation{
	padding: var(--main-large-spacing);
}

.padded-large-double {
	padding: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.padded-left {
	padding-left: var(--main-normal-spacing);
}

.padded-left-small {
	padding-left: var(--main-small-spacing);
}

.padded-left-large,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"],
.main-menu li .children li a {
	padding-left: var(--main-large-spacing);
}

.padded-left-large-double {
	padding-left: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.padded-right {
	padding-right: var(--main-normal-spacing);
}

.padded-right-small {
	padding-right: var(--main-small-spacing);
}

.padded-right-large,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"]{
	padding-right: var(--main-large-spacing);
}

.padded-right-large-double {
	padding-right: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.padded-top,
.main-menu li a {
	padding-top: var(--main-normal-spacing);
}

.padded-top-small,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"]{
	padding-top: var(--main-small-spacing);
}

.padded-top-large {
	padding-top: var(--main-large-spacing);
}

.padded-top-large-double {
	padding-top: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.padded-top-header {
	padding-top: var(--main-header-height);
}

.no-padded-top {
	padding-top: 0;
}

.no-padded-bottom,
.main-menu li {
	padding-bottom: 0;
}

.main-menu li.menu-item-has-children > span {
	border-right: 3px solid var(--main-body-color);
	border-bottom: 3px solid var(--main-body-color);
	display: block;
	height: 12px;
	position: absolute;
	left: -25px;
	top: 19px;
	transition: all .25s ease;
	transform: rotate(45deg);
	width: 12px;
}

.main-menu li.menu-item-has-children:hover > span,
.main-menu li.menu-item-has-children.active > span {
	transform: rotate(-135deg);
}

.main-menu li.menu-item-has-children:hover > ul.sub-menu {
	background: var(--white-color);
	display: block;
}

	ul.sub-menu > li > a {
		font-size: 1.4em;
		padding-bottom: 20px;
		padding-top: 20px;
	}

	ul.sub-menu > li > a:hover {
		font-size: 1.5em;
	}

.padded-bottom,
.main-menu li a {
	padding-bottom: var(--main-normal-spacing);
}

.padded-bottom-small,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
input[type="submit"]{
	padding-bottom: var(--main-small-spacing);
}

.padded-bottom-large {
	padding-bottom: var(--main-large-spacing);
}

.padded-bottom-large-double {
	padding-bottom: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.no-text-decoration,
.post-navigation .nav-links a,
.posts-navigation .nav-links a,
.main-menu li a{
	text-decoration: none;
}

.no-margin,
.wp-caption,
.wp-caption p,
.sub-menu,
.children{
	margin: 0;
}

.no-margin-left,
.wp-block-column.no-margin-left,
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.no-margin-left{
	margin-left: 0;
}

.margin {
	margin: var(--main-normal-spacing);
}

.margin-large {
	margin: var(--main-large-spacing);
}

.margin-small {
	margin: var(--main-small-spacing);
}

.margin-bottom {
	margin-bottom: var(--main-normal-spacing);
}

.no-margin-bottom,
.wp-block-columns{
	margin-bottom: 0;
}

.wp-block-columns.no-gap {
	gap: 0;
}

.margin-bottom-large,
.wp-caption {
	margin-bottom: var(--main-large-spacing);
}

.margin-bottom-large-double {
	margin-bottom: calc(var(--main-large-spacing) + var(--main-large-spacing) + var(--main-normal-spacing));
}

.margin-bottom-small {
	margin-bottom: var(--main-small-spacing);
}

.margin-left {
	margin-left: var(--main-normal-spacing);
}

.margin-left-large {
	margin-left: var(--main-large-spacing);
}

.margin-left-small {
	margin-left: var(--main-small-spacing);
}

.margin-right {
	margin-right: var(--main-normal-spacing);
}

.margin-right-large {
	margin-right: var(--main-large-spacing);
}

.margin-right-small {
	margin-right: var(--main-small-spacing);
}

.margin-top {
	margin-top: var(--main-normal-spacing);
}

.margin-top-large {
	margin-top: var(--main-large-spacing);
}

.margin-top-small {
	margin-top: var(--main-small-spacing);
}

.text-lowercase {
	text-transform: lowercase;
}

.text-uppercase {
	text-transform: uppercase;
}

.transition,
.wp-caption a,
.wp-caption img,
.post-container img,
.wp-block-image img,
.main-menu li a {
	transition: all .5s ease;
}

.transparent,
.wp-caption a img{
	opacity: 0;
}

.post-hr,
.short-hr,
.flex-box.two-column > *.post-hr,
.wp-block-separator:not(.is-style-wide):not(.is-style-dots){
	margin-left: auto;
	margin-right: auto;
	width: calc(100% - var(--main-large-spacing) - var(--main-large-spacing));
}

.short-hr {
	max-width: 100px;
}

.transition {
	transition: all .25s ease;
}

.transition-slow {
	transition: all .5s ease;
}

.txt-indent p,
p.txt-indent {
	text-indent: 20px;
}

.no-txt-indent,
.no-txt-indent p,
p.no-txt-indent {
	text-indent: 0;
}

.no-txt-indent,
.no-txt-indent *,
.txt-indent .no-txt-indent {
	text-indent: 0;
}

/* Forms */

	input[type="submit"] {
		border: none;
	}

/* Header */
header {
	height: var(--main-header-height);
}

header.active {
	background-color: rgba(255,255,255,0);
	border: none;
	right: 0;
	top: 0;
	max-width: 100%;
	/* width: 2100px; */
}

body.admin-bar .page-flip-container header {
	top: 32px;
}

	.branding-logo {
		width: auto;
		height: calc(100% - var(--main-large-spacing));
	}

		.branding-logo > img {
			height: 100%;
			width: auto;
		}
	
	/* Hamburger Menu */
	.menu-wrapper {
		min-width: 280px;
	}
	
	.ham {
		cursor: pointer;
		right: 20px;
		height: 20px;
		width: 28px;
	}

	.ham:before {
		content: 'Menu';
		font-family: var(--main-nav-font);
		font-size: 15px;
		opacity: 1;
		position: absolute;
			top: calc(100% + 5px);
			left: 1px;
		transition: all .25s ease;
		text-transform: uppercase;
	}

	.ham.active:before {
		left: calc(-100% - 10px);
		opacity: 0;
	}

	.ham:after {
		content: 'Close';
		font-family: var(--main-nav-font);
		font-size: 15px;
		opacity: 0;
		position: absolute;
			top: calc(100% + 5px);
			left: calc(100% + 10px);
		transition: all .25s ease;
		text-transform: uppercase;
	}

	.ham.active:after {
		opacity: 1;
		left: 0;
	}

	.ham.active {
		right: 20px;
	}
	
		.ham > span {
			background: var(--main-body-color);
			border-radius: 2px;
			display: block;
			height: 2px;
			opacity: 1;
			position: absolute;
				left: 0;
			width: 100%;
			transition: all .25s ease;
			transform: rotate(0deg);
		}

		.ham > span:first-child {
			top: 0;
		}

		.ham > span:nth-child(2),
		.ham > span:nth-child(3) {
			top: calc(50% - 1px);
		}

		.ham > span:last-child {
			bottom: 0;
		}

		.ham.active > span:first-child,
		.ham.active > span:last-child {
			opacity: 0;
			left: 110%;
		}

		.ham.active > span:nth-child(2) {
			transform: rotate(45deg);
		}

		.ham.active > span:nth-child(3) {
			transform: rotate(-45deg);
		}
		
	/* Main Nav */
	.menu-container {
		min-height: 100vh;
		top: 0;
		right: 0;
		max-width: 100%;
		width: 100vw;
		z-index: 1;
	}

	.menu-container > .inner {
		max-width: 100%;
		padding-top: calc(var(--main-header-height) + var(--main-small-spacing));
		z-index: 1;
	}

	body.admin-bar .menu-container > .inner {
		padding-top: calc(var(--main-large-spacing) + 60px + 32px);
	}

	.menu-container:before {
		background-color: var(--main-bg-color);
		background-image: url(../images/paper-texture.jpg);
		background-size: cover;
		background-attachment: fixed;
		content: '';
		display: block;
		height: 100%;
		opacity: .4;
		position: absolute;
		width: 100%;
		z-index: -1;
	}

	.menu-container:after {
		background-color: var(--main-bg-color);
		content: '';
		display: block;
		height: 100%;
		opacity: .4;
		position: absolute;
		width: 100%;
		z-index: -1;
	}
	
	header.active .menu-container {
		left: calc(100% - 600px);
		opacity: 1;
		overflow: visible;
	}

/* Image Captions */
body:not(.single) .wp-caption {
	background-image: none !important;
	width: calc(100% - var(--main-large-spacing) - var(--main-large-spacing)) !important;
}

body.single .wp-caption {
	background-image: none !important;
}

.wp-caption.aligncenter {
	display: block;
	/* width: fit-content !important; */
}

	.wp-caption a {
		width: 100%;
	}

	.wp-caption img {
		height: auto !important;
		width: 100% !important;
	}

	.wp-caption img.size-medium {
		width: auto !important;
	}

	.wp-caption p {
		font-family: var(--main-secondary-font);
		text-indent: 0;
	}

/* Videos */
.video-controls {
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	width: 80px;
	height: 80px;
}

.has-video.active > .video-controls {
	top: calc(100% + 50px);
	left: calc(50% - 70px);
	width: 140px;
	height: 50px;
}

.has-video.active:hover > .video-controls {
	top: calc(100% - 46px);
}

	.play-btn {
		appearance: none;
		background: conic-gradient(var(--white-color), var(--white-color));
		outline: none;
	}

	.has-video.active > .video-controls .play-btn.border-radius-full,
	.has-video.active > .video-controls .play-btn.border-radius-full:before{
		border-radius: 0;
	}

	.has-video.active > .video-controls .play-btn.border-radius-full:before{
		height: calc(100% - 4px);
		width: calc(100% - 4px);
	}
	
		.play-btn::before {
			content: "";
			position: absolute;
			width: 93%;
			height: 93%;
			background-color: var(--dark-gray-color);
			border-radius: 50%;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
		}
	
	.play-icon {
		width: 26px;
		height: 26px;
		left: calc(60% + 3px);
		top: calc(50% + 2px);
		background-color: var(--white-color);
		transform: translate(-60%, -50%) rotate(90deg);
		clip-path: polygon(50% 15%, 0% 100%, 100% 100%);
	}

		.has-video.active > .video-controls .play-icon {
			left: calc(22% + 3px);
			width: 18px;
			height: 18px;
		}
	
		.play-btn:checked + .play-icon {
			clip-path: polygon(0 100%, 0% 100%, 100% 100%);
		}
	
	.pause-icon {
		width: 26px;
		height: 26px;
		left: calc(50% + 4px);
		top: calc(50% + 2px);
		transform: translate(-50%, -50%);
	}

		.has-video.active > .video-controls .pause-icon {
			left: calc(18% + 3px);
			width: 18px;
			height: 18px;
		}

		.pause-icon::before {
			content: "";
			position: absolute;
			width: 0%;
			height: 100%;
			background-color: var(--white-color);
			left: 0;
		}
		
		.pause-icon::after {
			content: "";
			position: absolute;
			width: 0;
			height: 100%;
			background-color: var(--white-color);
			right: 0;
		}
		
		.play-btn:checked ~ .pause-icon::before {
			animation: reveal 300ms ease-in-out 350ms 1;
			animation-fill-mode: forwards;
		}
		
		.play-btn:checked ~ .pause-icon::after {
			animation: reveal 300ms ease-in-out 600ms 1;
			animation-fill-mode: forwards;
		}

/* Sidebar */
.sidebar{
	max-width: 300px;
	width: 100%;
}

/* Posts */
.post:before,
.wp-caption:before{
	background: var(--white-color);
	border-radius: 50%;
	content: '';
	display: block;
	height: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transition: all .25s ease;
	width: 0;
	z-index: 0;
}

.post-container:hover .post:before,
.wp-caption:hover:before {
	border-radius: 0;
	height: 100%;
	top: 0;
	left: 0;
	width: 100%;
}

.post > *,
.wp-caption > * {
	position: relative;
	z-index: 2;
}

	.post-thumb,
	.post-thumb > img,
	.widget-thumb > img,
	.wp-caption img,
	.post-container img,
	.wp-block-image img{
		filter: grayscale(100);
		width: 100%;
		height: auto;
	}
	
	.post-container:hover .post .post-thumb,
	.post-container:hover .post .post-thumb > img,
	.widget-thumb:hover > img,
	.post-thumb.has-video.active,
	body.single-post .post-thumb.bg-animate:hover,
	.wp-caption:hover img,
	.post-container:hover img,
	.wp-block-image:hover img{
		filter: grayscale(0);
	}

	.post-thumb:before,
	.widget-thumb:before,
	.wp-caption a:before {
		background: url(../images/bg-texture.png);
		background-size: 2px 2px;
		content: '';
		display: block;
		height: 100%;
		opacity: .4;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		transition: all .25s ease;
		z-index: 1;
	}

	.post:hover .post-thumb:before,
	.widget-thumb:hover:before,
	.wp-caption a:hover:before {
		opacity: 0;
	}

	.post-thumb.has-video {
		height: 0;
		padding-bottom: 56.25%;
	}

		.post-thumb.has-video > iframe {
			height: 100%;
			margin: 0;
			opacity: 0;
			position: absolute;
				top: 0;
				left: 0;
			width: 100%;
		}

		.post .post-thumb.has-video.active > iframe {
			opacity: 1;
		}

	.author-img {
		height: 120px;
		width: 120px;
	}

	.author-info {
		bottom: var(--main-normal-spacing);
		right: var(--main-large-spacing);
	}

	.author-info.flex-start {
		bottom: var(--main-large-spacing);
		left: var(--main-large-spacing);
		right: 0;
	}

		.author-thumb {
			height: 20px;
			width: 20px;
		}

		.author-thumb-large {
			height: 100px;
			width: 100px;
		}

	/* Post Date */
	.padded-date {
		display: flex;
		flex-wrap: wrap;
		align-content: center;
		min-height: 56px;
		padding-left: 55px;
	}

	.post-date-cube {
		/* border: 1px solid; */
		box-shadow: -2px 2px 3px rgba(0,0,0,.4);
		font-family: var(--main-nav-font);
		font-weight: normal;
		border-radius: 4px;
		overflow: hidden;
		left: 0;
		top: 0;
		width: 44px;
	}

		.post-date-cube > * {
			display: block;
			position: relative;
				left: 15px;
			width: calc(100% - 15px);
		}

		.post-date-cube > .month {
			font-size: 16px;
			height: 26px;
			line-height: 26px;
		}

		.post-date-cube > .year {
			font-size: 13px;
			height: 100%;
			line-height: 1;
			line-break: anywhere;
			padding: 3px 4px;
			position: absolute;
			left: 0;
			top: 0;
			width: 7px;
		}

		.post-date-cube > .day {
			font-size: 24px;
			height: 30px;
			line-height: 30px;
		}
		
/* Footer */
footer {
	
}

	/* Sub Footer */
	.sub-footer > * {
		width: 38%;
	}
	
	.sub-footer > *:last-child {
		width: 18%;
	}

/* Mobile: Tablet Breakpoint */
@media ( max-width: 1400px ) {

	.show-phone {
		display: block;
	}
	
	.hide-tablet {
		display: none;
	}
	
	.no-border-tablet {
		border: none;
	}
	
	.border-right-tablet {
		border-right: 1px solid var(--main-border-color);
	}
	
	.featured-flex > *:first-child > *:first-child,
	.post-inner .featured-flex > *:first-child > *:first-child {
		order: 2;
		width: 100%;
	}

	.featured-flex > *:nth-child(4) {
		order: 4;
	}

	.featured-flex > *:nth-child(5) {
		order: 5;
	}
	
	.featured-flex > *:first-child > *:nth-child(2),
	.post-inner .featured-flex > *:first-child > *:nth-child(2){
		order: 1;
		width: 100%;
	}

	.post-inner .featured-flex > *:nth-child(2) {
		/* order: 2; */
	}

	.featured-flex > *:first-child > * {
		width: 100%;
	}

	.featured-flex > *:first-child > *:first-child  *.post-container {
		width: 50%;
	}

	*:last-child > .border-right-tablet {
		border-right: 0;
	}
	
	.flex-box.featured-ticker> *:first-child > *:not(:first-child) {
		width: 33%;
	}
	
	.flex-box.featured-ticker > *:first-child,
	.flex-box.featured-ticker > *:first-child > *,
	.post-inner .featured-flex > *:first-child  *.post-container {
		width: 100%;
	}

	.flex-box.featured-ticker > *:first-child {
		border-right: 0;
	}

	.flex-box.featured-ticker > *:not(:first-child) {
		width: 33%
	}
	
	.flex-box.featured-ticker > *:first-child {
		padding: var(--main-large-spacing);
	}
	
	.flex-box.featured-ticker > *:nth-child(2) {
		width: calc(100% - var(--main-large-spacing) - var(--main-large-spacing));
	}
	
	.flex-box.featured-ticker > *:not(:first-child) > .post.flex-center {
		align-items: start;
	}

	.flex-box.featured-ticker > *:not(:first-child) > .post > *,
	.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child{
		width: 100%;
	}
	
	.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child {
		/* min-height: 150px; */
		margin-bottom: var(--main-normal-spacing);
		max-width: 100%;
	}
	
}

/* Mobile: Phone Breakpoint */
@media ( max-width: 1050px ) {
	.no-border-phone {
		border: none;
	}
	
	.post-cfg,
	.post-cfg.two-row,
	.post-cfg.three-row,
	.post-cfg.four-row {
		-webkit-columns: var(--main-large-spacing) 1;
		/* Chrome, Safari, Opera */
		-moz-columns: var(--main-large-spacing) 1;
		/* Firefox */
		columns: var(--main-large-spacing) 1;
	}
	
	.two-third-flex > *:nth-child(odd),
	.two-third-flex > *:nth-child(even),
	.sub-footer > *,
	.sub-footer > *:last-child {
		width: 100%;
	}

	.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child {
		max-width: 100%;
	}

	.flex-box.featured-ticker > *:not(:first-child) > .post.flex-center {
		align-items: center;
	}

	.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post {
		display: flex;
	}

	.flex-box.featured-ticker > *:not(:first-child) > .post > *,
	.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child,
	.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *,
	.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child{
		margin-bottom: 0;
		width: calc(100% - 160px);
	}
	
	.flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child,
	.post-inner .flex-box.featured-ticker > *:not(:first-child) > .post > *:first-child{
		max-width: 150px;
	}
}

/* Mobile: Smaller Phone Breakpoint */
@media ( max-width: 950px ) {
	header {
		height: var(--main-header-height-mobile);
	}
	.page-flip-container {
		top: var(--main-header-height-mobile);
	}
	.page-flip-container.active{
		right: calc(100vw - 60px);
		height: calc(100vh - 100px);
		top: calc(var(--main-header-height-mobile) + 10px);
	}
	body:before,
	body:after{
		height: calc(100vh - 104px);
		top: 87px;
	}
	body.menu-open:before,
	body.menu-open:after{
		width: 75px;
	}
	.menu-main-menu-container > * {
		max-width: calc(100vw - 150px);
	}
	.d-grid-mobile {
		display: grid;
	}
	.padded-top-header {
		padding-top: var(--main-header-height-mobile);
	}
	.no-border-phone-small {
		border: none;
	}
	
	.no-border-right-phone-small {
		border-right: none;
	}
	
	.border-bottom-phone-small {
		border-right: 1px solid var(--main-border-color);
	}
	
	.show-phone-small {
		display: block;
	}
	
	.hide-phone-small {
		display: none;
	}	
	
	.featured-flex > *,
	.featured-flex > *:first-child > *:first-child *.post-container,
	.featured-flex > *:first-child > *:first-child *.post,
	.flex-box.post-inner-flex,
	.sidebar,
	.featured-flex,
	.flex-box.featured-ticker > *:not(:first-child),
	.flex-box.featured-ticker > *:not(:first-child) > *,
	.flex-box.two-column > * {
		width: 100%;
	}

	.wp-container-5 {
		flex-wrap: wrap !important;
	}

	.wp-container-5 > * {
		flex-basis: 100% !important;
	}

	.flex-box.featured-ticker > * {
		margin-bottom:1px;
	}

		.flex-box.featured-ticker > *:not(:first-child) > *.post:after {
			background: var(--main-border-color);
			content: "";
			display: block;
			height: 1px;
			position: absolute;
				bottom: 0;
				left: var(--main-large-spacing);
			width: calc(100% - 40px);
		}
		
		.flex-box.featured-ticker > *:last-child > *.post:after {
			display: none;
		}

	.sidebar {
		max-width: 100%;
	}

	header .menu-container {
		height: calc(100vh - var(--main-header-height-mobile));
		top: var(--main-header-height-mobile);
		width: 100%;
	}

	header.active .menu-container {
		left: 0;
	}

	.flex-box.five-column > * {
		width: 33%;
	}

	.menu-wrapper {
		min-width: auto;
	}

	.author-meta {
		padding: 20px !important;
	}

		.author-meta .post-title {
			font-size: 1.3em
		}

		.author-meta .author-img {
			height: 90px;
			width: 90px;
		}
}

@media screen and (max-width: 782px) {
	body.admin-bar .page-flip-container header {
		top: 46px;
	}
}

@media (max-width: 750px) {
	.flex-box.five-column > * {
		width: 50%;
	}
}
