/*
Theme Name: Barnesville Area News 2024
Theme URI: https://barnesvillenews.org/
Author: 10T Web Design
Author URI: https://10t.co/
Description: Designed for Barnesville Area News.
Version: 0.1
Text Domain: barnesnews
Tags: featured-images, sticky-post, accessibility-ready, news
*/

article {
	font-size: calc(1rem + 0.2vw);
}
article::after {
	content: "";
	clear: both;
	display: table;
}
header {
	padding: 0.5em 0;
}

a.white-offcanvas-link {
    color: #fefefe;
}
.navbar-toggler {
    color: #fefefe;
}

.navbar-toggler-icon {
    height: 0.9em;
    width: 0.9em;
}

.nav-scroller {
	position: relative;
	z-index: 2;
	height: 2.75rem;
	overflow-y: hidden;
  }

  .nav-scroller .nav {
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 1rem;
	margin-top: -1px;
	overflow-x: auto;
	text-align: center;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
  }

a.title-link {
	text-decoration: none;
}

.featured-image-container {
	border: 1px solid #cccccc;
	padding: 2px;
}
.featured-image-caption {
	text-align:center;
	font-size: 0.8em;
}
.featured-image-container img {
	width:100%;
}

.featured-image-container-obituaries {
	width: 25%;
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
	border: 1px solid #cccccc;
	padding: 2px;
}
.featured-image-container-obituaries img {
	width: 100%;
}
@media screen and (max-width: 500px) {
	.featured-image-container-obituaries {
		float: none;
		margin: 0 auto;
		width: 33%;
	}

}

figcaption {
	text-align: center;
	font-size: 0.8em;
	font-weight:bold;
}
.alignleft, .alignright {
	max-width: 50%;
}
@media screen and (max-width: 500px) {
	.alignleft, .alignright {
		float: none !important;
		margin: 0 auto !important;
	}
}

.byline {
	margin:1em 0;
	font-style: italic;
}

h2.archive-title {
	font-size: 24px;
}
p.post-date-meta {
	font-size:0.8em;
	font-weight:bold;
	margin-bottom:0.6em;
}
p.archive-meta {
	position: absolute;
	bottom: 5px;
	right: 5px;
	font-size: 0.8em;
	font-weight: bold;
}
p.archive-meta {
	margin-top:1em;
}


.post-meta {
	font-size: 0.7em;
	font-weight: bold;
	margin-bottom: 1em;
}
.post-meta svg {
	margin-left: 1em;
}
.post-meta a {
	text-decoration: none;
}
svg.svg-calendar-adjust {
	margin-top: -2px;
}

p.front-page-large-title {
	font-size: 24px;
	line-height: 24px;
	margin-bottom: 0;
}
p.front-page-medium-title {
	font-size: 20px;
	line-height: 20px;
	margin-bottom: 0;
}
p.front-page-post-meta {
	font-size: 14px;
	line-height: 24px;
	color: #666666;
	margin-bottom: 0;
}

.section-title {
	font-size: 18px;
	font-weight: bold;
	text-align:center;
}

.newsletter_signup {
	background-color: #00749E;
}

.newsletter_signup p, .newsletter_signup label {
	color: #fefefe;
}
.newsletter_signup p {
	font-weight: bold;
	text-align:center;
}
.newsletter_signup p:first-of-type {
	font-size:1.4em;
	margin-top:6px;
}

.newsletter_signup .container {
	padding-top:2em;
	padding-bottom: 2em;
}
.newsletter_signup p {
	margin-bottom: 0;
}
.newsletter_signup .btn {
	margin-top:24px;
}

blockquote {
	border: 1px solid #666666;
	border-left: 3px solid #666666;
	background-color: #eeeeee;
	margin-left: 1em;
	padding-left: 1em;
	padding-top: 0.5em;
}

blockquote cite {
	padding-left: 0.5em;
}
blockquote cite::before {
	content: "— ";
}

.footer-container {
	background-color: #2a2a2a;
	color: #fefefe;
	padding-top:2em;
	padding-bottom:1em;
}

footer .bi {
	margin:0.5em;
}
footer li.nav-item a {
	color: #fefefe;
}
footer li.nav-item a:hover {
	color: #00aced;
}
a.facebook-logo, a.twitter-logo, a.instagram-logo, a.threads-logo, a.bluesky-logo, a.youtube-logo {
	color: #fefefe;
	text-decoration: none;
	transition: all 0.5s ease-in;
}
a.facebook-logo:hover {
	color: #1877F2;
	transition: all 0.3s ease-in;
}
a.twitter-logo:hover {
	color: #1DA1F2;
	transition: all 0.3s ease-in;
}
a.instagram-logo:hover {
	color: #f77737;
}
a.threads-logo:hover {
	color: #fd1d1d;
}
a.bluesky-logo:hover {
        color: #0085ff;
}
a.youtube-logo:hover {
    color: #CD201F;
}
a.facebook-logo:hover, a.twitter-logo:hover, a.instagram-logo:hover, a.threads-logo:hover, a.bluesky-logo:hover, a.youtube-logo:hover {
	transition: all 0.3s ease-in;
}

.callout {
	border: 1px solid #777777;
	border-left-width: 4px;
	background-color: #dedede;
	padding: 1em;
	margin-bottom: 1em;
	border-radius: 5px;
}
.callout.primary {
	border-left-color: #00749E;
}
.callout.warning {
	border-left-color: #F5DD42;
}
.callout.success {
	border-left-color: #00ff00;
}
.callout.alert {
	border-left-color: #ff0000;
}

.callout p:last-of-type {
	margin-bottom: 0;
}
.callout.correction {
	font-size: 0.95em;
}

a {
	transition:all .3s ease-in;
}

.wp-block-image {
	margin-bottom: 1em;
}

.img-square {
	aspect-ratio: 1/1;
}
.img-hd {
	aspect-ratio: 16/9;
}
.img-front-lead {
	aspect-ratio: 8/7;
}
.img-square, .img-hd, .img-front-lead {
	object-fit: cover;
}

.btn-event {
	padding: 2px 4px;
	font-size: 12px;
	font-weight: bold;
	color: #fefefe;
}
.card-event {
	width: 100%;
}
.card-header-event {
	background-color: #000000;
}
.card-header-event a {
	color: #fefefe;
	text-decoration: none;
}
.btn-church, .card-header-church { background-color: #22348a; }
.btn-church:hover { border: 1px solid #22348a; }
.btn-community, .card-header-community { background-color: #B45C18; }
.btn-community:hover { border: 1px solid #B45C18; }
.btn-fundraisers, .card-header-fundraisers { background-color: #8a07db;}
.btn-fundraisers:hover { border:1px solid #8a07db; }
.btn-general, .card-header-general { background-color: #525252; }
.btn-general:hover { border: 1px solid #525252; }
.btn-public-meetings, .card-header-public-meetings { background-color: #8a2253; }
.btn-public-meetings:hover { border: 1px solid #8a2253; }
.btn-school, .card-header-school { background-color: #ad3f41; }
.btn-school:hover { border: 1px solid #ad3f41; }
.btn-sports, .card-header-sports { background-color: #2A834F; }
.btn-sports:hover { border: 1px solid #2A834F; }
.btn-libraries, .card-header-libraries {background-color: #886959; }
.btn-libraries:hover {border: 1px solid #886959;}
