/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}


/******************************************
// Defaults CSS for the theme
******************************************/

/* box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* remove default margins */
* {
  margin: 0;		
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;  
}

/* Allow percentage based heights in application */
html,
body {
  height: 100%;
}

/* Accessible line height (for WCAG2.1) and improve text rendering */
body {
  line-height: 1.5; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; 
}

/* Change focus outline */
:focus {
  outline: 1px dotted var(--black);
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,button,textarea,select {
  font: inherit;
}

/* Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Hide stuff */
.hide {
	display: none;
}

.no-scroll {
  overflow-y: hidden;
}

.no-margin {
  margin: 0 !important;
}

#topcontrol {
  display: flex !important;
  align-items: center;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;   
  background: var(--orange);
  border-radius: 12px 12px 0 0;
  transition: var(--transition-fast);
}

#topcontrol:hover,
#topcontrol:focus {
  height: 52px;
  background: var(--yellow);
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Color of highlight */
::-moz-selection { 
  background: var(--darkgrey); 
  color: #fff; 
  text-shadow: none; 
}

::selection { 
  background: var(--darkgrey); 
  color: #fff; 
  text-shadow: none; 
}

/*set variables */
:root {
  --font: 'Open Sans', sans-serif;
  --headingfont: 'Open Sans', sans-serif; 
  --primary: #1f2d64;
  --secondary: #1499d6;
  --darkgrey: #4F4F4F;
  --secondarygrey: #B2B2B2;
  --lightgrey: #D3D3D3;
  --lightestgrey: #F2F2F2;
  /* --gradient:linear-gradient(90deg, rgba(219,39,51,1) 0%, rgba(255,95,1,1) 100%); */
  --fade:all 0.2s ease-out;
  --transition-fast: all 100ms ease-out;
  --transition-normal: all 200ms ease-out;
  --transition-slow: all 400ms ease-out; 
  --spacing-mobile: 1rem;
  --spacing-desktop: 2rem;
  --section-padding-mobile: 1rem;
  --section-padding-desktop: 4rem;
  --section-margin: 4rem;
}

/* Typeography */
html {
	font-size: 16px;
  font-family: var(--font);
}

h1 {
  margin: 0; 
  font-family: var(--headingfont);
  font-size: 1.93rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.13;
  letter-spacing: .47px;
  word-break: break-word;
  text-transform: uppercase;
}

h2 {
  position: relative;
  margin: 0 0 2rem;
  font-family: var(--headingfont);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: .38px;
	word-break: break-word;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-family: var(--headingfont);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: .30px;
	word-break: break-word;
}

h4 {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: .24px;
	word-break: break-word;
  text-transform: uppercase;
}

h5 {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: .21px;
	word-break: break-word;
}

h6 {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: .21px;
	word-break: break-word;
}

p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
}

p:not(:first-child):last-child {
  margin-bottom: 0;
}

p:empty {
  display: none;
}

.kicker,
.is-style-kicker {
  display: block;
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--darkblue);
  line-height: 1.1;
}

@media screen and (min-width: 1024px) {
  .kicker,
  .is-style-kicker {
    font-size: 1.875rem;
  }  
}

a {
  text-decoration: underline;
  color: var(--primary);
  font-weight: 600;
}

a:hover {
  color: var(--secondary);
}

ul {
  margin: 0;
  padding: 0;
}

li:not(.wp-block-navigation-item) {
  margin: 0.5rem 0 0 0.5rem;
  padding: 0;
  font-size: 1rem;
  color: var(--black);
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: 2.81rem;
    letter-spacing: .68px;
    line-height: 1.13;
  }
  
  h2 { 
    font-size: 2rem;
    letter-spacing: .54px;
    line-height: 1.13;
  }
  
  h3 {
    font-size: 1.5rem;
    letter-spacing: .47px;
    line-height: 1.13;
  }
  
  h4 {
    font-size: 1.4rem;
    letter-spacing: .38px;
    line-height: 1.12;
  }
  
  h5 {
    font-size: 1.25rem;
    letter-spacing: .30px;
    line-height: 1.15;
  }
  
  h6 {
    font-size: 1.25rem;
    letter-spacing: .30px;
    line-height: 1.15;
  }

  p, li:not(.wp-block-navigation-item) {
    font-size: 1rem;
    letter-spacing: .08px;
    line-height: 1.625;
  }
}

