/**
 * SoftTemplates: Site Title, Copyright, Back to Top, Reading Progress Bar and Table of Contents widgets.
 * Loaded only on pages that use one of these widgets (get_style_depends).
 */

/* Site Title & Tagline */
.stc-site-title__name {
	margin: 0;
	line-height: 1.2;
}
.stc-site-title__name a {
	color: inherit;
	text-decoration: none;
}
.stc-site-title__tagline {
	margin: 0;
}

/* Copyright */
.stc-copyright p {
	margin: 0;
}

/* Back to Top */
.stc-back-to-top {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 50%;
	background-color: #1e1e1e;
	color: #fff;
	fill: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.stc-back-to-top svg {
	width: 16px;
	height: 16px;
}
.stc-back-to-top:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.stc-back-to-top--fixed {
	position: fixed;
	z-index: 99;
	right: 24px;
	bottom: 24px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
}
.stc-back-to-top--fixed.stc-back-to-top--left {
	right: auto;
	left: 24px;
}
.stc-back-to-top--fixed.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Reading Progress Bar */
.stc-progress {
	width: 100%;
	height: 4px;
	overflow: hidden;
	background-color: transparent;
}
.stc-progress--top,
.stc-progress--bottom {
	position: fixed;
	z-index: 9999;
	left: 0;
	right: 0;
}
.stc-progress--top {
	top: 0;
}
.admin-bar .stc-progress--top {
	top: 32px;
}
.stc-progress--bottom {
	bottom: 0;
}
.stc-progress__bar {
	width: 0;
	height: 100%;
	background-color: #0a97ff;
}
.stc-progress.is-preview .stc-progress__bar {
	width: 40%;
}
@media (max-width: 782px) {
	.admin-bar .stc-progress--top {
		top: 46px;
	}
}
@media (max-width: 600px) {
	/* The admin bar scrolls away on small screens. */
	.admin-bar .stc-progress--top {
		top: 0;
	}
}

/* Table of Contents */
.stc-toc {
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, 0.12);
}
.stc-toc__header {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}
.stc-toc__title {
	font-weight: 600;
}
.stc-toc__header + .stc-toc__list {
	margin-top: 12px;
}
.stc-toc__toggle {
	position: relative;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.stc-toc__toggle::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-135deg);
	transition: transform 0.2s ease;
}
.stc-toc.is-collapsed .stc-toc__toggle::before {
	top: 6px;
	transform: rotate(45deg);
}
.stc-toc.is-collapsed .stc-toc__list {
	display: none;
}
.stc-toc__list ol,
.stc-toc__list ul {
	margin: 0;
	padding-left: 1.4em;
}
.stc-toc__list > ol,
.stc-toc__list > ul {
	padding-left: 1.2em;
}
.stc-toc--none .stc-toc__list ul {
	list-style: none;
	padding-left: 1em;
}
.stc-toc--none .stc-toc__list > ul {
	padding-left: 0;
}
.stc-toc__list li {
	margin: 0;
}
.stc-toc__list li + li {
	margin-top: 6px;
}
.stc-toc__list a {
	color: inherit;
	text-decoration: none;
}
.stc-toc__list a:hover,
.stc-toc__list a:focus,
.stc-toc__list a.is-active {
	text-decoration: underline;
}
.stc-toc__empty {
	margin: 0;
	opacity: 0.7;
}
.stc-toc.is-empty-hidden {
	display: none;
}
.stc-toc-target {
	scroll-margin-top: 90px;
}
