/*!
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;
}

.gform_wrapper.gravity-theme .gfield_label {
	font-weight:normal;
}

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

.posts-list-wrapper .kt-inside-inner-col .wp-block-kadence-query,
.posts-list-wrapper .kt-inside-inner-col .wp-block-kadence-query .wp-block-kadence-query-card,
.posts-list-wrapper .kt-inside-inner-col .wp-block-kadence-query .wp-block-kadence-query-card .kb-query-grid-wrap,
.posts-list-wrapper .kt-inside-inner-col .wp-block-kadence-query .wp-block-kadence-query-card .kb-query-grid-wrap .kb-query-item {
	display:flex;
	flex:1;
}

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

@media (min-width: 1025px) and (max-width: 1780px)  {
	body .wp-block-site-logo a,
	body .wp-block-site-logo img {
		width: clamp(9.375rem, -3.0796rem + 19.4413vw, 20.25rem);
	}
	
	body .wp-block-kadence-identity {
		margin:0 clamp(0.625rem, -2.2381rem + 4.4693vw, 3.125rem);
	}
		
	body .header-cta .wp-block-kadence-advancedbtn .button {
		padding-left:10px;
		padding-right:10px;
	}
	
	body .header-cta > .kt-row-column-wrap {
		display:flex;
		flex-wrap:wrap;
		justify-content:center;
	}
	
	body .wp-block-kadence-navigation .menu {
		flex-wrap:nowrap;
	}
	
	.wp-block-kadence-header-row-center .kadence-header-row-inner {
		grid-template-columns:auto 20% auto !important;
	}
	
	header .navigation > .menu-container > .menu > .wp-block-kadence-navigation-link > .kb-link-wrap {
		white-space:nowrap;
	}
}

body .wp-block-kadence-navigation.navigation-mobile-orientation-vertical .sub-menu {
	margin-left:0 !important;
}

.pagination {
	border-top:1px solid var(--global-palette4);
}

/* Sassy Social Share */

.heateor_sss_sharing_container {
	border-top:1px solid #CED4DA;
	border-bottom:1px solid #CED4DA;
	padding:16px 0;
	display: flex;
    align-items: center;
    gap: 20px;
	flex-wrap:wrap;
}

div.heateor_sss_follow_ul a, 
div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a {
	margin:0 10px;
}

.post-navigation-link-previous a {
	padding-left:20px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.851562 7.14062L7.10156 0.890625C7.57031 0.382812 8.39062 0.382812 8.85938 0.890625C9.36719 1.35938 9.36719 2.17969 8.85938 2.64844L3.50781 8L8.85938 13.3906C9.36719 13.8594 9.36719 14.6797 8.85938 15.1484C8.39062 15.6562 7.57031 15.6562 7.10156 15.1484L0.851562 8.89844C0.34375 8.42969 0.34375 7.60938 0.851562 7.14062Z' fill='%23212529'/%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:0 50%;
	
}

.post-navigation-link-next a {
	padding-right:20px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.10938 7.14062C9.61719 7.60938 9.61719 8.42969 9.10938 8.89844L2.85938 15.1484C2.39062 15.6562 1.57031 15.6562 1.10156 15.1484C0.59375 14.6797 0.59375 13.8594 1.10156 13.3906L6.45312 8L1.10156 2.64844C0.59375 2.17969 0.59375 1.35938 1.10156 0.890625C1.57031 0.382812 2.39062 0.382812 2.85938 0.890625L9.10938 7.14062Z' fill='%23212529'/%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:100% 50%;	
}

/* Products */

.products .product.content-bg.loop-entry {
	background-color:transparent;
	box-shadow:none;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	clear:left;
	margin-top:24px;
}

.woocommerce div.product .woocommerce-tabs {
	border-style:none;
}

.kadence-product-gallery-thumbnails {
	margin-top:24px;
}

.kadence-product-gallery-main {
	margin-bottom:24px;
}

@media (max-width: 767px) {
	.kwt-tabs-wrap .woocommerce-tabs ul.tabs li a, 
	.woocommerce div.product .kwt-tabs-wrap .woocommerce-tabs ul.tabs li a {
		border-bottom:1px solid #6c757d;
	}
	
	.woocommerce div.product .kwt-tabs-wrap .woocommerce-tabs .woocommerce-Tabs-panel.panel {
		margin-top:0 !important;
	}
	
	.woocommerce .kwt-title-wrap.kwt-title-_02205d-98:not(added-for-specificity):not(also-add-for-specificity) .entry-title,
	.woocommerce .kwt-title-wrap.kwt-title-_02205d-98:not(added-for-specificity):not(also-add-for-specificity) .woocommerce-loop-product__title {
		font-size:1.5rem !important;
	}
}

.woocommerce ul.products li.product a.woocommerce-loop-image-link {
	overflow:hidden;
}

.woocommerce-loop-image-link:hover img,
.woocommerce-loop-image-link:focus img {
	transform: scale(1.2);
	transition: transform 0.5s ease-in-out;
}

.woocommerce .quantity.spinners-added input.minus,
.woocommerce .quantity.spinners-added input.plus {
	background: #f4f4f4 !important;
	line-height: 42px;
}

.woocommerce .quantity.spinners-added input.minus {
	border-right:1px solid #cbd5df;
}