/* Overline and Underline on headings */
.is-style-overline {
  padding-top: 1rem;
}

.is-style-overline:before {
  position: absolute;
  content: '';
  width: 80px;
  height: 2px;
  background-color: var(--tertiary);
  top: 0rem;
  left: 0;
}

.is-style-no-underline {
  border-bottom: none;
  padding-bottom: 0;
}

.is-style-underline {
  position: relative;
  padding-bottom: 20px;
  text-align: center;
}

.is-style-underline:after {
  position: absolute;
  content: '';
  width: 110px;
  height: 2px;
  background-color: var(--secondary);
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 768px) {
  .is-style-underline {
    text-align: left;
  }
  
  .is-style-underline:not(.has-text-align-center):after {
    left: 0;
    transform: unset;
  }
}

/* Button style heading */
h2.is-style-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px 30px;
  background: var(--darkgrey);  
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.55;  
  color: var(--lightgrey);
  text-align: center;
}

/* Hide login/logout */
.logged-in .login-button {
  display: none !important;
}

body:not(.logged-in) .logout-button {
  display: none !important;
}

/* Modifiers for desktop and mobile only */
@media screen and (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

@media screen and (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }

  .center-on-mobile {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
}

/* Modifiers for alignment */
.has-text-align-center {
  text-align: center;
}

.justify-items-center {
  justify-items: center;
}

.align-items-center {
  align-items: center;
}

@media screen and (max-width: 781px) {  
  .justify-center-mobile {
    justify-content: center !important;
  }
}

/* Modifiers for spacing */
@media screen and (max-width: 781px) {  
  .no-padding-mobile {
    padding: 0 !important;
  }
}

/******************************************
//BUTTONS BLOCK
*/
.wp-block-buttons {
  margin-top: var(--spacing-desktop);
}

@media screen and (max-width: 1023px) {
  .wp-block-buttons {
    justify-content: center;
  }
}


/******************************************
//BUTTONS 
*/
.button,
.wp-block-button__link,
.wp-block-button__link:visited,
.is-style-alt .wp-block-button__link,
.button_in_menu a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 11px 30px 10px;
  background-color: var(--primary);
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: nowrap;
  cursor: pointer;  
  overflow: hidden;
  transition: var(--fade);
}

.button:hover,
.wp-block-button__link:hover,
.button_in_menu a:hover {
  background-color: #fff;
  color: var(--black);
}

.button_alt,
.is-style-alt .wp-block-button__link {
  background-color: var(--secondary);  
  color: #fff;
}

.button_alt:hover,
.is-style-alt .wp-block-button__link:hover {
  background-color: #fff;
  color: var(--primary);
}

/* Button in nav menu */
.button_in_menu {
  margin: 3rem auto 0;  
}


/******************************************
// Animations
*/ 
@media screen and (min-width: 1025px) {
	.slide-up,
  .is-style-slide-up {
    position: relative;
	  top: 90px;
	  opacity: 0;
	}

	.slide-up,
  .is-style-slide-up.in-view {
	  animation: slideUp 1s 1 ease-out forwards;
	}

  .slide-up,
  .is-style-slide-up.delayed.in-view {
    animation-delay: 150ms;
  }

  .slide-up,
  .is-style-slide-up.delayed-02.in-view {
    animation-delay: 200ms;
  }

  .slide-up,
  .is-style-slide-up.delayed-03.in-view {
    animation-delay: 250ms;
  }

  .slide-up,
  .is-style-slide-up.delayed-04.in-view {
    animation-delay: 300ms;
  }

  .blur-in {
	  opacity: 0;
	}

	.blur-in.in-view {
	  animation: blurIn 750ms 1 ease-out forwards;
	}

  .contract-in {
    position: relative;
    opacity: 0;
	}

	.contract-in.in-view {
	  animation: contractIn 1s 1 ease-out forwards;
    animation-delay: 600ms;
	}

  .fade-in {
    filter: blur(4px);
	  opacity: 0;
	}

	.fade-in.in-view {
	  animation: fadeIn 1s 1 ease-out forwards;
	}

  .fade-in.delayed.in-view {
    animation-delay: 200ms;
	}

  .fade-in.delayed.in-view.more {
    animation-delay: 400ms;
	}

  .fade-in.delayed.in-view.most {
    animation-delay: 600ms;
	}

	@keyframes slideUp {
    0% {
      filter: blur(5px);
      top: 90px;
      opacity: 0;
    }
    40% {
      top: 70px;
      opacity: 0;
    }
    100% {
      filter: blur(0px);
      top: 0;
      opacity: 1;
    }
	}

  @keyframes fadeIn {
		0% {
      filter: blur(4px);
		  opacity: 0;
		}
		100% {
      filter: blur(0);
		  opacity: 1;
		}
	}
  @keyframes blurIn {
		0% {
		  filter: blur(6px);
      opacity: 0;
		}
		100% {
		  filter: blur(0px);
      opacity: 1;
		}
	}
  
  @keyframes contractIn {
		0% {
      letter-spacing: 10px;
      opacity: 0;
		}
		100% {
      letter-spacing: 0;
      opacity: 1;
		}
	}
}


