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

@media (min-width:1025px) and (max-width:1215px) {
    .wp-block-kadence-header-section .wp-block-kadence-advancedbtn {
        margin-left: 20px !important;
    }
    header .wp-block-kadence-navigation .menu {
        gap: 20px;
    }
    header .wp-block-kadence-header-row .kadence-header-row-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.wp-block-kadence-advancedbtn .kt-btn-inner-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding-right: 32px;
}
.wp-block-kadence-advancedbtn .kt-btn-inner-text::before,
.wp-block-kadence-advancedbtn .kt-btn-inner-text::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 12px;
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12' fill='none'%3E%3Cpath d='M21.21 5.21905L22 6.00173L15.9453 12L14.3618 10.4346L17.7177 7.10996H4.1017V4.89351H17.7177L14.3618 1.56883L15.9453 0L21.21 5.21558V5.21905Z' fill='white'/%3E%3Cpath d='M0 4.89351H2.23729V7.10996H0V4.89351Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all .2s ease;
}
.wp-block-kadence-advancedbtn .kb-btn-global-outline .kt-btn-inner-text::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12' fill='none'%3E%3Cpath d='M21.21 5.21905L22 6.00173L15.9453 12L14.3618 10.4346L17.7177 7.10996H4.1017V4.89351H17.7177L14.3618 1.56883L15.9453 0L21.21 5.21558V5.21905Z' fill='%23255FAC'/%3E%3Cpath d='M0 4.89351H2.23729V7.10996H0V4.89351Z' fill='%23255FAC'/%3E%3C/svg%3E");
}
.wp-block-kadence-advancedbtn .kt-btn-inner-text::before {
    top: 50%;
}
.wp-block-kadence-advancedbtn .kt-btn-inner-text::after {
    top: 200%;
}
.wp-block-kadence-advancedbtn .kb-button:hover .kt-btn-inner-text::before,
.wp-block-kadence-advancedbtn .kb-button:focus .kt-btn-inner-text::before {
    top: -200%;
    transition: all .2s ease;
}
.wp-block-kadence-advancedbtn .kb-button:hover .kt-btn-inner-text::after,
.wp-block-kadence-advancedbtn .kb-button:focus .kt-btn-inner-text::after {
    top: 50%;
    transition: all .2s ease;
}
@media (min-width:1025px) {
    body .wp-block-kadence-countup .kb-count-up-number {
        font-size: clamp(4rem, -3.0962rem + 11.0769vw, 6.25rem);
    }
}
.section__hover-featured {
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    position: relative;
}
.section__hover-featured .wp-block-kadence-icon {
    position: absolute;
    top: 20px;
    right: 20px;
}
.column__hover-box .section__hover-featured .kb-svg-icon-wrap,
.column__hover-box .section__hover-featured .kb-img {
    transition: all .1s linear;
}
.column__hover-box:hover .section__hover-featured .kb-svg-icon-wrap,
.column__hover-box:focus-within .section__hover-featured .kb-svg-icon-wrap {
    background: var(--global-palette1);
    color: var(--global-palette9);
    transition: all .1s linear;
}
.column__hover-box .wp-block-kadence-image {
    overflow: hidden;
}
.column__hover-box:hover .kb-img,
.column__hover-box:focus-within .kb-img {
    transform: scale(1.1);
    transition: all .1s linear;
}
.kb-query-item .taxonomy-category::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='25' viewBox='0 0 28 25' fill='none'%3E%3Cpath d='M2.33333 22.6562H12.6535L12.3181 25H0V0H12.4444L18.6667 6.25V14.668L16.3333 17.0117V7.8125H10.8889V2.34375H2.33333V22.6562ZM24.5486 10.9277L28 14.3945L25.9924 16.4111L22.541 12.9443L24.5486 10.9277ZM21.4424 14.0479L24.8937 17.5146L18.0299 24.4141L14 24.9951L14.5785 20.9473L21.4424 14.0527V14.0479Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
    margin-right: 5px;
}
.kb-query-item.category-whitepaper .taxonomy-category::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='25' viewBox='0 0 23 25' fill='none'%3E%3Cpath d='M11.5 2.34375H20.7V22.6562H11.5V2.34375ZM9.2 2.34375V22.6562H5.36667V20.3125H7.66667V17.9688H5.36667V13.6719H7.66667V11.3281H5.36667V7.03125H7.66667V4.6875H5.36667V2.34375H9.2ZM3.06667 20.3125V25H23V0H3.06667V4.6875H0V7.03125H3.06667V11.3281H0V13.6719H3.06667V17.9688H0V20.3125H3.06667Z' fill='white'/%3E%3C/svg%3E");
}
.kb-query-item .taxonomy-category a {
    text-decoration: none;
}
footer ul.footer-utility-nav {
    margin: 0;
    list-style: none;
}
ul.footer-utility-nav li {
    display: inline-block;
    padding: 0 8px;
    position: relative;
}
ul.footer-utility-nav li:first-child {
    padding-left: 0;
}
ul.footer-utility-nav li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -5px;
}
ul.footer-utility-nav li a {
    color: var(--global-palette4);
    text-decoration: none;
}
ul.footer-utility-nav li a:hover,
ul.footer-utility-nav li a:focus {
    text-decoration: underline;
}

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

