/*
 Theme Name:   Ignite Convido Main Child
 Theme URI:    https://ignitedigital.net.au
 Description:  Ignite - Convido child theme
 Author:       Ignite Digital Solutions
 Author URI:   https://ighnitedigital.net.au
 Template:     generatepress
 Version:      0.1
*/

/* Navigation padding on desktop */
@media (min-width: 769px) {
    #sticky-navigation, #site-navigation {
        padding-left:20px;
        padding-right:20px;
		padding-top:10px;
		padding-bottom:10px;
	}
}

/* Hamburger icon size and color */
.menu-toggle:before {
    font-size: 24px;
		color: white;
}

#mobile-header .site-logo.mobile-header-logo {
    width: 180px;
    height: auto;
	margin-top: 8px;
	margin-left: 20px;
	margin-bottom: 8px;
}

/* Contain footer widgets tablet and desktop */
@media (min-width: 769px) {
    body .footer-widgets-container.grid-container {
        max-width: 1480px;
    }
}

/* Inner content width 1320px */
.width-1320 {
	max-width: 1320px;
	margin: 0 auto;
}



/* About us page logo size */
.about-us-logo img {
	width: 300px;
}

/* Yellow border bottom image */
.customImg img{
	border-bottom-style:solid;
	border-bottom-width:10px;
	border-bottom-color:#fed140;
}

/* Text Shadow for hero sections */
.h1-text-shadow {
    text-shadow: 1px 1px 1px #000000;
}
.text-shadow {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.65);
}

/* Crop size of callout icons */
.home-icons img{
    width: 60px;
}
.callout-row img{
    width: 121px;
}
/* Contact form header background colour */
.\.post-inquiry .fl-node-content .fl-module-heading{
	background-color:#968981
}

/* Property page */
.post-address {
    font-size: 20px;
}
.post-content h2 {
    font-size: 24px;
}
.post-section ul li {
    color: #696969;
}
.post-price p {
    display: inline-block;
    margin: auto;
    padding-right: 5px;
		color: #ffffff;
    font-size: 36px;
    font-weight: 700;
}
.post-price span.fr {
		color: #ffffff;
    display: block;
}
.post-price span.pr {
    display: inline-block;
    font-size: 18px;
		color: #ffffff;
    font-weight: 300;
}


/* Gravity Form CSS */
/* GF Sub-Headings */
.form-sub-heading h3 {
	font-family: helvetica;
	font-size: 18px;
	font-weight: 700;
}
/* GF field labels */
body .gform_wrapper .gform_body .gfield_label {
    font-size: 16px;
		margin-bottom: 0px;
}
/* GF required star color */
body .gform_wrapper .gform_body .gfield_required {
		color: rgb(240, 16, 16);
}
/* Gravity submit button */
body .gform_wrapper .gform_footer input.button,
body .gform_wrapper .gform_footer input[type=submit] {
    color:#000000;
    padding-top:10px;
    padding-bottom:10px;
    padding-left:20px;
    padding-right:20px;
    border: 1px solid rgba(254,209,65,0.4);
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    box-shadow: 0 1px 0px rgba(114,114,114,0.3);
    -moz-box-shadow: 0 1px 0px rgba(114,114,114,0.3);
    -webkit-box-shadow: 0 1px 0px rgba(114,114,114,0.3);
    background-color: #fed141;
}
/* hover */
body .gform_wrapper .gform_footer input[type=submit]:hover {
    color: #ffffff;
    border: 1px solid rgba(114,114,114,0.6);
    background-color: #94877f;
}

/* Custom fonts */
.thin-text-300 span{
    font-weight: 400;
}
.home-h1 span{
    font-weight: 400;
}

.postid-2482 .entry-header .entry-meta {
    display: none;
}

.bb-facet-map {
		max-height: 100%;
		max-width: 100%;
}

/* Property Posts Module CSS */
.property-post-module .hentry h4 {
	font-size:14px;
	font-weight: 500;
	text-align: center;
	margin-bottom:10px;
}
.property-post-module .fl-post-title a{
	padding-bottom:1px;
	display:block;
	margin-bottom:4px;
	text-align:center;
}
.property-post-module .fl-post-more-link a{
	color:#fed141;
}
.property-post-module .fl-post-more-link a:hover {
	color:#ffffff;
}
.property-post-module .fl-post-more-link {
  background-color: #666666;
  padding: 12px 24px;
  border-radius: 2px;
  width: 165px;
	font-size: 16px;
	line-height: 18px;
  text-align: center;
  position: relative;
  left: 50%;
  margin-left: -75px;
	margin-top:30px;
}
.property-post-module a img{
	margin-bottom: -10px;	
}



/* Rainforest page hero */
@media (min-width: 769px) {
	.rainforest-page-hero h1 {
		font-size: 44px;
		margin-bottom: 30px;
	}
	.rainforest-page-hero p {
		font-size: 22px;
		margin-top: 30px;
	}
}