/******************************************
//LAYOUT
*/
/* Used when there is an overlay */
/* html.overlay {
  position: fixed; 
  overflow-y: scroll;
  width: 100%;
  margin-top: 0 !important;
}

body:after {
  content: '';
  position: absolute;
  top: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  background: var(--secondary);
  opacity: 0;
  transition: var(--fade);
}
  
html.overlay body:after {
  z-index: 80;
  opacity: 0.9;
} */

/* Global padding is set in theme.json. We are modifying it here for mobile */
@media screen and (max-width: 1023px) {
  .has-global-padding {
    padding: 0 1rem;
  }

  .has-global-padding > .alignfull {
    margin-right: -1rem;
    margin-left: -1rem;
  }
}

/* Vertical margins and padding for containers */
body:not(.page-template-resources) .main-content {
  margin: var(--section-margin) 0 0;
}

body.page-template-subscriber-resources .main-content {
  margin: 0;
}

.main-content:has(.no-top-margin) {
  margin: 0;
}

.main-content__single {
  margin: 0 0; 
}

.main-content__archive {
  margin: var(--section-margin) 0;
}

body.home .main-content {
  margin: 0;
}

.main-content__home {
  margin: 0;
}

/* 404 Page */
#four-oh-four {
  margin: var(--section-margin) 0;
}

/* Modifiers for blocks that have a background */
:not(.wp-block-button__link):not(.wp-block-separator).has-background,
:not(.wp-block-separator).has-background,
.has-background {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--section-margin);
  padding-bottom: var(--section-margin);
}

/* Alignments and Positioning */
@media screen and (max-width: 1023px) {
  body .main-content .is-layout-constrained .alignright {
    float: none;
    margin: 0 auto;
  }
}


/******************************************
//SKIP CONTENT LINK
*/
.skip-link {
  position: absolute;
  left: 50%;
  padding: 10px;  
  transform: translateY(-500%);      
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;     
}

.skip-link:focus {
  transform: translateY(0%);
}


/******************************************
//HEADER
*/
.admin-bar header {
  top: 32px;
}

.header {
  position: sticky;
  top: 0;
  transition: transform 0.3s ease;
  z-index: 10; 
  background-color: #fff;  
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16)
}

.header.hidden {
  transform: translateY(-100%); 
}


/******************************************
// NAVIGATION MENUS
*/ 

/* Main Menu */
nav.menu-main li {
  margin: 0;
}

