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

:root {
	--global-border-color: #D7D2CB;
}

/* Start of Global Styling */
/* .wp-block-kadence-column>.kt-inside-inner-col>.wp-block-kadence-column{
	flex: 1 auto !important;
} */
@media(min-width: 1024px) {}

/* End of Global Styling

/* Custom Embedded Video Styling */
.custom-video iframe {
	border-radius: 10px !important;
}

/* End of Custom Embedded Video Styling */

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

.main-navigation .menu-item .sub-menu {
	display: none !important;
}

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

/* Styling for floating label for gravity forms. 
 * Add class of floating-label to desired form fields */
.floating-label {
	position: relative;
}

.floating-label label {
	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;
}

.floating-label:focus-within label {
	position: absolute;
	left: 12px;
	padding: 0 5px;
	font-size: 13px !important;
	top: 0;
	left: 12px;
	line-height: 19px;
	color: #383b41;
	opacity: 1;
	text-align: left;
}

.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 {
	position: absolute;
	left: 12px;
	padding: 0 5px;
	background: #fff;
	font-size: 13px !important;
	top: 0;
	left: 21px;
	line-height: 19px;
	color: #383b41;
	opacity: 1;

}

.floating-label.input-active label {
	position: absolute;
	left: 12px;
	padding: 0 5px;
	background: #fff;
	font-size: 13px !important;
	top: 1px;
	left: 21px;
	line-height: 19px;
	color: #383b41;
	opacity: 1;
}

/* End A11y Fixes */




/* Custom Banner - Used for Hero and banners throughout the site. */
.banner--break .banner--break {
	position: static;
}

.banner--break .banner__upper {
	position: static;
}

.banner--break .banner__image--video-container {
	overflow: hidden;
}

.banner--break .banner__image--video-container>.kt-inside-inner-col {
	overflow: hidden;
}

.banner--break .banner__image--video-container img {
	max-height: 175px;
	object-fit: cover;
}

.banner--break .banner__image--video video {
	aspect-ratio: 878/494;
	display: block;
}

.banner__search .wp-block-search__inside-wrapper {
	position: relative;
	max-width: 470px;

}

.banner__search .wp-block-search__inside-wrapper .wp-block-search__input {
	border-radius: 2px !important;
	padding: 16px 108px 16px 16px;
	max-height: 50px;
	width: 100%;
}

.banner__search .wp-block-search__inside-wrapper .wp-block-search__button {
	position: absolute;
	right: 0;
	background-color: #00205B;
	color: #fff;
	text-transform: uppercase;
	height: 100%;
	border-radius: 0 2px 2px 0 !important;
	border: 1px solid #fff;
	padding: 7px 17px;
	max-height: 50px;
	font-weight: 800;
	font-size: 16px !important;
}

.resource-search .wp-block-search__inside-wrapper .wp-block-search__button {
	position: relative;
	min-height: 46px;
	min-width: 46px
}

.resource-search .wp-block-search__inside-wrapper .wp-block-search__button::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 20px;
	height: 20px;
	background-size: cover;
	transform: translate(-50%, -50%);
	background-image: url('/wp-content/uploads/search-icon.svg');
	display: block;

}

.resource-search .wp-block-search__inside-wrapper .wp-block-search__button svg {
	display: none;
}


@media(min-width: 1025px) {
	.banner--break .banner--break {
		position: relative;
	}

	.banner--break .banner__upper {
		width: 100%;
		position: absolute;
	}

	.banner--break.top .banner__upper {
		top: 0;
	}

	.banner--break.top-40 .banner__upper {
		top: 40px;
	}

	.banner--break.top-100 .banner__upper {
		top: 100px;
	}

	.banner--break.bottom .banner__upper {
		bottom: 0px;
	}

	.banner--break.bottom-40 .banner__upper {
		bottom: 40px;
	}

	.banner--break.bottom-100 .banner__upper {
		bottom: 100px;
	}

	.banner--break.middle .banner__upper {
		top: 50%;
		transform: translatey(-50%);
	}

	.banner--break.left .banner__upper {
		right: 50%;
	}

	.banner--break.right .banner__upper {
		left: 50%;
	}

	.resource-template-default .banner--break.right .banner__upper {
		left: calc(50% + 250px);
	}

	/* 	.banner--break .kt-row-column-wrap:has(.gform_wrapper){
		padding-bottom: 350px !important;
	}
	.banner--break .kt-row-column-wrap:has(.gform_validation_error){
		padding-bottom: 700px !important;
	} */
	.banner--break .banner__image--video-container img {
		min-height: 409px;
		max-height: 410px;
		object-fit: cover;
	}
}

