:root{
	--corporative-color: #64713d;
	--mirai-ui-border-radius: 0px;
}

/* FINDER */
[data-mirai-component="finder"] > ui-finder { 
	max-width: 850px;
	margin: 0 auto;
	transition: 1.25s ease-in-out;
	z-index: 99;
}

body:has(.elementor-sticky--effects) [data-mirai-component="finder"] {
	display: flex;
	justify-content: center;
}

/* Sticky position(s) */
body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder,
body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder-compact {
    position: fixed;
	bottom: 0;
	transform: translateY(-4dvh);
	overflow: visible;
}

/* On scroll, a green background appears */
[data-mirai-component="finder"] > ui-finder:after,
[data-mirai-component="finder"] > ui-finder-compact:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-box-shadow: 0px 0px 0px 15px var(--corporative-color);
    box-shadow: 0px 0px 0px 15px var(--corporative-color);
	border-radius: 2px;
	opacity: 0;
	z-index: -1;
}

body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder:after,
body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder-compact:after {
	opacity: .25;
}

/*CLUB*/

[data-widget_type="Mirai-Club-Login.default"] > .elementor-widget-container { align-items: center; }

[data-widget_type="Mirai-Club-Login.default"] > .elementor-widget-container > [data-mirai-component="session"] > ui-view > ui-menu > ui-pressable > ui-view {
	padding: 0 !important;
}

[data-widget_type="Mirai-Club-Login.default"] > .elementor-widget-container > [data-mirai-component="session"] > ui-view > ui-menu > ui-pressable > ui-view > ui-view:last-of-type ui-text {
	color: #fff;
}

header.elementor-sticky--effects [data-widget_type="Mirai-Club-Login.default"] > .elementor-widget-container > [data-mirai-component="session"] > ui-view > ui-menu > ui-pressable > ui-view > ui-view:last-of-type ui-text {
	color: inherit;
}

[data-mirai-component="bookingQuery"] ui-text {
	color: var(--e-global-color-secondary);
}

/* focus the modal in the viewport & the form signup and profile in the container */
[data-mirai-component="profile"],
[data-mirai-component="signup"] {
	display: flex;
    justify-content: center;
    padding: 50px 0;
}

/* remove the grey background of the email imput in profile */
[data-mirai-component="profile"] input[disabled] {
    background-color: transparent;
}

/*****!! RESPONSIVE !!*****/
@media (max-width: 1024px) {
	[data-widget_type="Mirai-Club-Login.default"] { max-width: 44px !important; }
	
	 .elementor-widget-Mirai-Club-Login ui-pressable > div > span:last-of-type,
	[data-widget_type="Mirai-Club-Login.default"] > .elementor-widget-container > [data-mirai-component="session"] > ui-view > ui-menu > ui-pressable > ui-view > ui-view:last-of-type ui-text
	{ display: none; }
	
	[data-mirai-component="finder"] > ui-finder:after {
		-webkit-box-shadow: 0px 0px 0px 10px var(--corporative-color);
    	box-shadow: 0px 0px 0px 10px var(--corporative-color);
	}
}

@media (max-width: 768px) {
	body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder,
	body:has(.elementor-sticky--effects) [data-mirai-component="finder"] > ui-finder-compact {
		max-width: inherit;
		transform: translateY(0);
	}
}



@media (max-width: 767px) {
	[data-mirai-component="finder"] > ui-finder-compact:after {
		-webkit-box-shadow: 0px 0px 0px 8px var(--corporative-color);
    	box-shadow: 0px 0px 0px 8px var(--corporative-color);
	}
	
	[data-mirai-component="finder"] > ui-finder:after { display: none; }
}