/*!
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:1.125rem;
	padding: 16px 18px;
    border-radius: 30px;
}
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 */

.footer-links {
	padding:0;
	margin:0;
	list-style-type:none;
}

.footer-links li {
	position:relative;
	margin:0;
	display:inline-block;
}

.footer-links li:not(:last-child) {
	padding:0 30px 0 0;
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
	.wp-block-site-logo img {
		width:120px;
	}
}

.button-arrow,
.form-contact_wrapper.gform_wrapper.gravity-theme .gform_footer input[type="submit"] {
	padding-right:60px;
	background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='18' r='18' fill='url(%23paint0_linear_342_344)'/%3E%3Cpath d='M19.25 13.2188L24.75 18.4688C24.9062 18.625 25 18.8125 25 19.0312C25 19.2188 24.9062 19.4062 24.75 19.5625L19.25 24.8125C18.9688 25.0938 18.4688 25.0938 18.1875 24.7812C17.9062 24.5 17.9062 24 18.2188 23.7188L22.375 19.7812H11.75C11.3125 19.7812 11 19.4375 11 19.0312C11 18.5938 11.3125 18.2812 11.75 18.2812H22.375L18.2188 14.3125C17.9062 14.0312 17.9062 13.5312 18.1875 13.25C18.4688 12.9375 18.9375 12.9375 19.25 13.2188Z' fill='white'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_342_344' x1='36' y1='8' x2='6.5' y2='36' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23005CD7'/%3E%3Cstop offset='1' stop-color='%23003071'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:calc(100% - 6px) 50%;
}

.button-arrow:hover,
.button-arrow:focus,
.form-contact_wrapper.gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.form-contact_wrapper.gform_wrapper.gravity-theme .gform_footer input[type="submit"]:focus {
	background-image: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='18' r='18' fill='url(%23paint0_linear_342_344)'/%3E%3Cpath d='M19.25 13.2188L24.75 18.4688C24.9062 18.625 25 18.8125 25 19.0312C25 19.2188 24.9062 19.4062 24.75 19.5625L19.25 24.8125C18.9688 25.0938 18.4688 25.0938 18.1875 24.7812C17.9062 24.5 17.9062 24 18.2188 23.7188L22.375 19.7812H11.75C11.3125 19.7812 11 19.4375 11 19.0312C11 18.5938 11.3125 18.2812 11.75 18.2812H22.375L18.2188 14.3125C17.9062 14.0312 17.9062 13.5312 18.1875 13.25C18.4688 12.9375 18.9375 12.9375 19.25 13.2188Z' fill='white'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_342_344' x1='36' y1='8' x2='6.5' y2='36' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23005CD7'/%3E%3Cstop offset='1' stop-color='%23003071'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:calc(100% - 6px) 50%;
}

.accordion-services .kt-accordion-panel {
	position:relative;
	top:-4px;
}

.video-background .kb-blocks-bg-video-container {
	width:80%;
	opacity:0.2;
	left:-25%;
	top:0px;
}

.hero-home .kb-bg-slide {
	background-position:95% 0 !important;
	background-size:160px auto !important;
}

@media screen and (max-width: 1750px) {
	.hero-home .kt-row-column-wrap > .wp-block-kadence-column:first-child > .kt-inside-inner-col {
		background-size:contain;
	}
}

@media screen and (min-width: 1025px) {
	.hero-home h1 {
		font-size: clamp(4rem, -1.4399rem + 8.4916vw, 8.75rem);
	}
	
	body .row-count-up .kb-count-up .kb-count-up-number,
	body .row-count-up .pseudo-count-up .pseudo-count-up-number {
		font-size: clamp(3rem, -0.4358rem + 5.3631vw, 6rem);
	}
}

@media screen and (min-width:768px) {
	.hero-home-image .kt-inside-inner-col {
		min-height: clamp(31.25rem, 14.5833rem + 34.7222vw, 56.25rem);
	}

	.hero-home .kb-bg-slide {
		background-position:48% 4% !important;
		background-size:auto !important;
	}	
}

@media screen and (max-width: 1024px) {
	.hero-home.kb-row-layout-wrap > .kt-row-layout-overlay {
		background-size: cover;
	}
}

@media screen and (max-width: 767px) {
	.hero-home.kb-row-layout-wrap > .kt-row-layout-overlay {
		background-size: auto 70%;
		background-position:0% 0%;
	}
}

.slider-brands .n2-bullet {
	position:relative;
}

.slider-brands .n2-bullet:after {
	content:"";
	position:absolute;
	top:-3px;
	left:-3px;
	width:24px;
	height:24px;
	border:1px solid var(--global-palette9);
	border-radius:50%;
	display:block !important;	
}

body .wp-block-kadence-off-canvas-trigger,
body .wp-block-kadence-off-canvas-trigger:focus,
body .wp-block-kadence-off-canvas-trigger:visited {
	color: var(--global-palette9);	
}

/* Custom ordered list */

.single-content .ol-custom ol {
	counter-reset: item;
	font-size:1.188rem;
	padding-left: 0px;
}

.single-content .ol-custom ol ol {
	padding-left:40px;
}

.single-content .ol-custom li {
	display: block;
	margin-top:30px;
	margin-bottom:30px;
}

.single-content .ol-custom li li {
	margin-top:10px;
	margin-bottom:10px;	
}

.single-content .ol-custom li:before {
	content: counters(item, ".") ". ";
	counter-increment: item	;      
}

@media screen and (max-width:767px) {
	.single-content .ol-custom ol {
		font-size:1rem;
	}	
}

.cky-consent-container a {
	color:var(--global-palette3);
}

.cky-consent-container a:hover,
.cky-consent-container a:focus {
	text-decoration:none;
}

.site-footer a {
	text-decoration:none;
	position:relative;
	align-self:self-start;
}

.site-footer a:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	border-radius: 1px;
	background-color: var(--global-palette1);
	bottom: 0px;
	left: 0;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform .3s ease-in-out;
}

.site-footer a:hover::before {
	transform-origin: left;
	transform: scaleX(1);
}

.heading-icon-custom {
	flex-direction:column;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gform_required_legend {
	margin-bottom:20px;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gform_fields {
	row-gap:30px;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gfield_label,
.form-contact_wrapper.gform_wrapper.gravity-theme .ginput_complex label {
	color:var(--global-palette9);
	font-weight:400;
	font-size:1.125rem;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .charleft {
	padding-top:0px;
	color:var(--global-palette9);
	font-size:0.75rem;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gfield_required {
	font-size:24px;
	color:#E77265;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gfield_error label {
	color:#E77265;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gform_footer {
	margin-top:32px;
}

.form-contact_wrapper.gform_wrapper.gravity-theme .gform_footer input[type="submit"] {
	margin:0 auto;
	min-width: 160px;
    text-align: left;
}

@media only screen and (max-width: 641px) {
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1.4;
    }
}

/* TEMP */
.faq-tabs .kt-tab-title-active a {
	border-radius: 8px!important;
}

.slide-up-hover {
	transition: transform .25s ease-in-out;
}

.slide-up-hover:hover {
	transform: translateY(-20px);
}
