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

/* mobile menu toggle */
button.menu-toggle {
    background-color: rgba(255, 255, 255, 0) !important;
}

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


/** align bottom */
.align-bottom-class .gb-inside-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.align-bottom-class {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.align-bottom-class  > *:last-child {
    margin-top: auto;
}	

/** overide line height for post wrappers in social icons */
.facebook-share, .twitter-share
{
	line-height: 1.2;
}

/* post wrapper controls */
.gotr-post-wrapper {
	font-size: 21px;
	line-height: 1.7;
	font-weight: 300;
}

.post-template-meta {
   line-height: 1.1;
}


/* page wrapper controls */
.gotr-page-wrapper {
	font-size: 21px;
	line-height: 1.7;
	font-weight: 300;
}

/* TOC styling */
div#toc_container {
    padding: 40px;
    margin-left: auto;
    margin-right: auto;
    min-width: 65%;
    line-height: 40px;
    border-radius: 10px;
    border-color: #d8d8d8;
}

/* Image Ratio Styling */
.images-16-9 {
   aspect-ratio: 16/9;
   object-fit: cover;
}

/* Page Comments Width */
.page #comments {
    max-width: 900px;
    margin: auto;
}

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

/*BLOCK SEPARATOR LINE MARGIN*/
hr.wp-block-separator.has-alpha-channel-opacity.is-style-wide {
    border-top: 1px solid;
    border-bottom: 1px solid;
		margin-top: 0px;
		margin-bottom: 0px;
    color: #cacaca;
}

/* Reusable Separator 2 */
hr.sep-left {
    border-top: 1px solid;
    border-bottom: 1px solid;
		margin-top: 0px;
		margin-bottom: 25px;
    color: #cacaca;
	  width: 45px;
}

.comments-area {
    display: none;
}

/*IMAGE CENTER INSIDE POST MARGIN BOTTOM*/
.wp-block-image .aligncenter {
    margin-bottom: 20px;
}

/*Remove Yoast Breadcrumbs Blog Post Title*/
/* span.breadcrumb_last {
    display: none;
}
*/

/* Medaivine custom CSS */
/* Mediavine Mobile CSS */
@media only screen and (max-width: 359px) {
    .gotr-post-wrapper > .gb-inside-container {
        padding-left: 10px !important;
        padding-right:10px !important;
    }
}

/*Search Box Background Color*/
form.search-form.navigation-search.nav-search-active {
    background-color: white;
    border-style: solid;
    border-width: 1px;
    border-color: #d4d4d4;
}

/*Reverse Column Order on Mobile using class reversecolumn*/
@media(max-width: 1030px) {
    .reverse-mobile .gb-grid-wrapper {
        flex-direction: row-reverse;
    }
}

/*MARGIN BELOW FULL-WIDTH CENTER PHOTOS INSIDE POSTS*/
figure.wp-block-image {
    margin-bottom: 25px;
}

/*MOVE BACK TO TOP BUTTON ABOVE ADHESION AD*/
a.generate-back-to-top {
    margin-bottom: 50px;
}

/* privacy link - pagespeed indistinguishable color */
.underlinelink a {
	  text-decoration: none;
  border-bottom: #1e73be 0.125em solid;
} 