/* End of Custom Banner */

/* Start of Custom Search and Filter Styling */
.searchandfilter ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: center;
	padding: 0;
}

.searchandfilter ul li inputnot:([type="radio"]),
.searchandfilter ul li select {
	border: 1px solid #D7D2CB;
	border-radius: 4px;
	font-size: 16px;
	line-height: 16px;
	color: #282C34;
	!important;
	width: 100%;
	!important;
}

.sf-input-text,
.sf-input-select {
	padding: 10px 12px !important;
}

.searchandfilter .sf-field-search,
.searchandfilter .sf-field-search label,
.searchandfilter .sf-field-search label input,
.searchandfilter .sf-field-post-meta-releated_services,
.searchandfilter .sf-field-post-meta-releated_services label,
.searchandfilter .sf-field-post-meta-releated_services label select,
.searchandfilter .sf-field-post-meta-related_industries,
.searchandfilter .sf-field-post-meta-related_industries label,
.searchandfilter .sf-field-post-meta-related_industries select {
	width: 100%;
}

.searchandfilter ul li input::placeholder {
	color: #616366 !important;
}

.searchandfilter .sf-field-taxonomy-resource-type ul {
	display: flex;
	justify-content: flex-start;
	padding: 0;
	flex-wrap: wrap;
	gap: 0 30px;
	align-items: flex-start;
}