/* Mobile header breakpoint 1250px  
@media( max-width: 1250px ) {
	.site-header,
	#site-navigation,
	#sticky-navigation {
		display: none !important;
		opacity: 0;
	}

	#mobile-header {
		display: block !important;
		opacity: 1;
		width: 100% !important;
	}

        #mobile-header .main-nav > ul {
            display: none;
        }

	#mobile-header.toggled .main-nav > ul,
        #mobile-header .menu-toggle,
        #mobile-header .mobile-bar-items {
            display: block;
        }
}  */

/* Page heros */
.page-hero h1 {
    font-size: 40px;
	margin-bottom: 14px;
}

.line-separator {
    border-top: 5px solid #fed141;
    width: 10%;
	margin: auto;
}

@media( max-width: 767px ) {
	.page-hero h1 {
		font-size: 32px;
	}
}

/** GP Property Hero **/
@media( min-width: 768px ) {
	.property-hero h1 {
		font-size: 44px;
		margin-bottom: 40px;
	}
	.property-hero h4 {
		font-size: 20px;
	}
}

/* Padding right and left 24px */
.padding-24 {
	padding-right: 24px;
	padding-left: 24px;
}

/* Blog archive styling */
.blog #primary{
	padding-top: 40px;
	padding-right:30px;
	padding-bottom: 30px;
	padding-left: 30px;
}

/* Search widget */
#search-2 {
	padding: 20px;
}
/* Featured Post Widget */
#custom_html-5 {
	padding: 20px;
}
#custom_html-6 {
	padding: 20px;
}
#custom_html-7 {
	padding: 20px;
}
#featured-post-widget {
	background-color: white;
	padding-bottom: 20px
}
#featured-post-widget h3 {
	margin-top: 10px;
	padding-right: 20px;
	padding-left: 20px;
}
#featured-post-widget p {
	padding-right: 20px;
	padding-left: 20px;
	font-size: 14px;
}

.blog h2.entry-title,
.archive h2.entry-title {
	font-size: 20px;
}

/* Single post padding */ 
.single-post .site-content {
    padding-top: 30px;
	padding-right: 20px;
	padding-left: 20px;
	
}

/* Website credit */
.website-credit {
	background-color: #333f48;
	text-align: center;
	padding: 10px 10px 14px 10px;
	font-size: 14px;
	color: white;
	max-height: 24px;
	margin-top: -1px;
}
.website-credit a {
	color: #fed141;
}
.img-credit-valign {
	vertical-align: middle;
	margin-bottom: 0.25em;
	height:20px;
}
.img-credit-valign img {
	margin-left: 4px;
}

.site-info {
	margin-top: -1px;
}
.footer-top-section {
	margin-bottom: -1px;
}

.footer-melbourne-number {
	margin-bottom:16px;
}

/* Icons on Our Services page */
#icon-left img {
	max-height: 75px;
	max-width: 75px;
}
#icon-left .fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    padding-right: 20px;
	width: 20%;
}
#icon-left .fl-callout-icon-left .fl-icon, .fl-callout-icon-left-text .fl-icon {
    display: table-cell;
    vertical-align: top;
    padding-right: 20px;
}

@media (min-width: 769px) {
	#icon-left img {
		max-height: 75px;
		max-width: 75px;
	}
	#icon-left .fl-callout-photo-left .fl-callout-photo, .fl-callout-photo-left-text .fl-callout-photo {
    	padding-right: 20px;
		width: 12%;
	}
	#icon-left .fl-callout-icon-left .fl-icon, .fl-callout-icon-left-text .fl-icon {
    display: table-cell;
    vertical-align: top;
    padding-right: 160px;
	}
}

/* Mailchimp newsletter signup blog post */
.mailchimp-signup-blog {
	text-align: center;
	margin-top: 30px;
	background-color: #ece7e4;
	padding: 20px;
}

.highlight-yellow {
	background-color: rgba(254,209,65,.2);
}

/* GB Property display blocks */
.icon-p {
  vertical-align: middle;
  display: inline-block;
}

.property-block-display {
	text-align: center;
	font-size: 14px;
	font-weight: 500;
}

/*
 * Responsive styles
 */
/* Home page hero banner */
@media (min-width: 1001px) and (max-width: 1599px) {
    .gb-container.ids-home-page-hero {
        padding: 125px 40px;
    }
}

@media (min-width: 1600px) and (max-width: 1920px) {
    .gb-container.ids-home-page-hero {
        padding: 180px 40px;
    }
}

/* Home page city search box */
.search-container {
    position: relative;
    display: inline-block;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 20px; /* Increase the left padding to create more space between the icon and the left edge of the search box */
    transform: translateY(-50%);
    pointer-events: none; /* Ensure the icon doesn't interfere with input focus */
    color: #606060; /* Match the color of the placeholder text */
}

#citySearch {
    width: 100%;
    padding: 20px 10px 20px 60px; /* Adjust padding to make room for the icon */
    font-size: 16px;
    background-color: #ffffff; /* Ensure background is white */
    color: #3a3a3a; /* Text color */
    border: 1px solid #ece7e4;
    border-radius: 6px;
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