.form-custom_wrapper.gform_wrapper.gravity-theme .field_description_above .gfield_description {
	padding:0;
	margin-top:-10px;
}

.form-custom_wrapper.gform_wrapper.gravity-theme .gform-footer {
	margin-top:2rem;
}

.form-custom_wrapper .form-custom .gform_footer input {
    padding: 11px 50px 11px 20px;
	transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12' fill='none'%3E%3Cpath d='M21.21 5.21905L22 6.00173L15.9453 12L14.3618 10.4346L17.7177 7.10996H4.1017V4.89351H17.7177L14.3618 1.56883L15.9453 0L21.21 5.21558V5.21905Z' fill='white'/%3E%3Cpath d='M0 4.89351H2.23729V7.10996H0V4.89351Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px auto;
    background-position: 92% 50%;
    transition: all .2s ease;
}

.filter-sidebar .kadence-query-filter.wp-block-kadence-query-filter-search .kadence-filter-wrap .kb-query-label {
	font-weight:normal;
}

.filter-sidebar .kadence-query-filter:not(.wp-block-kadence-query-filter-search) .kadence-filter-wrap .kb-query-label {
	background:var(--global-palette1);
	color:var(--global-palette9);
	padding:11px 20px;
	margin:0 0 20px 0;
	text-transform:uppercase;
	font-size:1.25rem;
	letter-spacing:2px;
	width: 100%;
}

.filter-sidebar .wp-block-kadence-query-filter-reset {
	padding:0 20px 40px 20px;
}

.filter-sidebar .kadence-query-filter.wp-block-kadence-query-filter-search,
.filter-sidebar .kadence-query-filter:not(.wp-block-kadence-query-filter-search) .kadence-filter-wrap .filter-refresh-container {
	padding:20px;
}

.single-content ul.post-tag {
	background:var(--global-palette1);
	padding:12px 20px;
}

.filter-sidebar-toggle {
	width:100%;
	display:none;
	justify-content:space-between;
	align-items:center;
	border-radius:10px 10px 0 0;
	font-size: 1.875rem;
	font-weight:normal;
	padding:10px 20px;
}	

.filter-sidebar-toggle .icon {
	display: block;
	height: 24px;
	position: relative;
	transition: all ease-in-out .2s;
	width: 24px;
	min-width: 24px;
	box-sizing: content-box;
}

.filter-sidebar-toggle .icon:before {
	background: var(--global-palette9);
	content: "";
	height: 2px;
	position: absolute;
	transition: all ease-in-out 0.1333333333s;
	width: 20px;
	left: 2px;
	top: 10px;	
}

.filter-sidebar-toggle .icon:after {
	background: var(--global-palette9);
	content: "";
	height: 2px;
	position: absolute;
	transition: all ease-in-out 0.1333333333s;
	width: 20px;
	left: 2px;
	top: 10px;	
	transform: rotate(90deg);
	transform-origin: 50%;		
}

.filter-sidebar-toggle.open .icon:after {
	transform: rotate(0deg);
}

@media (max-width:1024px) {
	
	.filter-sidebar-toggle {
		display:flex;
	}

	.filter-sidebar {
		display:none;
	}

	.filter-sidebar.open {
		display:block;
	}
	
}

.resource-type-insight {
	display:flex;
	flex-direction:column;
	border:3px solid green;
}


