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

.widget ul li.rpwe-li { clear:both }

.wp-dark-mode-side-toggle-wrap, .wp-dark-mode-switcher { z-index:9998 } /* so Heartbeat Moments video hides the dark mode toggle icon, 9998 */

/* if auto then credit table looks ugly
.wp-block-table table { width:auto }
*/

.wp-block-table table th { text-align:left }

.nowrap,
.nowrap-table-header th { white-space:nowrap }

.wp-block-table.is-style-stripes { border-bottom:0 }
table { margin:0; border:0 }
td { border:0; vertical-align:top }

/* good idea? */
/*
img.rpwe-thumb { width:42% }
*/

.essb-customizer-toggle { display:none } /* Easy Social Share plugin customizer appears right under dark mode button! */

html.wp-dark-mode-active :not(.wp-dark-mode-ignore):not(mark):not(code):not(pre):not(ins):not(option):not(input):not(select):not(textarea):not(button):not(a):not(video):not(canvas):not(progress):not(iframe):not(svg):not(path):not(.mejs-iframe-overlay):not(.mejs-iframe-overlay):not(.essb_links_list span):not(.wp-dark-mode-switcher img) {
	background-color:#181818 !important
}

html.wp-dark-mode-active a:not(.wp-dark-mode-ignore), html.wp-dark-mode-active a *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active a:active:not(.wp-dark-mode-ignore), html.wp-dark-mode-active a:active *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active a:visited:not(.wp-dark-mode-ignore), html.wp-dark-mode-active a:visited *:not(.wp-dark-mode-ignore) {
	color:#3EA6FF !important
}

html.wp-dark-mode-active .inside-right-sidebar a:not(.wp-dark-mode-ignore), html.wp-dark-mode-active .inside-right-sidebar a *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active .inside-right-sidebar a:active:not(.wp-dark-mode-ignore), html.wp-dark-mode-active .inside-right-sidebar a:active *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active .inside-right-sidebar a:visited:not(.wp-dark-mode-ignore), html.wp-dark-mode-active .inside-right-sidebar a:visited *:not(.wp-dark-mode-ignore) {
	color:#FFF !important
}

html.wp-dark-mode-active body.home h2 a:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.home h2 a *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.home h2 a:active:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.home h2 a:active *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.home h2 a:visited:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.home h2 a:visited *:not(.wp-dark-mode-ignore) {
	color:#FFF !important
}

html.wp-dark-mode-active body.archive h2 a:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.archive h2 a *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.archive h2 a:active:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.archive h2 a:active *:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.archive h2 a:visited:not(.wp-dark-mode-ignore), html.wp-dark-mode-active body.archive h2 a:visited *:not(.wp-dark-mode-ignore) {
	color:#FFF !important
}

html.wp-dark-mode-active :not(.wp-dark-mode-ignore):not(mark):not(code):not(pre):not(ins):not(option):not(input):not(select):not(textarea):not(button):not(a):not(video):not(canvas):not(progress):not(iframe):not(svg):not(path):not(.mejs-iframe-overlay):not(.mejs-iframe-overlay) {
	color:#DDD !important
}

.wp-block-group__inner-container { padding:0 }

h1,h2,h3,h4,h5 { clear:both }
h1 { font-weight:500; font-size:30px }
h2 { font-weight:500; font-size:24px; color:#ba0c49 }
h2.widget-title { color:#000 }
h3 { font-weight:500; font-size:21px }

.generate-columns-container h2 { font-size:18px }

h2.entry-title a { color:#000 }

article .entry-content h2 { margin-top:44px }
article .entry-content h3 { margin-top:32px }

.sidebar .widget { margin-bottom:0 }
.widget-title { font-weight:500 }

.generate-columns-container {
	margin-left:0; /* why -20px by default? */
	font-size:16px
}

.entry-meta { font-size:85% } /* override font-size:inherit for @media (max-width: 768px) */

.post-image-above-header .inside-article .featured-image,
.post-image-above-header .inside-article .post-image { margin-bottom:0.6em !important }

.entry-title a { color:#1e73be }

.entry-meta a,
.entry-meta a:visited { color:#595959 }

figcaption {
	  font-style:italic;

	  /* need for wp-block-embed captions, by default only wp-block-image have the 13px center */
    font-size:14px; 
    text-align:center;
}

.wp-block-image figcaption { font-size:14px }

cite { font-size:14px }

.read-more,
.widget_tag_cloud a { white-space:nowrap }

.copyright-bar img.made-with-love {
	  display: inline-block;
    vertical-align: middle;
    max-width: 20px;
    margin: 0 3px;
}

/*
a:hover { text-decoration:underline; color:#1e73be }

.nav-float-right #site-navigation {
    margin-left: 24px;
}
*/

/*
.home .site-content .content-area,
.archive .site-content .content-area { width:inherit } */ /* leave home page and archive pages like /tag/... alone */

/*.single .site-content .content-area { width:68% }*/ /* shrink content page a little */
/*.single .is-right-sidebar { width:32% }*/

/* homepage thumbnails are too close to the header but posts are a better distance from header
.separate-containers .inside-article { padding: 24px 24px 24px 40px }
*/

/* introduces horizontal scrollbar at certain widths
.separate-containers .comments-area,
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation { padding-left:24px; padding-right:24px }

.main-navigation.has-branding .inside-navigation.grid-container,
.main-navigation.has-branding.grid-container .inside-navigation:not(.grid-container) { padding-left:24px; padding-right:24px }
*/

/*
.widget-area .inside-right-sidebar .widget { padding:40px 24px 0 24px }
*/