.searchandfilter .sf-field-taxonomy-resource-type h4 {
	padding: 0 !important;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li {
	width: 100%;
	vertical-align: top;
	display: flex;
	justify-content: flex-start;
	gap: 15px;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li label {
	font-size: 20px;
	line-height: 20px;
	color: #616366;
	font-weight: 700;
	font-family: 'proxima-nova';
	padding: 0 !important;
	display: inline-block;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li label:hover {
	cursor: pointer;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li input[type="radio"] {
	opacity: 0;
	position: fixed;
	width: 0;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li input[type="radio"]:checked+label {
	color: #00205B;
}

.searchandfilter .sf-field-taxonomy-resource-type ul li input[type="radio"]:focus+label {
	border: 1px solid #fff;
	outline: 1px solid #000;
	border-radius: 4px;
}

.searchandfilter .sf-field-submit input {
	background-color: #00205b !important;
	color: #fff !important;
}

.search-filter-results .resources {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
}

.search-filter-results .resources .resource {
	width: 100%;
	border: 1px solid #D7D2CB;
	border-radius: 6px;
	position: relative;
	padding: 0 0 45px;
}

.resource-featured-img img {
	width: 100%;
	max-height: 190px;
	min-height: 189px;
	object-fit: cover;
	border-radius: 6px 6px 0px 0px;
	display: block;
}

.resource-details {
	padding: 18px 16px 0;
}

.resource-category {
	color: #616366;
	font-weight: 700;
	font-size: 12px;
	line-height: 12px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.resource-title {
	font-weight: 700;
	font-size: 20px;
	line-height: 26px;
	color: #00205B;
	margin-bottom: 10px;
}

.resource-excerpt {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: #464D59;
	margin-bottom: 16px;
}

.resource-action {
	position: absolute;
	bottom: 16px;
	left: 16px;
}

.resource-action a {
	font-size: 16px;
	line-height: 16px;
	font-weight: 700;
	color: #00205B;
	text-decoration: none;
	position: relative;
}

.resource-action a:after {
	content: '';
	display: block;
	width: 16px;
	height: 14px;
	position: absolute;
	right: -25px;
	top: 5px;
	background: url('/wp-content/uploads/orange-arrow-right.svg');
	background-repeat: no-repeat;
	background-size: contain;
}

.resource-action a:hover,
.resource-action a:focus {
	text-decoration: underline;
}

@media(min-width: 768px) {
	.search-filter-results .resources .resource {
		width: calc(50% - 30px);
	}

	.searchandfilter .sf-field-taxonomy-resource-type ul li {
		width: calc(33% - 30px);
	}
}

@media(min-width: 1024px) {
	.searchandfilter ul {
		gap: 0 30px;
	}

	.search-filter-results .resources .resource {
		width: calc(33% - 30px);
	}

	.sf-field-taxonomy-resource-type {
		width: 100% !important;
	}

	.sf-field-post-meta-related_industries,
	.sf-field-post-meta-releated_services,
	.sf-field-search {
		width: calc(30% - 30px) !important;
	}

	.searchandfilter .sf-field-taxonomy-resource-type ul {
		flex-wrap: nowrap;
	}

	.searchandfilter .sf-field-taxonomy-resource-type ul li {
		width: auto;
	}
}

/* End of Custom Search and Filter Styling */

/* Custom List Item */
/*.wp-block-kadence-iconlist.check-list ul.kt-svg-icon-list .wp-block-kadence-listitem {
	border-bottom-color: var(--global-border-color);
	border-bottom-style: solid;
	border-bottom-width: 0;
}
.wp-block-kadence-iconlist.check-list.orange ul.kt-svg-icon-list .wp-block-kadence-listitem {
	border-bottom-color: var(--global-palette2);
}*/
.wp-block-kadence-iconlist.check-list ul.kt-svg-icon-list .wp-block-kadence-listitem:not(:last-of-type) {
	padding-bottom: 18px;
	/*border-bottom-width: 1px;*/
}

@media(min-width: 1024px) {
	.wp-block-kadence-iconlist.check-list ul.kt-svg-icon-list .wp-block-kadence-listitem:not(:last-of-type) {
		padding-bottom: 24px;
	}
}

@media(max-width: 767px) {
	.wp-block-kadence-iconlist.check-list.first ul.kt-svg-icon-list .wp-block-kadence-listitem {
		padding-bottom: 18px;
		/*border-bottom-width: 1px;*/
	}
}


/* Slider Custom CSS */
.smartslide-control>a>span {
	transition: all ease .25s;
}

/* Homepage Recovery Success Slider */
.recovery-success-slider .n2-ss-item-ba-arrow-container:focus {
	border: 1px solid #000 !important;
	outline: 1px solid #fff !important;
}

/* Homepage Recovery Success Slider */

/* Mobile Nav style Overides */
#search-drawer .drawer-inner input.search-field:focus {
	box-shadow: none !important;
}

#mobile-drawer .drawer-header {
	padding: 32px 20px 10px 20px;
	background-color: var(--global-palette8);
}

#mobile-drawer .drawer-header .menu-toggle-close {
	border-radius: 4px;
}

#mobile-drawer .mobile-drawer-content {
	padding-left: 0;
	padding-right: 0;
}

#mobile-drawer .mobile-drawer-content .site-header-item:not(:first-child) {
	padding-left: 1rem;
	padding-right: 1rem;
}

#mobile-drawer .sub-menu,
#mobile-drawer .sub-menu .menu-item a,
#mobile-drawer .sub-menu .menu-item a:active,
#mobile-drawer .sub-menu .menu-item a:focus,
#mobile-drawer .sub-menu .menu-item a:hover {
	font-size: 1rem;
	background-color: var(--global-palette7);
}

#mobile-drawer .sub-menu .menu-item a:active,
#mobile-drawer .sub-menu .menu-item a:focus,
#mobile-drawer .sub-menu .menu-item a:hover {
	color: var(--global-palette1);
	text-decoration: underline;
}

.header-html-inner p:first-child {
	margin: 0 !important;
}

.header-html.inner-link-style-normal {
	max-height: 35px;
}

.smartling-language-selector {
	position: relative;
	top: 3px;
}

.smartling-en .smartling-language-selector,
.smartling-fr .smartling-language-selector,
.smartling-es .smartling-language-selector {
	top: 1px;
}

.smartling-en .smartling-language-selector .ui-selectmenu-text::after,
.smartling-fr .smartling-language-selector .ui-selectmenu-text::after,
.smartling-es .smartling-language-selector .ui-selectmenu-text::after {
	display: none;
}

div.smartling-language-selector select:not(.initiated) {
	border: 0px;
	background: none;
	color: white;
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.6;
	font-family: var(--global-body-font-family);
	cursor: pointer;
}

div.smartling-language-selector select:not(.initiated):hover {
	color: var(--global-palette2);
}

.mobile-html2 .smartling-language-selector {
	position: relative;
}

.mobile-html2 .smartling-language-selector select {
	max-width: 100%;
	padding-right: 40px !important;
	z-index: 2;
}

