/* Header Styles */

/* Screen reader text - hide visually but keep for accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.logo-tagline {
  color: var(--dark);
  font-size: clamp(1.2rem, 1rem + 0.64vw, 1.6rem);
}
#default_div_desktop_header {
  padding-top: 0rem;
  display: flex;
}

#default_div_desktop_header_wrapper {
  align-items: stretch;
  grid-template-columns: 33.3333% 33.3333% 33.3333%;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  display: grid;
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
  max-width: 100%;
}
.mobile-only-cta {width:100%; text-align:center; padding:1rem; background-color:var(--secondary); }
#default_div_header_left {
  background-color: var(--header-left-bg, var(--light));
  clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
  padding-right: 3rem;
  padding-left: 2rem;
  border-top: 4px solid var(--primary);
  box-sizing: border-box;
}

#default_div_header_left .callout-container {
  max-width: 70%;
  margin-left: 0;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#default_div_desktop_logo {
  width: 100%;
  background-color: var(--light);
  padding-top: 0px;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#default_div_header_right {
  background-color: var(--header-right-bg, var(--light));
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  padding-left: 3rem;
  padding-right: 2rem;
  border-top: 4px solid var(--primary);
  box-sizing: border-box;
}

#default_div_header_right .callout-container {
  max-width: 70%;
  margin-left: auto;
  margin-right: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#default_div_desktop_logo a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.default_div_header_right_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.header-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.callout-container {
  display: flex;
  flex-direction: column;
}

.mobile-bar-wrapper {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mobile-bar-item:hover {
  opacity: 0.9;
}

.mobile-bar-call {
  background-color: var(--accent);
}

.mobile-bar-call svg {
  width: 120px;
  height: auto;
}

.mobile-bar-menu {
  background-color: var(--secondary);
}

.mobile-bar-menu svg {
  width: 60px;
  height: auto;
}

.header-widget {
  display: block;
}

#default_div_desktop_header_container {
  background-color: transparent;
  color:#fff;
}

#default_div_desktop_nav {
  position: sticky;
  top: var(--admin-offset, 0px);
  z-index: 1000;
}

#default_div_desktop_nav_wrapper .menu-main-menu-container .sub-menu {
  border: 1px solid #fff;
}

/* Desktop Navigation Styling */
#desktop_navigation {
  display: flex;
  justify-content: flex-end;
  background-color: var(--primary);
  text-align:center;
}

#desktop_navigation .nav-menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left:auto;
  margin-right:auto
}

#desktop_navigation .menu-item {
  position: relative;
}
/* Add chevron to menu items with submenus */
#desktop_navigation .menu-item-has-children > a::after {
  content: '\25BC';
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

/* Rotate chevron on hover */
#desktop_navigation .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Hide submenus by default */
#desktop_navigation .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary);
  list-style: none;
  margin: 0;
  padding-left:1rem;
	padding-right:1rem;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;
	text-align:left;
}

/* Show submenu on hover */
#desktop_navigation .menu-item:hover > .sub-menu {
  display: block;
}

/* Submenu items */
#desktop_navigation .sub-menu .menu-item {
  width: 100%;
}
#desktop_navigation .sub-menu .menu-item a:hover {
  background-color: var(--accent);
}
#desktop_navigation .sub-menu .menu-item a {
  padding: 0.3rem 0.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
#desktop_navigation .menu-item a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  font-size: clamp(1.4rem, 1.2rem + 0.64vw, 1.8rem);
  transition: background-color 0.3s ease, color 0.3s ease;
}

#desktop_navigation .menu-item a:hover {
  background-color: var(--secondary);
  color: var(--light);
}

#desktop_navigation .current-menu-item > a,
#desktop_navigation .current-page-ancestor > a,
#desktop_navigation .current-menu-ancestor > a {
  background-color: var(--accent);
  color: var(--light);
  border-bottom: 3px solid var(--light);
}

#desktop_navigation .current-menu-item > a:hover {
  background-color: var(--secondary);
}

/* WP admin bar */
body.admin-bar { --admin-offset: 32px; }
@media (max-width: 782px) { body.admin-bar { --admin-offset: 46px; } }

.ct-section-inner-wrap {
  overflow: visible !important;
}

.default_div_hero--box ul li {
  position: relative;
  list-style: none;
  padding-left: 5rem;
}

.default_div_hero--box li {
  padding: 1rem;
}

.footer-widget p {
  margin-top: 0px;
}

.default_div_hero--box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: url('/wp-content/uploads/2025/04/checkbox-white.svg')
              no-repeat center center;
  background-size: contain;
}

.default_div_hero--box ul {
  padding-left: 0px;
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border:3px solid var(--accent);
}

.default_div_header_container {
  max-height: 650px;
  border-bottom: 3px solid var(--accent);
  padding-top: 0;
  padding-bottom: 0;
}

/* Hero Section Wrapper - 2 column grid */
.default_div_header_wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 0px;
  align-items: stretch;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.default_div_header_left {
  display: flex;
  flex-direction: column;
}

.default_div_header_right {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .default_div_header_wrapper {
    grid-template-columns: 1fr;
    grid-row-gap: 2rem;
    max-width:100%;
  }
  
  .default_div_header_right {
    order: -1;
  }
}


#desktop_navigation .menu-item {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
  padding-top:1rem;
  padding-bottom: 1rem;
  text-transform:uppercase;
}

