/**
 * Theme Name:          David Wolfe
 * Description:         David Wolfe is a custom child theme for The Genesis Framework.
 * Author:              Mike Hemberger, BizBudding Inc
 * Author URI:          https://bizbudding.com/
 * Version:             2.0.1.19
 *
 * Template:            genesis
 *
 * License:             GPL-2.0+
 * License URI:         http://www.opensource.org/licenses/gpl-license.php
 */


/* Table of Contents

	- Defaults
	- Structure and Layout
	- Common Classes
	- Content Area
		- Entry Meta
	- Media Queries (mobile-first)
	- Media Queries (mobile-second)

*/


/* # Defaults
---------------------------------------------------------------------------------------------------- */

/**
 * Retina Logo
 *
 * If uploading double sized (retina) image,
 * put exactly half the width in pixels for retina display.
 * Example: Retina (2x) image is 360px by 90px, CSS should be:
 * max-width: 180px;
 */
.wp-custom-logo .site-title a {
	max-width: 180px;
}

body {
	background-color: #fff;
	font-family: 'Oxygen', sans-serif;
	font-weight: 300;
}

.banner-area .archive-title,
.banner-area .entry-title,
h1,
h1.entry-title {
	line-height: 1.25;
}

.text-md {
	font-size: 1.1rem;
	line-height: 1.953rem;
}

.heading {
	position: relative;
	display: inline-block;
	text-align: center;
}

.heading::before,
.heading::after {
	content: "";
	position: absolute;
	height: 6px;
	border-bottom: 1px solid rgba(0,0,0,0.15);
	border-top: 1px solid rgba(0,0,0,0.15);
	top: 50%;
	width: 24px;
}

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

	.heading::before,
	.heading::after {
		width: 124px;
	}

}

.heading::before {
	right: 100%;
	margin-right: 16px;
}

.heading::after {
	left: 100%;
	margin-left: 16px;
}

h1,
.heading,
.author-box-title,
.entry-comments h3,
.comment-respond h3,
.widget-title {
	font-weight: 700;
}

.archive-description {
	text-align: center;
}

a {
	color: #68c744;
}

a:hover,
a:focus {
	/* color: #466eb3; */
	color: #8ac468;
}

/* # Structure and Layout
---------------------------------------------------------------------------------------------------- */

.site-container {
	overflow: visible;
}

/* # Common Classes
---------------------------------------------------------------------------------------------------- */

.archive-pagination a,
.button,
.entry-content .button,
.entry-content .more-link,
.menu-item.highlight a,
.woocommerce .button.alt.checkout-button,
.woocommerce .button.alt.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
	padding-left: 24px;
	padding-right: 24px;
	border-radius: 4px;
}