.mobile-html2 .smartling-language-selector::after {
	content: '';
	left: calc(100% - 11px);
	position: absolute;
	top: 9px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 3px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	z-index: 1;
}

.mobile-html2 .smartling-language-selector::before {
	content: '';
	position: absolute;
	top: 7px;
	left: calc(100% - 35px);
	display: inline-block;
	background-color: #00205B;
	background-image: url('/wp-content/uploads/globe-white.svg');
	width: 18px;
	height: 16px;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 1;
}

.ui-selectmenu-button {
	background-color: transparent !important;
	border: none !important;
	width: auto !important;
	margin-bottom: 5px !important;
	padding: 0 !important;
	margin-right: 0 !important;
	position: relative !important;
	padding-right: 40px !important;
}

.ui-selectmenu-icon {
	position: absolute !important;
	right: 0 !important;
	top: 5px !important;
	background-image: none !important;
}

.ui-selectmenu-icon::after {
	content: '';
	display: block;
	width: 11px;
	height: 12px;
	position: relative;
	right: -3px;
	top: 3px;
	background: url('https://firstosdev.wpengine.com/en-CA/wp-content/uploads/arrow-down.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.ui-selectmenu-text {
	font-size: 16px !important;
	font-family: 'proxima-nova' !important;
	font-weight: 500 !important;
	margin-right: 0 !important;
	position: relative;
}

.smartling-language-selector span.ui-selectmenu-text::after {
	display: none;
}

.smartling-language-selector .ui-selectmenu-button {
	position: relative;
}

.smartling-language-selector .ui-selectmenu-button::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 17px;
	width: 18px;
	height: 16px;
	display: inline-block;
	background: url('/wp-content/uploads/globe-first.svg');
	background-size: cover;
	background-repeat: no-repeat;
}

.ui-selectmenu-button.ui-button {
	position: relative;
}

.ui-selectmenu-button.ui-button::after {
	content: '';
	position: absolute;
	top: 3px;
	right: 17px;
	width: 18px;
	height: 16px;
	display: inline-block;
	background: url('/wp-content/uploads/globe-first.svg');
	background-size: cover;
	background-repeat: no-repeat;
}

.ui-selectmenu-menu .ui-menu {
	position: absolute !important;
	left: -20px !important;
}

#mobile-drawer .site-header-item-mobile-navigation.mobile-secondary-navigation-layout-stretch-false {
	margin-bottom: 0 !important;
}

#mobile-drawer .ui-selectmenu-button {
	padding: 7px !important;
	width: 90px !important;
}

#mobile-drawer .ui-selectmenu-text {
	color: #fff;
	font-family: 'proxima-nova' !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

#mobile-drawer .ui-selectmenu-icon::after {
	background: url('/wp-content/uploads/white-arrow-down.svg');
	background-repeat: no-repeat;
	top: 8px !important;
}

#mobile-drawer .ui-selectmenu-text::after {
	background: url('/wp-content/uploads/white-globe.svg');
	top: 1px;
	right: 8px;
}

#mobile-drawer .header-html-inner p {
	margin: 0 !important;
}

@media(min-width: 1024px) {
	/* 	.ui-selectmenu-text{
		padding-right: 30px;
	}
	.smartling-fr .ui-selectmenu-text,
	.smartling-es .ui-selectmenu-text{
		padding-right: 0;
	}
	.smartling-es .ui-selectmenu-button{
		width: 90px !important;
	} */
}

/* Video play button */
.kadence-video-popup-wrap .kadence-video-popup-link .kt-video-svg-icon {
	padding: 20px;
	border-radius: 100%;
	background-color: var(--global-palette2);
	transition: all .25s ease;
}

.kadence-video-popup-wrap .kadence-video-popup-link:active .kt-video-svg-icon,
.kadence-video-popup-wrap .kadence-video-popup-link:focus .kt-video-svg-icon,
.kadence-video-popup-wrap .kadence-video-popup-link:hover .kt-video-svg-icon {
	background-color: var(--global-palette1);
}

/* Responsive Image Grid */
.image-grid {
	min-height: unset;
	height: 100%;
}

.image-grid>.kt-inside-inner-col {
	height: 100% !important;
}

.image-grid .kt-inside-inner-col .image-grid--image {
	height: 50%;
}

