/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/


/* A11y Fixes */

/* Allow for esc key to close Kadence submenu */
.nav--toggle-sub li:hover > ul,
.nav--toggle-sub li.menu-item--toggled-on > ul,
.nav--toggle-sub li:not(.menu-item--has-toggle):focus > ul {
 display: none;
}

.main-navigation .menu-item .sub-menu {
  display: none;
}
.main-navigation .menu-item .sub-menu.submenu-open,
.main-navigation .menu-item .sub-menu.toggle-show {
  display: block;
}

/* Gravity Forms */
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
	font-size:1rem;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	color: var(--global-palette3);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus, .gform_wrapper.gravity-theme .gfield textarea:focus, select:focus {
	border-color:#000000;
	outline:-webkit-focus-ring-color auto 1px !important;
}
/* Styling for floating label for gravity forms. 
 * Add class of floating-label to desired form fields */
.floating-label {
        position: relative;
}

.floating-label label {
    position: absolute;
    top: 12px;
    left: 0;
    margin: 0;
    opacity: 0;
    line-height: 1.4;
    font-size: 1rem;
    transition: all ease 0.4s;
}

.floating-label:focus-within label,
.floating-label input:focus ~ label, 
.floating-label textarea:focus ~ label,
.floating-label input.valid ~ label,
.floating-label textarea.valid ~ label, 
.floating-label input:visited ~ label,
.floating-label textarea:visited ~ label,
.floating-label input:-webkit-autofill ~ label,
.floating-label textarea:-webkit-autofill ~ label,
.floating-label.input-active label {
        top: 0;
    left: 16px;
    font-size: .875rem !important;
    color: var(--global-palette3);
    opacity: 1;
}

/* Basic A11Y fixes for Kadence Blocks */
body .kt-blocks-modal-link:not(.kb-btn-global-inherit):focus-within {
	outline:inherit;
}

/* Search Bar */
.woocommerce-product-search {
	position:relative;
}
.woocommerce-product-search .screen-reader-text {
	cursor: text;
	 font-size: 1rem;
	 left: 1rem;
	 margin: 0;
	 opacity: 0;
	 padding-right: 3.5em;
	 position: absolute;
	 top: 0.75rem;
	 font-weight: 500;
	 transition: all ease 0.4s;
}
.woocommerce-product-search:focus-within .screen-reader-text {
	clip:unset;
	clip-path:unset;
	height:auto;
	width:auto;
	left: 12px;
    padding: 0 5px !important;
    background: #fff;
    font-size: 13px!important;
    top: -13px;
    left: 1px;
    line-height: 19px;
    color: #383b41;
    opacity: 1;
}
.woocommerce-product-search input[type='search']::placeholder,
.search-form input[type='search']::placeholder {
	opacity:1;
}

/* menu */
body:not(.hide-focus-outline) .header-navigation li.menu-item--has-toggle>a:focus .dropdown-nav-toggle {
	opacity:1 !important;
}
body #search-drawer .drawer-inner form ::-webkit-input-placeholder {
	opacity:1;
}
#search-drawer input:-webkit-autofill,
#search-drawer input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
}

/* Cookies */
.cky-preference-header .cky-btn-close img {
	filter:brightness(0);
}

/* Kadence Slider */
.kb-splide .splide__pagination__page:focus-visible {
	outline:2px solid #000;
}

/* Smart Slider */
body .n2-ss-slider :focus-visible,
body .n2-ss-slider a.n2-ow:focus-visible, 
body .n2-ss-slider .n2-ow-all a:focus-visible {
	outline:1px solid #fff !important;
	box-shadow:inset 0 0 0 1px #000000 !important;
}
.n2-ss-slider .n2-ss-widget.n2-ss-widget-hidden {
	display:none;
}

