/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.1.3.1653910119
Updated: 2022-05-30 11:28:39

*/


/* CTA box */
.cta_box {
	background-color: #f2f2f2;
	margin: 3em 0;
	padding: 3em;
	border-radius: 10px;
}
.cta_text {
	font-size: 1.3em;
	text-align: center;
}
.cta_btn_box {
	text-align: center;
}


/* Fix Social9 Share Buttons */
.s9-widget-wrapper {
	margin: -1rem 0 2rem 0;
}
.s9-share-inline{
	gap: 5px;
}
.s9-share-inline::before {
	content: "Share this article: ";
	margin-right: 10px;
	font-size: 1.5rem;
	font-family: Montserrat !important;
	font-weight: 800;
}
.s9-share-inline a {
	height: 37px !important;
}


/* Fix ConvertKit Form */
.single .formkit-form::before {
	content: "Subscribe to our newsletter";
	margin-bottom: 15px;
	font-size: 1.5rem;
	font-family: Montserrat !important;
	font-weight: 800;
}
.single .formkit-form {
	background-color: #f2f2f2;
	margin: 3em auto;
	padding: 3em;
	border-radius: 10px;
	text-align: center;
	max-width: unset !important;
}
.formkit-form button {
	background-color: var(--accent) !important;
	border-radius: 10px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
}
.seva-modal.formkit-modal.guard {
	width: 100%;
    max-width: 480px;
}

/* Fix TOC */
#ez-toc-container {
	margin-bottom: 3em;
}
.ez-toc-heading-level-2 {
	line-height: 2.25em !important;
}


/* Fix Related Posts */
.relpost-block-single {
	max-width: 50% !important;
}
.relpost-custom-block-single
 {
	max-width: 100% !important;
	max-height: 385px !important;
}
.relpost-block-single-image {
	border-radius: 10px;
	max-width: 100% !important;
	height: 315px !important;
	background-size: contain !important;
}
.relpost-block-single-text {
	font-weight: 700;
}
@media only screen and (max-width: 1024px) {
	.relpost-block-single-image{
		max-height: 250px !important;
	}
}
@media only screen and (max-width: 768px) {
	.relpost-block-container {
		display: flex;
		flex-direction: column;	
	}
	.relpost-block-single {
		max-width: 100% !important;
		min-height: 400px;
	}
	.relpost-block-single-image {
		background-size: cover !important;
		background-position: center top !important;
		max-height: 500px !important;
	}
	.relpost-block-single-text {
		margin-top: 1rem;
	}
	.relpost-custom-block-single {
		height: 100% !important;
		
	}
}
@media only screen and (max-width: 480px) {
	.relpost-block-single-text {
		font-size:1rem !important;
	}
}
@media only screen and (max-width: 375px) {
}
@media only screen and (max-width: 320px) {
}


/* Fix responsive design */
@media only screen and (max-width: 480px) {
	.site-branding {
		display: none;
	}
}
@media only screen and (max-width: 1024px) {
	.header-widget {
		display: none;
	}
}


/* Fix Top Bar */
.inside-top-bar {
	height: 75px !important;
}
@media only screen and (min-width: 768px) {
.inside-top-bar p {
	font-size: 18px !important;
}
}


/* Fix Header Margin */
header {
	margin-bottom: 25px;
}

/* Fix Box Shadows */
.inside-article,
.inside-right-sidebar aside {
	background: #fff !important;
	box-shadow: 0px 4px 4px rgb(0 0 0 / 8%);
	border-radius: 16px;
	overflow: hidden;
}

/* Hide Featured Image on Single Posts */
.featured-image.page-header-image-single {
	display: none;
}

/* Strech Images */
@media only screen and (min-width: 1025px) {
.post-image img {
	margin-left: -40px;
	max-width: 111%;
}
.separate-containers .inside-article > .featured-image {
	margin: -40px -40px 40px -40px;
	max-width: 111%;
}
}

/* Fix Roundings */
button,
input[type="search"],
input[type="text"],
textarea {
 	border-radius: 10px;	
}

/* Fix Margins */
.search-form label {
	margin-right: 10px;
}
.content-area ul {
	margin-left: 25px;
}

/* Fix Headings */
h3 {
	font-size: 25px;
	margin-bottom: 10px;
}

/* Fix Lists */
.content-area ol {
	margin-left: 50px;
}
.content-area ol li {
	padding-left: 15px;
	margin-bottom: 25px;
	background-size: 30px 22px;
	background-position: 0px 1px;
}
.content-area ul li {
	list-style-type: none;
	background: url(/wp-content/uploads/bullet-01.png) no-repeat;
	padding-left: 40px;
	margin-bottom: 25px;
	background-size: 30px 22px;
	background-position: 0px 1px;
}
li ul {
	margin-top: 15px;
}

/* Fix Quotes */
blockquote {
	border-left: 5px solid var(--accent);
}

/* Fix Footer Margin */
.site-footer {
	margin-top: 25px !important;
}

/* Fix Footer Links */
footer a {
	text-decoration: none;
}

/* Fix Footer Heart */
footer svg {
    display: inline-block;
    height: 1em !important;
    overflow: visible;
    vertical-align: -0.125em;
}
