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

/* GeneratePress Site CSS */

.grecaptcha-badge { visibility: hidden; z-index: -1; }

body.home .featured-image.page-header-image { display: none !important; }

p { margin-bottom: 16px; } /* 1.5em = 24px

/* Top Menu */
.menu-bar-items { flex-direction: row-reverse; }

/* Main Menu */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: #ddd; }

/* Hide Author */
/* .hide-author,
.hide-author-p p { display: none !important; } */

/* Letter Spacing */
h2.font-let-spa { letter-spacing: -1px; }

/* Hide Comments Message */
p.no-comments { display: none !important; }

/* Header alignment */
@media(min-width: 669px) {
.inside-navigation .navigation-branding { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-align-right .inside-navigation { justify-content: space-between; }
}

/* Search results page header style */
.search-results .page-header .page-title { font-size: 36px; text-transform: uppercase; border-bottom: 2px solid var(--contrast); }

/* Default theme button */
button,
.form-submit .submit { padding-top: 16px; padding-bottom: 16px; }

/* Sidebar */
.sidebar { margin-top: 40px; margin-left: 0; }
@media(min-width: 768px) {
.sidebar { margin-left: 40px; margin-top: 0; }
}

/* Single post - Sticky Related Posts sidebar */
@media(min-width: 769px) {
.is-sticky { position: sticky; top: 112px; }
}

/* Search modal */
.gp-modal__container { overflow-y: auto; }
.gp-search-modal .gp-modal__overlay { padding-top: 15vh; }

/* Tag cloud */
.wp-block-tag-cloud { display: flex; flex-wrap: wrap; row-gap: 10px; }
.wp-block-tag-cloud a { border-radius: 3px; padding: 4px 10px; }
.site-footer .wp-block-tag-cloud a { background-color: var(--contrast); color: var(--base); }
.sidebar .wp-block-tag-cloud a { background-color: var(--base); color: var(--contrast); border: 1px solid var(--contrast); }
.wp-block-tag-cloud a:hover { background-color: var(--base); color: var(--contrast); }
.sidebar a:hover { background-color: var(--contrast); color: var(--base); }

/* End GeneratePress Site CSS */

/* Human Minds CSS */
#generate-slideout-menu { width: 340px; }
.main-navigation { padding: 0 30px !important; }
.slideout-navigation.main-navigation .main-nav ul li ul li { background: #B93434; }
@media(max-width: 768px) {
.main-navigation { padding: 0 10px !important; }
.main-navigation.has-branding .menu-toggle, .main-navigation.has-sticky-branding.navigation-stick .menu-toggle { padding-right: 10px !important; }
}
.navigation-branding { margin-left: 0 !important; }
.navigation-branding p.main-title a { font-size: 50px; text-transform: none; font-weight: 500; letter-spacing: 1px; transform: translatey(-4px); text-shadow: 2px 2px hsl(0deg 0% 0% / 20%); }

.hm-header-logo-before,
.hm-header-logo-after { position: absolute; top: 0; z-index: 10; display: flex; height: 100%; align-items: center; }
.hm-header-logo-before { left: 50%; transform: translatex(-475px); }
.hm-header-logo-after { right: 50%; transform: translatex(400px); }
@media(max-width: 1279px) {
.hm-header-logo-before { transform: translatex(-300px); }
.hm-header-logo-after { transform: translatex(300px); }
}
@media(max-width: 1023px) {
.hm-header-logo-before,
.hm-header-logo-after { display: none; }
}

.hm-menu ul { display: flex; justify-content: center; gap: 30px; }
.hm-menu ul li { }
.hm-menu ul li a { font-size: 20px; line-height: 30px; color: #fff; font-weight: 600; }

footer .gb-text.gb-text-cd6c789b { display: none; }
footer h2.gb-text-05abd0ed { font-size: 50px; font-weight: 500; letter-spacing: 1px; text-shadow: 2px 2px hsl(0deg 0% 0% / 20%); }
footer .gb-container.gb-container-483d660a { font-size: 14px; color: #fff; }
footer .gb-container.gb-container-483d660a a { color: #fff; font-weight: 600; }

/* Homepage */
.gb-element-7835f3fc .landing-page-form-message span,
.gb-element-0ca3eca7 .landing-page-form-message span { color: #000 !important; }
.hm-home-mailing-form-mob { display: none; }
.hm-home-mailing-form-mob .inner-row-div { max-width: 100% !important; }
@media only screen and (max-width: 1024px) {
.hm-home-mailing-form-dsk { display: none; }
.hm-home-mailing-form-mob { display: block; }  
}

/* Contact */
.gb-element-6216643d { width: 100%; }
.gb-element-6216643d .by-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0 30px; }
.wp-block-contact-form-7-contact-form-selector .wpcf7-form-control-wrap input { width: 100%; }
@media (min-width: 1280px) {
.gb-element-101bb05c { min-width: 600px; }
}

/* Article Inside */
h1.gb-text.gb-text-3eb73985 { margin-bottom: 0; }
.hm-share-icons { display: flex; gap: 20px; }
article.has-post-thumbnail section:first-child > div { flex: 1; }

/* Archive Page */
body.archive.category .site-main h1 { font-size: 30px; }
body.archive.category .site-main article h2 a { letter-spacing: -1px; }

/* Sidebar */
.widget-area.sidebar select { width: 100%; }
@media only screen and (max-width: 1024px) {
.widget-area.sidebar input.wp-block-search__input,
.widget-area.sidebar select,
.widget-area.sidebar .wp-block-tag-cloud a { font-size: 14px !important; }  
}

/* Moosend Form */
.moosend-main-form-wrapper .inner-row-div { /*max-width: 100% !important;*/ margin: 0 !important; }
.moosend-main-form-wrapper .landing-page-slot { max-width: 100% !important; }
.moosend-main-form-wrapper .form-input-wrapper { margin: 0 0 10px 0 !important; }
.moosend-main-form-wrapper button.moosend-designer-button { text-transform: none !important; }
.moosend-main-form-wrapper .form-input-error-message { color: #fff !important; }
.moosend-main-form-wrapper .landing-page-form-message p { font-size: 16px !important; color: #fff !important; text-align: left !important; }

/* Thank you */
body.page-id-1645 h1 { text-align: center; }

/* Responsive */
@media only screen and (max-width: 767px) {
/* Homepage Gaps */
.gb-element-1c9f9ec6,
.gb-looper-94563bc5,
.gb-element-9c97681f,
.gb-looper-438ecc40 { row-gap: 40px !important; }
/* About Us */
body.page-id-150 h1.gb-text { display: none; }
.gb-element-25e0877b { row-gap: 20px !important; }
/* Blog + Archive */
.one-container.archive .post:not(:last-child):not(.is-loop-template-item),
.one-container.blog .post:not(:last-child):not(.is-loop-template-item) { padding-bottom: 0 !important; }
/* Article Inside */
.gb-element-96255f5e { margin-bottom: 40px !important; }
.gb-element-71d7cea7 { row-gap: 20px !important; }
}
/* Footer Gaps */
.gb-element-7f049cb2 { row-gap: 40px !important; }
.gb-text-5d2ed28e { margin-top: 40px !important; }
@media only screen and (max-width: 668px) {
/* Logo */
.navigation-branding p.main-title a { font-size: 40px; transform: translatey(-2px); }
}
@media only screen and (max-width: 480px) {
/* Homepage */
.gb-looper-94563bc5 { grid-template-columns: 1fr !important; }
.gb-looper-94563bc5 .gb-container.gb-container-56fecbd5 { flex-direction: column; gap: 10px; align-items: flex-start; }
}