
:root {
	--primary-color: rgba(53,126,78,1);
}

body.logged-in #menu-account-menu-1 li:nth-child(4) {
	display: none;
}

body:not(.logged-in) #menu-account-menu-1 li:nth-child(3) {
	display: none;
}

.newspack-popup-wrapper {
	border-radius: 1rem;
}

.entry-content .wp-block-heading a,
.entry-content p a,
.entry-content h4 a {
	color: var(--primary-color) !important;
}

.site-content:has(.after-hours-banner) {
	margin: 0px;
}

.after-hours-banner {
	margin-top: 0px !important;
}

.after-hours-banner img {
	height: 400px !important;
}

.after-hours-banner span {
	height: 400px !important;
}

@keyframes button-pop-out {
	from {transform: scale(1.03);}
	to {transform: scale(1);}
}

@keyframes button-pop-in {
	from {transform: scale(1);}
	to {transform: scale(1.05);}
}

@keyframes popin-onload {
	from {transform: scale(0);}
	50% {transform: scale(1.15);}
	to {transform: scale(1);}
}

.secondary-menu .menu-item {
	font-size: 1.2rem;
}

.home article.type-post,
.archive article.type-post,
.single #secondary article.type-post,
.archive article.type-podcast,
.archive.tax-issuem_issue article.type-article {
	box-shadow: 0px 3px 6px 0px #888 !important;
	padding: 10px;
	animation: button-pop-out 0.15s forwards;
}

.home article.type-post:hover,
.archive article.type-post:hover,
.single #secondary article.type-post:hover,
.archive article.type-podcast:hover,
.archive.tax-issuem_issue article.type-article:hover {
	animation: button-pop-in 0.15s forwards;
}

/* .trending-section {
	justify-content: center;
} */

.popin-onload {
	display: flex;
	justify-content: center;
}

.popin-onload img {
	animation: popin-onload 0.2s;
}

#secondary {
	margin-top: 0px !important;
	padding-top: 0px !important;
}

.above-header-widgets, .header-ad, .footer-ad {
	background-color: black !important;
}

.adzone {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	margin: auto;
}

.adzone:not(.single-sidebar-ad) {
	background-color: #ddd;
}

/*
.adzone-1200x200 {
	max-width: 1200px;
	max-height: 200px;
}
*/

.adzone-300x600:not(.single-sidebar-ad) {
	max-width: 300px;
	max-height: 600px;
}

.adzone-728x90 {
	width: 728px;
	height: 90px;
}

.advads-highlight-wrapper {
	background-color: #ddd;
}

.adzone-728x90.advads-highlight-wrapper {
	margin: auto;
}

.home-story-header-container, .other-stories-header, .tbj-header-border {
	justify-content: center;
	align-content: center;
	border-bottom: solid 5px var(--primary-color);
	padding: 10px;
	margin: 0px !important;
}

.wp-block-newspack-blocks-homepage-articles div:nth-child(3) {
	display: none;
}

.home-story-header {
	text-align: center;
	font-family: "Roboto Condensed", Helvetica, "sans-serif";
	font-size: 32px;
}

/* START PAID MEMBERSHIP PRO STYLES */

.entry-header {
	text-align: center;
}

#pmpro_account-orders {
	display: none;
}

/* SINGLE POST STYLES */

#secondary .widget_block:has(div.bottom-ad) {
	position: sticky;
	top: 200px;
}

/* AD STYLES */
.sidebar-ad img {
	box-shadow: 3px 3px 0px 3px var(--primary-color), -3px -3px 0px 3px darkgoldenrod;
}

/* NEWSLETTER */
.above-footer-widgets .wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0px;
} 

.newsletter-subscription-container {
	display: flex;
	justify-content: center;
	align-content: center;
	background-image: url("https://businessjournaldaily.com/wp-content/uploads/2021/06/ytown2.jpg");
	background-size: cover;
	background-position: center;
	width: 100%;
	padding: 10px;
	flex-direction: column;
}

.newspack-newsletters-subscribe .newspack-newsletters-lists {
	border: none !important;
}

.newsletter-container .newsletter-subscription-newsletter, .newsletter-container .newsletter-subscription-subscription {
	background-color: rgba(255,255,255,0.8);
	padding: 20px;
	border-radius: 20px;
	text-align: center;
}

.newsletter-container .submit-button, .newsletter-container .subscribe-btn a {
	background-color: var(--primary-color) !important;
	color: white;
}

.newsletter-container .newspack-newsletters-lists ul {
	display: inline-block !important;
}

.newsletter-container .newspack-newsletters-lists li input[type="checkbox"]:checked {
	border-color: #000 !important;
}

.newsletter-container .newspack-newsletters-lists li {
	box-shadow: 2px 2px 3px 0px #888 !important;
	padding: 5px !important;
}

.above-footer {
	margin: 0px !important;
}

.author .site-content {	
	margin-top: 1em !important;
}

.author .author-header .author-text {
	color: rgba(53,126,78,1);
	text-transform: uppercase;
}

span.byline {
	margin-right: 1em !important;
}

/* SEARCH RESULTS */

.search-results #primary article {
	flex-direction: column;
	justify-content: center !important;
}

.search-results #primary article .post-thumbnail {
	max-width: 100% !important;
}

.pmpro-member-profile-edit #pmpro_form_fieldset-hidden {
	display: none;
}

/* Past Issues */
ul.past-issues-wrapper {
	display: flex;
	text-decoration: none;
	justify-content: center;
	padding: 0px;
}

ul.past-issues-wrapper li.past-issue-item {
	display: flex;
	flex-direction: row;
	text-align: center;
}

ul.past-issues-wrapper li.past-issue-item a {
	text-decoration: none;
}

ul.past-issues-wrapper li.past-issue-item p {
	font-size: 1.34rem;
	margin-top: 0.5rem;
	font-weight: bold;
	color: var(--primary-color);
}

ul.past-issues-wrapper li.past-issue-item p:hover {
	scale: 110%;
}

ul.past-issues-wrapper li.past-issue-item img {
	width: 300px;
	object-fit: contain;
	border-radius: 0.5rem;
}

.issuem-archives-issue-cover .attachment-issuem-cover-image {
	width: 200px;
	height: 268px;
	object-fit: contain;
}

.category-sidebar-ad-wrapper {
	width: 300px;
	min-height: 600px;
}

.adzone-300x600 {
	width: 300px;
	height: 600px;
}

.home .adzone-300x600 {
	margin: auto !important;
}

.issuem_archives_shortcode {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.issuem_archive {
	min-width: 200px;	
}

@media only screen and (max-width: 1530px) {
	.midpage-banner-ads {
		flex-direction: column;
	}
}

@media only screen and (max-width: 530px) {
	.adzone-728x90 {
		width: 320px !important;
		height: 50px !important;
	}
}

@media only screen and (max-width:782px) {
	.archive article.type-post {
		width: 100%;
	}

	.adzone-728x90 {
		width: 468px;
		height: 60px;
	}
	
	.archive .site-main-wrapper {
		flex-wrap: wrap;
	}

	.hotw_wrapper {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.hotw_wrapper .hotw_sidebar {
		width: 50%;
	}

	.single-listing .home_info {
		flex-direction: column;
	}
	
	.category-sidebar-ad.left-ad {
		padding-left: 0px;
	}

	.category-sidebar-ad.right-ad {
		padding-right: 0px;
	}
	
	.show-more-category-button {
		display: flex;
		justify-content: center;
	}
	/*
	.adzone {
		padding: 0px !important;
	}
	*/
	/* .archive .category-mid-ad {
		display: none !important;
	} */
}
