/**
* 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.11.1
* Text Domain:      mai-theme
* Template:         genesis
* Template Version: 3.4.0
* License:          GPL-2.0-or-later
* License URI:      http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--button-font-weight: var(--body-font-weight-bold);
	--button-text-transform: uppercase;
	--button-letter-spacing: 0.5px;
	--shadow: 0;
	--caption-font-size: var(--font-size-xs);
	--caption-text-align: center;
}

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

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

.has-sticky-header {
	--site-header-position: sticky;
	--site-header-top: var(--body-top);
	--site-header-box-shadow: 0 0 24px rgba(0, 0, 0, 0.07);
}

.nav-header {
	--menu-font-weight: var(--body-font-weight-bold);
	--menu-font-size: var(--font-size-sm);
	--menu-letter-spacing: 1px;
	--menu-text-transform: uppercase;
	--menu-item-link-color-hover: var(--color-primary);
	--menu-item-name-filter-hover: brightness(1);
	--link-filter-hover: brightness(1);
}

.entry-meta-before-content {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	line-height: 1.3;
}

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

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

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

h1 {
	--heading-letter-spacing: -1.5px;
}

.sidebar .widget-title,
.is-style-subheading {
	--heading-text-transform: uppercase;
	--heading-letter-spacing: 1px;
}

.sidebar .widget-title {
	font-size: var(--font-size-lg);
}

figcaption {
	font-style: italic;
}

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

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

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

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

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

.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;
}

.methodshop-trending .entry-title,
.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;
}

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