/*
Theme Name: CEtwentytwentyfour
Theme URI: https://github.com/tidythemes/CEtwentytwentyfour
Author: TidyThemes
Author URI: https://github.com/tidythemes
Description: Donations: https://calmestghost.com/donate. CEtwentytwentyfour is the definitive WordPress boilerplate starter theme. We've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability and no intrusive visual CSS styles have been added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/tidythemes/CEtwentytwentyfour/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: CEtwentytwentyfour

CEtwentytwentyfour WordPress Theme © 2011-2023 TidyThemes
CEtwentytwentyfour is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;/*border-radius:0*/}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

#container {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

#content {
	flex: 1;
}

#sidebar {
	width: 280px;
}

.sidebar-list {
	margin: 0;
	padding: 0;
}

#main_wrap .sidebar-list > li {
	padding: 0;
}

#main_wrap .sidebar-list > li::before {
	display: none;
}

.links_wrap {
	display: flex;
	flex-direction: column;
}

.archive-meta {
	margin-bottom: 30px;
}

.entry-date {
	color: gray;
	font-family: "TT Norms";
	font-style: italic;
}

.slider-container-outer {
	margin-bottom: 40px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
	cursor: pointer;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/*.slider img {
    width: 100%;
    height: auto;
}*/

.slider > div {
	width: 100%;
	position: relative;
}

.slider > div::after {
	content: '';
	display: block;
	padding-bottom: 50%; /* change this to a smaller number to shrink the height, making it a rectangle */

}

.slider > div img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slider-container .navPN {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 3em;
	background-color: rgba(0, 0, 0, .1);
	transition: background-color 150ms ease-out;
}

body:not(.is_mobile) .slider-container.over .navPN {
	background-color: rgba(0, 0, 0, .75);
}

.slider-container .next {
	right: 0;
	left: auto;
}

.slider-container .prev::after,
.slider-container .next::after {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 5em;
}

.slider-container .prev::after {
	content: '\2039';
}

.slider-container .next::after {
	content: '\203a';
}

.slider-nav {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 13px;
}

.slider-nav > div,
body.is_mobile .slider-nav > div:not(.active) {
	background-color: #e15e15;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	position: relative;
	cursor: pointer;
}

.slider-nav > div:hover {
	background-color: #11a5b8;
}

.slider-nav > div.active {
	background-color: #005da5;
}

.slider-nav > div::after,
body.is_mobile .slider-nav > div:hover::after,
.slider-nav > div.active::after {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	border: 2px solid transparent;
	width: calc(100% + 8px);
	height: calc(100% + 8px);
	box-sizing: border-box;
	border-radius: 50%;
}

.slider-nav > div:hover::after {
	border-color: #11a5b8;
}

.slider-nav > div.active::after,
body.is_mobile .slider-nav > div.active:hover::after {
	border-color: #0c95ff;
}

.slide-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "TT Norms";
	font-weight: 700;
	color: #ffcb11;
	font-size: clamp(1em, 1em + 2vw, 3em);
	width: 90%;
	text-align: center;
	text-shadow: 2px 2px 12px rgba(0, 0, 0, .75);
	line-height: 1em;
}

.ogb_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 50px;
}

#ogb_clone .ogb_wrap {
	margin-bottom: 0;
}

.ogb_wrap a {
	margin: 14px 14px 0 0;
	width: calc(1/5*100% - (1 - 1/5)*14px);
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.ogb_wrap a:nth-child(5n) {
	margin-right: 0;
}

.ogb_wrap::after {
	content: '';
	flex: auto;
}

.ogb_wrap > a:nth-child(-n+5) {
	margin-top: 0;
}

.ogb_wrap > a::after {
	content: '';
	display: block;
	padding-bottom: 74.096%;
}

#ogb_clone .ogb_wrap > a::after {
	padding-bottom: 31%;
}

.ogb_wrap img {
/*	width: 100%;*/
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#ogb_clone {
	width: 100%;
	display: none;
	position: relative;
	margin-top: -10px;
}

#ogb svg {
	position: absolute;
	z-index: 1;
	top: 5px;
	left: 5px;
	width: 61%;
}