/* Mobile Main Menu */
@media screen and (max-width: 1023px) {
  /* hamburger icon */
  nav.menu-main {
    justify-content: flex-end;
  }

  nav.menu-main button svg {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Close icon */
  .wp-block-navigation__responsive-container-close {
    top: 1rem;
    right: 1rem;
  }

  .wp-block-navigation__responsive-container-close svg {    
    color: #fff !important;
  }

  /* menu background */
  nav.menu-main .wp-block-navigation__responsive-container {
    align-items: flex-start;
    background-color: var(--primary) !important;
  }

  /* Menu position */
  nav.menu-main .wp-block-navigation__responsive-container ul {
    align-self: center;
    align-items: center !important;
    text-align: center;
  }

  /* top level menu items (<li>) */
  nav.menu-main .wp-block-navigation .wp-block-navigation-item {
    align-items: center !important;
  }

  /* top level menu link (<a>) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item:not(.button_in_menu) > a {
    font-size: 1.5rem;
    color: #fff !important;
    font-weight: 400;
  } 

  /* submenu icon (WP hides this on mobile, for some reason) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item.has-child > a:after {
    content: '';
    display: inline-block;
    width: 10px; /* Adjust the width as needed */
    height: 10px; /* Adjust the height as needed */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEwIDEwIj4KICA8cGF0aCBkPSJNMCAzTDUgN0w5IDMiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
  }

  /* submenu items */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item > .wp-block-navigation-submenu a {
    padding: 5px 0;
    font-size: 1rem;
    color: #fff !important;
  }

  /* Hide submenus by default */
  .header nav.menu-main .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    display: none; 
  }
  
  /* Show submenu when the parent has the 'is-open' class */
  .header nav.menu-main .wp-block-navigation .has-child.is-open .wp-block-navigation__submenu-container {
    display: block; /* Show submenu on click */
    transition: opacity 0.3s ease; /* Basic fade-in */
    opacity: 1;
    padding-top: 1rem !important;
  }  
}

/* Desktop Main Menu */
@media screen and (min-width: 1024px) {
  
  /* top level menu items (<li>) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item {
    padding: 5px 0;
  }

  /* add a border to the bottom of the top level menu items */
  /* nav.menu-main .wp-block-navigation > .wp-block-navigation-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px; 
    background-color: var(--primary); 
    transition: width 0.3s ease; 
  } */

  /* expand the border to full width on hover */
  /* nav.menu-main .wp-block-navigation > .wp-block-navigation-item:hover::after {
    width: 100%; 
  }   */

  /* top level menu link (<a>) */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item:not(.button_in_menu) > a {
    font-size: 1.3rem;
    color: var(--black) !important;
    font-weight: 400;
  }  

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item:not(.button_in_menu):hover > a {    
    color: #fff !important;
  } 
  
  /* submenu icon */
  nav.menu-main .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
    color: var(--black);
    stroke: var(--black);
  }

  /* Current menu item */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item.current-menu-item > a {
    color: #fff !important;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item.current-menu-item svg {
    stroke: #fff;
  }

  /* Submenu */ 
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu {
    left: 50% !important;
    transform: translateX(-50%);
    min-width: 280px !important;
    margin: 0;
    padding: 10px;
    background: var(--grey);
    border: 3px solid #fff;
    border-radius: 10px;
    text-align: center;
    visibility: hidden;
    transition: all 0.15s linear;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu::before {
    content: '';
		position: absolute;
		left: 50%;
		top: -10px;
		width: 0;
		height: 0;
		border-style: solid;
		border-width: 0 10px 10px 10px;
		border-color: transparent transparent var(--grey) transparent;
		z-index: 9999;
    transform: translateX(-50%);
  }

  /* Submenu items */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item {
    
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item a {
    padding: 10px;
    justify-content: center;
    color: var(--black) !important;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
  }

  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item:hover a {
    color: var(--primary) !important;
  }

  /* Current submenu item */
  nav.menu-main .wp-block-navigation > .wp-block-navigation-item .wp-block-navigation-submenu > .wp-block-navigation-item.current-menu-item a {
    color: #b0b0b0 !important;    
  } 
}

/* Vertical Nav Block */
nav.is-vertical li {
  margin: 0;
}

@media screen and (max-width: 1023px) {
  nav.is-vertical {
    align-items: center;
  }
  
  nav.is-vertical ul {
    text-align: center;
    align-items: center;
  }   
}

/* Footer Nav */ 
section.footer nav {
  margin-top: 1rem;
}

section.footer nav li {
  font-size: .875rem;
  line-height: 1.3;
}

/* Adjust the menu breakpoint */
body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}

body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width: 1023px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}

	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}

/* Pages List */
.wp-block-page-list li a {
  text-decoration: none;
}

.wp-block-page-list li.current-menu-item {
  color: var(--secondary)
}

.wp-block-page-list li.current-menu-item a {  
  color: var(--secondary);
}


/******************************************
//BANNER
*/
.banner .wp-block-cover__inner-container figure img {
  padding: 1rem;
  background-color: #fff;
}

/******************************************
//BREADCRUMB - Provided by NextXT plugin
*/
.breadcrumbs {
  padding-top: 0 !important;
  padding-bottom: 1rem !important;
}


