/**
* 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.4
* 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) {

	:root,
	.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;
}

/* ## Shared Counts
--------------------------------------------- */

.shared-counts-wrap.style-mai-share {
	display: grid;
	grid-gap: 8px;
	grid-template-columns: repeat( auto-fill, minmax( 116px, 1fr ) );
	margin-bottom: 24px;
}

.shared-counts-wrap.style-mai-share .shared-counts-icon-label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.shared-counts-wrap.style-mai-share .shared-counts-button {
	color: #fff;
	padding: 4px 12px;
	text-decoration: none;
	border-radius: 3px;
	opacity: .8;
}

.shared-counts-wrap.style-mai-share .shared-counts-button:hover,
.shared-counts-wrap.style-mai-share .shared-counts-button:focus {
	text-decoration: none;
	opacity: 1;
}

.shared-counts-wrap.style-mai-share .shared-counts-button.facebook {
	background-color: #3b5998;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.googleplus {
	background-color: #dc4e41;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.instagram {
	background-color: #003569;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.itunes {
	background-color: #f55b6d;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.linkedin {
	background-color: #0077b5;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.pinterest {
	background-color: #bd081c;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.reddit {
	background-color: #ff4301;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.twitter {
	background-color: #55acee;
}
.shared-counts-wrap.style-mai-share .shared-counts-button.youtube {
	background-color: #e62117;
}

.shared-counts-wrap.style-mai-share .shared-counts-button svg {
	display: block;
	fill: #fff;
	width: auto;
	max-height: 16px;
	margin-right: 8px;
}

.shared-counts-wrap.style-mai-share .shared-counts-label {
	font-size: var(--font-size-sm);
	letter-spacing: 1px;
}

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

	.shared-counts-wrap.style-mai-share {
		grid-template-columns: repeat( auto-fill, minmax( 44px, 1fr ) );
	}

	.shared-counts-wrap.style-mai-share .shared-counts-button svg {
		margin-right: 0;
	}

	.shared-counts-wrap.style-mai-share .shared-counts-label {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		color: var(--color-black);
		background: var(--color-white);
		border: 0;
		clip: rect(0, 0, 0, 0);
	}
}