/*
 Theme Name:     Grow My Business Divi Child
 Theme URI:      https://www.growmybusiness.co.nz
 Description:    Divi Child Theme for Grow My Business
 Author:         Ben Elwood
 Author URI:     https://www.growmybusiness.co.nz
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* Theme customization starts here
------------------------------------------------------- */

body.et-fb .splide {
    visibility: visible;
}

@media screen and (min-width: 767px) {
    .text-columns {
        columns: 2;
    }
	
	.property-gallery img {
		object-fit: cover;
		height: 100%;
	}
}

.property-gallery img {
	border-radius: 3px;
}


.splide__arrows {
    position: absolute;
    top: calc(100% + 30px);
    
    display: flex;
    grid-gap: 12px;
}

.property-gallery .splide__arrows {
/* 	left: 0%; */
}

.splide__arrow {
    position: static;
    background: transparent;
    opacity: 1;

    width: 40px;
    height: 40px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background-color 200ms ease-in-out;
/* 	transition: border 200ms ease-in-out; */
}

.splide__arrow svg {
	fill: #fff;
}

.splide__arrow:hover {
    background-color: rgba(255,255,255,0.1);
}

#listings-splide .splide__track {
	overflow: visible !important;
}

/* .splide-gallery .splide__slide img {
	max-height: 70vh;
	max-width: 80vw;
	height: auto;
} */

.splide-gallery .splide__slide img {
    border-radius: 3px;    
}

.splide-gallery-thumbnails .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.splide-gallery-thumbnails .splide__slide {
    opacity: 0.6;
}

.splide-gallery-thumbnails .splide__slide.is-active {
    opacity: 1;
    border: none !important;
}

.splide-gallery-thumbnails .splide__slide.is-active img {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px;
}

.splide-gallery-thumbnails {
    margin-top: 16px;
}

.splide-gallery .splide__arrows {
    top: 50%;
    pointer-events: none;
    left: -50px;
    width: calc(100% + 100px);
    display: flex;
    justify-content: space-between;

}

.splide-gallery .splide__arrow   {
    pointer-events: auto;
}

.gmb-search-solds {
	width: 200px;
    background-color: rgba(0, 0, 0, 0) !important;
    border: 0px !important;
    border-bottom: 1px solid #fff !important;
    font-size: 17px !important;
    font-family: 'Gotham Book' !important;
    color: #fff !important;
}

.gmb-search-solds::placeholder {
	color: #f9f9f9 !important;
}

@media screen and (max-width: 980px) {
    .splide-gallery .splide__arrows {
        left: 10px;
        width: calc(100% - 20px);

    }

    .splide-gallery .splide__arrow   {
        background: #2d2d2d;
    }
	
	.splide-gallery .splide__slide img {
		max-width: 100%;
	}
	
	.gmb-search-solds {
		width: 100%;
	}
}