/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*/////////////////////////////////////////////////////*/
/*/////////////////// CUSTOM CSS //////////////////////*/
/* Below are css styles for general site        */
/*/////////////////////////////////////////////////////*/
/*******************************************************/
/* Global Styles Typography Alt Background
/*******************************************************/
html {
  font-size: 62.5%;
}

/*p{margin-bottom:1em}*/

/*Elements on Dark or Color BG*/
.lite h1,
.lite h2,
.lite h3,
.lite h4,
.lite h5,
.lite h6,
.lite p,
.lite ul li,
.lite ol li,
.lite p a,
.lite a,
.lite .qodef-m-text,
.lite .qodef-m-title,
.lite .jet-listing-dynamic-link__link,
.lite .jet-listing-grid.jet-listing,
.lite .jet-listing-dynamic-field__content,
.lite .jet-listing-notice,
.lite svg,
.listing-card .lite {
  color: #fff !important;
}

.lite p a:hover {
  color: #fff;
  text-decoration: underline;
}

.lite .elementor-element.listing-card.e-con,
.lite .elementor-element.listing-card.e-con:hover {
  border-color: #fff;
}

.lite .jet-listing-not-found,
.jet-listing-not-found {
  text-align: left !important;
}


   /*SEO H1 Heading & Paragraph Formatting*/
  p:has(+ h1.hero-header), h1.hero-header, h1.hero-header + p,
  p:has(+ h2.hero-header), h2.hero-header, h2.hero-header + p,
  p:has(+ h3.hero-header), h3.hero-header, h3.hero-header + p,
  p:has(+ h4.hero-header), h4.hero-header, h4.hero-header + p{
    display:inline; /*forces h1 tag to display in same line as paragraph*/
  }

  h1.hero-header,
  h2.hero-header,
  h3.hero-header,
  h4.hero-header{ /*ensures h1 style takes same as paragraph*/
  font-family:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  color:inherit !important;
  padding-left: 0.25em;
  padding-right: 0.25em;
}
/*The "Visually Hidden" Class This is the standard for accessibility. It keeps the heading available for screen readers and search bots while removing it from view.*/

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/*******************************************************/
/*Header Navigation */
/*******************************************************/

@media only screen and (min-width : 768px) and (max-width : 1425px) {

  /*- adjust to scale & prevent wrapping before specific breakpoint*/
  .main-nav .jet-mega-menu .jet-mega-menu-list {
    flex-wrap: nowrap !important;
  }

  .main-nav .full-width .jet-mega-menu-mega-container {
    --max-width: 1140px;
    width: calc((var(--max-width)* 0.75));

  }

  .main-nav .jet-mega-menu .jet-mega-menu-list .jet-mega-menu-item__link.jet-mega-menu-item__link--top-level,
  .main-nav .secondary-nav .elementor-icon-list-item>a {
    font-size: 95% !important;
  }

  header.sticky-header .logo svg {
    width: 95% !important;
  }

}
/*********************************************************************
/*Fix Sticky Header Overlaps Anchor in Elementor for Services Pages*/
/*********************************************************************/
html {
    scroll-padding-top: 200px;
}

:target {
    scroll-margin-top: 200px;
}

body:not(.elementor-editor-active) .elementor-widget-menu-anchor {
  position: relative;
  z-index: -1;
}

body:not(.elementor-editor-active) .elementor-menu-anchor:before {
  content: "";
  display: block;
  height: 200px;
  /* fixed header height*/
  margin: -200px 0 0;
  /* negative fixed header height*/
  visibility: hidden;
  pointer-events: none;
}


/*******************************************************/
/*Misc Custom Styles*/
/*******************************************************/

/*adjust letter spacing of h3 sized text*/
h3.elementor-icon-box-title,
/*icon boxes*/
h3.jet-toggle__label-text,
/*FAQs*/
.blog-title h3.jet-listing.jet-listing-dynamic-link

/*blog listing*/
  {
  letter-spacing: -0.5px;
}

/*format color of contact labels*/
.jet-listing-dynamic-link__label>strong,
.mail-link .elementor-icon-list-text>strong,
.mail-link>strong {
  color: var(--e-global-color-primary);
}

/*******************************************************/
/*SVG - adjust size for GUI class icons*/
/*******************************************************/
.gui .jet-inline-svg svg {
  min-width: 6px;
  min-height: 16px;
}


/*******************************************************/
/* Policy Pages Typography Formatting*/
/*******************************************************/

/*Override blockquote styles from cdswerx*/
blockquote.primary-blockquote, p.primary-blockquote, .primary-blockquote,
  blockquote.secondary-blockquote, p.secondary-blockquote, .secondary-blockquote,
  blockquote.accent-blockquote, p.accent-blockquote, .accent-blockquote {
    text-transform: none !important;
    letter-spacing:0 !important;
  }

/* Privacy / legal pages: shared heading styles */
:is(.consumer-health-data-privacy-policy,
    .notice-of-privacy-practices,
    .terms-conditions,
    .privacy-policy) :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 1.25em;
  margin-bottom: 0.25em;
}

/* Per-level differences */
:is(.consumer-health-data-privacy-policy,
    .notice-of-privacy-practices,
    .terms-conditions,
    .privacy-policy) h2 {
  font-size: 3.2rem !important;
  color: var(--e-global-color-65df282);
  text-transform: capitalize;
}

:is(.consumer-health-data-privacy-policy,
    .notice-of-privacy-practices,
    .terms-conditions,
    .privacy-policy) h3 {
  font-size: 2.6rem !important;
  color: var(--e-global-color-3e1d801);
  text-transform: capitalize;
}

:is(.consumer-health-data-privacy-policy,
    .notice-of-privacy-practices,
    .terms-conditions,
    .privacy-policy) h4 {
  font-size: 2.4rem !important;
  color: var(--e-global-color-primary);
  letter-spacing: -0.25px;
  font-style: italic;
  padding-top: 10px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

/* First h2 on the page: no top spacing (keep last so it wins) */
:is(.consumer-health-data-privacy-policy,
    .notice-of-privacy-practices,
    .terms-conditions,
    .privacy-policy) h2:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/*******************************************************/
/* Listing Grid – CSS var modifier classes             */
/* Apply via Advanced > CSS Classes on a listing grid  */
/*******************************************************/
.cat-list--compact    { --cat-font-size: 0.8rem;  --cat-item-padding: 2px 0; }
.cat-list--bordered   { --cat-border: 1px solid currentColor; --cat-item-padding: 6px 0; }
.cat-list--large      { --cat-font-size: 1.2rem; }
.cat-list--spaced     { --cat-item-padding: 8px 0; }
.cat-list--muted      { --cat-color: var(--e-global-color-text); }

/* @cds-addendum fluid-headings-scale */
/* Starter scale, INACTIVE until uncommented. --fs is the size in px at 375px and
   up; the Global Styles mechanism (--cds-fs-fluid) shrinks it proportionally
   below. Only headings that take their size from this stylesheet are affected:
   a px size typed into a widget overrides it — clear that field, or set its unit
   to "custom" and enter var(--cds-fs-fluid).

h1 { --fs: 42; font-size: var(--cds-fs-fluid); }
h2 { --fs: 34; font-size: var(--cds-fs-fluid); }
h3 { --fs: 28; font-size: var(--cds-fs-fluid); }
h4 { --fs: 22; font-size: var(--cds-fs-fluid); }
[class*="cdswerx-"][class*="__title"] { --fs: 42; font-size: var(--cds-fs-fluid); }
*/
/* @/cds-addendum fluid-headings-scale */
