/*
 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
*/



/* no more packaged foods table  */
table#nmpf {
	padding: 0px;
line-height: 22px;
}

table#nmpf  td{
	padding: 5px;
    border: 2px solid #FFFFFF;
	background: #EFF3DD;

}

/* in body tables  */
table#inbody {
	padding: 0px;
line-height: 22px;
}

table#inbody td{
	padding: 5px;
    border: 2px solid #FFFFFF;
	background: #EFF3DD;

}

/* tablepress header row background colour   */
/*
.tablepress thead th, .tablepress tfoot th {
    background-color: #e3ddae !important;
}
*/

/* sidebar latest articles  */
/**
aside#custom_html-7 img
{
object-fit: cover;
height: 300px;
width: 300px;
border-radius: 50%;
	border: 1px solid #e0e1df;  
}
*/

/* sidebar widget title  */
aside .widget-title {
	text-align: center;
}

/* pagination backgound colour  */

li .page-numbers {
	background-color: #ffffff;
}

/* blog meta in posts - author link   */
/**
.post-info-link a:link {
text-decoration: underline;    
}

.post-info-link a:visited {
text-decoration: underline;    
}

.post-info-link a:hover {
text-decoration: none;    
}

.post-info-link a:active {
text-decoration: underline;    
}
*/

/* add label to commenters */

.comment-author-label {
	color: #ffffff;
	font-size: 12px;
	font-weight: normal;
	padding: 5px;
	margin-left: 5px;
	border-radius: 15px;
}

.comment-author-label-editor {  
background-color:#f79a04;
}
.comment-author-label-author {
background-color:#f79a04;
}
 
.comment-author-label-contributor {
background-color:#f79a04;   
}
.comment-author-label-subscriber {
background-color:#f79a04;   
}
 
.comment-author-label-administrator { 
background-color:#f79a04;
}

/* hiding website field in comments */

p.comment-form-url.ast-col-xs-12.ast-col-sm-12.ast-col-md-4.ast-col-lg-4
{
	display: none;
}

/** ShowPosts Text Faceoff */
.postid-4766 #wpsp-10562 .wp-show-posts-entry-title {
	text-align: center;
	padding-top: 15px;
}

.postid-4710 #wpsp-10564 .wp-show-posts-entry-title {
	text-align: center;
	padding-top: 15px;
}

.mt-4722 #wpsp-10568 .wp-show-posts-entry-title {
	text-align: center;
	padding-bottom: 15px;
}

.mt-4722 #wpsp-10571 .wp-show-posts-entry-title {
	text-align: center;
	padding-bottom: 15px;
}

/** in body link underline */
/**
.page .content-area p a, .single-post .content-area p a {
    text-decoration: underline;
}
*/

/** GT homepage image */
#post-4978 .wp-image-10476 {
	border-radius: 50%;
}

/** MV footer */
#footer_branding {
	color: rgb(180, 180, 180);
	background-color: rgb(58, 58, 58);
	padding-bottom: 15px;
	margin-top: 0;
}

/** breadcrumb */
.breadcrumb {
	padding-bottom: 10px;
}

/** off canvas menu underline */
#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(1) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(2) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(3) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(4) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(5) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

#generate-slideout-menu > div > div:nth-of-type(1) > ul:nth-of-type(1) > li:nth-of-type(6) > a:nth-of-type(1) {
	border-bottom: 1px dashed rgb(83, 83, 83);
}

/** post under tag */
.tags-links {
	padding-bottom: 25px;
}

/** dotted border */
.gb-container.dotted-border {
    border-style: dashed;
}

/** sticky nav */
/**
#masthead {
		border-bottom: 2px solid rgb(242, 242, 242);
	position: sticky;
	top: 0px;
	z-index: 9998;
	position: -webkit-sticky;
}

#mobile-header {
	border-bottom: 2px solid rgb(242, 242, 242);
	position: sticky;
	top: 0px;
	z-index: 9998;
	position: -webkit-sticky;	
}
*/

button.menu-toggle {
    background-color: #ffffff !important;
	font-size: 19px;
}

nav#generate-slideout-menu {
    padding-top: 20px;
    padding-left: 10px;
}

@media (max-width: 768px) {
    /* CSS in here for mobile only */
	/** site logo size */
	img.header-image.is-logo-image {
    width: 240px;
}
}

/* force same height for archives */
.same-height,
.same-height > .gb-inside-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.same-height .same-height > .gb-inside-container :last-child {
    margin-top: auto;
}

