/*!
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: 0.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;
}
body .n2-ss-slider .n2-ss-slider-wrapper-inside .n2-ss-slider-controls {
    visibility:visible;
}

/* 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 24px 0 0;
}
 
.entry-content .kb-row-layout-wrap.alignfull {
	margin-left:0;
	margin-right:0;
	width:100%;
}

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

body .kt-block-spacer .kt-divider {
	transform:perspective(1px) translate(-50%, 0%);
}

/* Newsletter */

body .form-newsletter_wrapper.gform_wrapper.gravity-theme input[type=email] {
	background:var(--global-palette4); 
	color:var(--global-palette9); 
	padding:15px 20px;
	border-radius:0 !important;
	border:1px solid var(--global-palette9); 
}

body .form-newsletter_wrapper.gform_wrapper.gravity-theme .gfield_required,
body .form-newsletter_wrapper.gform_wrapper.gravity-theme input[type=email]::placeholder {
	color:var(--global-palette9); 	
}

body .form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_footer,
body .form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_page_footer {
	padding-top:10px;
	padding-bottom:0;
}

body .form-newsletter_wrapper.gform_wrapper.gravity-theme .gform_button {
	letter-spacing:0;
	padding:10px 16px;
}

/* Newsletter Alt */

body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme .gfield_label {
	font-family:var(--global-body-font-family);
}

body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme input[type=email] {
	background:var(--global-palette9);
	color:var(--global-palette4);
}

body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme input[type=email]::placeholder {
	color:var(--global-palette4);
}

body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme .gform-button {
	background:var(--global-palette1);
	border-color:var(--global-palette1);
	color:var(--global-palette9);
	padding:14px 30px;
}

body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme .gform-button:hover,
body .form-newsletter--alt_wrapper.gform_wrapper.gravity-theme .gform-button:focus {
	background: transparent;
	color:var(--global-palette9); 
	border-color:var(--global-palette9);
}


/* Top Listing */
[class^="widget-top-"] article,
.widget-nc-awards article {
	margin:0 0 2rem 0;
}

[class^="widget-top-"] article h3,
.widget-nc-awards article h3 {
	margin:0 0 5px 0;
}

[class^="widget-top-"] article h3 a:hover,
[class^="widget-top-"] article h3 a:focus,
.widget-nc-awards article h3 a:hover,
.widget-nc-awards article h3 a:focus {
	text-decoration:underline;
}

[class^="widget-top-"] article p,
.widget-nc-awards article p {
	line-height:1.25;
	margin:0;
}

[class^="widget-top-"] img,
.widget-nc-awards img {
	width: 100%;       
	aspect-ratio: 1.35 / 1;
	object-fit: cover; 
	display: block;    
}

[class$="__content"] {
	margin-top:1rem;
}

[class*="__date"] {
	text-transform:uppercase;
	font-family: 'Lato', sans-serif;
	font-size:0.875rem;
	letter-spacing:1.12px;
	margin-top: 5px !important;
	margin-bottom: 5px;
    display: inline-block;	
}

[class$="__source"] {
	text-transform:uppercase;
	font-size:0.875rem;
	letter-spacing:1.12px;
	font-weight:600;
}

[class$="__author"] {
	font-size:0.875rem;
}

[class$="__separator"] {
	background-image: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.80685 3.67525L6.27694 2.83823C5.80623 2.58063 5.41922 2.19351 5.16177 1.72273L4.32523 0.192803C4.29331 0.134441 4.24627 0.0857443 4.18904 0.0518208C4.13182 0.0178974 4.06652 0 4 0C3.93348 0 3.86818 0.0178974 3.81096 0.0518208C3.75373 0.0857443 3.70669 0.134441 3.67477 0.192803L2.83823 1.72257C2.58064 2.19341 2.19346 2.58054 1.72259 2.83807L0.192833 3.67461C0.134466 3.70651 0.0857631 3.75353 0.0518339 3.81074C0.0179047 3.86795 0 3.93324 0 3.99976C0 4.06627 0.0179047 4.13156 0.0518339 4.18877C0.0857631 4.24599 0.134466 4.29301 0.192833 4.32491L1.72306 5.16209C2.19381 5.41942 2.58084 5.8064 2.83823 6.27711L3.67477 7.80719C3.70669 7.86555 3.75373 7.91426 3.81096 7.94818C3.86818 7.9821 3.93348 8 4 8C4.06652 8 4.13182 7.9821 4.18904 7.94818C4.24627 7.91426 4.29331 7.86555 4.32523 7.80719L5.16177 6.27791C5.41932 5.80694 5.80657 5.41975 6.27758 5.16226L7.80749 4.32555C7.86582 4.29359 7.91448 4.24653 7.94835 4.18928C7.98223 4.13204 8.00007 4.06673 8 4.00021C7.99993 3.9337 7.98197 3.86842 7.94798 3.81125C7.914 3.75407 7.86525 3.70709 7.80685 3.67525Z' fill='%23171D1A'/%3E%3C/svg%3E%0A");
	background-repeat:no-repeat;
	background-position:50% 50%;
	display:inline-block;
	width:34px;
	overflow:hidden;
	line-height:10px;
	text-indent:-10rem;
}


