/*
Theme Name:  Anyware GP Child
Theme URI:  https://anyware.co.nz
Description:  Child theme by Anyware Web Marketing for Generate Press.
Author:  Phil Donaldson
Textdomain:  anyware
Template:  generatepress
Version:  1.0
*/
div.gb-grid-wrapper-548dcbee {
	display: none;
}
div.dark-intro, p.dark-intro {
	color: #39003d;
}
p {
  margin-bottom: 0.9em;
}
ul {
    font-size: 19px;
}
div.outside-shadow {
  box-shadow: 0px 2px 40px rgba(0, 0, 0, 0.3);
}
div.footer-contact h4 {
	font-family: Cormorant Garamond;
    font-size: 30px;
	font-weight: bold;
	line-height: 1.3em;
	color: #000;
}
div.footer-contact p {
    font-size: 20px;
	line-height: 1.5em;
}

/*h1, h2, h3, h4 {
    color: var(--contrast-4);
	font-weight: 600;
	line-height: 1.3em;
}
h1 {
	font-size: 30px;
}
h2 {
	font-size: 24px;
	margin-top: 20px;
}
h3 {
	font-size: 20px;
	margin-bottom: 10px;
}
h4 {
	font-size: 17px;
	margin-bottom: 10px;
	color: var(--accent);
}
body, p, ul, ol, li, table, form, input  {
	font-size: 15px;	
}
p {
	line-height: 1.3em;	
}
ol {
    margin-left: 1em;
}
a {
	text-decoration: underline;
	text-decoration-color: var(--contrast-3);
}
a:hover {
    text-decoration-color: var(--contrast-2);
}
a.nounderline, .nounderline a {
	text-decoration: none;	
}
*/

/* Headers & navigation */
div.inside-article {
	padding-top: 0px;
}
header a, footer a, .footer a, div.gb-container-884117c2 a, div.header-top-bar a {
    text-decoration: none;
}
.header-content {
	width: 100%;
}
// Right aligned header content {}
div.header-grid-right {
	width: 100%;
}
@media (min-width: 800px) {
	div.header-grid-right div.gb-grid-wrapper div:first-of-type.gb-grid-column {
		margin-left: auto;
	}
}

nav.main-navigation {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}
li.#menu-item-2842 {
	margin-right: 0px;
}
.main-navigation .main-nav ul li a {
	font-family: 'Cormorant Garamond',Georgia,"Times New Roman",serif;
	font-weight: 700;
	font-size: 23px;	
}
nav.admin-menu li + li:before{
    content: " | ";
    padding: 0 5px;
}

div.header-top-bar {
	margin-bottom: 0px;
}

div.header-top-bar .wp-block-column {
	}
div.header-top-bar-social, div.header-top-bar-phone {
	flex-basis: unset !important;
	}

@media (max-width: 980px) {
	header#masthead div.inside-header {
		padding: 20px 20px 20px 20px !important;
	}
	.header-widget {
		margin-right: 20px;
	}
}

ul#menu-admin-menu li {
	display: inline;
}

.nav-below-header .main-navigation .inside-navigation.grid-container, .nav-above-header .main-navigation .inside-navigation.grid-container {
    padding: 15px 0px 15px 0px;
}
/* Page headers */
div.gb-container-9d56120c div.gb-inside-container {
	padding-left: 20px;
	padding-right: 20px;
}
body.page-id-10 div.gb-container-9d56120c div.gb-inside-container {
	padding-left: 100px;
	padding-right: 100px;
}

/* Breadcrumb nav */

div.breadcrumb-wrapper {
	margin-top: 10px;
}
ol.breadcrumb {
	margin-left: 0px;
}
ol.breadcrumb li {
	display: inline-block;
}
ol.breadcrumb li a {
	text-decoration: underline;
}
ol.breadcrumb li.active::before {
    color: var(--contrast-4);
    content: "> ";
    padding: 0 5px;
}

/* Footer */
.footer-navigation-bar .wp-block-navigation__container .wp-block-navigation-item:not(:last-child)::after {
    content: " | ";
    padding: 0 8px; /* Adjust spacing around the pipe character */
}