.menu-intro {
  text-align: center;
  color: #000;
  background-color: #fff;
  padding: 1rem;
  background-color: var(--light);
  text-align: center;
  font-weight:600;
}

.sd0{fill:var(--secondary);}
.sd1{fill:var(--secondary);}
.sd2{fill:var(--secondary);}
.sd3{fill:var(--primary);}
.sd4{fill:var(--secondary);}

.display-choice {display:none;}

.call-today {
  color: #fff !important;
  padding-left:3rem;
  padding-right:3rem;
  font-size: 1.25em;
}

.contact-num {
  font-weight: 900;
  color: #fff !important;
}

#contact_box_row .ct-fancy-icon > svg {
  width: 20px;
  height: 20px;
}

#call-us-today {
  background: url(/wp-content/uploads/2023/08/red-banner.png);
  background-position-x: 0%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  color: #fff !important;
  line-height: 2.5em;
  margin: 0;
  margin-left: auto;
}

.ksmnav-inner {
  background-color:var(--accent);
}

.ksmnav-menu {
  background-color: var(--primary);
}

#contact_box_row {
  align-items: stretch;
  grid-template-columns: repeat(3,minmax(80px,1fr));
  grid-column-gap: 0px;
  grid-row-gap: 20px;
  display: grid;
  border-bottom: 2px solid #fff
}

#call_us {
  background-color: var(--primary);
  text-align: left;
  align-items: center;
  gap: 10px;
}

#email_us {
  text-align: left;
  align-items: center;
  gap: 10px;
}

#about_us {
  background-color: var(--accent);
  text-align: left;
  align-items: center;
  gap: 10px;
}

div.ct-fancy-icon {
  display: inline-flex;
  border-radius: 50%;
}

#fancy_icon-11-7114 > svg {
  width: 20px;
  height: 20px;
}

#fancy_icon-15-7114 > svg {
  width: 20px;
  height: 20px;
}

#fancy_icon-14-7114 > svg {
  width: 20px;
  height: 20px;
}

#default_div_desktop_nav_control .menu-item a:hover {
  background-color: var(--secondary);
}

#default_div_desktop_nav_control .sub-menu .menu-item a:hover {
  background-color: var(--secondary);
}

#default_div_desktop_nav_control .menu-item a:active {
  background-color: var(--secondary);
}

#_nav_menu-2887-5620.oxy-nav-menu:not(.oxy-nav-menu-open) .sub-menu {
  background-color: var(--accent) !important;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

#menu-top-menu {
  list-style-type: none;
  display: flex;
  gap: 10px;
  text-transform: uppercase;
  flex-wrap: wrap;
  float: right;
}

#svg-phone {width:25px; height:25px;fill:#fff;}

#-site-navigation-desktop .sub-menu .menu-item {
  border-bottom: 1px solid #fff;
}

#-site-navigation-desktop .current-post-ancestor {background-color:#444 !important; }
#-site-navigation-desktop .current-post-ancestor a:hover {color:#fff !important; }
#-site-navigation-desktop .current-menu-ancestor {background-color:var(--accent) !important; }
#-site-navigation-desktop .current-menu-ancestor a { color: #fff !important; }
#-site-navigation-desktop .current-menu-item  {background-color:#444 !important; }
#-site-navigation-desktop .current-menu-item a {color:#fff !important; }

#default_div_desktop_nav_control .current-menu-item a {
  background-color: var(--secondary);
  color: var(--light);
  border-bottom: 2px solid #fff;
}

#-site-navigation-desktop .menu-item a:hover {
  background-color: var(--primary);
}

@media (max-width: 992px) {
  #default_div_desktop_header_wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  #default_div_header_left {
    display: none;
  }
  
  #default_div_desktop_logo {
    padding: 1.5rem 1rem;
    order: -1;
	  background-color: #d9d9d9;
  }
  
  .logo-tagline {
    font-size: 1.2rem;
  }
  
  #default_div_header_right {
    display: none;
  }
  
  #desktop_navigation .menu-item a {
    font-size: 1.4rem;
    padding: 0.8rem 1rem;
  }
  
  #desktop_navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .display-choice {display:block;}
}

.top-animate-header {
  text-transform: uppercase;
  background-image: linear-gradient( -225deg, #fff 49%, #bc8818 67%, #fff 100% );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 3s linear infinite;
  display: inline-block;
}

.animate-text-header {
  text-transform: uppercase;
  background-image: linear-gradient( -225deg, #fff 49%, var(--accent) 100%, #fff 100% );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 4s linear infinite;
  display: inline-block;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

#link-2881-5620 {
  background-color: #e2e2e2;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.footer-menu ul {
  padding-left: 2rem;
  color:var(--light);
  margin-top: 0;
}

.latest-footer {
  color:var(--light);
  padding-left:2rem;
  margin-top:0px;
}

.latest-footer a {color:var(--light);}
.latest-footer li {margin-bottom:1rem;}

.h-footer {
  border-bottom: 2px solid #fff;
  width: 100%;
  text-transform: uppercase;
  margin-bottom: 2rem !important;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--light);
  padding-bottom: .5rem;
}

@media only screen and (max-width: 1205px) {
  #masthead .menu-main-menu-container .menu-item a {
    font-size: 1.2rem;
  }
}

@media only screen and (min-width: 993px) {
  #ksmnav-main {display:none;}
}
