/*!
Theme Name: Britley
Theme URI: https://www.indocreativemedia.com/free-classicpress-themes/
Author: IndoCreativeMedia
Author URI: https://www.indocreativemedia.com/free-classicpress-themes/
Version: 1.3.0
Requires PHP: 7.4
Requires CP: 1.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: britley
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Description: Britley, anagram of Liberty, is a clean simple responsive ClassicPress theme based on Bootstrap framework.

Britley is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

* {
	--bs-gutter-x: 2rem !important;
	--bs-body-line-height: 1.875;
	--bs-navbar-nav-link-padding-x: .75rem;
	--bs-nav-link-padding-y: .25rem;
	--bs-border-radius: 0;
	--bs-border-radius-sm: 0;
	--bs-border-radius-lg: 0;
	--bs-border-radius-xl: 0;
	--bs-border-radius-xxl: 0;
}

body {
	text-underline-offset: .1875em;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.skip-link:focus {
	position: absolute;
	top: .75rem;
	left: .75rem;
	padding: .25rem .75rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important
}

input,
textarea {
	max-width: 100%;
}

blockquote {
	padding-left: 1rem;
	border-left: 2px solid var(--bs-border-color);
	font-size: 1.25rem;
	line-height: 1.625;
}

#navbar-search {
	max-width: calc(100vw - 88px);
}

.nav-links {
	font-weight: bold;
}

.nav-previous {
	margin-right: .5rem;
}

.nav-next {
	margin-left: auto;
}

.error-404-widgets {
	column-width: 232px;
	gap: 1.5rem;
	margin-top: 2rem;
}

.error-404.not-found .widget {
	margin-bottom: 2rem;
	break-inside: avoid;
}

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

.alignleft {
	/*rtl:ignore*/
	float: left;
	/*rtl:ignore*/
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.alignright {
	/*rtl:ignore*/
	float: right;
	/*rtl:ignore*/
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}

figure,
img {
	max-width: 100%;
	height: auto;
}

ul {
	padding-left: 1rem;
}

.widget ul {
	margin-bottom: 0;
}

table.wp-calendar-table {
	caption-side: top;
}

table.wp-calendar-table caption {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--bs-heading-color);
	padding-top: 0;
	line-height: 1.25;
}

table.wp-calendar-table th,
table.wp-calendar-table td {
	text-align: center;
	padding: .375rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1rem;
}

th,
td {
	border: 1px solid var(--bs-border-color);
	padding: .375rem;
}

.wp-calendar-nav-next {
	float: right;
}

label:not(.comment-form-cookies-consent label, .post-password-form label) {
	display: block;
}

.entry-footer span {
	margin-right: .75rem;
}

.page-links {
	margin-bottom: .5rem;
}

.post-page-numbers {
	padding: .5rem;
}

.textwidget p:last-child {
	margin-bottom: 0;
}

.avatar {
	margin-right: .25rem;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 1rem;
}

.wp-caption-text {
	margin-bottom: 0;
	font-size: .875em;
	line-height: 1.5;
	opacity: .75;
}

.attachment-post-thumbnail {
	padding-top: .5rem;
}

.entry-content img {
	padding-top: .5rem;
	padding-bottom: .5rem;
}