.image-grid .kt-inside-inner-col .image-grid--image>.kt-inside-inner-col {
	height: 100% !important;
}

/* Form tweaks */
.gform_wrapper.gravity-theme .ginput_container_consent .gfield input {
	height: auto;
}

.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
	background-color: var(--global-palette7);
	height: 48px;
	border-radius: 2px;
	border: none;
	border-bottom: 1px solid #D7D2CB;
}

.gform_wrapper.gravity-theme .ginput_complex label {
	line-height: 1.6;
	font-size: 1rem;
	margin-bottom: 8px;
}

.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .ginput_complex legend {
	font-weight: bold;
}

.gform_wrapper.gravity-theme .gfield_contains_required .ginput_complex label::after {
	content: "*";
	display: inline-block;
	color: #c02b0a;
	font-size: 13.008px;
	padding-left: 0.125em;
}



select {
	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='%2300205B'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-position-x: calc(100% - 10px);
}

.gform_wrapper.gravity-theme input[type="checkbox"] {
	height: auto;
}

.gfield--type-html,
.gform-field-label--type-inline {
	font-size: 1rem;
}

.gfield--type-html a {
	font-weight: bold;
}

.gform_wrapper.gravity-theme input[type="submit"] {
	height: auto;
	padding: 14px 60px;
	background-color: var(--global-palette1);
	color: #fff;
	border: 1px solid var(--global-palette1);
}

.mailing-subscribe .gform-body .gform_fields {
	position: relative;
	display: flex !important;
}

.mailing-subscribe .gform-body .gform_fields .gform-button {
	margin: 0 !important;
}

.mailing-subscribe .gfield--type-email,
.mailing-subscribe .gfield--type-email .ginput_container_email input {
	width: 100% !important;
}

.mailing-subscribe .gfield--type-email .ginput_container_email input {
	background-color: #fff !important;
	color: #000;
	border-radius: 4px;
	padding: 14px 125px 14px 14px !important;
	border: 1px solid #fff !important;
}

.mailing-subscribe .gfield--type-email .ginput_container_email input::placeholder {
	color: #616366 !important;
	font-family: 'proxima-nova';
	font-size: 18px;
}

.mailing-subscribe .gfield--type-submit {
	position: absolute;
	right: 0;
}

.mailing-subscribe .gfield--type-submit input {
	border: 1px solid #fff !important;
	padding: 14px 18px !important;
	font-weight: 700 !important;
	border-radius: 4px !important;
	line-height: 1 !important;
}

.custom-form--blue-background .gform_confirmation_wrapper .gform_confirmation_message {
	color: #fff !important;
}

@media screen and (min-width: 768px) {
	.gform_wrapper.gravity-theme input[type="submit"] {
		margin-top: 20px;
	}

	.mailing-subscribe .gfield--type-email .ginput_container_email input {
		padding: 14px 136px 14px 14px !important;
	}
}

.gform_wrapper.gravity-theme input[type="submit"]:hover {
	background-color: #fff;
	color: var(--global-palette1);
}

.ginput_container_consent {
	margin-top: 20px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.ginput_container_consent input[type="checkbox"] {
	margin-top: 6px;
}

.gform_wrapper.gravity-theme .gform_fields {
	grid-column-gap: 30px;
}

@media screen and (min-width: 641px) {
	.gform_wrapper.gravity-theme .ginput_complex span:first-of-type {
		padding-right: 15px !important;
	}

	.gform_wrapper.gravity-theme .ginput_complex span:nth-of-type(2) {
		padding-left: 15px !important;
	}
}

.gform_wrapper.gravity-theme .gfield_error [aria-invalid=true] {
	background-color: #fff;
}

/* Start of Custom Tables */
.ninja_table_wrapper {
	border-radius: 10px !important;
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2) !important;
}

.foo-table tbody tr td {
	background-color: #fff !important;
	border: 1px solid #ddd !important;
}

.foo-table tr.footable-header th,
.foo-table:not(.hide_all_borders) tbody tr td {
	padding: 15px 10px !important;
	font-size: 18px !important;
	font-family: 'proxima-nova' !important;
	vertical-align: top !important;
	border: 1px solid #ddd !important;
}

.foo-table tr.footable-header th,
.foo-table th {
	background-color: #00205b !important;
	color: #fff !important;
	text-align: center !important;
	vertical-align: middle !important;
}