[class$="category"],
[class$="categories"] {
	text-transform:uppercase;
	font-family: 'Lato', sans-serif;
	font-size:0.875rem;
	letter-spacing:1.12px;
	color:var(--global-palette1);
	font-weight:600;
}

[class$="__excerpt"] {
	margin:0;
}

[class$="__meta"] {
	line-height:1.1;
	margin:5px 0;
}

.post__author {
	text-transform:uppercase;
	font-size:0.875rem;
	letter-spacing:1.12px;
	font-weight:700;
}

.home-layout__rail [class$="__excerpt"] {
	display:none;
}

.widget-top-media,
.widget-top-reporting,
.widget-top-paper,
.widget-nc-awards,
.widget-top-podcasts {
	display:flex;
	flex-wrap:wrap;
	gap:20px;
}

.widget-top-media article,
.widget-top-reporting article,
.widget-top-paper article,
.widget-nc-awards article,
.widget-top-podcasts article {
	flex:0 1 314px;
	min-width: calc((100% - 20px) / 2);
	margin:0;
}

@media (max-width: 767px) {
	.widget-top-media article,
	.widget-top-reporting article,
	.widget-top-paper article,
	.widget-nc-awards article,
	.widget-top-podcasts article {
		min-width: 100%;
	}	
}

.widget-top-media article h3, {
	margin-top:10px;
}

/* Rail Lists */
.home-layout__rail .widget-top-reporting article,
.home-layout__rail .widget-top-paper article,
.home-layout__rail .widget-top-podcasts article,
.home-layout__rail .widget-nc-awards article {
	display:flex;
	gap:16px;
}

.home-layout__rail .widget-top-reporting article > a,
.home-layout__rail .widget-top-paper article > a,
.home-layout__rail .widget-top-podcasts article > a,
.home-layout__rail .widget-nc-awards article > a {
	flex:0 0 96px;
}

.home-layout__rail .widget-top-reporting article .widget-top-reporting__content,
.home-layout__rail .widget-top-paper article .widget-top-paper__content,
.home-layout__rail .widget-top-podcasts article .widget-top-podcasts__content,
.home-layout__rail .widget-nc-awards article .widget-nc-awards__content {
	margin-top:0;
}

@media (min-width: 1025px) {
	
	.center-column {
		position:relative;
		padding-left:60px;
	}
	
	.center-column:before {
		content:"";
		position:absolute;
		top:130px;
		left:-1px;
		width:1px;
		height:calc(100% - 130px);
		background:var(--global-palette4);
	}	
	
}

.button-header {
	white-space:nowrap;
}

@media (min-width: 1025px) and (max-width: 1400px) {
	.wp-block-kadence-identity {
		width:140px;
	}
	
	.wp-block-kadence-navigation .menu {
		column-gap:10px;
	}
	
	header .kt-svg-icons {
		max-width:90px;
	}
	
	.kb-nav-desktop-horizontal-layout-standard > .navigation > .menu-container > .menu > .wp-block-kadence-navigation-link > .kb-link-wrap {
		font-size:1rem;
	}
	
	.home-layout .kt-row-column-wrap {
		grid-template-columns: 1fr 2fr !important;		
	}
	
	.home-layout .kt-row-column-wrap > .wp-block-kadence-column:nth-child(3) {
		grid-column: 1 / -1 !important; 
	}
}

@media (min-width: 1500px) {
	.kb-search .kb-button {
		margin-right:80px !important;
	}
}

.publication-sources {
	height:680px;
	overflow:auto;
	margin:0 0 2rem 0;
}

