/*
 Theme Name:   Bill Spalding
 Theme URI:    http://example.com/twenty-twenty-two-child/
 Description:  
 Author:       Renegade
 Author URI:   http://example.com
 Template:     divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  divichild
*/

/* * * OVERRIDES * * */

body {
	--bs-primary: #226041;
}

strong{
	font-weight: bold !important;
}
a {
	color: var(--bs-primary);
}

.single-post .et_pb_post_content a {
	text-decoration: underline;
	text-underline-offset: 0.2rem;
}

.filter {
	opacity: 0;
	height: 0;
	margin: 0 !important;
}

#main-header,
.et_menu_container {
	min-height: 98px;
}

.et_menu_container {
	width: 99%;
}

#logo {
	max-height: 78%;
}

.nav li:hover > ul {
	top: 94px;
	border-color: var(--bs-primary);
}

#main-header.et-fixed-header .nav li:hover > ul {
	top: 55px;
}

.page_item_has_children {
	padding: 40px 0;
}

#main-header.et-fixed-header .page_item_has_children {
	padding: 20px 0;
}

#main-header.et-fixed-header,
.et-fixed-header .et_menu_container {
	min-height: 60px;
}

#main-header.et-fixed-header #logo {
	max-height: 80%;
}

#main-header.et-fixed-header #top-menu {
	height: 60px;
}

#top-menu {
	display: flex;
	height: 98px;
	align-items: center;
	justify-content: space-evenly;
	flex-flow: row wrap;
	width: 100%;
}

#top-menu li {
	min-width: 60px;
	max-width: 154px;
	text-align: center;
	padding-right: 6px;
	/* height: 100%; */
	/* display: flex; */
	/* align-items: center; */
	/* padding: 0 15px; */
}

#top-menu li a {
	font-weight: 600;
}

/* #top-menu li:nth-child(5),
#top-menu li:nth-child(6) {
	background: var(--bs-primary);
} */

#top-menu li:nth-child(5) a,
#top-menu li:nth-child(6) a {
	color: var(--bs-primary);
}

#top-menu-nav {
	width: 100%;
}

#et-top-navigation {
	padding-top: 0 !important;
	padding-left: 290px;
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
}

.et_header_style_left #et-top-navigation nav > ul > li > a {
	padding-bottom: 0;
}

.et_mobile_menu {
	border-color: var(--bs-primary);
	top: 98px;
	width: 108%;
	left: -4%;
}

.mobile_menu_bar:before {
	color: var(--bs-primary);
}

#footer-bottom {
	padding: 0;
}

/* .et_pb_section_video_bg .mejs-video {
	top: -5%;
} */

#bs-tools .et_pb_video_overlay {
	top: 1rem;
	left: 1rem;
	height: calc(100% - 2rem);
	width: calc(100% - 2rem);
}

#bs-tools .et_pb_button,
#bs-petclub .et_pb_button {
	width: 100%;
	line-height: 1.15 !important;
	height: 74px;
	display: flex;
	align-items: center;
	letter-spacing: 1px !important;
	justify-content: center;
}

body #page-container #bs-tools.et_pb_section .et_pb_button,
body #page-container #bs-petclub.et_pb_section .et_pb_button,
body #page-container #bs-tools.et_pb_section .et_pb_button:hover body #page-container #bs-petclub.et_pb_section .et_pb_button:hover {
	padding: 0.5rem !important;
}

#bs-bg-video {
	padding: 0;
}

#bs-bg-video .mejs-container {
	scale: 1.05;
	translate: -2.5% -5%;
}

#bs-bg-video .mejs-container:before {
	content: '';
	background-image: url('/wp-content/uploads/2022/11/poster.png');
	background-size: cover;
	width: 100%;
	position: absolute;
	height: 100%;
	z-index: 1;
	opacity: 0;
}

#bs-form .et_pb_contact_field_options_title {
	font-family: 'Merriweather Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
	color: #666;
}

#bs-form .et_pb_contact_field_options_title label,
#bs-form ::placeholder {
	color: #666;
}

#bs-form label > i,
#bs-form .input {
	box-shadow: none !important;
	border: 2px solid #c9c9c9;
}

#bs-form label > i:before {
	background: #666;
}

#bs-form input[type='checkbox']:checked + label i:before {
	color: #666;
}

#bs-form .et-pb-contact-message {
	font-family: 'Merriweather Sans', Helvetica, Arial, Lucida, sans-serif;
	color: var(--bs-primary);
	text-align: center;
	font-size: 28px;
}