@media(min-width: 1024px) {

	.foo-table tr.footable-header th,
	.foo-table:not(.hide_all_borders) tbody tr td {
		padding: 20px !important;
	}

	.foo-table tbody tr:nth-child(odd) td {
		background-color: #f2f2f2 !important;
	}
}

/* End of Custom Tables */

/* Custom Return Link Styling */
.custom-return-link {
	position: relative;
}

.custom-return-link::before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 1px;
	width: 12px;
	height: 9px;
	background-image: url('/wp-content/uploads/return-arrow.svg');
	background-size: cover;
	background-repeat: no-repeat;
}

/* Custom Return Link Styling */

/* Start of Learn More Button Custom Styling */
.learn-more-button:focus .kt-btn-inner-text {
	color: #00205B !important;
}

/* End of Learn More Button Custom Styling */

/* Custom Tag List Styling */
.tag-list li a {
	text-decoration: none;
	padding: 5px 12px;
	border: 1px solid #D7D2CB;
	border-radius: 4px;
}

/* End of Custom Tag List Styling */

/* Custom Next and Previous Link Styling */
.custom-previous-post a,
.custom-next-post a {
	display: flex;
	flex-wrap: wrap;
	text-decoration: none;
}

.custom-previous-post a:hover,
.custom-previous-post a:focus,
.custom-next-post a:hover,
.custom-next-post a:focus {
	text-decoration: underline;
}

.custom-previous-post a .post-navigation-link__label,
.custom-next-post a .post-navigation-link__label {
	width: 100%;
	margin-bottom: 15px;
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
	color: #282C34;
	text-transform: uppercase;
	padding: 0 20px;
	position: relative;
}

.custom-previous-post a .post-navigation-link__label::after,
.custom-next-post a .post-navigation-link__label::after {
	content: '';
	display: block;
	width: 14px;
	height: 12px;
	position: absolute;
	top: 1px;
	background-size: cover;
	background-repeat: no-repeat;
}

.custom-previous-post a .post-navigation-link__label::after {
	background-image: url('/wp-content/uploads/left-arrow.svg');
	left: 0;
}

.custom-next-post a .post-navigation-link__label::after {
	background-image: url('/wp-content/uploads/right-arrow.svg');
	right: 0;
	top: 0;
}

.custom-previous-post a .post-navigation-link__title,
.custom-next-post a .post-navigation-link__title {
	font-family: 'proxima-nova';
	font-size: 18px;
	font-weight: 700;
	color: #00205B;
	width: 100%;
}

/* Custom Next and Previous Link Styling */

/* Service buttons */
.wp-block-kadence-advancedbtn.service-buttons .kb-button {
	justify-content: space-between;
}

.wp-block-kadence-advancedbtn.service-buttons .kb-button .kt-btn-inner-text {
	text-align: left;
}

/* Start of Similar Post Styling */
.similar-posts .glider-track {
	gap: 30px;
	align-items: stretch;
	margin-left: 10px;
}

.similar-posts .resource-post {
	width: 100% !important;
	border-radius: 8px;
	position: relative;
	padding-bottom: 32px;
	background-color: #fff !important;
}

.similar-posts .resource-details {
	padding: 18px 16px 0 !important;
	border-radius: 0 0 8px 8px;
}

.similar-posts .resource-featured-image img {
	border-radius: 8px 8px 0 0;
	min-height: 170px;
	max-height: 171px;
	width: 100%;
	object-fit: cover;
}

.similar-posts .resource-details .resource-category {
	font-size: 12px;
	line-height: 12px;
	font-weight: 700;
	margin-bottom: 8px;
}

.similar-posts .resource-details .resource-title {
	font-size: 18px;
	line-height: 1;
	margin: 0 0 12px 0 !important;
}

.similar-posts .resource-details .resource-description p {
	font-size: 16px;
	font-weight: 400;
	color: #464D59;
	font-family: 'proxima-nova';
	margin-bottom: 16px;
}

.similar-posts .read-more {
	position: absolute;
	bottom: 10px;
	left: 16px;
}

.similar-posts .read-more a {
	font-family: 'proxima-nova';
	font-size: 14px;
	font-weight: 700;
	color: #00205B;
	line-height: 1;
	text-decoration: none;
	position: relative;
}