.publication-sources ul.publication-sources__list {
	margin:0 10px 0 0;
	padding:0;
	list-style-type:none;
}

.publication-sources ul li {
	border-bottom:1px solid var(--global-palette4);
	padding:0 0 20px 0;
	margin:20px 0 0 0;
}

.publication-sources ul li a {
	text-decoration:none;
}

.publication-sources ul li a:hover,
.publication-sources ul li a:focus {
	text-decoration:underline;
}

.publication-sources ul li .publication-sources__source {
	color:var(--global-palette1);
	text-transform:uppercase;
	font-size:0.875rem;
	letter-spacing:1.12px;	
}

.publication-sources ul li .publication-sources__feed-title {
    font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
	font-family:var(--global-heading-font-family);
    line-height: 1.3;
    color: var(--global-palette4);		
}

.search-results .facetwp-template {
	margin:0;
}

.search-results .facetwp-facet {
	margin:0;
}

.search-results .facet-label {
	margin-bottom:10px;
}

.search-results .facetwp-dropdown,
.search-results .facetwp-type-sort select {
	border-color: var(--global-palette7);		
	background-color: var(--global-palette7);		
	padding:15px 20px;
	min-width:200px;
	width:100%;
}

.search-results .facetwp-search {
	padding:14px 20px;
	border-radius:0;
}

.search-results .kb-button {
	padding-top:14px;
	padding-bottom:14px;
}

.wp-block-query-pagination {
	display:flex;
	justify-content:center;
	margin-top:2rem;
}

.wp-block-query-pagination-numbers {
	display:flex;
}

.wp-block-query-pagination a {
	padding:2px 7px;
	text-transform:uppercase;
	letter-spacing:1.12px;
	display:inline-block;
	min-width:24px;
	text-align:center;
	border:1px solid var(--global-palette3);
	color:var(--global-palette3);
	text-decoration:none;
	margin:0 5px;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus,
.wp-block-query-pagination .current {
	padding:2px 7px;
	text-transform:uppercase;
	letter-spacing:1.12px;
	display:inline-block;
	min-width:14px;
	text-align:center;
	border:1px solid var(--global-palette3);	
	background:var(--global-palette3);
	color:var(--global-palette9);	
	margin:0 5px;
}

.yoast-breadcrumbs .breadcrumb_last {
	font-weight:700;
}

.yoast-breadcrumbs span span {
	margin:0 14px;
}

.link-back {
	text-decoration:none;
}

.link-back:hover,
.link-back:focus {
	text-decoration:underline;
}

.link-back svg {
	position:relative;
	top:5px;
	margin-right:8px;
	width:22px;
	height:22px;
}

.article-text {
	position:relative;
}

.article-text:after {
	content:"";
	position:absolute;
	bottom:50px;
	left:0;
	height:200px;
	width:100%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
}

.original-article-link a {
	color: var(--global-palette4);
	font-size:1rem;
	text-decoration:none;
	font-family:var(--global-body-font-family);
	background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.25 0.9375C11.25 1.45703 11.668 1.875 12.1875 1.875H16.8008L7.77734 10.8984C7.41016 11.2656 7.41016 11.8594 7.77734 12.2227C8.14453 12.5859 8.73828 12.5898 9.10156 12.2227L18.125 3.19922V7.8125C18.125 8.33203 18.543 8.75 19.0625 8.75C19.582 8.75 20 8.33203 20 7.8125V0.9375C20 0.417969 19.582 0 19.0625 0L12.1875 0C11.668 0 11.25 0.417969 11.25 0.9375ZM3.125 3.75C1.39844 3.75 0 5.14844 0 6.875V16.875C0 18.6016 1.39844 20 3.125 20H13.125C14.8516 20 16.25 18.6016 16.25 16.875V13.4375C16.25 12.918 15.832 12.5 15.3125 12.5C14.793 12.5 14.375 12.918 14.375 13.4375V16.875C14.375 17.5664 13.8164 18.125 13.125 18.125H3.125C2.43359 18.125 1.875 17.5664 1.875 16.875V6.875C1.875 6.18359 2.43359 5.625 3.125 5.625H6.5625C7.08203 5.625 7.5 5.20703 7.5 4.6875C7.5 4.16797 7.08203 3.75 6.5625 3.75H3.125Z' fill='black'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:0 50%;
	padding-left:25px;
}

.original-article-link a:hover,
.original-article-link a:focus {
	text-decoration:underline;
}
