/*
Theme Name: NHNVA Theme
Theme URI: https://neighborhoodhealthva.org/
Version: 1.12
Description: A child theme for Neighborhood Health
Author: Design TLC
Author URI: https://designtlc.com
template: bb-theme
*/

/* Add your custom styles here... */ 
/* Put @import here for loading fonts */



/* ------------------ ROOT VARIABLES ------------------ */
:root {

    /* ------------------ Colors ------------------ */
    --white: #FFFFFF;
    --navy: #202A66;
    --blue: #32409A;
    --yellow: #FFC20E;
    --teal: #2590A3;
    --pink: #BC358C;
    --link-color: #BC358C;
    --link-hover: #202A66;
    --light-yellow: #F6EFDD;
    --light-blue: #EAECF5;
    --light-teal: #CBE1E5;
    --bg-color-dark: #000000;
    --bg-color-light: #e5e5e5;

    /* ------------------  Typefaces ------------------ */
    --font-sans: 'Open Sans', sans-serif;
    --font-serif: 'Bitter', serif;

    /* ------------------ Type Sizes ------------------ */
    --size-default: 1rem;
}


/* ---- Fix fonts that render as bold in Firefox ------------------ */
    html {
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      font-smoothing: antialiased;
      font-weight: 400;
    }

    @-moz-document url-prefix() {
      body {
        font-weight: lighter !important;
      }
    }

/* ------------------ FONT STYLES and HEADINGS ------------------ */
html {
  font-size: 16px !important;
  hanging-punctuation: first last;
}

body {
  overflow-x: hidden;
}

html body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  color: #202A66;
  font-weight: 400;
  line-height: 1.4;
}

.fl-rich-text a {
  color: #BC358C;
}

.fl-rich-text a:hover {
  color: #202A66;
  text-decoration: none;
}

h1.page-title .fl-heading {
  font-family: 'Bitter', serif;
  font-weight: 600;
  font-size: 3.75rem;
  line-height: 1.1;
  color: #32409A;
  padding: 20px 0;
}

h2.fl-heading,
.fl-module-heading h2.fl-heading {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.1;
  color: #202A66;
  padding: 20px 0;
}

h3.fl-heading,
.fl-builder-content h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.1;
  color: #202A66;
  padding: 20px 0;
}

.sidebar-heading {
    font-family: var(--font-serif);
    font-size: 1.625rem!important;
    font-weight: 600;
}

.sidebar-heading a {
	color: var(--navy);
}

.menu > li.current-menu-item > a {
	font-weight: 700;
}

.eyebrow p { 
    box-shadow: inset 0 -2px 0 0 #FFC20E;
	display: inline;
	margin-bottom: 10px;
}

.fl-module-content li {
        /*margin-bottom: 10px;*/
}

.arrow-button-1 .fl-button-text::after {
	content: '\f061';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-left: 5px;
	color: var(--white);
	transition: color 0.3s ease;
}

.arrow-button-2 .fl-button-text::after {
	content: '\f061';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	margin-left: 5px;
	color: var(--blue);
	transition: color 0.3s ease;
}

/* Change arrow color on hover */
.arrow-button-1:hover .fl-button-text::after, .arrow-button-2:hover .fl-button-text::after {
	color: var(--white);
}

.fl-rich-text a {
    color: var(--COLOR NAME);
}
*/

  /*.fl-rich-text a:hover {
   color: var(--COLOR NAME);
   text-decoration: none;
    }
*/

/* ------------------ HEADER ------------------ */



/* ------------------ FOOTER ------------------ */

.footer h2,
.fl-module.fl-module-heading.footer h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* ------------------ MAIN NAVIGATION ----REMOVE EITHER CLICK OPEN OR MEGA MENU: BOTH NOT NEEDED -------------- */
/* MAX MEGA MENU -------------------------------------- */
.widget_maxmegamenu .widgettitle {
	display: none!important;
}

.menu-heading a.mega-menu-link {
	font-weight: 800!important;
}