.similar-posts .read-more a::after {
	content: '';
	display: block;
	width: 14px;
	height: 13px;
	background-image: url('/wp-content/uploads/arrow-right-orange.svg');
	background-size: cover;
	position: absolute;
	right: -20px;
	top: 4px;
}

.similar-posts .read-more a:hover,
.similar-posts .read-more a:focus {
	text-decoration: underline;
}

.similar-posts .glider-prev,
.similar-posts .glider-next {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid #D7D1CB;
	padding: 14px;
	display: none;
}

.similar-posts .glider-prev::after,
.similar-posts .glider-next::after {
	content: '';
	position: absolute;
	left: 2px;
	right: 0;
	width: 21px;
	height: 36px;
	display: block;
	background-image: url('/wp-content/uploads/simiar-posts-left-arrow-uncircled.svg');
	background-size: cover;
	background-repeat: no-repeat;
	transform: translate(50%, -50%);
}

.similar-posts .glider-next::after {
	transform: rotate(180deg) translate(-50%, 50%);
}

.similar-posts .glider-prev img,
.similar-posts .glider-next img {
	display: none;
}

.similar-posts .glider-prev.disabled {
	opacity: 1 !important;
}

@media(min-width: 768px) {
	.similar-posts .glider-track {
		margin-left: 0;
	}
}

@media(min-width: 1024px) {

	.similar-posts .glider-prev,
	.similar-posts .glider-next {
		display: block;
	}

	.similar-posts .glider-prev {
		left: calc(0% - 100px);
		top: 50%;
	}

	.similar-posts .glider-next {
		right: calc(0% - 100px);
		top: 50%;
	}
}

/* End of Similar Post Styling */

/* Slider image fix */
.n2-ss-slide img {
	object-fit: cover;
}

/* Custom comparison Control */
div#n2-ss-3 .n2-ss-item-ba-arrow-container--circle {
	background-color: rgba(255, 255, 255, .8);
}

div#n2-ss-3 .n2-ss-item-ba-arrow-container--circle .n2-ss-item-ba-arrow {
	fill: var(--global-palette1);
	color: var(--global-palette1);
}

/* Water Damage Slider */
@media(min-width: 768px) {
	.water-damage-slider .n2-ss-showcase-slides {
		margin-right: 860px !important;
	}
}

/* End of Water Damage Slider */

/* process slider customs */
.process-slider .n2-ss-slider .n2-ow-all .nextend-bullet-bar {
	position: relative;
}

.process-slider .n2-ss-slider .n2-ow-all .nextend-bullet-bar::before {
	content: '';
	display: block;
	position: absolute;
	inset: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0 5px;
	z-index: 0;
	height: 2px;
	background-color: RGBA(215, 210, 203, 1)
}

.process-slider .n2-ss-slider .n2-ow-all .nextend-bullet-bar>div {
	position: relative;
	z-index: 1;
}

@media screen and (min-width: 1025px) {
	.process-slider .n2-ss-slider .n2-ow-all .nextend-bullet-bar>div:not(:last-child) {
		margin-right: 58px;
	}
}

.process-slider .n2-ss-slider .n2-ow-all .nextend-bullet-bar .n2-active {
	outline: 3px solid white;
	outline-offset: -5px;
}

@media(min-width: 1024px) {
	.process-slider.process-slider--two-column .n2-ss-showcase-slides {
		margin-left: -650px;
	}
}

.wp-block-kadence-accordion.service-accordion .wp-block-kadence-pane:last-child .kt-blocks-accordion-header,
.wp-block-kadence-accordion.service-accordion .wp-block-kadence-pane:last-child .kt-accordion-panel-inner {
	border-bottom: 0;
}

.wp-block-kadence-accordion.service-accordion .kt-accordion-header-wrap .kt-btn-side-left {
	padding-right: 25px;
}

.wp-block-kadence-accordion.service-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header .kt-blocks-accordion-title-wrap {
	align-items: center;
}

.wp-block-kadence-accordion.service-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active .kb-svg-icon-wrap svg {
	fill: var(--global-palette2);
	color: var(--global-palette2);
}

.wp-block-kadence-accordion.service-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header .kb-svg-icon-wrap svg {
	width: 30px;
	height: 30px;
}

@media screen and (min-width: 1025px) {
	.wp-block-kadence-accordion.service-accordion .kt-accordion-header-wrap .kt-blocks-accordion-header .kb-svg-icon-wrap svg {
		width: 40px;
		height: 40px;
	}
}