/******************************************
//MAIN CONTENT - CONTENT BLOCKS
*/

/* Cover Block */
.wp-block-cover {
  padding-left: 0;
  padding-right: 0;  
}

/* List block */
.main-content ul {
  margin: 1rem 0;
  padding: 0;
  text-align: left;
}

.main-content ul:not(.is-style-icon-bullets) li::marker {
  color: var(--primary);
}

.main-content .has-background ul:not(.is-style-icon-bullets) li::marker {
  color: #fff;
}

.main-content ul.is-style-icon-bullets {    
  list-style: none;
  list-style-position: inside;
}

.main-content ul.is-style-icon-bullets li {
  list-style: none;
  position: relative;
  padding-left: 21px; /* Adjust padding to make space for the SVG */
}

.main-content ul.is-style-icon-bullets li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px; 
  height: 16px; 
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzM2NmQ5ZiIgY2xhc3M9ImJpIGJpLWNoZXZyb24tZG91YmxlLXJpZ2h0IiB2aWV3Qm94PSIwIDAgMTYgMTYiPgogIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTMuNjQ2IDEuNjQ2YS41LjUgMCAwIDEgLjcwOCAwbDYgNmEuNS41IDAgMCAxIDAgLjcwOGwtNiA2YS41LjUgMCAwIDEtLjcwOC0uNzA4TDkuMjkzIDggMy42NDYgMi4zNTRhLjUuNSAwIDAgMSAwLS43MDgiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03LjY0NiAxLjY0NmEuNS41IDAgMCAxIC43MDggMGw2IDZhLjUuNSAwIDAgMSAwIC43MDhsLTYgNmEuNS41IDAgMCAxLS43MDgtLjcwOEwxMy4yOTMgOCA3LjY0NiAyLjM1NGEuNS41IDAgMCAxIDAtLjcwOCIvPgo8L3N2Zz4='); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.main-content ol {
  margin: 1rem 0;
  padding: 0;
  text-align: left;
  list-style-position: inside;
}

.main-content ol li {
  margin-left: .5rem;
}

/* Image Block & Main Content Images */
.wp-block-image.is-style-default img {
  border-radius: 8px;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .wp-block-image.is-style-rounded img {
    width: 158px;
    margin: 0 auto;
  } 
}

/* Image Captions */
.wp-block-image figcaption {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: center;
}

/* Media & Text Block */
.wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}

.wp-block-media-text img {
  /* max-width: 215px;
  border-radius: 8px; */
}

@media screen and (max-width: 1024px) {
  .wp-block-media-text {
    /* gap: 2rem 0;
    justify-items: center; */
  }

  .wp-block-media-text__content {
    
  }
}

/* Gallery Block */
.main-content .wp-block-gallery img {
  max-height: 190px !important;
}

.main-content .wp-block-gallery figcaption {
  display: none;
}

/* Fix blur on gallery images that have captions */
.wp-block-gallery figure:before {
  content: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: none !important;
}

/* Blockquote Block uses image for quotation marks */
blockquote.wp-block-quote {
  width: 100%;  
  padding: 0;
}

blockquote.wp-block-quote p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

blockquote.wp-block-quote cite {
  display:block;
  margin-top: 1rem;  
  font-size: 1rem;
  font-style: normal;
  color: #fff;
}

@media screen and (max-width: 781px) {
  blockquote.wp-block-quote {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--secondarygrey);
  }  
  
  .wp-block-column:last-of-type .wp-block-quote {
    border-bottom: none;
  }
}

/* Files */
.wp-block-file a {
  font-weight: 400;
  font-size: 1rem;
  color: var(--primary);
}

/* Table Block */
.main-content .wp-block-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  text-align: left;
}

.main-content .wp-block-table thead {
  border-bottom: 2px solid;
}

.main-content .wp-block-table td,
.main-content .wp-block-table th {
  padding: 5px 10px 5px 5px;
  vertical-align: top;
  border-color: var(--grey);
  font-size: .8rem;
}

.main-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.main-content .wp-block-table.is-style-rates tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}

.main-content .wp-block-table.is-style-stripes,
.main-content .wp-block-table.is-style-rates {
  border-bottom: 0;
}

.main-content .wp-block-table.is-style-rates td:first-of-type {
  width: 56%;
}