#ogb svg rect {
	fill: rgba(3, 43, 124, .8);
}

#ogb svg text {
	font-size: 20px;
	fill: #fff;
	transform: translateY(calc(50% + 6.5px));
	font-family: "TT Norms";
	font-weight: 700;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .75);
}

#ogb svg text.ml {
	transform: translateY(calc(50% + -2.5px));
}

#ogb_clone svg {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 77%;
}

#ogb_clone svg rect {
	fill: rgba(3, 43, 124, .8);
}

#ogb_clone svg text {
	font-size: 20px;
	fill: #fff;
	transform: translateY(calc(50% + 6.5px));
	font-family: "TT Norms";
	font-weight: 700;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .75);
}

#ogb_clone svg text.ml {
	transform: translateY(calc(50% + -2.5px));
}

#ogb_clone a span {
	display: none;
}

body.home #content > article:not(:last-of-type) {
	margin-bottom: 50px;
}

.ce-entry {
	display: flex;
	gap: 2.5%;
}

.ce-entry .header-wrap header {
	margin-bottom: 10px;
}

.ce-square-img {
	width: 100%;
	max-width: 200px;
	min-width: 100px;
}

.ce-square-img > a {
	display: block;
	position: relative;
	width: 100%;
	border-radius: 7px;
	border: 2px solid #005da5;
	overflow: hidden;
}

.ce-square-img > a::after {
	content: '';
	display: block;
	padding-bottom: 100%;
}

.ce-square-img > a > img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

article.post > header:first-child {
	margin-bottom: 6px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
}

.entry-content > a:first-child:has(> img:first-child) {
	display: block;
	margin-bottom: 10px;
}

.entry-meta {
	display: flex;
	gap: 5px;
}

.widget_search label {
	font-family: "TT Norms";
	font-weight: 700;
}

.latest-posts-add-header,
.wp-block-archives {
	padding-top: 1.8em;
	position: relative;
	margin: 22px 0 0 0;
}

.latest-posts-add-header::before,
.wp-block-archives::before {
	content: 'Our Latest Posts';
	position: absolute;
	left: 0;
	top: 0;
	font-family: "TT Norms";
	font-weight: 700;
}

.wp-block-archives::before {
	content: 'Archives';
}

.wp-block-archives {
	margin-bottom: 10px;
}

.wp-block-archives > li:nth-of-type(1n + 13) {
	display: none;
}

.wp-block-archives.show-all > li:nth-of-type(1n + 13) {
	display: block;
}

body.single-post .entry-content > a:first-child + meta + *:has(> img:first-child) {
	display: none;
}

.post-nav-links {
	display: flex;
}

.entry-content {
	padding-bottom: 8px;
	border-bottom: 1px solid #bbb;
}

.entry-links > div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	font-size: 1.1em;
	margin-bottom: 18px
}

.entry-links > div span,
.entry-links > div a {
	font-size: .8em;
	width: 2em;
	height: 0;
	padding: 0 0 2em !important;
	position: relative;
}

.entry-links > div span i,
.entry-links > div a i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: Oswald;
	font-weight: 700;
}

.entry-links > div span {
	background-color: #a8a398;
	letter-spacing: .05em;
	border-radius: 3px;
	font-family: Oswald;
	font-weight: 700;
	color: #fff;
}

.entry-footer,
#comments {
	padding: 26px 0;
	border-bottom: 1px solid #005da5;
}

.footer {
	padding-top: 26px;
}

.cat-links,
.tag-links {
	display: block;
}

.wpb-posts-nav {
	display: flex;
	gap: 30px;
}

.wpb-posts-nav > div:first-child {
	width: calc(50% - 15px);
}

.wpb-posts-nav > div:last-child {
	flex: 1;
}

.wpb-posts-nav > div.next a > div:first-child {
	order: 2;
}

.wpb-posts-nav > div.next a > div:last-child {
	text-align: right;
}

.wpb-posts-nav a {
	display: flex;
	gap: 16px;
}

.wpb-posts-nav a > div:first-child {
	width: 80px;
}

