/* 
Theme Name: JCM Staymore
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*==========================================================================
GLOBAL ELEMENTS
==========================================================================*/

.boxed,
.elementor .boxed {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: calc((100% - var(--Wrapper)) / 2 + 20px) !important;
	padding-right: calc((100% - var(--Wrapper)) / 2 + 20px) !important;
	box-sizing: border-box;
}

.left-wrapper,
.elementor .left-wrapper {
	padding-left: calc((100% - var(--Wrapper)) / 2 + 20px) !important;
	box-sizing: border-box;
}

@media screen and (max-width: 1350px) {

	.boxed,
	.elementor .boxed {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.left-wrapper,
	.elementor .left-wrapper {
		padding-left: 20px !important;
	}
}

*[role=button] {
    cursor: pointer;
}
[role="button"]:focus-visible,
[class*="flyout-trigger-"]:focus-visible {
    outline: 2px solid black !important;
    border-radius: 0px;
	box-shadow: none !important;
}

.wash-out-underlay::before {
	content: "";
	position: absolute;
	z-index: 0;
	background: rgb(255 255 255 / 75%);
	filter: blur(30px);
}

.tablet,
.mobile {
	display: none !important;
}

.elementor[data-elementor-type="wp-post"] {
	overflow-x: clip;
}

/*==========================================================================
NAVIGATION
==========================================================================*/

.flyout {
	position: fixed;
	visibility: hidden;
	top: 0;
	right: 0;
	width: 80%;
	max-width: 400px !important;
	height: 100%;
	z-index: 999;
	box-shadow: 0 0 60px -60px rgb(0 0 0 / 35%);
	transform: translate(100%, 0px);
	transition: ease .3s;
	background: linear-gradient(90deg, var(--Light_Grey), white);
	padding: 20px !important;
	display: flex !important;
	flex-direction: column !important;
}

.flyout.active {
	visibility: visible;
	transform: translate(0, 0);
	box-shadow: 0 0 60px 0px rgb(0 0 0 / 35%);
}

.flyout-close {
	cursor: pointer;
	width: 50px !important;
	height: 50px !important;
	margin-bottom: 20px !important;
	transform: rotate(0deg);
	transition: ease .3s !important;
	padding: 0 !important;
	background: var(--Green) !important;
	box-shadow: -3px 2px 5px rgb(0 0 0 / 49%);

}

.flyout-close:hover {
	transform: rotate(90deg);
	box-shadow: 3px 2px 5px rgb(0 0 0 / 49%);
}

.flyout-close i {
	font-size: 30px;
}

.flyout-close:focus {
	outline: solid 2px #000 ! IMPORTANT;
	outline-offset: 2px;
}

body.disable-clicks {
	pointer-events: none;
	overflow: hidden;
}

body.disable-clicks .flyout {
	pointer-events: all;
}

/*==========================================================================
CONTACT FORMS
==========================================================================*/

.wpcf7 input, .wpcf7 textarea, .wpcf7 select {
    margin: 5px 0;
    background: #eee;
    border: none;
	border-radius: 3px;
}

.wpcf7-checkbox {
	display: block;
	border: none;
	border-radius: 3px;
	padding: 1rem 1rem;
	background: #eee;
	margin-top: .5rem;
}

.wpcf7 input[type="checkbox"] {
	margin: 0px;
	position: relative;
	top: 1px;
}

.wpcf7-list-item {
	display: flex !important;
	margin: 0 0 1rem 0 !important;
	align-items: start;
	gap: .5rem;
	font-size: 16px;
}

.wpcf7-list-item:last-child {
	margin-bottom: 0 !important;
}

/*==========================================================================
MOBILE RESPONSIVE STYLES
==========================================================================*/

@media only screen and (max-width: 1024px) {
	.tablet {
		display: block !important;
	}
}

@media only screen and (max-width: 767px) {
	.mobile {
		display: block !important;
	}
}