.main-content .wp-block-table.is-style-stripes td {
  width: 22%;
  border-color: transparent;
}

@media screen and (min-width: 768px) {
  .main-content .wp-block-table td,
  .main-content .wp-block-table th {
    font-size: 1rem;
  }

  .main-content .wp-block-table.is-style-rates td:first-of-type {
    width: 70%;
  }

  .main-content .wp-block-table.is-style-rates td {
    width: 15%;
    border-color: transparent;
  }
}

@media screen and (min-width: 1024px) {
  .main-content .wp-block-table table {
    width: 80%;
  }
}

/* Columns Block - Display Flex on the individual COLUMN */
.wp-block-columns .wp-block-column.is-style-display-flex {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.wp-block-columns .wp-block-column.is-style-display-flex > * {
  height: 100%;
  margin: 0;
}

/* .wp-block-columns .wp-block-column.is-style-display-flex .wp-block-buttons {
  flex-grow: 1;
} */

/* Column Block - Rounded Corners + Dropshadow */
.wp-block-columns.is-style-has-dropshadow .wp-block-column {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--lightgrey);
  border-radius: 29px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.wp-block-columns.is-style-has-dropshadow .wp-block-column .wp-block-buttons {
  flex-grow: 1;
}

/* Column Block with background color */
.wp-block-columns .wp-block-column.has-background {
  position: relative;
  padding: 40px 40px 60px;  
}

/* Column Block with css background */
.wp-block-columns .wp-block-column.is-style-has-background {
  position: relative;
  padding: 40px 40px 60px;  
}

.wp-block-columns .wp-block-column.is-style-has-background p {
  font-weight: 700;
  color: var(--black);
}

.wp-block-columns .wp-block-column.is-style-has-background:after {
  position: absolute;  
  content: '';
  bottom: -32px;    
  display: block;
  width: 140px;
  height: 64px;
  background: url(../img/arrows-white.png) no-repeat center center;
  background-size: 100%;
}

.wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(even):after {
  left: 0;
}

.wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(odd):after {
  right: 0;
}

@media screen and (min-width: 1024px) {
  .wp-block-columns .wp-block-column.is-style-has-background:after {
    bottom: -44px;
    width: 194px;
    height: 89px;
    background-size: unset;
  }

  .wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(even):after {
    left: -43px;
  }

  .wp-block-columns .wp-block-column.is-style-has-background:nth-of-type(odd):after {
    right: -43px;
  }
}

/* Column Block - Not stacked on mobile */
@media screen and (max-width: 600px) {  
  .wp-block-columns.is-not-stacked-on-mobile {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.is-not-stacked-on-mobile > .wp-block-column {
    flex-basis: 33.3%;
  }
}

/* Column Block - Stack below 1200px */
@media screen and (max-width: 1201px) {  
  .wp-block-columns.is-style-stack-on-tablet {
    flex-direction: column-reverse;
  }
}

/* Column Block - Reverse Order on Mobile */
@media screen and (max-width: 769px) {  
  .wp-block-columns.is-style-reverse-mobile {
    flex-direction: column-reverse;
  }
}

/* Column blocks remove borders on mobile */
@media screen and (max-width: 781px) {
  .main-content .wp-block-columns .wp-block-column {
    border: none !important;
  }
}

/* GROUP BLOCK - mobile styling for grid layout */
@media screen and (max-width: 1023px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    justify-items: center;
  }  
}

@media screen and (max-width: 767px) {
  .wp-block-group.is-layout-grid {
    grid-template-columns: 1fr;
  } 
}

/* Separator Block (hr) */
.wp-block-separator {
  border-top: 1px solid var(--secondarygrey);
  border-bottom: none;
}

/* Social Links Block */
.wp-block-social-link {
  border-radius: 3px;
}

.wp-block-social-links .wp-social-link svg {
  height: 20px;
  width: 20px;
}

/******************************************
// The following are styles for custom patterns
*/

/* Iframes (Google Maps) */
iframe {
  display: block;
  width: 100%;
  height: 200px;
  margin: 0 auto;
}

/******************************************
//FOOTER
*/

@media screen and (max-width: 1023px) {
  section.footer .footer-logo-group {
    margin-bottom: var(--section-margin);
    border: none;
    padding-right: 0 !important;
  }
}


@media screen and (max-width: 1200px) {
  section.footer p {
    font-size: 0.875rem;
  } 
}


/******************************************
// Blog Roll and Archive GRID
// This is applied to the Post Template block
*/
.wp-block-post-template.is-layout-grid {
  display: grid;
  gap: 4rem;
  max-width: 500px;
  margin: 0 auto;
  justify-items: center;
}

@media screen and (min-width: 768px) {
  .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: unset;
  }
}