.wpb-posts-nav a > div:last-child {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.wpb-posts-nav strong {
	display: flex;
	white-space: nowrap;
	align-items: center;
	font-size: .8em;
	gap: 5px;
}

.wpb-posts-nav h4 {
	font-family: "TT Norms";
	font-weight: 400;
	color: #262626;
	line-height: 1.4em;
}

.wpb-posts-nav a:hover {
	text-decoration: none;
}

.wpb-posts-nav a:hover strong {
	text-decoration: underline;
}

.wpb-posts-nav > div.next strong {
	justify-content: right;
}

.wpb-posts-nav a svg {
	fill: gray;
	height: .8em;
}
  
.wpb-posts-nav__thumbnail img {
    border-radius: 7px;
    border: 2px solid #005da5;
}

.comment-form-comment lable {
	display: block;
}

.comment-form-comment textarea {
	width: 100%;
}

#comments .form-submit {
	padding-bottom: 0;
}

.comments-link {
	display: block;
	margin-top: 10px;
	text-align: center;
}

.search-form {
	display: flex;
	gap: 10px;
}

.search-form input.input_text {
	padding: 8px;
}

.wp-block-search__button {
	border: medium none;
	border-radius: 3px;
	font-family: Oswald;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
	color: #000;
	transition: background-color 150ms, color 150ms;
	transform: translateZ(0);
	font-size: 0.7em;
	letter-spacing: 0.05em;
	padding: 2px 8px;
	background-color: #ffcb11;
}

.wp-block-search__button:hover {
	background-color: #cccc00;
}

.post header .entry-title a,
.header-wrap header .entry-title a {
	font-weight: 700;
}

/* ===== MEDIA QUERY ===== */

@media only screen and (max-width: 1000px) {
	
	#ogb_clone {
		display: block;
	}
	
	.links_wrap > div:last-child {
		display: none;
	}
	
	.wpb-posts-nav a > div:first-child {
		display: none;
	}
}

@media only screen and (max-width: 768px) {
	#container > main {
		padding-bottom: 30px;
		border-bottom: 1px solid #005da5;
	}
	
	#container > aside {
		order: 3;
	}
	
	#sidebar {
		width: 100%;
	}
	
	#sidebar .widget_recent_entries {
		display: none;
	}
	
	#content {
		order: 2;
	}
	
	#comments .form-submit {
		text-align: center;
	}
}

@media only screen and (max-width: 660px) {
	.ogb_wrap {
		gap: 0 30px;
	}
	
	.ogb_wrap a {
		width: calc(50% - 15px);
		margin: 0;
		padding-left: 1em;
	}
	
	.ogb_wrap a::after {
		font-family: cef;
		content: "\f105";
		color: #2311b8;
		font-weight: bold;
		position: absolute;
		left: 0;
		top: 0;
	}

	.ogb_wrap a:nth-child(5n) {
		margin-right: 0;
	}

	.ogb_wrap > a:nth-child(-n+5) {
		margin-top: 0;
	}
	
	#ogb_clone a img,
	#ogb_clone a svg {
		display: none;
	}
	
	#ogb_clone .ogb_wrap a::after {
		padding-bottom: 0;
	}
	
	#ogb_clone a span {
		display: inline;
	}
}

@media only screen and (max-width: 460px) {
	#content {
		order: 1;
	}
	
	#ogb_clone {
		order: 2;
		margin-top: 0;
		padding-bottom: 30px;
		border-bottom: 1px solid #005da5;
	}
	
	.ogb_wrap {
		display: block;
	}
	
	.ogb_wrap a {
		display: block;
		width: auto;
	}
	
	.ce-entry {
		display: block;
	}
	
	.ce-square-img {
		float: left;
		margin: 0 20px 20px 0;
		width: 50px;
	}
	
	.entry-meta {
		line-height: 1em;
		margin-top: 6px;
		flex-direction: column;
	}
	
	.entry-meta .meta-sep {
		display: none;
	}
	
	.entry-meta .author,
	.entry-meta time {
		white-space: nowrap;
		font-size: .8em;
		display: block;
	}
}