.bs-about-list li {
	line-height: 1.65;
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
	background: #fff !important;
}

/* homepage */

.bs-post .et_pb_post .post-content-inner p {
	max-height: 80px;
	margin: 1rem 0;
}

.bs-post .et_pb_post a.more-link {
	margin: 3.25rem auto 0.5rem;
	text-align: center;
	/* padding: 0.5rem; */
	/* border: 2px solid; */
}

.bs-post .et_pb_post .published {
	font-weight: bold;
	text-transform: uppercase;
}

.bs-post .et_pb_post {
	margin-bottom: 0;
}

.bs-post .et_pb_post .entry-title {
	min-height: 58px;
}

#bs-blog .bs-post .et_pb_post {
	margin-bottom: 6rem;
	box-shadow: 0 0 10px;
    padding: 15px 15px 30px;
}


#bs-blog .bs-post .et_pb_post:last-child {
	margin-bottom: 4.5rem;
}

/* single */

.single-post .et_pb_image img {
	object-fit: cover;
}

.single-post .et_pb_post_content * {
	font-weight: 400;
	line-height: 1.7em;
	color: #444;
}

.single-post .et_pb_post_content h4,
.single-post .et_pb_post_content h5 {
	font-size: 22px;
}

.single-post .et_pb_post_content h3 {
	font-size: 26px;
}

.single-post .et_pb_post_content h2 {
	font-size: 30px;
}

.single-post .et_pb_post_content h1 {
	font-size: 34px;
}
/* approach */

#bs-approach .et_pb_image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* footer */
#footer-widgets .footer-widget {
	font-size: 16px;
}

#footer-widgets .footer-widget a {
	color: #bfbfbf;
}

#footer-widgets .footer-widget p {
	color: #8f8f8f;
}

/* gallery */
@media (min-width: 981px) {
	#bs-gallery .et_pb_grid_item {
		width: 31.825%;
		margin-right: 2.25%;
		margin-bottom: 2.25%;
	}

	#bs-gallery .et_pb_grid_item img {
		aspect-ratio: 1;
		object-fit: cover;
		padding: 1rem;
		border: 2px solid rgb(0, 0, 0, 0.1);
	}

	#bs-gallery .et_pb_grid_item .et_overlay {
		top: 1rem;
		left: 1rem;
		height: calc(100% - 2rem);
		width: calc(100% - 2rem);
		border: 0;
	}
}

#bs-gallery .et_pb_grid_item:nth-child(3n) {
	margin-right: 0;
}

.pc-caps {
	display: flex;
	flex-flow: column;
	height: 120px;
	z-index: 10;
	position: absolute;
	width: calc(100% - 2rem);
	margin: 0 auto;
	left: 1rem;
	bottom: 1rem;
	padding: 50px 1rem 1rem 1.5rem;
	justify-content: flex-end;
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.pc-caps h3 {
	order: 1;
	font-size: 20px !important;
	font-weight: 700;
	text-transform: uppercase;
	color: white !important;
}

.pc-caps p {
	order: 2;
	color: white;
	font-weight: 600;
	font-style: italic;
	margin-top: 2px !important;
}

/* helpers */
.show:before {
	opacity: 1 !important;
}

.hide {
	opacity: 0 !important;
}

/* 2024 */
.market-button {
	width: 98%;
	text-decoration: none !important;
}

/* @@@ */
@media (max-width: 980px) {
	#bs-bg-video .mejs-container {
		scale: 1.35;
		translate: -5% -2.5%;
	}

	#bs-bg-video {
		padding: 50% 0 20% 0;
	}

	/* #bs-bg-video .mejs-container:before {
		margin-top: -1.5rem;
	} */

	#top-menu-nav {
		display: none;
	}

	.et_header_style_left #et-top-navigation {
		position: absolute;
	}

	#et_mobile_nav_menu {
		display: flex;
		height: 100%;
		align-items: center;
	}

	.et_menu_container {
		width: 94%;
	}

	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		padding-bottom: 0;
	}
}

@media (min-width: 981px) {
	.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {
		padding-bottom: 0;
	}

	.footer-widget {
		margin-bottom: 0 !important;
	}
}

/*Market Commentary Stuff*/
.post-template-default  ol li{
	margin-bottom: 40px;
}

.post-template-default table{
	width: 90%;
    margin: 20px auto;
}
.post-template-default td{
	padding-left: 10px
}
.post-template-default th{
	font-weight: 800 !important;
	padding-left: 5px;
}