@media screen and (min-width: 1200px) {
  .wp-block-post-template.is-layout-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
  }
} 

.wp-block-post-template.is-layout-grid .wp-block-columns {
  height: 100%;
}


/******************************************
// Post Thumbnails
*/
.wp-block-post {  
  display: flex;
  flex-direction: column;
  max-width: 450px;
  width: 100%;
  height: 100%;  
  margin: 0;
  padding: 0;
  text-align: left;
  background-color: #fff;  
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
}

.wp-block-post .post-details-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0;
  flex-grow: 1;  
}

.wp-block-post-featured-image img {
  position: relative;
  width: 100%;
  height: 315px;
  max-height: 350px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: top left;
  border-bottom: 1px solid #ddd;
  /* border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0!important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px; */
}

.wp-block-post .post-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem 0;
  margin: 0;
  padding: 2rem;
}

.wp-block-post .post-details h2 {
  margin: 0 !important;
  padding: 0;
  font-size: 1.5rem;
  color: var(--black);
  text-align: left;
}

.wp-block-post .post-details h2::after {
  display: none;
}

.wp-block-post .post-details .wp-block-post-date {
  margin: 0 !important;
}

.wp-block-post .post-details .wp-block-post-excerpt {
  flex-grow: 1;
  margin: 0;
}

.wp-block-post .wp-block-read-more {
  margin: 2rem auto 0 0 !important;
}


/******************************************
// Back to results link
*/
.main-content .back-to-results {
  margin: 2rem 0;
  text-align: center;
}

.main-content .back-to-results a {
  text-decoration: underline;
  font-weight: 600;
  color: var(--primary);
}


/******************************************
// Sorting Options
// Generally used in a Resource Library or similar
*/
.sort-options {
  margin: var(--section-margin) 0;
}

.sort-options h2 {
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.sort-options ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0 1rem;
  margin: 1rem 0 2rem;
}


/******************************************
// Results Count
// Generally used in a Resource Library or similar
// to display the number of results found
*/
.results-count {
  margin: 2rem 0;
  text-align: center;
}



/******************************************
//PAGINATION
*/
.wp-block-query-pagination {
  gap: 0;
}

.pagination-navigation,
.wp-block-query-pagination-numbers {
  display: flex;
  justify-self: center;
  justify-content: center;
  /*box-shadow: 0 0 5px 0px rgb(0 0 0 / 30%);
  border: 1px solid #bebebe;
  border-radius: 30px; */
  text-transform: uppercase;
  margin: 3rem 0 0;
  background: #fff;
}

.pagination-navigation .page-numbers,
.wp-block-query-pagination-numbers .page-numbers {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 32px;
  padding: 5px 18px;
  border-right: 1px solid #ccc;
  transition: var(--fade);
  text-decoration: none;
  background-color: transparent;
}

.pagination-navigation .page-numbers:last-child,
.wp-block-query-pagination-numbers .page-numbers:last-child {
  border-right: none;
}
  
.pagination-navigation .page-numbers:hover,
.wp-block-query-pagination-numbers .page-numbers:hover {
  background-color: var(--grey);
}

.pagination-navigation .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers.current {
  color: #fff;
  background: var(--primary);
}

.pagination-navigation .page-numbers.prev,
.pagination-navigation .page-numbers.next,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
  padding: 5px 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 32px;
  background-color: transparent;
  color: var(--primary);
  text-decoration: none;
  transition: var(--fade);
}

.pagination-navigation .page-numbers.prev:hover,
.pagination-navigation .page-numbers.next:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-previous:hover {
  background-color: var(--grey);
}


.pagination-navigation .page-numbers:first-child,
.wp-block-query-pagination-previous {
  border-radius: 30px 0 0 30px;
}

.pagination-navigation .page-numbers:last-child,
.wp-block-query-pagination-next {
  border-radius: 0 30px 30px 0;
}