.dropdown-content {
    position: absolute;
    background-color: #ffffff; /* Background color of dropdown */
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ece7e4; /* Matching border for the dropdown */
    border-radius: 6px;
    margin-top: 10px; /* Add margin between the search box and the dropdown */
    opacity: 0; /* Start hidden */
    visibility: hidden; /* Start hidden */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Add transition effect */
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-content a {
    color: #3a3a3a; /* Text color */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    #citySearch {
        width: 400px; /* Width for desktop and tablet */
    }
}

@media (max-width: 767px) {
    #citySearch {
        width: 300px; /* Width for mobile */
    }
}
/* End - home city search box styles */

/* apartment gallery styles */
/* Custom styles for PhotoSwipe */
.pswp__bg {
    background-color: rgba(0, 0, 0, 0.9); /* Increase the opacity for a darker background */
}

.pswp--open .pswp__bg {
    background: rgba(0, 0, 0, 0.95); /* Adjust the opacity as needed */
}

.pswp__button--arrow--left {
    left: 40px; /* Adjust as needed */
}

.pswp__button--arrow--right {
    right: 40px; /* Adjust as needed */
}

.pswp__button--close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2em;
}


/* Ensure arrows are visible on mobile */
@media (max-width: 767px) {
    .pswp__button--arrow--left,
    .pswp__button--arrow--right {
        display: block !important; /* Force display on mobile */
        width: 40px !important; /* Smaller size for mobile */
        height: 40px !important;
        background-size: 40px 40px !important;
        opacity: 1 !important; /* Full opacity */
        z-index: 1001 !important; /* Ensure arrows are on top of other elements */
        visibility: visible !important; /* Force visibility */
    }

    .pswp__button--arrow--left {
        left: 10px !important; /* Adjust position for mobile */
    }

    .pswp__button--arrow--right {
        right: 10px !important; /* Adjust position for mobile */
    }
}


/* Ensure the close button is visible on mobile */
.pswp__button--close-custom {
    top: 10px !important; /* Adjust position on mobile */
    right: 10px !important; /* Adjust position on mobile */
    padding: 8px 12px !important; /* Smaller padding for mobile */
    font-size: 1em !important; /* Adjust font size for mobile */
}


/* General styles for larger screens (desktop) */
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    width: 60px; /* Original size */
    height: 60px; /* Original size */
    background-size: 60px 60px; /* Original background icon size */
    opacity: 0.95; /* Maintain strong visibility */
}

/* Grid styles */
.property-gallery-grid-container {
    max-width: 1600px;
    margin: auto;
    overflow: hidden;
}

.property-gallery-grid {
    display: grid;
    grid-template-columns: 75% 25%;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
}

.grid-item {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.grid-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.grid-item-2, .grid-item-3, .grid-item-4 {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.grid-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.grid-item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.grid-item-4 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    position: relative;
}

.grid-item-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .grid-item-button {
        bottom: 6px;
    }
}

.grid-item-button button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 26px;
    padding: 10px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .grid-item-button button {
        font-size: 22px; /* Font size for tablets */
    }
}

@media (max-width: 768px) {
    .grid-item-button button {
        font-size: 18px; /* Font size for mobile devices */
    }
}

.hidden {
    display: none;
}

.property-gallery figure {
    margin: 0;
    padding: 0;
    height: 100%;
}

.property-gallery img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
}

.property-gallery a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
    outline: none;
}

@media (max-width: 999px) {
    .property-gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .grid-item-1 {
        grid-column: 1 / 4;
        grid-row: 1;
    }

    .grid-item-2 {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .grid-item-3 {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .grid-item-4 {
        grid-column: 3 / 4;
        grid-row: 2;
    }
}

/* End - apartment gallery styles */



/* SVG icon in single apartment template */
.ids-apt-svg-icon {
	height: 16px;
	fill: #3a3a3a;
}


/* Farmhouse font in city template */
.script-font {
  font-family: 'Farmhouse', cursive;
  font-size: 3em;
  font-weight: 300;
  color: #fed141;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Add responsive styling for tablet */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .script-font {
    font-size: 2em;
    line-height: 1.4;
  }
}

/* Add responsive styling for mobile */
@media screen and (max-width: 768px) {
  .script-font {
    font-size: 1.6em;
    line-height: 1.5;
  }
}

/*Property category hero padding */
@media only screen and (min-width: 1501px) {
    .ids-category-hero-2025 .fl-row-content-wrap {
        padding-top: 140px !important;
        padding-bottom: 140px !important;
    }
}

/* FacetWP dropdown selects */
.facetwp-facet select,
.facetwp-type-fselect .fs-wrap {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #555;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

/* Hover and focus states */
.facetwp-facet select:hover,
.facetwp-facet select:focus {
    border-color: #999;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Make all facet containers uniform width */
.facetwp-facet {
    min-width: 200px;
}

/* If they're in a row/grid layout */
.fl-row .facetwp-facet {
    flex: 1;
}