/* Slider button positioning */
@media screen and (max-width: 1529px) {
	.n2-ss-slider .n2-ss-slider-controls-side .n2-ss-slider-controls {
		position: absolute;
		width: auto;
		height: 52px;
		inset: auto;
		bottom: -70px;
	}

	.n2-ss-slider .n2-ss-slider-controls-side .n2-ss-slider-controls.n2-ss-slider-controls-absolute-right {
		right: 0;
	}

	.n2-ss-slider .n2-ss-slider-controls-side .n2-ss-slider-controls.n2-ss-slider-controls-absolute-left {
		left: 0;
	}
}

/* end Slider button positioning */

/* language selector */

.ui-selectmenu-button.ui-button .ui-icon.sphere-icon {
	background-image: url(/wp-content/themes/kadence-child/assets/img/sphere.svg);
	width: 32px;
	height: 32px;
}

.ui-selectmenu-button.ui-button:hover .ui-icon.sphere-icon {
	background-image: url(/wp-content/themes/kadence-child/assets/img/sphere.svg);
	width: 32px;
	height: 32px;
}

span.ui-selectmenu-text:after {
	content: '\f0ac';
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-decoration: inherit;
}

/* end language selector */

/* Custom User Centric Footer Link Styling */
.user-centrics__link {
	color: #fff;
	font-family: 'proxima-nova';
	font-size: 14px;
	line-height: 1;
	text-decoration: underline;
}

.user-centrics__link:hover,
.user-centrics__link:focus {
	color: #fff;
}

/* End of Custom User Centric Footer Link Styling */

/*  language switcher */
body .ui-selectmenu-menu .ui-menu {
	overflow: hidden;

	width: 150px !important;
	padding-bottom: 10px;
}

body .ui-menu .ui-menu-item-wrapper {
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	font-family: proxima-nova;
	padding-top: 8px;
	padding-bottom: 8px;
}

body .ui-state-active,
body .ui-widget-content .ui-state-active,
body .ui-widget-header .ui-state-active,
body a.ui-button:active,
body .ui-button:active,
body .ui-button.ui-state-active:hover {
	background: var(--global-palette1);
	border-color: var(--global-palette1);
	border-radius: 3px;
}

body .ui-state-disabled,
body .ui-widget-content .ui-state-disabled,
body .ui-widget-header .ui-state-disabled {
	opacity: 1;
}


/* A11y QC fixes */
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,
select:focus {
	outline: 2px solid #000;
	box-shadow: 0 0 0 2px #ffffff;
}

.gform_wrapper.gravity-theme .gform_fields {
	grid-column-gap: 20px;
}

body .n2-ss-slider a.n2-ow:focus-visible,
body .n2-ss-slider .n2-ow-all a:focus-visible,
body .n2-ss-slider .nextend-arrow:focus-visible,
body .n2-ss-slider .n2-bullet:focus-visible {
	outline: 2px solid #000 !important;
	box-shadow: inset 0 0 0 2px #ffffff !important;
}

@media (max-width:767px) {
	.banner__search .wp-block-search__inside-wrapper {
		display: block;
	}

	.banner__search .wp-block-search__inside-wrapper .wp-block-search__input {
		padding: 16px;
	}

	.banner__search .wp-block-search__inside-wrapper .wp-block-search__button {
		position: static;
		width: 100%;
		margin: 10px 0;
	}
}

.smartling-language-selector .screen-reader-text:focus {
	width: 320px;
	right: 0;
	left: auto;
}

body:not(.hide-focus-outline) .header-navigation li.menu-item--has-toggle>a:focus .dropdown-nav-toggle {
	opacity: 1;
}

#mobile-site-navigation.mobile-navigation {
	background: #fff;
	padding: 0 2px;
}

#mobile-site-navigation.mobile-navigation ul li a {
	background: transparentor;
}

#mobile-site-navigation.mobile-navigation ul li.current-menu-item a {
	background: var(--global-palette2);
}

#mobile-site-navigation.mobile-navigation ul li {
	margin-top: 2px;
}

footer .kt-svg-icon-wrap a.kt-svg-icon-link {
	display: flex;
}

.n2-ss-slider .n2-ss-widget.n2-ss-widget-hidden {
	display: none;
}

body .ui-button:active {
	color: #2b2b2b;
}