.woocommerce .quantity.spinners-added input.plus {
	border-left:1px solid #cbd5df;
}

body .search-filter-input-text,
body .search-filter-component-combobox-base{
	border-color:#ced4da;
	border-radius:4px;
}

body .search-filter-input-text input[type="text"].search-filter-input-text__input,
body .search-filter-input-text input[type="text"].search-filter-input-text__input:active, 
body .search-filter-input-text input[type="text"].search-filter-input-text__input:focus, 
body .search-filter-input-text input[type="text"].search-filter-input-text__input:hover, 
body .search-filter-input-text input[type="number"].search-filter-input-text__input, 
body .search-filter-input-text input[type="number"].search-filter-input-text__input:active, 
body .search-filter-input-text input[type="number"].search-filter-input-text__input:focus,
body .search-filter-input-text input[type="number"].search-filter-input-text__input:hover,
body .search-filter-component-combobox input[type="text"],
body .search-filter-component-combobox .search-filter-component-combobox__selection {
	padding:15px;
}

body .search-filter-label {
	font-weight:700;
	color:var(--global-palette3);
}

body .search-filter-input-checkbox__control > svg {
	fill: var(--global-palette4);	
	color: var(--global-palette4);
}

body .search-filter-input-button {
	color: var(--global-palette9);
	background-color: var(--global-palette2);
	font-weight:700;
	border-style:none;
	border-radius:2px;
	padding:10px 28px 10px 28px;
}

body .search-filter-input-button:hover,
body .search-filter-input-button:focus,
body .search-filter-input-button:hover:not(.is-disabled):not(.search-filter-input-button--is-selected) {
	border-style:none;
	color: var(--global-palette9);
	background-color: var(--global-palette1);
}

.kadence-filter-wrap input[type=text].kb-filter-search::placeholder {
	color:var(--global-palette4);
}

body .kb-query-basic-style .kadence-filter-wrap select,
body .kb-query-basic-style .kadence-filter-wrap select:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' fill='none' stroke-width='2' stroke='%23343a40'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");		 
}

.gform_wrapper.gravity-theme .form-contact label,
.gform_wrapper.gravity-theme .form-contact legend {
	font-size:1rem;
	font-weight:bold;
}

.gform_wrapper.gravity-theme .form-contact .ginput_counter {
	color:inherit;
}

.gform_wrapper.gravity-theme .form-contact .gfield_description {
	padding-top:0;
	margin-top:5px;
	font-style:italic;
}

@media (max-width: 767px) {
	.gform_wrapper.gravity-theme .form-contact input[type="submit"] {
		width:100%;
	}
}

.row-team .wp-block-kadence-column:hover .image-zoom {
	overflow:hidden; 
	border-radius:50%;
}

.row-team .wp-block-kadence-column:hover .image-zoom img {
	transform: scale(1.1);
	transition: all 0.3s ease-in-out;
}

/* Related Posts Styling */

.single-content ul.related-posts-grid {
	display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 4rem;
	row-gap: 4rem;
    padding-left: 0;
	list-style: none;
}

.single-content ul.related-posts-grid .kb-post-meta .kb-dynamic-list {
	list-style: none;
    padding-left: 0;
	margin-bottom: 8px;
	display: flex;
	column-gap: 1rem;
}

.single-content ul.related-posts-grid .kb-post-meta .kb-dynamic-list a {
	font-size: 1.125rem;
    font-weight: 400;
    text-transform: uppercase;
	text-decoration: none;
}

.single-content ul.related-posts-grid .kb-post-meta h3 {
	font-size: 2rem;
	line-height: 1.2;
	margin-top: 0;
}

.single-content ul.related-posts-grid .kb-post-meta .kb-buttons-wrap {
	margin-top: 2rem;
	justify-content: flex-start;
}

.single-content ul.related-posts-grid .kb-post-meta .kb-buttons-wrap .kb-button {
    font-weight: 700;
    font-size: 1rem;
	line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
	text-decoration: none;
	background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
    border-radius: 2px;
    padding: 10px 28px 10px 28px;
	transition: all .2s ease;
}

.single-content ul.related-posts-grid .kb-post-meta .kb-buttons-wrap .kb-button:hover {
	background: var(--global-palette-btn-bg-hover);
}

@media (max-width: 1025px) {
	.single-content ul.related-posts-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) and (orientation: landscape) {

	body .header-tablet-sticky .wp-block-kadence-header-tablet.kb-header-container {
		padding-top:5px;
		padding-bottom:5px;
	}
	
    .wp-block-kadence-header-tablet .wp-block-site-logo {
		margin:0px 0;
    }

	.wp-block-kadence-header-tablet .wp-block-site-logo img {
		  height:27px;
		  width:auto;
	}

	body .wp-block-kadence-off-canvas-trigger svg {
	    width:17px;
	    height:17px;
	} 

}

@media (max-width: 900px) {

	body .slider-hero .n2-ss-section-main-content {
		justify-content:flex-start !important;
	}

	body .slider-hero .n2-ss-section-main-content > .n2-ss-layer:nth-child(1), 
	body .slider-hero .n2-ss-section-main-content > .n2-ss-layer:nth-child(2) {
		flex:0 1 auto !important;
	}

}