/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.wp-block-image a:not(:has(+figcaption)) {
    margin-bottom: 1em;
}
figcaption{
	padding-left:10px;
	padding-right:10px;
}

.header-image.is-logo-image{
	max-height:38px;
}

	@media (max-width: 767px) {
		.single-post .site-content .wp-post-image, .single-post .site-content .wp-block-image, figure.wp-block-gallery.has-nested-images {
		  margin-left: -30px;
		  max-width: 100vw;
		  width: 100vw;

		}

	  .site-content .content-area{
			width:100% !important;
		}

	}

.custom-breadcrumb{
	font-size: 15px;
}
    

/* Dynamic Settings CSS Start */

.footer-bar a{
	color:white;
}
.footer-bar a:hover{
	color:lightgrey;
}
.copyright-bar{
	color:white;
}
.copyright-bar a{
	color:gray;
}
.copyright-bar a:hover{
	color:white;
}
/* Dynamic Settings CSS End */

#right-sidebar{
	display:none;
}

.entry-content .wp-block-image + p {
    margin-top: 1.8em !important;
}

figcaption{
	text-align:left !important;
	line-height: 1.5;
}

/* Hide the copyright bar */
.copyright-bar {
    display: none;
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 768px) {
  .footer-bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
		gap:15px
  }
}

.footer-bar .widget_nav_menu li{
	padding:0px
}
.wp-block-social-links{
	padding-top:5px;
}

.my-soft-table .wp-block-columns:not(:first-child) {
	padding-top:20px;
}

.my-soft-table .wp-block-columns{
	border-bottom: 1px solid #e9e9e9;
	margin-top:0px;
	margin-bottom:0px;
	padding-bottom:20px;
}

@media (max-width: 768px) {
    .my-soft-table .wp-block-columns {
        gap: 0.2em;
    }
}

.single-post .entry-content ul, .single-post .entry-content ol{
	margin-left:18px;
	margin-top:18px;
}

.inside-article .featured-image{
	margin-top: 1em !important;
	margin-bottom: 1em !important;
}

/* .entry-title{
	margin-bottom: 32px;
} */

.archive.category .site-content .content-area{
	width: inherit;
}

.site-content .content-area{
	width: 100%;
}


.archive.category .one-container.both-right .site-main, .one-container.right-sidebar .site-main{
	margin-right:0px;
}

p a, li a, .custom-breadcrumb a{
	text-decoration:underline;
}

.ez-toc-link{
	text-decoration:underline !important;
}

.gb-query-loop-wrapper a, .entry-title a{
	text-decoration:underline;
}

.gb-container p:last-of-type {
    margin-bottom: 0;
}

.read-more{
	display:block;
		text-decoration:underline;
}

.single-post h2, .single-post h3{
	margin-top:1.8em !important;
	margin-bottom:10px;
}

.single-post h4{
	margin-top:1em !important;
}

img.alignleft{
	float:none;
}

.wp-block-gallery{
	margin-bottom:32px;
}

.gb-container:first-of-type {
    margin-top: 0px;
}

.tags-links, .my-related-posts{
	margin-top:20px;
}