/* Archive, blog and search results background colour */
body.archive, body.blog, body.search-results
{
    background-color: #ffffff;
}

/* Post In Body Link */
.post-bodycontent a {
    text-decoration: underline;
}

.post-bodycontent-nolink a {
    text-decoration: none !important;
}

.post-bodycontent img {
padding-bottom: 30px;
}

.post-bodycontent h2, .post-bodycontent h3, .post-bodycontent h4, .post-bodycontent h5, .post-bodycontent h6  {
padding-top: 5px;
}

.post-bodycontent figcaption
	{
	margin-top: -20px;
}

.post-bodycontent figcaption.wp-element-caption {
	padding-bottom: 20px;
}

.mv-ad-box {
	margin-top: 25px !important;
	margin-bottom: 25px !important;
}

/* Stick Last Child Element to Bottom */
.lower-container {
    flex: 1;
}
.lower-container >.gb-inside-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lower-container >.gb-inside-container >*:last-child {
    margin-top: auto;
}

.template-container > .gb-inside-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Image Ratio 16/10 */
.ar-16-10 {
aspect-ratio: 16/10;
}

/* Group padding Disabled - for MV Ads */
.wp-block-group__inner-container {
    padding: 0 !important;
}

/* Author Archive Description */
@media (max-width: 768px) {
.custom-line-height {
	line-height: 1.5;
	font-size: 18px;
}
}

/* Post Template Author Image */
.author-meta-post-template {
	padding: 0 !important;
	max-width: 120px;
}
/* Simple Author Box Avatar Image Fix */
#content .avatar-100 {
		padding: 0 !important;
}

/* Post Template Author Meta */
.post-template-author-meta {
	line-height: 1.6;
}

/* breadcrumb styling */
.breadcrumb {
    line-height: 1.5;
}

.calc1 {
	margin-bottom: 16px;
	font-weight: 500;
}

.calc2 {
	margin-bottom: 6px;
}

.calc3 {
	padding: 3px 30px 3px 30px;
	margin-bottom: 10px;
}

.ff-el-input--content {
    padding-left: 20px;
}

/* YT vid new in-content embed */
figure.wp-block-embed.is-type-video.is-provider-youtube.wp-block-embed-youtube.wp-embed-aspect-16-9.wp-has-aspect-ratio {
padding-bottom: 20px;	
}

/* Primary Nav Sub Menu Line between items */

.main-navigation .main-nav ul ul li a {
    border-bottom: 1px solid #f2f2f2;
}

/* Primary Sub Menu Drop Shadow */
@media (min-width: 1025px) {
    /* CSS in here for desktop only */
	/* Primary Sub Menu background shadow */

.main-navigation:not(.toggled) ul li.sfHover>ul, .main-navigation:not(.toggled) ul li:hover>ul {
box-shadow: 0px 0px 10px rgba(0,0,0,0.25);
}
	}

/** off-canvas indenting of sub menu items*/

.slideout-navigation .inside-navigation {
    padding: 0;
}

#generate-slideout-menu .sub-menu > li > a {
    padding-left: 30px;
}

#generate-slideout-menu .sub-menu  .sub-menu > li > a {
    padding-left: 60px;
}

/* Primary Nav hover underline and current underline - work with functions.php */
@media (min-width: 769px) {
    .main-navigation .menu>.menu-item>a>.menu-label {
        position: relative;
    }

    .main-navigation .menu>.menu-item>a>.menu-label::after {
        content: "";
        position: absolute;
        right: 0;
        left: 50%;
        bottom: -5px;
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
        display: block;
        width: 0;
        height: 2px;
        background-color: currentColor;
        transition: 0.3s width ease;
    }

    .main-navigation .menu>.menu-item.current-menu-item>a>.menu-label::after,
    .main-navigation .menu>.menu-item.current-menu-ancestor>a>.menu-label::after,
    .main-navigation .menu>.menu-item:hover>a>.menu-label::after {
        width: 100%;
    }
}

/* Easy TOC Table of Content Title bottom margin */
.single-post .ez-toc-title {
	line-height: 50px !important;
}

/* Easy TOC Container padding */
#ez-toc-container {
	padding-right: 24px;
	padding-bottom: 24px;
	padding-left: 24px;
}

/* hover underline text link */
.hover-underline a:hover {
	 text-decoration: underline;
}