/**
* Theme Name:       Methodshop
* Theme URI:        https://methodshop.com/
* Description:      Custom Mai Theme for the Genesis Framework.
* Author:           BizBudding
* Author URI:       https://bizbudding.com/
* Version:          2.10.3
* Text Domain:      mai-theme
* Template:         genesis
* Template Version: 3.3.5
* License:          GPL-2.0-or-later
* License URI:      http://www.gnu.org/licenses/gpl-2.0.html
*/

@media only screen and (min-width: 1000px) {

	.sidebar {
		--sidebar-width: 341px; /* 300 + 40 padding + 1px border added below */
	}
}

/* Temporarily add this */
img.aligncenter {
	display: block;
}

figure[style*="width"] {
	max-width: 100% !important;
	width: auto !important;
}

figure[style*="width"] img {
	width: 100%;
}

h1 {
	padding-bottom: 30px;
	font-weight: 700;
	--heading-letter-spacing: -1.5px;
}

.sidebar > .widget:last-child {
	position: -webkit-sticky;
	position: sticky;
	top: 64px;
	max-height: 80vh;
	overflow-y: auto;
}

.is-style-subheading {
	--heading-font-size: var(--text-lg);
	--heading-text-transform: uppercase;
	--heading-letter-spacing: 1px;
	font-weight: 400;
}

.search-toggle-icon {
	color: var(--color-lightest);
}

.nav-header {
	--menu-item-link-color: var(--color-white);
	--menu-item-link-color-hover: var(--color-primary);
}

.header-right a {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

@media only screen and (min-width: 600px) {

	.widgettitle.widget-title {
		letter-spacing: 1px;
		text-transform: uppercase;
		font-size: 23px;
	}
}

.sidebar-primary .widget {
	border-bottom: 1px solid rgba(0,0,0,.1);
	padding-bottom: 40px;
}

@media only screen and (min-width: 1000px) {

	.sidebar-primary {
		border-left: 1px solid rgba(0,0,0,.1);
		padding-left: 40px;
	}

}

/* body.single-post .content > .entry > .entry-content > h3 {
	counter-increment: methodshop-heading-counter;
} */

.entry-single > .entry-wrap > .entry-content > h3 {
	counter-increment: methodshop-heading-counter;
}

.entry-single > .entry-wrap > .entry-content > h3::before {
	content: counter(methodshop-heading-counter);
	background: var(--color-black);
	color: var(--color-white);
	padding: 0 12px;
	margin-right: 16px;
	font-weight:700;
}

h2 {
	counter-reset: methodshop-heading-counter;
}

.wp-caption-text {
	padding-bottom:25px;
	font-size: 10px;
	color: var(--color-secondary);
	font-style: italic;
	text-align: center;
}

.wp-caption-text a {
	padding-bottom:25px;
	font-size: 10px;
	color: var(--color-secondary);
	font-style: italic;
	text-align: center;
}

.wp-caption-text {
	padding-bottom:25px;
	font-size: 10px;
	color: var(--color-secondary);
	font-style: italic;
	text-align: center;
}

figcaption {
	font-size: 10px;
	color: var(--color-secondary);
	font-style: italic;
	text-align: center;
}

figcaption a {
	font-size: 10px;
	color: var(--color-secondary);
	font-style: italic;
	text-align: center;
}

.tptn_posts_daily .tptn_title,
.tptn_posts .tptn_title {
	line-height: inherit;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 12px 12px;
}

.responsive-embed {
	position: relative;
	width: 100%;
	margin-bottom: 45px;
}

.responsive-embed::before {
	display: block;
	padding-bottom: calc(100% / (16/9));
	content: "";
}

.responsive-embed > :first-child {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

@media only screen and (max-width: 800px) {

	.site-header {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: 0 !important;
		z-index: 99 !important;
	}
}

@media only screen and (min-width: 600px) and (max-width: 800px) {

	.admin-bar .site-header {
		top: 46px !important;
	}
}

@media only screen and (max-width: 600px) {

	.tm-click-to-tweet .tm-ctt-text {
		word-wrap: anywhere;
	}

	.mtsnb {
		display: none;
	}
}

/* WordPress Related Posts Thumbnails by WPBrigade */
.relpost-block-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
