/*
Theme Name:		 Homhero Southport Child Theme
Theme URI:		 https://homhero.com.au/
Description:             Southport Child is a child theme of Southport, created by Homhero
Author:			 HOMHERO
Author URI:		 https://homhero.com.au/
Template:		 homhero-southport
Version:		 1.0.1
Text Domain:             homhero-southport-child
*/

@media screen and (min-width: 1200px) {
   body .hh-custom-container {
        max-width: 100vw;
    }
}

nav#site-navigation {
    --theme--primary-color: #e8e2d2;
    text-transform:uppercase;
    font-size:0.8rem;
    letter-spacing:1px;
}

nav#site-navigation ul.sub-menu {
    --theme--primary-color:var(--theme--secondary-color);
}
#hero.gallery .main-heading {
    font-weight: 700;
    letter-spacing: 1px;
}
div#advancedSearchModal {
    height: 100%;
}
div#header-scroll-search-bar button {
    border: 2px solid;
}

label{
	display:block;
}
.position-sticky-hh-top {
    position: static !important;
    display: flex;
    align-items: flex-start;
}

/* Left column */
.position-sticky-hh-top > .wp-block-column:first-child {
    position: sticky;
    top: calc(
        calc(calc(var(--theme--logo-padding) * 2) + var(--theme--logo-height)) + 100px
    );
    align-self: flex-start;
}

/* Right column */
.position-sticky-hh-top > .wp-block-column:nth-child(2) {
    position: sticky;
    top: calc(
        calc(calc(var(--theme--logo-padding) * 2) + var(--theme--logo-height)) + 100px
    );
    align-self: flex-start;
}

/* IMPORTANT: remove your nested sticky */
.position-sticky-hh-top .featuredListings {
    position: static !important;
}

#listingNavSections .listing-nav-tabs {
    color: var(--theme--text-color);
}

header#masthead #listingNavSections .listing-nav-tabs {
    color: var(--theme--header-text-color, #191818)
}
body .leaflet-top, .leaflet-bottom{
    z-index:1
    
}
body .leaflet-pane {
    z-index: 1;
}

.search-grid .productListing .card-body {
    --theme--primary-color-20:var(--theme--header-background-color);
}

body .image-card-grid:not(.square-image) .image-card .card-img-top img {
    object-fit: contain;
    height: 350px;
    object-position:center bottom;
}

.image-card-grid.square-image .image-card .card-img-top img {
    height:unset;
}

.image-card-grid.square-image .image-card .card-body {
    padding:0 20px 10px;
}