.archive-pagination a,
.button,
.entry-content .button,
.menu-item.highlight a,
.woocommerce .button.alt.checkout-button,
.woocommerce .button.alt.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
button,
input[type=button],
input[type=reset],
input[type=submit] {
	background: #68c744;
	color: #fff;
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.archive-pagination a:hover,
.archive-pagination a:focus,
button:hover,
button:focus,
input:hover[type="button"],
input:focus[type="button"],
input:hover[type="reset"],
input:focus[type="reset"],
input:hover[type="submit"],
input:focus[type="submit"],
.button:hover,
.button:focus,
.entry-content .button:hover,
.entry-content .button:focus,
.entry-content .more-link:hover,
.entry-content .more-link:focus,
.menu-item.highlight.current-menu-item > a,
.menu-item.highlight > a:hover,
.menu-item.highlight > a:focus,
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:hover,
.woocommerce button.button:focus,
.woocommerce input.button:hover,
.woocommerce input.button:focus,
.woocommerce .button.alt.single_add_to_cart_button:hover,
.woocommerce .button.alt.single_add_to_cart_button:focus,
.woocommerce .button.alt.checkout-button:hover,
.woocommerce .button.alt.checkout-button:focus {
	background: #52a632;
	color: #fff;
}

.archive-pagination a {
	font-size: 1rem;
	font-weight: normal;
}

.breadcrumb {
	-webkit-font-smoothing: antialiased;
}

.mai-slider[data-slidestoscroll="2"] .mai-slide {
	max-width: 50%;
}

.mai-slider[data-slidestoscroll="3"] .mai-slide {
	max-width: 33.33333333%;
}

.mai-slider[data-slidestoscroll="4"] .mai-slide {
	max-width: 25%;
}

.mai-slider[data-slidestoscroll="6"] .mai-slide {
	max-width: 16.66666667%;
}

/* # Site Header
---------------------------------------------------------------------------------------------------- */

/* # Navigation
---------------------------------------------------------------------------------------------------- */

.nav-header .current-menu-ancestor>a,
.nav-header .current-menu-item>a,
.nav-header .menu-item-has-children:not(.highlight):hover>a,
.nav-header .nav-search:hover,
.nav-header .sub-menu .current-menu-item>a,
.nav-header .sub-menu .current-menu-item>a:hover,
.nav-header .sub-menu a:hover,
.nav-header a:hover {
	color: #68c744;
}

.nav-primary,
.nav-secondary {
	background: -o-linear-gradient( left, #88a745, #f5ee8b, #f5ee8b, #88a745 );
	background: -webkit-gradient( linear, left top, right top, from(#88a745), color-stop(#f5ee8b), color-stop(#f5ee8b), to(#88a745) );
	background: linear-gradient( to right, #88a745, #f5ee8b, #f5ee8b, #88a745 );
}

.home .nav-primary .current-menu-item>a,
.nav-primary .nav-search,
.nav-primary .nav-search:focus,
.nav-primary .nav-search:hover,
.nav-primary a,
.home .nav-secondary .current-menu-item>a,
.nav-secondary .nav-search,
.nav-secondary .nav-search:focus,
.nav-secondary .nav-search:hover,
.nav-secondary a {
	background-color: transparent;
	color: rgba(0,0,0,0.5);
	font-weight: bold;
}

.nav-primary .current-menu-ancestor>a,
.nav-primary .current-menu-item>a,
.nav-primary .menu-item-has-children:hover>a,
.nav-primary a:hover,
.nav-secondary .current-menu-ancestor>a,
.nav-secondary .current-menu-item>a,
.nav-secondary .menu-item-has-children:hover>a,
.nav-secondary a:hover {
	background-color: transparent;
	color: rgba(0,0,0,0.8);
}

/* # Content Area
---------------------------------------------------------------------------------------------------- */

.entry:not(.type-product) {
	background-color: transparent;
	border: none;
}

.content .flex-grid {
	text-align: center;
}

.content > .entry:not(.image-bg):not(.type-product),
.content > .row > .flex-entry:not(.type-product) {
	padding-top: 0;
}

.content .entry:not(.image-bg):not(.type-product) {
	padding-left: 0;
	padding-right: 0;
}

.content > .entry:not(.image-bg):not(.type-product) {
	padding-bottom: 0;
}

.flex-entry.column .entry-image-before-entry:not(.aligncenter):not(.alignleft):not(.alignright) {
	width: 100%;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
}

.flex-entry.entry > .woocommerce-LoopProduct-link {
	/* margin: 0 0 12px; */
}

.singular .featured-image {
	margin-bottom: 24px;
}

.content-no-sidebars .featured-image {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.content-no-sidebars .featured-image .wp-post-image {
	max-width: 896px;
	margin-left: auto;
	margin-right: auto;
}

.content-no-sidebars > .entry img.alignleft {
	margin-left: -24px;
}

.content-no-sidebars > .entry img.alignright {
	margin-right: -24px;
}

/* ## Front Page
--------------------------------------------- */

.home-banner img {
	border-radius: 50%;
}

.home-banner .infusion-form {
	display: -webkit-box;display: -ms-flexbox;display: flex;
	-webkit-box-align: end;-ms-flex-align: end;align-items: flex-end;
}

.home-banner .infusion-field {
	margin-right: 10px;
}

.home-banner .infusion-submit button {
	padding-top: 13px;
	padding-bottom: 13px;
}

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

	.home-banner .infusion-form {
		-ms-flex-wrap: wrap;flex-wrap: wrap;
	}

	.home-banner .infusion-field,
	.home-banner .infusion-submit {
		width: 100%;
		margin: 0;
		margin-bottom: 12px;
	}

	.home-banner .infusion-submit button {
		width: 100%;
	}

}

/* ## Entry Meta
--------------------------------------------- */

.entry-header .entry-meta .fa {
	margin-right: 4px;
}

.entry-comments .comment-meta {
	-webkit-font-smoothing: antialiased;
}

.comment .avatar {
	border: 4px solid #e0e0e0;
}

.comment-reply-link {
	padding-top: 1px;
	padding-bottom: 1px;
}

.team-comment {

}

/* ## Sidebars
--------------------------------------------- */

.sidebar .widget {
	padding: 0;
	border: none;
}

/* ## Site Footer
--------------------------------------------- */

.site-footer {
	background: -o-linear-gradient( left, #88a745, #f5ee8b, #f5ee8b, #88a745 );
	background: -webkit-gradient( linear, left top, right top, from(#88a745), color-stop(#f5ee8b), color-stop(#f5ee8b), to(#88a745) );
	background: linear-gradient( to right, #88a745, #f5ee8b, #f5ee8b, #88a745 );
	color: rgba(0,0,0,0.5);
	font-weight: 400;
}

.site-footer a {
	color: rgba(0,0,0,0.5);
}

.site-footer a:focus, .site-footer a:hover {
	color: rgba(0,0,0,0.8);
}

/* ## Widgets
--------------------------------------------- */

.after-entry .widget {
	background-color: #495fa3;
	padding: 24px;
	border: 8px solid rgba(0,0,0,0.1);
}

.after-entry .widget,
.after-entry .widget h2,
.after-entry .widget h3,
.after-entry .widget h4,
.after-entry .widget .widget-title {
	color: #fff;
}

.after-entry .widget .widget-title {
	text-align: center;
}

/* # Plugins
---------------------------------------------------------------------------------------------------- */

/* ## Mai Ads & Extra Content
--------------------------------------------- */

.header-before {
	min-height: 0;
}

.sidebar div[id^="mai_aec_widget_a-"],
.sidebar span[id^="mai_aec_widget_a-"],
.mai-aec > .wrap,
.content .mai-aec > .wrap {
	padding: 0;
	margin: 0;
}

.advertisement,
.mai-aec .ezoic-ad .ezoic-ad,
.entry-content .mai-aec .ezoic-ad .ezoic-ad,
.sidebar .mai-aec .ezoic-ad .ezoic-ad {
	text-align: center;
	margin: 16px 0;
	padding: 0 16px 16px;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 3px;
}

.advertisement:not(:empty)::before,
.mai-aec .ezoic-ad .ezoic-ad::before {
	content: 'ADVERTISEMENT';
	display: table;
	font-size: 0.8rem;
	background: #fff;
	color: rgba(0,0,0,0.3);
	text-align: center;
	padding: 0 10px;
	margin: -16px auto 0;
}

.advertisement:not(:empty)::before {
	content: 'SPECIAL OFFER';
}

.sidebar .widget:last-child {
	position: sticky;
	top: 30px;
}

.admin-bar .sidebar .widget:last-child {
	top: 62px;
}

/* Infusionsoft forms */

.after-entry .infusion-form input[type="email"],
.after-entry .infusion-form input[type="text"] {
	display: block;
	width: 100%;
	background-color: #fff;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.after-entry .infusion-submit button {
	display: block;
	width: 100%;
	padding-top: 13px;
	padding-bottom: 13px;
	margin-bottom: 10px;
}

/* ## Related Posts for WordPress
--------------------------------------------- */

.rp4wp-related-posts {
	margin-bottom: 10px;
}

.rp4wp-related-posts ul li {
	background-color: #fff;
	padding: 20px;
	border: 1px solid rgba(0,0,0,.06);
	border-radius: 0;
	line-height: 1.625;
	list-style-type: none;
	overflow: hidden;
}

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

	.rp4wp-related-posts ul li,
	.entry-content .rp4wp-related-posts ul li {
		padding: 10px;
	}

}

.rp4wp-related-post-image .wp-post-image {
	display: block;
}

.rp4wp-related-post-content a {
	display: block;
	color: #323232;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 0;
	border: none;
}

.rp4wp-related-post-content p {
	line-height: 1.625;
	margin-top: 8px;
}

.rp4wp-related-post-content a:hover,
.entry-content .rp4wp-related-post-content a:hover {
	color: #6cc54b;
}

.rp4wp-related-post-content p {
	font-size: 14px;
}

.rp4wp-related-post-content p:last-of-type {
	margin-bottom: 0;
}

/* # Media Queries (mobile-first)
---------------------------------------------------------------------------------------------------- */

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

	.md-content .content-no-sidebars > .entry img.alignleft {
		margin-left: -48px;
	}

	.md-content .content-no-sidebars > .entry img.alignright {
		margin-right: -48px;
	}

}

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

	.sm-content .content-no-sidebars > .entry img.alignleft {
		margin-left: -48px;
	}

	.sm-content .content-no-sidebars > .entry img.alignright {
		margin-right: -48px;
	}

}

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

	.xs-content .content-no-sidebars > .entry img.alignleft {
		margin-left: -48px;
	}

	.xs-content .content-no-sidebars > .entry img.alignright {
		margin-right: -48px;
	}

	.after-entry .infusion-form {
		display: -webkit-box;display: -ms-flexbox;display: flex;
		-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;
		-webkit-box-align: end;-ms-flex-align: end;align-items: flex-end;
	}

	.after-entry .infusion-field {
		margin-right: 10px;
	}

}
