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

#et-boc {
    overflow-x: hidden;
}

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

@media screen and (min-width: 767px) {
    .text-columns {
        columns: 2;
    }
}

/* Parallax Image */
body #page-container .parallax {
	position: absolute !important;
	top: -40%;
	left: 0;
	width: 100%;
	height: 150%;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	pointer-events: none !important;
}

body #page-container .parallax::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(0deg, rgba(25, 35, 38, 0.4) 10%, rgba(25, 35, 38, 0) 50%);
	z-index: 1;
}

body #page-container .full-height .parallax::before {
	background: linear-gradient(0deg, rgba(25, 35, 38, 0.4) 10%, rgba(25, 35, 38, 0) 50%);
}

body #page-container .parallax .et_pb_image_wrap,
body #page-container .parallax img {
	width: 100%;
	height: 100%;
}

body #page-container .parallax img {
	object-fit: cover;
	object-position: center;
}

body #page-container .parallax.top img {
	object-position: top center;
}

body #page-container .parallax.bottom img {
	object-position: bottom center;
}

/* Rooms Slider */

.room-info .splide__track {
	overflow: visible;
}

.room {
	color: #fff;
	opacity: 1;
	transition: opacity 0.2s ease-in-out;
}

.room:hover {
	opacity: 0.8;
}

.room h2 {
	color: #F5F8F9 !important;
	font-weight: 300;
	font-size: 2.5rem !important;
}

.room .room-title {
	display: flex;
	justify-content: space-between;
	grid-gap: 2rem;
	flex-wrap: nowrap;
	padding: 2rem 0px;
}

.room .room-title img {
	width: 5rem !important;
	height: auto !important;
}

.room .room-title .title-image-container {
	display: flex;
	align-items: center;
}

.room .excerpt p {
	color: #F5F8F9;
	/* padding-bottom: 10px; */
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 30.4px;
	opacity: 0.8;
}

.room .excerpt {
	padding-bottom: 32px;
}

.room .featured-image img {
	height: 450px;
	object-fit: cover;
}

body #page-container #et-boc .room .feature-icon {
	font-size: 20px !important;
}

ul.features {
	list-style: none;
	padding: 0;
}

.features li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0px;
	border-bottom: 1px solid rgba(242, 246, 246, 0.13);
	opacity: 1;
}

.features li p {
	font-size: 18px;
	font-weight: 300;
	opacity: 0.8;
}

.features li span {
	opacity: 0.8;
}

.room-nav-wrap {
    position: relative;
}

.room-navigation {
    display: flex;
    justify-content: flex-start;
    grid-gap: 2rem;
    margin-bottom: 5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    padding-right: 10vw;
	user-select: none;
	-webkit-user-select: none;
}

.room-navigation::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10vw;
    height: 100%;
    background: linear-gradient(90deg, transparent, #192326);
    pointer-events: none;
}

/* Room Navigation Scrollbar */

.room-navigation::-webkit-scrollbar {
    width: 0px;
    height: 5px !important;

}

.room-navigation::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.room-navigation::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.room-navigation::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.2);
}


.room-navigation .room-nav-item {
	flex: 1;
	text-align: center;
	font-size: 18px;
	font-weight: 300;
	color: #F5F8F9;
	position: relative;
	padding: 0.7rem 1.8rem;
	cursor: pointer;
	transition: border-bottom 0.2s ease-in-out;
	white-space: nowrap;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


.room-navigation .room-nav-item:hover {
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.room-navigation .active {
	opacity: 1;
}

.room-info ul.splide__list .splide__slide {
    width: 100%;
    min-width: 18rem;
    max-width: 32rem;
}

.splide-rooms-content .splide__arrows {
	position: absolute;
	/* bottom: 0; */
	/* left: 0; */
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
	margin-top: 20%;
}

.splide-rooms-content .splide__arrow--prev {
	left: 0;
	margin-left: -1rem;
}

.splide-rooms-content .splide__arrow--next {
	right: 0;
	margin-right: -1rem;
}

.splide-rooms-content .splide__arrow {
	/* position: relative !important; */
	/* background-color: #669999 !important; */
	background-color: rgba(102, 153, 153, 0.6) !important;
	width: 3rem;
    height: 3rem;
    /* background: transparent !important; */
    border: 1px solid #909698;
    transition: opacity 200ms ease;
    transform: none;
}

.splide-rooms-content .splide__arrow svg {
	fill: #F5F8F9 !important;
}

@media screen and (max-width: 600px) {
	.room .featured-image img {
		height: 240px;
	}

	.splide-rooms-content .splide__arrows {
		margin-bottom: -3.5rem;
		bottom: 0;
		left: 0;
		margin-top: 0%;
	}

	.splide-rooms-content .splide__arrow--prev {
		left: 0;
		margin-right: 1rem;
	}
	
	.splide-rooms-content .splide__arrow--next {
		right: 0;
		margin-left: 1rem;
	}

	.splide-rooms-content .splide__arrow {
		position: relative !important;
	}
}
/* Omaka */

.omaka-cookie a {
    color: #669999;
}

.omaka-cookie button {
    background: #669999 !important;
    color: #ffffff !important;
}

/* Folly */

.folly-cookie a {
    color: #C6A96B;
}

.folly-cookie button {
    background: #C6A96B !important;
    color: #ffffff !important;
}

/* Gardens */

.gardens-cookie a {
    color: #E18D5F;
}

.gardens-cookie button {
    background: #E18D5F !important;
    color: #ffffff !important;
}