li.decorate-accessibility.astm-search-menu.is-menu.sliding.menu-item {
    display: inline-block;
    margin-left: 10px;
    vertical-align: bottom;
    margin-bottom: 5px;
}

/* click open menu - NO MEGA MENU***************************/
html body .click-open .fl-menu {
  position: relative;
}
html body .click-open .fl-menu nav > ul.menu > ul.sub-menu li.hide-heading > .fl-has-submenu-container {
  display: none;
  visibility: hidden;
}
html body .click-open .fl-menu nav > ul.menu > li.fl-has-submenu:hover > .fl-has-submenu-container ~ .sub-menu {
  visibility: hidden;
  opacity: 0;
  display: none;
}
html body .click-open ul.fl-menu-horizontal li.fl-has-submenu.clicked > ul.sub-menu,
html body .click-open ul.fl-menu-horizontal li.fl-has-submenu.clicked > .fl-has-submenu-container ~ ul.sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}
html body .click-open .fl-menu ul.fl-menu-horizontal li.fl-has-submenu > .fl-has-submenu-container ~ ul.sub-menu {
}

.click-open .hamburger-menu .fl-hamburger-menu-top {
  height: 50px;
  width: 100%;
}
.click-open .hamburger-menu .fl-hamburger-menu-middle {
  height: 50px;
  width: 100%;
}
.click-open .hamburger-menu .fl-hamburger-menu-bottom {
  height: 50px;
  width: 100%;
}

/* end click open menu **************************/

.fl-menu .fl-menu-mobile-toggle.hamburger .fl-menu-mobile-toggle-label, .fl-menu .fl-menu-mobile-toggle.hamburger-label .fl-menu-mobile-toggle-label {
    font-weight: 700;
}

/* ------------------ INTERIOR-SIDEBAR NAVIGATION ------------------ */


/* ------------------ BUTTONS ------------------ */
     /*.fl-button-wrap a, a.fl-button {
        font-size: 
        color:  
        background: 
        font-family: 
        font-weight: 
        text-transform: 
        padding:
        margin-top: 
        border-radius: 
        border: 
    }

    span.fl-button-text {
         color:  
    }

    a.fl-button, a.fl-button:visited {
        background: 
        color:  
        border: 
    }

    .fl-button-text:after, a.fl-button:after {
        content: '\f061';
        font-family: 'Font Awesome 5 Pro';
        font-weight: 400;
        margin-left: 5px;  
    }
*/

/* ------------------ ACCORDION STYLES ------------------ */
.accordion-label {
  font-size: 2rem;
  font-family: var(--font-sans);
}


/* --***************************************************** ----- */
/* ------------------ RESPONSIVE STYLES ------------------ */

/* Mobile Styles - Tablet 1024 */
@media only screen and (max-width: 1024px) {
  h1.page-title .fl-heading {
    font-size: 3.125rem;
  }

  h2.fl-heading,
  .fl-module-heading h2.fl-heading {
    font-size: 1.75rem;
  }

  h3.fl-heading,
  .fl-builder-content h3 {
    font-size: 1.375rem;
  }
}

/* Mobile Styles - Lg Mobile 768 */
@media only screen and (max-width: 768px) {
	/* Header Buttons */
	.header-quick-links .fl-button-group-layout-horizontal .fl-button-group-buttons, .fl-button-group-layout-horizontal.fl-button-group-buttons {
		display: block;
		width: 100%;
	}

	.header-quick-links .fl-button-group-layout-horizontal .fl-button-wrap {
		display: block;
	}
	
  h1.page-title .fl-heading {
    font-size: 2.5rem;
  }

  h2.fl-heading,
  .fl-module-heading h2.fl-heading {
    font-size: 1.75rem;
  }

  h3.fl-heading,
  .fl-builder-content h3 {
    font-size: 1.375rem;
  }

  .accordion-label {
    font-size: 1.375rem;
    font-family: var(--font-sans);
  }

}


 /*Mobile Styles -  Special Sizes*/
@media only screen and (min-width: 1025px) and (max-width: 1160px) {

}



/* Mobile Styles - Small */
@media only screen and (max-width: 468px) { 
        
}