/* Home page */
div.homebanner p {
	font-weight: 600;
}
div.homebanner p.headline {
	font-weight: 600;
	line-height: 110%;
	margin-top: 40px;
	margin-bottom: 20px;
}
div.homebanner p.content {
}
@media (max-width: 1200px) {
	div.homebanner p.headline {
		font-size: 30px !important;
	}
	div.homebanner p.content {
		font-size: 14px;
	}
}
@media (min-width: 601px) and (max-width: 960px) {
	div.homebanner p.headline {
		font-size: 20px !important;
		margin-top: 14px;
		margin-bottom: 14px;
	}
	div.homebanner p.content {
		font-size: 11px;
		margin-top: 14px;
		margin-bottom: 14px;
	}
}
@media (max-width: 600px) {
	div.homebanner figure.wp-block-media-text__media {
		display: none;
	}
	div.homebanner p.headline {
		font-size: 22px !important;
	}
	div.homebanner p.content {
		font-size: 12px;
	}
}

div.home-icon-intros figure, div.home-icon-help figure {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
div.home-icon-intros h2 {
	line-height: 110%;
	font-weight: 600;
	color: var(--contrast-4);
	font-size: 24px;
	margin-bottom: 10px;
}
div.home-icon-intros p {
	line-height: 120%;
	font-weight: 400;
	margin-bottom: 5px;
}
div.home-icon-intros p.more, div.howcanwehelp p.more {
	font-weight: 600;
}
div.home-icon-intros p.more a, div.howcanwehelp p.more a {
	text-decoration: none;
	color: var(--accent3);
}
div.home-icon-intros p.more a:hover, div.howcanwehelp p.more a:hover {
	color: var(--contrast-4);
;	
}
div.howcanwehelp {
	box-shadow: 4px 5px 5px 0px #eee, 0px -2px 5px 0px #eee;
	/*margin-top: 5px;*/
}
div.howcanwehelp h3 {
	margin-top: 0px;
	margin-bottom: 0px;
}
div.home-cta h3 {
	/*font-size: */
	margin-bottom: 0px;
}
p.wp-block-post-excerpt__excerpt {
	margin-bottom: 0px;
}
a.wp-block-post-excerpt__more-link {
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}
a.wp-block-post-excerpt__more-link:hover {
	color: var(--contrast-4);
}
div.home-contact-social {
	margin-left: 0px;
}

/* Forms */
label#label_6_54_1 {
	font-weight: bold;
	font-size: 17px;
}
#field_6_54 {
	margin-left: 30%;
}

/* Buttons */

div.wp-block-button {
	margin-bottom: 0em !important;
}
.button, .wp-block-button .wp-block-button__link, #wp-block-search__input-1 {
    padding: 3px 15px;
}
div.centre-button {
	margin-right: auto !important;
	margin-left: auto !important;
}

/* Products */
body.post-type-archive-product div#page, body.single-product div#page, body.page-id-52386 div#page, body.page-id-52824 div#page, body.page-id-52766 div#page, body.page-id-52514 div#page  {
	padding-top: 50px;
}
.wc-block-grid__product {
	padding: 25px !important;
}
th.wc-block-cart-items__header-image {
	zwidth: unset !important;
}

/* Search */
body.search-results div#page {
	padding-top: 50px;
}

body.search-results h1.page-title, body.search-results article, body.search-results div.post-thumbnail img {
	padding-bottom: 80px;
}

body.search-results div.entry-summary {
	min-height: 90px;
}

.search-post-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.search-post-content-wrapper .post-thumbnail {
    width: 30%; /* 30% of the parent container's width */
    margin-right: 80px; /* Adds spacing between the image and text */
}

.search-post-content-wrapper .search-post-details {
    width: 70%; /* 70% of the parent container's width */
}

.search-post-content-wrapper img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.post-thumbnail {
    width: 200px;
    height: 200px;
    float: left;
    margin-right: 20px;
}

.placeholder-thumbnail {
    width: 200px;
    height: 200px;
}

/* For mobile screens - Drop to one column */
@media (max-width: 768px) {
    .search-post-content-wrapper {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Ensure left alignment */
    }

    .search-post-content-wrapper .post-thumbnail, 
    .search-post-content-wrapper .search-post-details {
        width: 100%; /* Make sure each element takes full width */
    }

    .search-post-content-wrapper img {
        max-width: 100%; /* Ensure the image doesn't exceed its container */
        height: auto; /* Maintain the aspect ratio */
    }

    .search-post-details {
        text-align: left; /* Ensure text aligns correctly */
    }
	.post-thumbnail {
		height: auto;
	}
	body.search-results div.post-thumbnail img {
		padding-bottom: 20px;
}

}