/* Forms */
body select,
body select.orderby {
	background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' class='kadence-svg-icon kadence-arrow-down-svg' fill='currentColor' version='1.1' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M5.293 9.707l6 6c0.391 0.391 1.024 0.391 1.414 0l6-6c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z'%3E%3C/path%3E%3C/svg%3E");
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, body select, body .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__rendered {
	border-color:#4E5C74;
	color:var(--global-palette3);
}

/* Events Calendar */
.tribe-events .datepicker .day.focused, .tribe-events .datepicker .day:focus, .tribe-events .datepicker .day:hover, .tribe-events .datepicker .month.focused, .tribe-events .datepicker .month:focus, .tribe-events .datepicker .month:hover, .tribe-events .datepicker .year.focused, .tribe-events .datepicker .year:focus, .tribe-events .datepicker .year:hover {
	outline:2px solid #000;
}
.tribe-events-c-search__input-group {
	position:relative;
}
.tribe-events-c-search__input-group label {
	opacity:0;
	transition: all ease 0.4s;
}
.tribe-events-c-search__input-group:focus-within label {
	clip:unset;
	height:auto;
	width:auto;
	opacity:1;
	margin:0;
	top:-40px;
}
.tribe-events .datepicker .next .tribe-events-c-top-bar__datepicker-nav-icon-svg path, .tribe-events .datepicker .prev .tribe-events-c-top-bar__datepicker-nav-icon-svg path, #primary .tribe-events .tribe-common-c-btn-icon--caret-left .tribe-common-c-btn-icon__icon-svg path, #primary .tribe-events .tribe-common-c-btn-icon--caret-right .tribe-common-c-btn-icon__icon-svg path,
.tribe-events .tribe-events-c-nav__next:disabled .tribe-events-c-nav__next-icon-svg path, .tribe-events button.tribe-events-c-nav__next:disabled .tribe-events-c-nav__next-icon-svg path {
	fill:#707070;
}

/* WooCommerce */
select.orderby:focus-visible {
	outline:2px solid #000;
}
.kadence-shop-top-row {
	position:relative;
}
.kadence-shop-top-row .skip-link {
	right:0;
	left:auto;
}
span.required {
	color:red;
}
.form-description {
	font-size:1rem;
}
.kadence-product-gallery-thumbnails.splide.splide--nav>.splide__slider>.splide__track>.splide__list>.splide__slide:focus-visible,
.kb-splide .splide__arrows .splide__arrow:focus-visible{
	box-shadow:0 0 0 3px #000 !important;
	outline:2px solid #fff !important;
}
body .kb-advanced-slide-inner {
	overflow:visible;
}
/* used to display focus outline above, if needed adjust to not apply to general Kadence slider */
/*body .kb-splide .splide__list {
	padding:3px !important;
}
body .kb-splide.splide-initial .splide__list {
	gap:3px;
}*/
.gbtn.focused {
	outline: 2px solid #fff !important;
}
body .woocommerce form .form-row label {
	color:var(--global-palette3);
}
body .wp-element-button:disabled {
	opacity:0.7;
}


/* End A11y Fixes */

h1 {
	font-size: clamp(3.75rem, -0.5447rem + 6.7039vw, 7.5rem);
}

body .accordion-benefits .kt-blocks-accordion-icon-trigger {
	width:64px;
	height:64px;
	background:var(--global-palette9) !important;
}

body .accordion-benefits .kt-blocks-accordion-title-wrap {
	max-width:80%;
}

body .kt-accordion-wrap:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-icon-trigger:before,
body .kt-accordion-wrap:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-icon-trigger:after {
	background:var(--global-palette3) !important;
	width:20px;
	height:2px;
	top:31px;
	left:22px;	
}


@media screen and (max-width: 767px) {
	body .accordion-benefits .kt-blocks-accordion-icon-trigger {
		width:28px;
		height:28px;
	}	

	body .kt-accordion-wrap:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-icon-trigger:before,
	body .kt-accordion-wrap:not( .kt-accodion-icon-style-basic ):not( .kt-accodion-icon-style-xclose ):not( .kt-accodion-icon-style-arrow ) .kt-blocks-accordion-icon-trigger:after {
		width: 13px;
    	top: 13px;
    	left: 8px;
	}
}

/** Homepage **/
.home .kb-blocks-bg-video-container .kb-background-video-buttons-wrapper button.kb-toggle-video-btn {
	opacity: .7;
}

.cards-advantage h3 {
	justify-content:space-between;
}

@media screen and (min-width: 1024px) {
	.cards-advantage h3 {
		font-size:clamp(1.6rem, -0.0034rem + 2.5028vw, 3rem);
	}
}

.btn-arrow {
	padding-right:95px;
	background-image: url("data:image/svg+xml,%3Csvg width='65' height='64' viewBox='0 0 65 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.5' y='2' width='60' height='60' rx='30' fill='black'/%3E%3Crect x='2.5' y='2' width='60' height='60' rx='30' stroke='%23FBB03B' stroke-width='4'/%3E%3Cg clip-path='url(%23clip0_8674_255)'%3E%3Cpath d='M26.5 32H40.5M40.5 32L33.5 25M40.5 32L33.5 39' stroke='%23FBB03B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_8674_255'%3E%3Crect width='24' height='24' fill='white' transform='translate(21.5 20)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:100% 50%;
}

.btn-arrow:hover,
.btn-arrow:focus {
	background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='64' height='64' rx='32' fill='%23FBB03B'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M32.2929 24.2929C32.6834 23.9024 33.3166 23.9024 33.7071 24.2929L40.7071 31.2929C41.0976 31.6834 41.0976 32.3166 40.7071 32.7071L33.7071 39.7071C33.3166 40.0976 32.6834 40.0976 32.2929 39.7071C31.9024 39.3166 31.9024 38.6834 32.2929 38.2929L37.5858 33H26C25.4477 33 25 32.5523 25 32C25 31.4477 25.4477 31 26 31H37.5858L32.2929 25.7071C31.9024 25.3166 31.9024 24.6834 32.2929 24.2929Z' fill='black'/%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:100% 50%;	
	background-color: var(--global-palette1);
}

/* Slider Trailers */

.slider-trailers * {
	padding-left:0 !important;
	padding-right:0 !important;
}

.slider-trailers .n2-ss-slider .main-image .n2-ow-all img {
	border-radius:40px;
}

.slider-trailers .n2-ss-layer-with-background {
	background-position:50% 100% !important;
	background-size:80% auto !important;
}

.slider-trailers .info-box {
	flex:1 !important;
}

.slider-trailers .info-box .n2-ss-text {
	white-space:nowrap;
}

.slider-trailers .info-box-first {
	margin-left:auto;
}

.slider-trailers .n2-ss-slider .specifications * {
	padding:0 !important;
}

.slider-trailers .n2-ss-slider .n2-ss-layer[data-pm=normal].specifications {
	border-top:2px solid #70747B;
	margin-top:16px;
}

.slider-trailers .n2-ss-slider .specifications > div > div > div > div {
	flex-direction:row;
}

.slider-trailers .n2-ss-slider .specifications .units {
	margin-top:17px;
	margin-left:10px;
}

.slider-trailers .n2-ss-slider .specifications > div > div > div > div > div {
	flex:0 1 auto;
}

.slider-trailers .n2-bullet {
	padding:6px !important;
}

.slider-trailers .n2-ss-slider .specifications .units,
.slider-trailers .info-box .numbers {
	max-width: 100% !important;
	width:auto !important;
}

.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-right-center {
	margin-top:-7%;
}	

@media screen and (min-width:768px) and (max-width:1024px) {
	.slider-trailers .text-content > div > div {
		flex-wrap:wrap !important;
	}
	
	.slider-trailers .text-content > div > div > div:first-child  {
		width:100% !important;
	}
	
	.slider-trailers .n2-ss-slider .specifications > div > div > div > div {
		justify-content:flex-start !important;
		flex-wrap:wrap;
	}
	
	.slider-trailers .n2-ss-slider .specifications .units,
	.slider-trailers .info-box .numbers {
		max-width: 100% !important;
		width:auto !important;
	}	
	
	.slider-trailers p {
		white-space:normal !important;
	}
	
	.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
	.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-right-center {
		align-items:flex-end;
		top:70px;
		margin-top:0;
	}	
}

@media screen and (max-width:767px) {
	
	.slider-trailers .text-content .title > div {
		font-size:20px !important;
	} 
	
	.slider-trailers .text-content .description p {
		font-size:16px !important;
		margin-top:16px;
	} 
	
	.slider-trailers .text-content .info-box {
		width:100% !important;
		flex:0 1 100% !important;
		margin:0px 30px 10px 30px !important;
	}
	
	.slider-trailers .info-box > div {
		flex-wrap: nowrap !important;
    	flex-direction: row;
		border-bottom:2px solid #70747B !important;
		padding-bottom:20px !important;
	}
	
	.slider-trailers .info-box > div > div {
		flex:auto !important;
	}
	
	.slider-trailers .n2-ss-slider .n2-ss-layer[data-pm=normal].specifications {
		border-style:none;
		margin-top:0px;
		width:85%;
	}
	
	.slider-trailers .info-box img {
		width:40px;
	}
	
	.slider-trailers .n2-ss-slider .specifications > div {
		width:100%;
	}
	
	.slider-trailers .n2-ss-slider .specifications > div > div {
		width:100% !important;
	}
	
	.slider-trailers .n2-ss-slider .specifications .units {
		max-width: 100% !important;
		width:auto !important;
	}
	
	.slider-trailers .info-box .units p {
		font-size:16px !important;
	}
	
	.slider-trailers .info-box .numbers {
		max-width: 100% !important;
		width:auto !important;
	}
		
	.slider-trailers .info-box > div > div:first-child {
		width:55px;
		align-self:center;
	}
	
	.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
	.slider-trailers .n2-ss-slider .n2-ss-slider-controls-absolute-right-center {
		align-items:flex-end;
		top:70px;
		margin-top:0;
	}

	.slider-trailers .n2-ss-slider .specifications > div > div > div > div {
		justify-content:flex-start !important;
		flex-wrap:wrap;
	}	
	
	.slider-trailers .n2-ss-slider .specifications .units,
	.slider-trailers .info-box .numbers {
		max-width: 100% !important;
		width:auto !important;
	}

	.slider-trailers p {
		white-space:normal !important;
	}
	
}

/* Slider Review */

.slider-review .n2-caption-before {
	padding:24px 40px !important;
	justify-content:flex-start !important;
}

.slider-review .n2-caption-before > div:nth-child(1) {
	color:var(--global-palette9);
	font-size:2rem !important;
	font-weight:bold !important;
	font-family:var(--global-heading-font-family) !important;
	padding-bottom:10px !important;
}

@media screen and (max-width:767px) {
	.slider-review .n2-caption-before {
		padding:20px 24px !important;
	}
	
	.slider-review .n2-caption-before > div:nth-child(1) {
		font-size:1rem !important;
	}

	.slider-review .n2-caption-before > div:nth-child(2) {
		font-size:1rem !important;
	}	
}

@media screen and (max-width:1024px) {
	.slider-review .n2-caption-before > div:nth-child(1) {
		font-size:1.5rem !important;
	}

	.slider-review .n2-caption-before > div:nth-child(2) {
		font-size:1rem !important;
	}	
}

/* Slider Photos */

.litebox-container img {
	border-radius:40px;
}

@media screen and (max-width:1816px) {
	.slider-photos .n2-ss-slider .n2-ss-slider-controls-absolute-left-center .nextend-arrow-previous {
		--widget-offset:0 !important;
	}
	
	.slider-photos .n2-ss-slider .n2-ss-slider-controls-absolute-right-center .nextend-arrow-next {
		--widget-offset:0 !important;
	}
}

@media screen and (max-width:767px) {
	.slider-photos .n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
	.slider-photos .n2-ss-slider .n2-ss-slider-controls-absolute-right-center {
		align-items:flex-end;
		top:70px;
	}
		
	.slider-photos .n2-ss-control-bullet {
		--widget-offset:41px !important;
	}
}

/* Slider Testimonials */

.slider-testimonials .n2-ss-slide-active .n2-ss-slide-background .n2-ss-slide-background-color {
	background:var(--global-palette1) !important;
}

.slider-testimonials .n2-ss-slide-active .n2-ss-item-content p {
	color:var(--global-palette3) !important;
}

@media screen and (max-width:767px) {
	.slider-testimonials .n2-ss-slider .n2-ss-slider-controls-absolute-left-center,
	.slider-testimonials .n2-ss-slider .n2-ss-slider-controls-absolute-right-center {
		align-items:flex-end;
		top:70px;
	}
		
	.slider-testimonials .n2-ss-control-bullet {
		--widget-offset:41px !important;
	}
}

.wp-block-kadence-header-tablet.item-is-stuck .wp-block-kadence-off-canvas-trigger {
	color:var(--global-palette3);
}

h2 .kt-highlight {
	display:block;
	margin-bottom:1.5rem;
}

@media screen and (max-width:767px) {
	h2 .kt-highlight {
		margin-bottom:0.8rem;
	}
}

.form-newsletter {
	max-width:560px;
	position:relative;
}

.form-newsletter:before {
	content:"";
	position:absolute; 
	bottom:-3px;
	left:-2px;
	width:101%;
	height:67px;
	border-radius:34px;
	border:1px solid var(--global-palette4);
	padding:2px;
	z-index:-1;
}

.gform_validation_error .form-newsletter:before {
	display:none;
}

.form-newsletter .gform_confirmation_message {
	padding:17px 10px;
}

.form-newsletter_wrapper.gform_wrapper.gravity-theme input[type=email] {
	border-color:var(--global-palette9);
	padding:15px;
	border-radius:60px;
	font-size:1.125rem;
}

.form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_footer,
.form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_page_footer {
	padding:0;
	margin:0;
}

.form-newsletter_wrapper.gform_wrapper.gravity-theme .gfield_validation_message, 
.form-newsletter_wrapper.gform_wrapper.gravity-theme .validation_message,
.form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_validation_errors {
	border-radius:34px;
}

.form-newsletter_wrapper.gform_wrapper.gravity-theme .gfield.gfield--type-submit {
	align-self:flex-start;
}

.gform_validation_error .form-newsletter {
	border:1px solid var(--global-palette9);
}

.form-newsletter_wrapper.gform_wrapper.gravity-theme .gfield--type-submit {
	min-width:150px;
}

.gform_validation_error.form-newsletter_wrapper.gform_wrapper.gravity-theme input[type=email] {
	border:1px solid var(--global-palette4);
}

@media screen and (max-width:640px) {
	.form-newsletter {
		border-style:none;
	}
	
	.form-newsletter:before {
		display:none;
	}
	
	.form-newsletter .gform_confirmation_message {
		padding:17px 0px;
	}
	
	.form-newsletter_wrapper.gform_wrapper.gravity-theme input[type=email] {
		border-color:var(--global-palette4);
	}
}

@media screen and (min-width:1025px) and (max-width:1380px)  {
	body .wp-block-kadence-column.kb-section-dir-horizontal:not(.kb-section-md-dir-vertical) > .kt-inside-inner-col > .footer-navigation {
		flex:0 1 335px;
	}
}

.details-video {
	border-radius:40px;
	overflow:hidden;
}

@media screen and (max-width:767px) {
	.details-video {
		border-radius:16px;
	}
}

.posts-list ul .kb-query-item {
	display:flex;
	flex-direction:column;
}

.post-image {
	float:left;
	margin:0 2rem 1rem 0;
}

.post-image:empty {
	display:none;
}

@media screen and (max-width:767px) {
	.post-image.wp-block-kadence-image {
		max-width:100%;
		float:none;
		margin:0 0 1rem 0;
	}
}
