/*!
Theme Name: Jackson Theme (Kadence Child)
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Three29
Author URI: https://www.three29.com/
Description: A theme for Jackson Construction, Jackson Properties, and Jackson Facility Maintenance using Kadence as a parent theme.
Version: 1.0.0
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
:root {
  overscroll-behavior: none;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

.site-header-inner-wrap {
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0px 60px 44px -40px rgba(0, 0, 0, 0.00);
}

body.scrolled .site-header-inner-wrap {
  box-shadow: 0px 60px 44px -40px rgba(0, 0, 0, 0.15);
}


.our-service-cards-hover:hover>.kt-inside-inner-col {
  border-color: var(--global-palette4);
  color: white;
  background-color: var(--global-palette2);
}

.our-service-cards-hover:hover>.kt-inside-inner-col h3 {
  color: white;
}

.our-service-cards-hover:hover .kb-svg-icon-wrap {
  color: var(--global-palette2) !important;
  background: white !important
}

.has-lightbox {
  position: relative;
}

.has-lightbox::after {
  content: '';
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.6638 6.34375C13.6638 6.75775 13.9998 7.09375 14.4138 7.09375H16.9068V9.58675C16.9068 9.78566 16.9858 9.97643 17.1264 10.1171C17.2671 10.2577 17.4579 10.3368 17.6568 10.3368C17.8557 10.3368 18.0465 10.2577 18.1871 10.1171C18.3278 9.97643 18.4068 9.78566 18.4068 9.58675V6.34375C18.4068 6.14484 18.3278 5.95407 18.1871 5.81342C18.0465 5.67277 17.8557 5.59375 17.6568 5.59375H14.4138C14.2149 5.59375 14.0241 5.67277 13.8834 5.81342C13.7428 5.95407 13.6638 6.14484 13.6638 6.34375ZM17.6568 13.6647C17.4579 13.6647 17.2671 13.7438 17.1264 13.8844C16.9858 14.0251 16.9068 14.2158 16.9068 14.4147V16.9077H14.4138C14.2149 16.9077 14.0241 16.9868 13.8834 17.1274C13.7428 17.2681 13.6638 17.4588 13.6638 17.6577C13.6638 17.8567 13.7428 18.0474 13.8834 18.1881C14.0241 18.3287 14.2149 18.4077 14.4138 18.4077H17.6568C17.8557 18.4077 18.0465 18.3287 18.1871 18.1881C18.3278 18.0474 18.4068 17.8567 18.4068 17.6577V14.4147C18.4068 14.2158 18.3278 14.0251 18.1871 13.8844C18.0465 13.7438 17.8557 13.6647 17.6568 13.6647ZM6.34277 13.6647C6.54169 13.6647 6.73245 13.7438 6.8731 13.8844C7.01376 14.0251 7.09277 14.2158 7.09277 14.4147V16.9077H9.58577C9.78469 16.9077 9.97545 16.9868 10.1161 17.1274C10.2568 17.2681 10.3358 17.4588 10.3358 17.6577C10.3358 17.8567 10.2568 18.0474 10.1161 18.1881C9.97545 18.3287 9.78469 18.4077 9.58577 18.4077H6.34277C6.14386 18.4077 5.9531 18.3287 5.81244 18.1881C5.67179 18.0474 5.59277 17.8567 5.59277 17.6577V14.4147C5.59277 14.2158 5.67179 14.0251 5.81244 13.8844C5.9531 13.7438 6.14386 13.6647 6.34277 13.6647ZM10.3358 6.34375C10.3358 6.54266 10.2568 6.73343 10.1161 6.87408C9.97545 7.01473 9.78469 7.09375 9.58577 7.09375H7.09277V9.58675C7.09277 9.78566 7.01376 9.97643 6.8731 10.1171C6.73245 10.2577 6.54169 10.3368 6.34277 10.3368C6.14386 10.3368 5.9531 10.2577 5.81244 10.1171C5.67179 9.97643 5.59277 9.78566 5.59277 9.58675V6.34375C5.59277 6.14484 5.67179 5.95407 5.81244 5.81342C5.9531 5.67277 6.14386 5.59375 6.34277 5.59375H9.58577C9.78469 5.59375 9.97545 5.67277 10.1161 5.81342C10.2568 5.95407 10.3358 6.14484 10.3358 6.34375Z" fill="white"/></svg>');
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;

  padding: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;

  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
}


/* From https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034 */
.visually-hidden,
.visually-hidden-focusable:not(:focus, :focus-within) {
  border: 0 !important;
  clip-path: inset(50%) !important;
  /* 2 */
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 1px !important;
  white-space: nowrap !important;
  /* 3 */
}

/*
	Prevent visually hidden caption from breaking table's collapsing borders
	@author Louis-Maxime Piton
	@see https://github.com/twbs/bootstrap/pull/37533
*/
.visually-hidden:not(caption),
.visually-hidden-focusable:not(caption):not(:focus, :focus-within) {
  position: absolute !important;
}


/*
	Prevent overflowing children from being focusable.
	@author Django Janny
	@see https://github.com/twbs/bootstrap/pull/41286
*/
.visually-hidden *,
.visually-hidden-focusable:not(:focus, :focus-within) * {
  overflow: hidden !important;
}

@media (min-width: 1025px) {
  .hide-on-desktop {
    display: none !important;
  }
}