/*
Theme Name: Paul Gulla Fine Art
Theme URI: http://cdevision.com/
Author: cdeVision
Author URI: http://cdevision.com/
Description: Custom theme for Paul Gulla Fine Art
Version: 7.2
License: No copy or resale
License URI: http://cdevision.com/
Text Domain: Paul Gulla Fine Art
Tags: 
*/
/* @link https://utopia.fyi/type/calculator?c=600,16,1.125,1230,18,1.1504,7,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
:root {
  --step--2: clamp(0.7901rem, 0.733rem + 0.1522vw, 0.8501rem);
  --step--1: clamp(0.8889rem, 0.8041rem + 0.2261vw, 0.9779rem);
  --step-0: clamp(1rem, 0.881rem + 0.3175vw, 1.125rem);
  --step-1: clamp(1.125rem, 0.9639rem + 0.4297vw, 1.2942rem);
  --step-2: clamp(1.2656rem, 1.053rem + 0.5669vw, 1.4888rem);
  --step-3: clamp(1.4238rem, 1.1486rem + 0.7338vw, 1.7128rem);
  --step-4: clamp(1.6018rem, 1.2508rem + 0.936vw, 1.9704rem);
  --step-5: clamp(1.802rem, 1.3595rem + 1.1801vw, 2.2667rem);
  --step-6: clamp(2.0273rem, 1.4746rem + 1.4739vw, 2.6076rem);
  --step-7: clamp(2.2807rem, 1.5958rem + 1.8263vw, 2.9998rem);
}

:root {
  --lh-step--2: calc(var(--step--2) * 1.4);
  --lh-step--1: calc(var(--step--1) * 1.4);
  --lh-step-0: calc(var(--step-0) * 1.45);
  --lh-step-1: calc(var(--step-1) * 1.4);
  --lh-step-2: calc(var(--step-2) * 1.4);
  --lh-step-3: calc(var(--step-3) * 1.3);
  --lh-step-4: calc(var(--step-4) * 1.2);
  --lh-step-5: calc(var(--step-5) * 1.1);
  --lh-step-6: calc(var(--step-6) * 1.1);
  --lh-step-7: calc(var(--step-7) * 1.1);
}

:root {
  --main-font-stack-headings: "agenda-one", sans-serif;
  --main-font-stack-base: "agenda-one", sans-serif;
  --font-stack-headings: "agenda-one", sans-serif;
  --font-stack-base: "agenda-one", sans-serif;
  --font-color-headings: #444;
  --font-color-base: #444444;
  --font-color-base-light: #777777;
  --accordion-border-color: #c9c9c9;
  --theme-color-1: #0063A6;
  --theme-color-2: #4B9D45;
  --feature-box-block-background: #EDEBE9;
  --link-color-main: #4B9D45;
  --link-color-main-hover: #3D8038;
}

/* 

CSS RESET 

Mostly:
https://www.joshwcomeau.com/css/custom-css-reset/

Added:
https://piccalil.li/blog/a-modern-css-reset/

Tweaks:
https://www.youtube.com/watch?v=h3bTwCqX4ns


*/
/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/*
  3. Allow percentage-based heights in the application
*/
html, body {
  height: 100%;
}

/*
  Typographic tweaks!
  4. Add accessible line-height
  5. Improve text rendering
*/
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/*
  Added
*/
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/*
  6. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/*
  7. Remove built-in form typography styles - Used * above instead

input, button, textarea, select {
  font: inherit;
}
*/
/*
  8. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*	
    --------------------------------------------------
    Body
	--------------------------------------------------
*/
@view-transition {
  navigation: auto;
}
html {
  scroll-behavior: smooth;
}

body {
  background: #F6F6F4;
  font-size: var(--step-0);
  line-height: var(--lh-step-0);
  color: var(--font-color-base);
  font-family: var(--font-stack-base);
  font-weight: normal;
  padding: 0;
  margin: 0;
}

#skipnav {
  display: none;
}

/*	
    --------------------------------------------------
   	Grid
	-------------------------------------------------- 
*/
/* Block layout
Dmitry Mayorov - Content Width Solutuion
Video: https://www.youtube.com/watch?v=MQFg2bdSY4Q&list=WL&index=1
Github: https://github.com/dmtrmrv/demo-content-width/tree/trunk
*/
html :where(.wp-block) {
  margin-bottom: 0;
  margin-top: 0;
  max-width: none;
}

.editor-styles-wrapper {
  padding: 0 !important;
}

:root {
  --width--site-gutter: 20px;
  --width--content: 800px;
  --width--content--wide: 1230px;
  --width--content--breakout: 1430px;
}

.wp-block-post-content > *,
.block-editor-writing-flow > *,
.is-layout-flow > *,
.block_size_none {
  --width--max: var(--width--content);
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

.block_size_wide,
.inner_alignwide {
  --width--max: var(--width--content--wide);
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

.block_size_breakout,
.inner_breakout {
  --width--max: var(--width--content--breakout);
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

.block_size_full,
.inner_alignfull {
  max-inline-size: none;
}

.full_inner_alignwide {
  --width--max: var(--width--content--wide);
  margin-inline: auto;
  max-inline-size: min(100%, var(--width--max));
}

/* Last block margin bottom */
.wp-block-post-content > *:last-child,
.block-editor-writing-flow > *:last-child {
  margin-bottom: 100px;
}

/* Last block if full width no margin bottom */
.wp-block-post-content > .block_size_full:last-child,
.block-editor-writing-flow > .block_size_full:last-child {
  margin-bottom: 0 !important;
}

/* Columns */
.columns {
  --grid-max-col-count: 2;
  --grid-min-col-size: 200px;
  --grid-gap: 30px;
  /* calculations, do not touch */
  --grid-col-size-calc: calc(
    (100% - var(--grid-gap) * var(--grid-max-col-count)) /
      var(--grid-max-col-count)
  );
  --grid-col-min-size-calc: min(
    100%,
    max(var(--grid-min-col-size), var(--grid-col-size-calc))
  );
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-col-min-size-calc), 1fr));
  gap: 0 var(--grid-gap);
}
.columns.colnum-2 {
  --grid-max-col-count: 2;
}
.columns.colnum-3 {
  --grid-max-col-count: 3;
}
.columns.colnum-4 {
  --grid-max-col-count: 4;
}
.columns.colnum-5 {
  --grid-max-col-count: 5;
}

/* Flexible content small */
.flexible-content-small .columns.colnum-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
}
@media (max-width: 940px) {
  .flexible-content-small .columns.colnum-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Buttons at and of column */
.col.button-end {
  position: relative;
  padding-bottom: 50px;
}
@media (max-width: 767px) {
  .col.button-end {
    padding-bottom: 0;
  }
}
.col.button-end p.linkwrap {
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (max-width: 767px) {
  .col.button-end p.linkwrap {
    position: relative;
  }
}

/* Block editor block list div */
.block-editor-block-list__block {
  max-inline-size: 100%;
}

/* Block editor footer height */
:root :where(.editor-styles-wrapper)::after {
  max-height: 200px !important;
}

/*	
  ----------------------------------------------------------------
  Base - Typography and other classes - included into TinyMCE
	----------------------------------------------------------------
*/
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--font-stack-headings);
  color: var(--font-color-headings);
  font-weight: 600;
  margin-block-end: 5px;
  padding: 0;
  font-style: normal !important;
  text-wrap: pretty;
}

h1,
.h1 {
  font-size: var(--step-7);
  line-height: var(--lh-step-7);
  margin: 0;
}

h2,
.h2 {
  font-size: var(--step-5);
  line-height: var(--lh-step-5);
  margin-block-start: clamp(24px, 19.8904109589px + 0.0082191781 * 100vw, 30px);
}

h3,
.h3 {
  font-size: var(--step-4);
  line-height: var(--lh-step-4);
  margin-block-start: clamp(20px, 17.2602739726px + 0.0054794521 * 100vw, 24px);
}

h4,
.h4 {
  font-size: var(--step-3);
  line-height: var(--lh-step-3);
  margin-block-start: clamp(16px, 13.2602739726px + 0.0054794521 * 100vw, 20px);
}

h5,
.h5 {
  font-size: var(--step-2);
  line-height: var(--lh-step-2);
  margin-block-start: clamp(16px, 13.2602739726px + 0.0054794521 * 100vw, 20px);
}

h6,
.h6 {
  font-size: var(--step-1);
  line-height: var(--lh-step-1);
  margin-block-start: clamp(16px, 13.2602739726px + 0.0054794521 * 100vw, 20px);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: var(--font-color-headings);
  text-decoration: none;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 767px) {
  h1 br,
h2 br,
h3 br,
h4 br,
h5 br,
h6 br {
    display: none;
  }
}
p {
  font-size: var(--step-0);
  line-height: var(--lh-step-0);
  color: var(--font-color-base);
  font-family: var(--font-stack-base);
  font-weight: normal;
  margin-block-start: 0;
  margin-block-end: 26px;
  text-wrap: pretty;
}

p.caption,
p.wp-caption-text,
.gallery-caption {
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: normal !important;
  text-align: center;
  color: #666;
  font-style: italic;
  margin-block: 12px 0;
  margin-inline: auto;
  max-inline-size: min(100% - 60px, 800px);
}

p img {
  margin: 0;
}

em,
i {
  font-style: italic;
  line-height: inherit;
}

strong,
b {
  font-weight: bold;
  line-height: inherit;
}

small {
  font-size: 60%;
  line-height: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}
ul li,
ol li {
  position: relative;
  margin: 0 0 10px 0;
  padding: 0;
}

.cdev_block ul,
.mce-content-body ul {
  margin: 0 0 26px 0;
  list-style: none; /* Remove default list style */
}
.cdev_block ul li,
.mce-content-body ul li {
  font-family: var(--font-stack-base);
  font-size: var(--step-0);
  line-height: var(--lh-step-0);
  color: var(--font-color-base);
  position: relative;
  margin: 0 0 10px 0;
  padding: 0 0 0 26px;
}
.cdev_block ul li::before,
.mce-content-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px; /* Adjust to vertically center the bullet */
  width: 10px; /* Adjust the size of the square */
  height: 10px; /* Adjust the size of the square */
  background-color: var(--font-color-base); /* Use the same color as the text */
  border-radius: 50%; /* Adjust the border radius to make it a circle */
}
.cdev_block ul ul,
.mce-content-body ul ul {
  margin: 10px 0 10px 0;
  padding: 0;
}
.cdev_block ol,
.mce-content-body ol {
  margin: 0 0 26px 0;
  list-style: none; /* Remove default list style */
  list-style: square; /* Remove default list style */
  list-style-position: inside !important;
}
.cdev_block ol li,
.mce-content-body ol li {
  font-family: var(--font-stack-base);
  position: relative;
  margin: 0 0 10px 0;
  padding: 0;
  color: var(--font-color-base);
  border-radius: 0; /* Adjust the border radius to make it a circle */
}
.cdev_block ol,
.mce-content-body ol {
  margin: 10px 0 10px 0;
  padding: 0;
}

blockquote {
  padding: 0;
  margin: 0;
  border: none;
  font-size: 16px;
  line-height: 22px;
}

blockquote p {
  padding: 0 0 0 45px;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 22px;
  border: none;
}

@media (max-width: 1140px) {
  img.alignright {
    max-width: 40%;
    height: auto;
  }
  img.alignleft {
    max-width: 40%;
    height: auto;
  }
}
/*	--------------------------------------------------
	Links
	-------------------------------------------------- */
a {
  color: var(--link-color-main);
  line-height: inherit;
  word-wrap: break-word;
  font-weight: bold;
  text-decoration: none;
}

a:visited {
  color: inherit;
  text-decoration: inherit;
}

a:focus {
  color: inherit;
  outline: none;
  text-decoration: inherit;
}

a:visited {
  line-height: inherit;
  color: var(--link-color-main);
}

a:hover {
  color: var(--link-color-main-hover);
  font-weight: bold;
  text-decoration: none !important;
}

a.box {
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  font-family: var(--font-stack-base);
  font-size: 22px;
  line-height: 28px;
  color: #FFF;
  text-decoration: none;
  font-style: normal !important;
  font-weight: 600 !important;
  position: relative;
  background: var(--link-color-main);
  transition-duration: 0.25s;
  border-radius: 6px;
}

a.box:visited {
  color: #FFF;
  text-decoration: inherit;
  font-weight: inherit;
}

a.box.back:before {
  font-size: 16px;
  content: "\f053";
  padding-right: 6px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

a.box.back:after {
  display: none;
}

a.box.paypal:after {
  font-size: 24px;
  content: "\f1f4";
  padding-left: 6px;
  transform: translateY(1px);
  font-weight: 400;
  font-family: "Font Awesome 6 Brands";
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

a.box.rev {
  padding: 0;
  color: #4B9D45;
  background: none;
}

a.box.rev:visited {
  color: #4B9D45;
}

a.box.white {
  color: #FFF;
}

a.box.white:visited {
  color: #FFF;
}

a.box.pdf:after {
  font-size: 18px;
  padding-left: 8px;
  content: "\f1c1";
}

a.box.down:after {
  content: "\f078";
}

a.box.up:after {
  content: "\f077";
}

a.box:hover {
  color: #FFF;
  text-decoration: inherit;
  font-weight: inherit;
  background: var(--link-color-main-hover);
  text-decoration: none !important;
}

a.box.rev:hover {
  color: var(--link-color-main-hover);
  text-decoration: inherit;
  font-weight: inherit;
  background: none;
}

a.box.white:hover {
  color: #FFF;
}

p + p.linkwrap {
  margin-top: -10px;
}

/*	--------------------------------------------------
	Misc
	-------------------------------------------------- */
/* Utility classes */
/* Clear Margins and padding */
.no-pad {
  padding: 0;
}

.no-margin {
  margin: 0;
}

.no-margin-top {
  margin-top: 0;
}

/* Clear Child Margins */
.clear-top > *:first-child {
  margin-top: 0;
}

.clear-bottom > *:last-child {
  margin-bottom: 0;
}

.clear-both > *:first-child {
  margin-top: 0;
}

.clear-both > *:last-child {
  margin-bottom: 0;
}

.small-text {
  font-size: var(--step--2);
  line-height: var(--lh-step--2);
}
.small-text p {
  font-size: var(--step--2);
  line-height: var(--lh-step--2);
}

.x-small-text {
  font-size: 12px;
  line-height: 20px;
}
.x-small-text p {
  font-size: 12px;
  line-height: 20px;
}

.white-text {
  color: #fff !important;
}
.white-text h1,
.white-text .h1,
.white-text h2,
.white-text .h2,
.white-text h3,
.white-text .h3,
.white-text h4,
.white-text .h4,
.white-text h5,
.white-text .h5,
.white-text h6,
.white-text .h6,
.white-text p,
.white-text ul,
.white-text a {
  color: #FFF !important;
}
.white-text a:not(a.box):not(.social a) {
  color: #FFF;
  text-decoration: underline !important;
}
.white-text a:hover:not(a.box),
.white-text a:visited:not(a.box) {
  color: #FFF;
  text-decoration: underline !important;
  opacity: 0.6;
}
.white-text ul li {
  list-style: url(images/bullet_white.png);
}

.center-text {
  text-align: center;
}

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.clearfloats {
  clear: both;
  line-height: 0px;
  height: 0px;
  font-size: 0px;
}

div[id*=gallery-] {
  margin: 20px 0 20px 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.two div[id*=gallery-] {
  grid-template-columns: 1fr 1fr;
}

.accordiancontent div[id*=gallery-] {
  margin: 30px 0 !important;
}

div[id*=gallery-] .gallery-item {
  margin: 0 !important;
}

.gallery-item {
  margin: 0 !important;
  width: 100% !important;
  padding: 0 !important;
}

.gallery br {
  display: none !important;
}

/* Mobile */
@media (max-width: 767px) {
  div[id*=gallery-] {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
div[id*=gallery-] img {
  border: none !important;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

div[id*=gallery-] img:hover {
  opacity: 0.8;
}

img[class*=wp-image-] {
  margin-top: 0;
  margin-bottom: 0;
}

/* Images sizes */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin: 4px 30px 20px 0 !important;
  display: block;
}

.alignright {
  float: right;
  margin: 4px 0 20px 30px !important;
  display: block;
}

.widget {
  margin-bottom: 0;
  margin-top: 0;
}

.wp-caption {
  padding: 0;
  border: none;
}

@media handheld, only screen and (max-width: 767px) {
  .alignleft {
    max-width: 40% !important;
    height: auto;
  }
  .alignright {
    max-width: 40% !important;
    height: auto;
  }
  .main-content-inner img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 767px) {
  .attachment-thumbnail {
    max-width: 100% !important;
    height: auto !important;
  }
}
.fancybox-skin {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

.fancybox-toolbar {
  right: auto !important;
  left: 0;
  top: 0;
}

/* Object Fit Image */
.object-fit-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.object-fit-image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

/* Base animation setup */
.has-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

/* Make visible when in viewport */
.has-animation.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Fade-in (default) */
.fade-in {
  transform: translateY(0);
}

/* Fade-up */
.fade-up {
  transform: translateY(40px);
}

/* Fade-left */
.fade-left {
  transform: translateX(-40px);
}

/* Fade-right */
.fade-right {
  transform: translateX(40px);
}

/*	--------------------------------------------------
   	Header
	-------------------------------------------------- */
/* Alert */
.alertbar {
  background: #4B9D45;
  padding: 15px 0;
  color: #FFF;
}

.alertbar .wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.alertbar .text {
  color: #FFF;
}

.alertbar .text p {
  color: #FFF;
  margin: 0;
}

.alertbar .text a {
  color: #FFF;
  font-weight: bold;
  text-decoration: none;
}

.alertbar .text a:hover {
  color: #FFF;
  font-weight: bold;
  text-decoration: underline;
}

.alertbar .close {
  font-size: 20px;
  color: #FFF;
  margin: 6px 0 0 0;
}

.alertbar .close:hover {
  opacity: 0.8;
  cursor: pointer;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1999;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popup-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.popup-overlay:not(.hidden) {
  opacity: 1;
}

/* Popup */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0063A6;
  border: 10px solid #FFF;
  max-width: 820px;
  max-height: 620px;
  width: 90%;
  z-index: 2000;
  box-sizing: border-box;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding: 50px 30px 30px 30px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.popup-content.image-pop {
  min-height: auto;
  aspect-ratio: 800/600;
  padding: 0;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #FFF;
  cursor: pointer;
}

.image-pop .popup-close {
  top: 0;
  right: 0;
  background: #FFF;
  line-height: 30px;
  width: 30px;
  text-align: center;
  color: #4B9D45;
}

.popup-close:hover {
  color: #4B9D45;
}

.popup-body a:hover {
  opacity: 1 !important;
}

/* Header */
.site-header {
  margin: 0;
  padding: 0;
  width: 100%;
  border-top: 25px solid #0063A6;
  z-index: 1000;
}

.site-header .wrap {
  position: static;
}

.site-header__pad {
  position: relative;
  height: 160px;
}

/* Site Branding */
.site-branding {
  width: 285px;
  height: 89px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  left: 30px;
}

.site-branding__site-title {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.site-branding__site-title a {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  text-indent: -4000px;
  background: url(images/logo.png) no-repeat;
  background-size: contain;
}

/* Mobile */
@media (max-width: 767px) {
  .site-branding {
    width: 285px;
    height: 89px;
    position: absolute;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
/* Tool */
.tool {
  position: absolute;
  right: 0;
  top: 45px;
}

.scrolled .tool {
  top: 0;
}

.tool .wrap {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 900px) {
  #masthead .tool {
    right: 50px;
    top: 20px;
  }
  .mobile-menu-cover .tool {
    display: none;
    position: static;
    margin: 30px 30px 0 30px;
  }
  .mobile-menu-cover .tool .wrap {
    flex-direction: column;
  }
}
/* Mobile */
@media (max-width: 860px) {
  #masthead .tool {
    display: none;
  }
  .social.header {
    margin: 0 0 25px 0;
    display: inline-flex;
  }
}
/* Social */
.social {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.social.footer {
  margin-left: auto;
  padding-top: var(--lh-step-2);
}
@media (max-width: 740px) {
  .social.footer {
    padding-top: 0;
    margin-left: 0;
  }
}
.social span {
  font-family: var(--main-font-stack-headings);
  font-size: 24px;
  line-height: 30px;
  color: #FFF;
}
.social.footer span {
  color: #FFF;
}
.social a {
  font-size: 24px;
  line-height: 30px;
  padding: 0;
  margin: 0;
  text-align: center;
  text-decoration: none !important;
  color: var(--font-color-headings);
  font-weight: normal;
  transition-duration: 0.5s;
}

@media (max-width: 900px) {
  .mobile-menu-cover .tool .social {
    position: static;
    margin: 0 0 50px 0;
  }
  .mobile-menu-cover .tool .social a {
    font-size: 30px;
    line-height: 30px;
    color: #FFF;
    padding: 0;
  }
  .mobile-menu-cover .tool .social a:hover {
    color: #0063A6;
  }
}
/* Phone */
a.phone {
  font-family: var(--main-font-stack-headings);
  font-size: 20px;
  line-height: 30px;
  color: var(--font-color-headings);
  font-weight: 300;
  transition-duration: 0.25s;
}

a.phone:hover {
  color: #4B9D45;
}

@media (max-width: 900px) {
  .mobile-menu-cover .tool a.phone {
    font-size: 24px;
    line-height: 34px;
    color: #FFF;
  }
}
/*	--------------------------------------------------
   	Nav Bar - Desk
	-------------------------------------------------- */
.primary-navigation {
  position: absolute;
  bottom: 46px;
  right: 30px;
  z-index: 9999;
}

.primary-navigation .wrap {
  display: flex;
  justify-content: flex-end;
}

.primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
}

.primary-menu .menu-item {
  padding: 0;
  margin: 0;
  position: relative;
  list-style: none;
}

.primary-menu .menu-item a {
  display: block;
  font-size: 24px;
  line-height: 50px;
  margin: 0;
  padding: 0 15px;
  text-decoration: none;
  color: #0063A6;
  font-family: var(--main-font-stack-headings);
  font-style: normal;
  font-weight: 600;
  text-transform: lowercase;
}

.primary-menu .menu-item:last-child a {
  padding-right: 0;
}

.primary-menu .menu-item.current_page_item > a,
.primary-menu .menu-item.current-menu-item > a,
.primary-menu .menu-item.current-post-ancestor > a,
.primary-menu .menu-item.current-category-ancestor > a,
.primary-menu .menu-item.current_page_ancestor > a {
  color: #4B9D45;
}

.primary-menu .menu-item:hover > a {
  color: #4B9D45;
}

.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0;
  background: #4B9D45;
  padding: 0;
}

.primary-menu .menu-item:last-child .sub-menu {
  left: auto;
  right: 0;
}

/*.menu-desk > ul > li:hover > ul { display:block; }*/
.primary-menu .sub-menu .menu-item {
  padding: 0;
  margin: 0;
}

.primary-menu .menu-item .sub-menu .menu-item a {
  display: block;
  font-size: 20px;
  line-height: 24px;
  font-family: var(--main-font-stack-headings);
  font-style: normal;
  font-weight: 600;
  padding: 5px 15px;
  color: #FFF;
  background: none;
  white-space: nowrap;
}

.primary-menu .sub-menu .menu-item:first-child a {
  padding-top: 12px;
}

.primary-menu .sub-menu .menu-item:last-child a {
  padding-bottom: 12px;
}

.primary-menu .menu-item .sub-menu .menu-item a:hover {
  color: #FFF;
  opacity: 0.6;
}

.primary-menu .menu-item .sub-menu .menu-item.current-menu-item > a {
  color: #FFF;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .primary-navigation {
    display: none;
  }
}
/*	--------------------------------------------------
   	Menu Mobile
	-------------------------------------------------- */
.mobile-hamburger {
  display: none;
  width: 30px;
  height: 30px;
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 999999;
}

.mobile-hamburger__link {
  background: #0063A6 url(images/mob.png) 0 0 no-repeat !important;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  padding: 0;
  text-indent: -4000px;
}

.mobile-hamburger__link.open {
  background: #0063A6 url(images/mob.png) 0 -30px no-repeat !important;
}

.mobile-menu-cover {
  display: none;
  background: #0063A6;
  color: #FFF;
  padding: 0;
  clear: both;
  margin: 0 auto;
  position: fixed;
  top: 0;
  right: 0;
  height: 150%;
  max-width: 340px;
  min-width: 340px;
  overflow: auto;
  z-index: 99999;
}

.mob-nav-container {
  margin: 0;
  padding: 0;
  display: none;
}

.mob-nav-menu {
  margin: 40px 30px 0 30px;
  padding: 0;
}

.mob-nav-menu .menu-item {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mob-nav-menu .menu-item a {
  font-family: var(--main-font-stack-headings);
  font-size: 30px;
  line-height: 30px;
  padding: 10px 0;
  display: block;
  text-decoration: none;
  color: #FFF;
  margin: 0;
  font-weight: 600;
  font-style: normal;
  transition-duration: 0.25s;
  text-transform: lowercase;
}

.mob-nav-menu .menu-item a:hover {
  color: #4B9D45;
}

.mob-nav-menu .sub-menu {
  display: none;
  margin: 0 0 10px 0;
  padding: 0;
  z-index: 99999;
  padding: 0;
}

.mob-nav-menu .sub-menu .menu-item a {
  font-family: var(--main-font-stack-headings);
  font-size: 18px;
  line-height: 24px;
  padding: 8px 0;
  display: block;
  text-decoration: none;
  color: #FFF;
  margin: 0;
  font-weight: 600;
  font-style: normal;
  text-transform: lowercase;
}

.mob-nav-menu .sub-menu .menu-item:first-child a {
  padding-top: 4px;
}

.mob-nav-menu .sub-menu .menu-item:last-child a {
  padding-bottom: 10px;
}

@media (max-width: 900px) {
  .mobile-hamburger {
    display: block;
    top: 35px;
    right: 20px;
  }
  .mobile-menu-cover {
    max-width: 400px;
    min-width: 400px;
  }
}
@media (max-width: 660px) {
  .mobile-hamburger {
    top: 35px;
    right: 10px;
  }
  .mobile-menu-cover {
    max-width: 100%;
    min-width: 100%;
  }
}
/*	--------------------------------------------------
   	Home
	-------------------------------------------------- */
/*	--------------------------------------------------
   	Content
	-------------------------------------------------- */
/* Events Single */
.event-details {
  font-family: var(--font-stack-headings);
  font-size: 18px;
  margin-top: 10px;
  font-weight: 600;
}

.back-link-wrapper {
  margin-top: 50px;
}

/*	--------------------------------------------------
   	Block Styles
	-------------------------------------------------- */
/* Block Text Width */
.block_text_width_narrow h1,
.block_text_width_narrow h2,
.block_text_width_narrow h3,
.block_text_width_narrow h4,
.block_text_width_narrow h5,
.block_text_width_narrow h6,
.block_text_width_narrow p,
.block_text_width_narrow ul {
  width: min(100%, 800px);
}

/* Block Intro Text */
.block_intro {
  font-size: var(--step-1);
  line-height: var(--lh-step-1);
}

.block_intro p {
  font-size: var(--step-1);
  line-height: var(--lh-step-1);
}

/* Block UL columns */
.block_ul_two ul {
  -moz-columns: 2;
       columns: 2;
  -moz-column-gap: 80px;
       column-gap: 80px;
}

.block_ul_three ul {
  -moz-columns: 3;
       columns: 3;
  -moz-column-gap: 40px;
       column-gap: 40px;
}

.block_ul_four ul {
  -moz-columns: 4;
       columns: 4;
  -moz-column-gap: 40px;
       column-gap: 40px;
}

.block_ul_two ul li,
.block_ul_three ul li,
.block_ul_four ul li {
  -moz-column-break-inside: avoid;
       break-inside: avoid-column;
}

@media (max-width: 1200px) {
  .block_ul_four ul {
    -moz-columns: 3;
         columns: 3;
  }
}
@media (max-width: 1000px) {
  .block_ul_three ul,
.block_ul_four ul {
    -moz-columns: 2;
         columns: 2;
  }
}
@media (max-width: 700px) {
  .block_ul_two ul,
.block_ul_three ul,
.block_ul_four ul {
    -moz-columns: 1;
         columns: 1;
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .block_ul_two ul li,
.block_ul_three ul li,
.block_ul_four ul li {
    -moz-column-break-inside: auto;
         break-inside: auto;
  }
}
/* Block Padding Before and After */
.block_pad_before_zero {
  padding-top: 0 !important;
}

.block_pad_before_small {
  padding-top: 30px !important;
}

.block_pad_before_med {
  padding-top: 50px !important;
}

.block_pad_before_large {
  padding-top: 80px !important;
}

.block_pad_after_zero {
  padding-bottom: 0 !important;
}

.block_pad_after_small {
  padding-bottom: 30px !important;
}

.block_pad_after_med {
  padding-bottom: 50px !important;
}

.block_pad_after_large {
  padding-bottom: 80px !important;
}

/* Block Margin Before and After */
.block_mar_before_small {
  margin-top: 30px !important;
}

.block_mar_before_med {
  margin-top: 50px !important;
}

.block_mar_before_large {
  margin-top: 80px !important;
}

.block_mar_after_small {
  margin-bottom: 30px !important;
}

.block_mar_after_med {
  margin-bottom: 50px !important;
}

.block_mar_after_large {
  margin-bottom: 80px !important;
}

/* Them Colors */
.block_theme_color_1 {
  background-color: var(--theme-color-1);
}

.block_theme_color_2 {
  background-color: var(--theme-color-2);
}

.block_theme_color_3 {
  background-color: #00497A;
}

/* Block Background Light */
.block_background_light,
.block_background_dark {
  background-color: #219D9F;
  padding: 80px 30px;
}
@media (max-width: 1270px) {
  .block_background_light,
.block_background_dark {
    padding: 50px 20px;
  }
}
.block_background_light > .inner_alignwide, .block_background_light > .highlight-box,
.block_background_dark > .inner_alignwide,
.block_background_dark > .highlight-box {
  --width--max: var(--width--content--wide);
  max-inline-size: min(100%, var(--width--max));
  margin-inline: auto;
}
.block_background_light > *:first-child,
.block_background_light .inner_alignwide *:first-child,
.block_background_light .content-wrap *:first-child,
.block_background_dark > *:first-child,
.block_background_dark .inner_alignwide *:first-child,
.block_background_dark .content-wrap *:first-child {
  margin-top: 0;
}
.block_background_light > *:last-child,
.block_background_light .inner_alignwide *:last-child,
.block_background_light .content-wrap *:last-child,
.block_background_dark > *:last-child,
.block_background_dark .inner_alignwide *:last-child,
.block_background_dark .content-wrap *:last-child {
  margin-bottom: 0;
}
.block_background_light h1:not(.acf-fields *),
.block_background_light h2:not(.acf-fields *),
.block_background_light h3:not(.acf-fields *),
.block_background_light h4:not(.acf-fields *),
.block_background_light h5:not(.acf-fields *),
.block_background_light h6:not(.acf-fields *),
.block_background_light .h1:not(.acf-fields *),
.block_background_light .h2:not(.acf-fields *),
.block_background_light .h3:not(.acf-fields *),
.block_background_light .h4:not(.acf-fields *),
.block_background_light .h5:not(.acf-fields *),
.block_background_light .h6:not(.acf-fields *),
.block_background_light p:not(.acf-fields *),
.block_background_light ul:not(.acf-fields *),
.block_background_light a:not(.acf-fields *),
.block_background_dark h1:not(.acf-fields *),
.block_background_dark h2:not(.acf-fields *),
.block_background_dark h3:not(.acf-fields *),
.block_background_dark h4:not(.acf-fields *),
.block_background_dark h5:not(.acf-fields *),
.block_background_dark h6:not(.acf-fields *),
.block_background_dark .h1:not(.acf-fields *),
.block_background_dark .h2:not(.acf-fields *),
.block_background_dark .h3:not(.acf-fields *),
.block_background_dark .h4:not(.acf-fields *),
.block_background_dark .h5:not(.acf-fields *),
.block_background_dark .h6:not(.acf-fields *),
.block_background_dark p:not(.acf-fields *),
.block_background_dark ul:not(.acf-fields *),
.block_background_dark a:not(.acf-fields *) {
  color: #FFF;
}
.block_background_light a:not(a.box):not(.acf-fields *),
.block_background_dark a:not(a.box):not(.acf-fields *) {
  color: #FFF;
  text-decoration: underline;
}
.block_background_light a:hover:not(a.box):not(.acf-fields *),
.block_background_light a:visited:not(a.box):not(.acf-fields *),
.block_background_dark a:hover:not(a.box):not(.acf-fields *),
.block_background_dark a:visited:not(a.box):not(.acf-fields *) {
  color: #FFF;
  text-decoration: underline;
  opacity: 0.6;
}
.block_background_light ul:not(.acf-fields *) li,
.block_background_dark ul:not(.acf-fields *) li {
  list-style: url(images/bullet_white.png);
}
.block_background_light a.box:not(.acf-fields *),
.block_background_dark a.box:not(.acf-fields *) {
  background-color: transparent;
  border: 1px solid #FFF;
}
.block_background_light a.box:hover:not(.acf-fields *),
.block_background_dark a.box:hover:not(.acf-fields *) {
  background-color: rgba(255, 255, 255, 0.1);
}
.block_background_light li:not(.acf-fields *)::before,
.block_background_dark li:not(.acf-fields *)::before {
  background-color: #FFF !important; /* Use the same color as the text */
}

/* Block Background Dark */
.block_background_dark {
  background-color: #126163;
}

/* Block White Text */
.block-white-text {
  color: #FFF !important;
}
.block-white-text h1,
.block-white-text h2,
.block-white-text h3,
.block-white-text h4,
.block-white-text h5,
.block-white-text h6,
.block-white-text .h1,
.block-white-text .h2,
.block-white-text .h3,
.block-white-text .h4,
.block-white-text .h5,
.block-white-text .h6,
.block-white-text p,
.block-white-text ul,
.block-white-text a {
  color: #FFF !important;
}
.block-white-text a:not(a.box) {
  color: #FFF;
  text-decoration: underline !important;
}
.block-white-text a:hover:not(a.box),
.block-white-text a:visited:not(a.box) {
  color: #FFF;
  text-decoration: underline !important;
  opacity: 0.6;
}
.block-white-text ul li {
  list-style: url(images/bullet_white.png);
}

.block_theme_color_2.block-white-text a.box {
  background-color: #0063A6;
}
.block_theme_color_2.block-white-text a.box:hover {
  background-color: #00497A;
}

/* Block Anchor */
/* Adjust 80px to match your header height */
.cdev_block[id] {
  scroll-margin-top: 30px;
}

/*	--------------------------------------------------
   	cdeVision Blocks
	-------------------------------------------------- */
/* Accordion Block with inner blocks */
.accordion__wrap {
  margin-bottom: -1px;
}

/* Page view - If this accordion is immediately followed by another accordion, keep -1px margin */
.pagewrap .accordion__wrap:not(.accordion__wrap:has(+ .accordion__wrap)) {
  margin-bottom: 50px;
}

/* Editor view - Target .wp-block-cdev-accordion that is NOT followed by another .wp-block-cdev-accordion */
.wp-block-cdev-accordion:not(.wp-block-cdev-accordion:has(+ .wp-block-cdev-accordion)) .accordion__wrap {
  margin-bottom: 50px;
}

.accordion-wrap {
  border-top: 1px solid var(--accordion-border-color);
}

.accordiontitle {
  display: flex;
  padding: 10px;
  border-bottom: 1px solid var(--accordion-border-color);
}
.accordiontitle:hover {
  cursor: pointer;
}
.accordiontitle .fa-solid {
  font-size: 16px;
  line-height: 30px;
  font-weight: 900;
  color: #219D9F;
  float: left;
  margin: 0;
}
.accordiontitle:hover .fa-solid {
  color: var(--font-color-base);
}
.accordiontitle.open .closedicon {
  display: none;
}
.accordiontitle.open .openicon {
  display: block;
}
.accordiontitle .openicon {
  display: none;
}
.accordiontitle h3 {
  font-family: var(--font-stack-base);
  line-height: 30px;
  font-size: 18px;
  color: var(--font-color-base);
  padding-left: 8px;
  margin: 0;
  font-weight: 700;
  text-transform: none;
}
.accordiontitle:hover h3 {
  color: var(--font-color-base);
}

.accordioncontent {
  display: none;
  padding: 20px 14px 1px 14px;
  margin: 0;
}
.accordioncontent ul {
  margin-left: 30px;
}
@media (max-width: 767px) {
  .accordioncontent {
    padding: 20px 0 1px 0;
  }
}

/* Button Block */
.button-block {
  margin-top: -10px;
  margin-bottom: 26px;
}
.button-block.center {
  text-align: center;
}
.button-block.left {
  text-align: left;
}
.button-block.right {
  text-align: right;
}

/* Background Section Block */
.wrapper-background-block {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  padding-inline: 0 !important;
}
@media screen and (max-width: 600px) {
  .wrapper-background-block {
    background-image: none !important;
  }
}

/* Button Bar Block */
.button_bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.button_bar.center {
  justify-content: center;
}

.button_bar.right {
  justify-content: flex-end;
}

/*	Hero Block - Image and Text  */
.color-box {
  display: flex;
  margin-block: 80px;
  border-radius: 0;
  min-height: 285px;
  overflow: hidden;
}
.color-box img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.color-box.block_size_breakout .image {
  flex: 0 0 min(385px, 50%);
}
.color-box.block_size_wide .image {
  flex: 0 0 min(285px, 50%);
}
.color-box.block_size_none .image {
  flex: 0 0 min(285px, 50%);
}
.color-box .text {
  display: flex;
  align-items: center;
  padding: 30px;
}
@media (max-width: 767px) {
  .color-box {
    flex-direction: column;
    width: 600px;
    max-width: calc(100% - 40px);
    margin-inline: auto;
  }
  .color-box .image {
    flex: 0 0 100% !important;
  }
  .color-box .text {
    padding: 20px;
  }
}

/*	One Column Block  */
.block_callout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
@media (max-width: 1020px) {
  .block_callout {
    flex-direction: column;
    gap: 0;
  }
}
.block_callout .callout_content {
  flex: 0 0 390px;
  padding-bottom: 30px;
  margin-inline: auto;
}
@media (max-width: 1020px) {
  .block_callout .callout_content {
    flex: 1 1 0;
  }
}
.block_callout .callout_content p {
  font-family: var(--font-stack-headings);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}
.block_callout .callout_content .callout_quote_wrap {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.block_callout .callout_content .callout_quote_wrap p {
  margin-bottom: 10px;
}
.block_callout .callout_content .callout_quote_wrap p.quote-by {
  font-size: var(--step-0);
  line-height: var(--lh-step-0);
  font-style: italic;
  text-align: right;
  font-weight: normal;
  margin: 0;
}
.block_callout .callout_content .callout_quote_wrap .fa {
  font-size: var(--step-4);
  color: #CCC;
}
.block_callout .callout_image {
  padding-block: 80px;
}

/* Columns Block */
.columns-block .column_headline {
  margin-bottom: 30px;
}
.columns-block .columns .column_image {
  aspect-ratio: 600/400;
  margin-bottom: 15px !important;
  border-radius: 0;
  overflow: hidden;
}
.columns-block .columns .column_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.columns-block .columns .column_image + h2,
.columns-block .columns .column_image + h3,
.columns-block .columns .column_image + h4,
.columns-block .columns .column_image + h5,
.columns-block .columns .column_image + h6 {
  margin-top: 0;
}
.columns-block .columns .column_icon {
  margin-bottom: 15px !important;
  text-align: center;
}
.columns-block .columns .column_icon i {
  font-size: 50px;
  line-height: 50px;
}
.columns-block.block_background_dark .column_headline, .columns-block.block_background_light .column_headline {
  margin-top: 0;
}
.columns-block.block_background_dark .columns, .columns-block.block_background_light .columns {
  gap: var(--grid-gap) var(--grid-gap);
}
.columns-block.block_background_dark .col *:first-child, .columns-block.block_background_light .col *:first-child {
  margin-top: 0;
}
.columns-block.block_background_dark .col *:last-child, .columns-block.block_background_light .col *:last-child {
  margin-bottom: 0;
}

/* Events Box Block */
.events-box-block {
  margin-top: 80px;
}
.events-box-block .events-past-wrap,
.events-box-block .events-upcoming-wrap {
  padding-block: 80px;
}
.events-box-block .events-upcoming-wrap {
  background-color: #EDEBE9;
}
.events-box-block .event-title-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.events-box-block .events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 1200px) {
  .events-box-block .events-grid {
    grid-template-columns: 1fr;
    max-width: min(800px, 100%);
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  .events-box-block .events-grid {
    max-width: min(285px, 100%);
  }
}
.events-box-block .events-grid .event-item {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 20px;
  background-color: #fff;
  align-items: center;
}
@media (max-width: 600px) {
  .events-box-block .events-grid .event-item {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.events-box-block .events-grid .event-item .image-wrap {
  width: 285px;
  height: 285px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 600px) {
  .events-box-block .events-grid .event-item .image-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}
.events-box-block .events-grid .event-item .image-wrap img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.events-box-block .events-grid .event-item .event-content {
  padding: 20px;
  padding-left: 0;
}
@media (max-width: 600px) {
  .events-box-block .events-grid .event-item .event-content {
    padding: 30px 20px;
  }
}
.events-box-block .events-grid .event-item .event-content h3 {
  margin: 0 0 5px 0;
}
.events-box-block .events-grid .event-item .event-content .event-location {
  margin: 0;
}
.events-box-block .events-grid .event-item .event-content .event-date {
  margin: 0 0 15px 0;
}

body.home .events-box-block.block_size_full {
  margin-top: 0 !important;
}
body.home .events-box-block.block_size_full .events-upcoming-wrap {
  background-color: transparent;
}

.editor-styles-wrapper .events-box-block.block_size_full.home-events-block {
  margin-top: 0 !important;
}
.editor-styles-wrapper .events-box-block.block_size_full.home-events-block .events-upcoming-wrap {
  background-color: transparent;
}

/* Feature Box Block */
.feature-box-block {
  background-color: #CCC;
  padding-block: 80px;
  background-color: var(--feature-box-block-background);
  text-align: center;
  margin-block: 50px;
}
.feature-box-block p {
  max-width: min(900px, 100%);
  margin-inline: auto;
}
.feature-box-block .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.feature-box-block .features-grid .feature-item .image-wrap {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  margin-inline: auto;
  max-width: min(350px, 100%);
}
.feature-box-block .features-grid .feature-item .image-wrap img {
  display: block;
  margin: 0;
}
.feature-box-block .features-grid .feature-item h3 {
  font-size: var(--step-2);
  line-height: var(--lh-step-1);
  margin-bottom: 10px;
  margin: 0 auto;
  transition-duration: 0.25s;
}
.feature-box-block .features-grid .feature-item[href] h3 {
  color: var(--link-color-main);
}
.feature-box-block .features-grid .feature-item[href]:hover h3 {
  color: var(--link-color-main-hover);
}

/* Form Columns Block */
.form-columns-block {
  margin-block-end: 50px;
}
.form-columns-block .columns {
  --grid-min-col-size: 350px;
}

/* Gallery Block */
.gallery-block {
  margin-block: 80px;
}
@media (max-width: 767px) {
  .gallery-block {
    margin-block: 50px;
  }
}
.gallery-block img {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 285/285;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.gallery-block .gallery_view_more {
  margin-top: 30px;
  text-align: center;
}

.gallery_custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 13.1506849315px + 0.0136986301 * 100vw, 30px);
}
.gallery_custom img {
  aspect-ratio: 600/400;
}
.gallery_custom a:nth-child(n+5) {
  display: none;
}

/*	Heading Block  */ /*	Heading Intro Block  */
.heading-intro-box {
  margin-block-end: 80px;
}
@media (max-width: 767px) {
  .heading-intro-box {
    margin-block-end: 50px;
  }
}
.heading-intro-box .heading-intro-box-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 900px) {
  .heading-intro-box .heading-intro-box-wrap {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.heading-intro-box .heading-intro-box-wrap *:first-child {
  margin-top: 0;
}
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap .small-text {
  font-size: var(--step-2);
  font-family: var(--font-stack-headings);
  margin-bottom: 10px;
}
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap h2,
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap h3,
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap h4,
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap h5,
.heading-intro-box .heading-intro-box-wrap .heading-title-wrap h6 {
  margin-top: 0;
}

.heading-intro-box.block_size_full {
  margin-block-end: 0;
}

/*	Highlight Box - Image, image grid, video and Text  */
.highlight-box {
  display: flex;
  margin-block: 80px;
  margin-inline: auto;
  gap: 30px;
}
@media (max-width: 767px) {
  .highlight-box {
    margin-block: 50px;
  }
}
@media (max-width: 900px) {
  .highlight-box {
    flex-direction: column !important;
    width: 600px;
    max-width: 100%;
    margin-inline: auto;
  }
  .highlight-box .media {
    flex: 0 0 100% !important;
  }
}
.highlight-box.right {
  flex-direction: row-reverse;
}
.highlight-box .media {
  flex: 0 0 calc(50% - 15px);
}
.highlight-box .media.square {
  flex: 0 0 375px;
}
.highlight-box img {
  height: auto;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 600/400;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.highlight-box img.image-square {
  aspect-ratio: 1/1;
}
.highlight-box .grid {
  --gap: 30px;
  --image-large: calc(67.5% - var(--gap)/2);
  --image-small: calc(32.5% - var(--gap)/2);
  display: grid;
  grid-template-columns: var(--image-large) var(--image-small);
  gap: var(--gap);
}
@media (max-width: 640px) {
  .highlight-box .grid {
    --gap: 20px;
  }
}
.highlight-box .grid img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  aspect-ratio: 1/1;
}
.highlight-box .grid *:first-child {
  grid-row: span 2;
}
.highlight-box .text {
  display: flex;
  align-items: center;
}

.highlight-box-wrap.block_background_light,
.highlight-box-wrap.block_background_dark {
  width: 100%;
  max-width: 100%;
  padding-inline: 0;
}
.highlight-box-wrap.block_background_light .highlight-box,
.highlight-box-wrap.block_background_dark .highlight-box {
  --width--max: 1230px;
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

/*	Home Elevator Box  */
.home-elevator-wrap {
  background-color: #4B9D45;
  padding-block: 80px;
}

.home-elevator {
  display: flex;
  gap: 30px;
}
.home-elevator.right {
  flex-direction: row-reverse;
}
.home-elevator .media {
  flex: 0 0 calc(50% - 15px);
}
.home-elevator img {
  height: auto;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}
.home-elevator .grid {
  --gap: 30px;
  --image-large: calc(67.5% - var(--gap)/2);
  --image-small: calc(32.5% - var(--gap)/2);
  display: grid;
  grid-template-columns: var(--image-large) var(--image-small);
  gap: var(--gap);
}
@media (max-width: 640px) {
  .home-elevator .grid {
    --gap: 20px;
  }
}
.home-elevator .grid img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.home-elevator .grid *:first-child {
  grid-row: span 2;
}
.home-elevator .text {
  display: flex;
  align-items: center;
}
@media (max-width: 900px) {
  .home-elevator {
    flex-direction: column !important;
    width: 600px;
    max-width: calc(100% - 40px);
    margin-inline: auto;
  }
  .home-elevator .media {
    flex: 0 0 100% !important;
  }
}

/* Home header */
.home-header-block {
  margin-bottom: 80px;
}
@media (max-width: 600px) {
  .home-header-block {
    margin-bottom: 50px;
  }
}

.home-header {
  position: relative;
}
.home-header .wrapper {
  padding-top: 20px;
  padding-left: 30px;
}
@media (max-width: 600px) {
  .home-header .wrapper {
    padding-left: 0;
  }
}
.home-header .header-banner-text {
  transition-delay: 0.5s;
}
.home-header.header-video:has(video) .header-banner-text, .home-header.header-slideshow:has(.banner_slideshow_wrapper) .header-banner-text {
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  transition-delay: 0.5s;
  opacity: 0;
}
.home-header.header-video:has(video) .header-banner-text.show, .home-header.header-slideshow:has(.banner_slideshow_wrapper) .header-banner-text.show {
  opacity: 1;
  transform: translateY(0);
}
.home-header.header-banner .banner-image, .home-header.header-banner-jumbo .banner-image {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media (max-width: 1200px) {
  .home-header.header-banner .banner-image, .home-header.header-banner-jumbo .banner-image {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .home-header.header-banner .banner-image, .home-header.header-banner-jumbo .banner-image {
    height: 250px;
  }
}
.home-header.header-video .header-video-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}
@media (max-width: 1200px) {
  .home-header.header-video .header-video-wrapper {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .home-header.header-video .header-video-wrapper {
    height: 250px;
  }
}
.home-header.header-video video,
.home-header.header-video .placeholder-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media (max-width: 1200px) {
  .home-header.header-video video,
.home-header.header-video .placeholder-image {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .home-header.header-video video,
.home-header.header-video .placeholder-image {
    height: 250px;
  }
}
.home-header.header-video video {
  display: none;
}
.home-header.header-video .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top: 4px solid #FFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.home-header.header-slideshow .placeholder-image {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 20;
}
@media (max-width: 1200px) {
  .home-header.header-slideshow .placeholder-image {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .home-header.header-slideshow .placeholder-image {
    height: 250px;
  }
}
.home-header.header-slideshow .banner_slideshow_wrapper {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.home-header.header-slideshow .banner_slideshow_wrapper:has(.slick-initialized) {
  opacity: 1;
}
.home-header.header-slideshow .home_slideshow {
  width: 100%;
  height: auto;
  z-index: 20;
}
.home-header.header-slideshow .home_slideshow .slide {
  height: auto;
}
.home-header.header-slideshow .home_slideshow .slide a:hover h2 {
  color: var(--link-color-main-hover);
}
.home-header.header-slideshow .home_slideshow img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media (max-width: 1200px) {
  .home-header.header-slideshow .home_slideshow img {
    height: 400px;
  }
}
@media (max-width: 600px) {
  .home-header.header-slideshow .home_slideshow img {
    height: 250px;
  }
}
.home-header.header-slideshow .home_slideshow .slick-prev,
.home-header.header-slideshow .home_slideshow .slick-next {
  z-index: 1;
}
.home-header.header-slideshow .home_slideshow .slick-prev:before,
.home-header.header-slideshow .home_slideshow .slick-next:before {
  transition-duration: 0.25s;
  color: #999999;
}
.home-header.header-slideshow .home_slideshow .slick-prev:hover:before,
.home-header.header-slideshow .home_slideshow .slick-next:hover:before {
  opacity: 0.8;
  color: var(--link-color-main-hover);
}
.home-header.header-slideshow .home_slideshow .slick-prev {
  left: -50px;
}
.home-header.header-slideshow .home_slideshow .slick-next {
  right: -50px;
}
.home-header.header-slideshow .home_slideshow .slick-dots {
  position: absolute;
  bottom: 15px;
  right: 0;
  display: block;
  width: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
.home-header.header-slideshow .home_slideshow .slick-dots li button {
  background-color: #4B9D45;
}
.home-header.header-slideshow .home_slideshow .slick-dots li.slick-active button {
  background-color: #0063A6;
}
.home-header.header-slideshow .home_slideshow .slick-dots li button:before {
  display: none;
}

.home-header-block:has(+ .block_size_full),
.home-header-block:has(+ .block_anchor + .block_size_full) {
  margin-bottom: 0;
}

.wp-block-cdev-home-header + .wp-block:has(.block_size_full) ~ .wp-block-cdev-home-header .home-header-block {
  margin-bottom: 0;
}

.wp-block-cdev-home-header:has(+ .wp-block .block_size_full) .home-header-block {
  margin-bottom: 0;
}

/* Video Block */
.image-block {
  margin-block: 100px;
}
@media (max-width: 767px) {
  .image-block {
    margin-block: 50px;
  }
}
.image-block img {
  width: 100%;
  height: auto;
  border-radius: 0;
  overflow: hidden;
}

/* Page header */
.page-header-block {
  margin-bottom: 50px;
}

.page-header {
  background-color: transparent;
}
.page-header .wrapper {
  max-width: min(1370px, 100%);
  margin-inline: auto;
  padding-top: 20px;
}
.page-header .header-banner-text {
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  transition-delay: 0.5s;
}
.page-header .header-banner-text.show {
  opacity: 1;
  transform: translateY(0);
}
.page-header .placeholder-image {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media (max-width: 767px) {
  .page-header .placeholder-image {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .page-header .placeholder-image {
    height: 200px;
  }
}
.page-header .banner-image {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media (max-width: 767px) {
  .page-header .banner-image {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .page-header .banner-image {
    height: 200px;
  }
}
.page-header.header-video video {
  width: 100%;
  height: 400px;
  display: none;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 767px) {
  .page-header.header-video video {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .page-header.header-video video {
    height: 200px;
  }
}
.page-header.header-video .loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top: 4px solid #FFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.page-header.header-slideshow .banner_slideshow_wrapper {
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.page-header.header-slideshow .banner_slideshow_wrapper:has(.slick-initialized) {
  opacity: 1;
}
.page-header.header-slideshow .banner_slideshow {
  width: 100%;
  height: 400px;
  z-index: 20;
}
@media (max-width: 767px) {
  .page-header.header-slideshow .banner_slideshow {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .page-header.header-slideshow .banner_slideshow {
    height: 200px;
  }
}
.page-header.header-slideshow .banner_slideshow .slide {
  position: relative;
  height: 400px;
}
@media (max-width: 767px) {
  .page-header.header-slideshow .banner_slideshow .slide {
    height: 300px;
  }
}
@media (max-width: 600px) {
  .page-header.header-slideshow .banner_slideshow .slide {
    height: 200px;
  }
}
.page-header.header-slideshow .banner_slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
.page-header.header-slideshow .banner_slideshow .slick-prev,
.page-header.header-slideshow .banner_slideshow .slick-next {
  z-index: 1;
}
.page-header.header-slideshow .banner_slideshow .slick-prev:before,
.page-header.header-slideshow .banner_slideshow .slick-next:before {
  transition-duration: 0.25s;
  color: #999999;
}
.page-header.header-slideshow .banner_slideshow .slick-prev:hover:before,
.page-header.header-slideshow .banner_slideshow .slick-next:hover:before {
  opacity: 0.8;
  color: var(--link-color-main-hover);
}
.page-header.header-slideshow .banner_slideshow .slick-prev {
  left: -50px;
}
.page-header.header-slideshow .banner_slideshow .slick-next {
  right: -50px;
}

.block-editor-block-list__block .wrapper {
  margin-top: 0;
}

.page-header-block:has(+ .block_size_full),
.page-header-block:has(+ .block_anchor + .block_size_full) {
  margin-bottom: 0;
}

.wp-block-cdev-page-header + .wp-block:has(.block_size_full) ~ .wp-block-cdev-page-header .page-header-block {
  margin-bottom: 0;
}

.wp-block-cdev-page-header:has(+ .wp-block .block_size_full) .page-header-block {
  margin-bottom: 0;
}

/* Artwork Block and detail page */
.artwork_detail_wrapper {
  background-color: #EDEBE9;
  padding: 80px 0;
  margin-top: 50px;
}
.artwork_detail_wrapper .artwork_detail_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .artwork_detail_wrapper .artwork_detail_content {
    display: flex;
    flex-direction: column-reverse;
  }
}
.artwork_detail_wrapper .artwork_detail_content .details_wrapper {
  margin-bottom: 50px;
}
.artwork_detail_wrapper .artwork_detail_content .details_wrapper a.box {
  margin-top: 20px;
}
.artwork_detail_wrapper .artwork_detail_content .artwork_image_wrapper {
  display: flex;
  justify-content: center;
}
.artwork_detail_wrapper .artwork_detail_content .artwork_image_wrapper img {
  max-width: 100%;
  height: auto;
}

/* Quote Block */
.quote-block {
  width: min(800px, 100% - 40px);
  max-width: 100%;
  margin-inline: auto;
  margin-block: 80px;
}
.quote-block img {
  border-radius: 50%;
  overflow: hidden;
}
.quote-block .quote-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quote-block .quote-text p {
  font-size: var(--step-3);
  line-height: var(--lh-step-3);
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.quote-block .quote-text .fa {
  font-size: var(--step-3);
  color: #CCC;
  padding-right: 10px;
}
.quote-block p.by {
  font-size: var(--step-1);
  line-height: var(--lh-step-1);
  font-weight: 400;
  text-align: center;
}

.quote-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Slideshow Block */
.slideshow-block {
  margin-block: 50px;
}

.cdev_block.slideshow-block ul li::before {
  display: none !important;
}

/* Stop Chrome Slick Flicker */
.slick-slide {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.slideshow {
  width: 100%;
  opacity: 0;
  transition-duration: 0.25s;
  margin: 0 auto 30px auto !important;
}

.slideshow.slick-initialized {
  opacity: 1;
}

.slideshow .slide {
  width: 100%;
}
.slideshow .slide img {
  display: block;
  width: 100%;
  height: auto;
}
.slideshow .slide p.slide-caption {
  font-size: 16px;
  line-height: 24px;
  color: #666;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Arrows */
.slideshow .slick-prev, .slideshow .slick-next {
  width: 30px;
  height: 50px;
}

.slideshow .slick-prev {
  left: -40px;
  z-index: 99;
}

.slideshow .slick-next {
  right: -40px;
  z-index: 99;
}

.slideshow .slick-prev:before,
.slideshow .slick-next:before {
  font-size: 40px;
  line-height: 40px;
  width: 30px;
  text-align: center;
  opacity: 1;
  color: #BFBFBF;
  transition-duration: 0.25s;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.slideshow .slick-prev:hover:before,
.slideshow .slick-next:hover:before {
  color: #0063A6;
}

:root {
  --slideshow-dot-width: 16px;
  --slideshow-dot-height: 16px;
  --slideshow-dot-margin: 6px;
  --slideshow-dot-bg: #4B9D45;
  --slideshow-dot-bg-active: #0063A6;
}

.slideshow .slick-dots {
  margin: 0 !important;
  bottom: -30px;
}
.slideshow .slick-dots li {
  width: var(--slideshow-dot-width);
  height: var(--slideshow-dot-height);
  margin: 0 var(--slideshow-dot-margin) !important;
  padding: 0 !important;
}
.slideshow .slick-dots li button {
  width: 100%;
  height: 100%;
  line-height: var(--slideshow-dot-height) !important;
  font-size: 1px !important;
}
.slideshow .slick-dots li button:before {
  width: 100%;
  height: 100%;
  content: "" !important;
  opacity: 1 !important;
  color: transparent !important;
  background-color: var(--slideshow-dot-bg) !important;
  transition-duration: 0.25s !important;
  display: block;
  border-radius: 0 !important;
}
.slideshow .slick-dots li.slick-active button:before,
.slideshow .slick-dots li:hover button:before {
  background-color: var(--slideshow-dot-bg-active) !important;
}

/* Spacer Block */
.spacer-block.spacer-small {
  height: 30px;
}
.spacer-block.spacer-medium {
  height: 50px;
}
.spacer-block.spacer-large {
  height: 80px;
}
.spacer-block.spacer-xlarge {
  height: 100px;
}

.block-editor-block-list__block .spacer-block {
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-editor-block-list__block .spacer-block:before {
  content: "Spacer Block (admin note)";
  display: block;
  font-family: var(--font-stack-base);
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  line-height: 20px;
  color: #CCC;
}

/* Video Block */
.video-block {
  margin-block: 100px;
}
@media (max-width: 767px) {
  .video-block {
    margin-block: 50px;
  }
}

.video-block.block_background_light,
.video-block.block_background_dark {
  max-inline-size: none;
  padding-block: 80px;
  margin-block: 0;
}
.video-block.block_background_light .video-wrapper,
.video-block.block_background_dark .video-wrapper {
  --width--max: var(--width--content);
  margin-inline: auto;
  max-inline-size: min(100% - var(--width--site-gutter) * 2, var(--width--max));
}

.video-wrapper {
  border-radius: 0;
  overflow: hidden;
}
.video-wrapper .video {
  position: relative;
  aspect-ratio: 16/9;
  height: auto;
}
.video-wrapper .video > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*	--------------------------------------------------
   	Sidebar
	-------------------------------------------------- */
/*	--------------------------------------------------
   	Blog
	-------------------------------------------------- */
/* Blog Header */
.blog_header {
  display: flex;
  align-items: baseline;
  margin: 0 0 50px 0;
  gap: 30px;
}

.blog_header ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.blog_header ul li {
  list-style: none;
  margin: 0;
}

.blog_header ul li a {
  display: block;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--link-color-main);
}

.blog_header ul li a:hover,
.blog_header ul li.active a {
  font-weight: 700;
  color: var(--link-color-main-hover);
}

@media (max-width: 767px) {
  .blog_header ul {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/* Blog Grid */
.bloggrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 40px 30px;
}

.blogitem h3 {
  margin-top: 0;
}

@media (max-width: 600px) {
  .bloggrid {
    max-width: 285px;
    margin-left: auto;
    margin-right: auto;
  }
}
/*	--------------------------------------------------
   	Pager
	-------------------------------------------------- */
ul.pager {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#nav-below {
  margin: 30px 0 0 0;
}

ul.pager li {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

ul.pager a {
  display: inline-block;
  margin: 0;
  padding: 7px 14px;
  font-family: var(--font-stack-base);
  font-size: 22px;
  line-height: 28px;
  color: #FFF;
  text-decoration: none;
  font-style: normal !important;
  font-weight: 600 !important;
  position: relative;
  background: var(--link-color-main);
  transition-duration: 0.25s;
  border-radius: 6px;
}

ul.pager a:visited {
  color: #FFF;
  text-decoration: inherit;
  font-weight: inherit;
}

ul.pager a:after {
  font-size: 16px;
  content: "\f054";
  padding-left: 6px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

ul.pager a:hover {
  color: #FFF;
  text-decoration: inherit;
  font-weight: inherit;
  background: var(--link-color-main-hover);
  text-decoration: none !important;
}

ul.pager .previous a:before {
  font-size: 16px;
  content: "\f053";
  padding-right: 6px;
  font-weight: 900;
  font-family: "Font Awesome 6 Free";
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

ul.pager .previous a:after {
  display: none;
}

/* Mobile */
/*	--------------------------------------------------
   	Footer
	-------------------------------------------------- */
.mailing-list-bar {
  background-color: #4B9D45;
  padding: 25px 0;
  color: #FFF;
  font-family: var(--main-font-stack-base);
}
.mailing-list-bar .mailing-list-bar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 15px 30px;
}
.mailing-list-bar .mailing-list-bar-content h4 {
  margin: 0;
  font-size: var(--step-3);
  line-height: var(--lh-step-3);
  font-weight: 600;
  color: #FFF;
  font-family: var(--main-font-stack-headings);
}
.mailing-list-bar .mailing-list-bar-content .form {
  width: 400px;
}

#gform_wrapper_2 {
  margin: 0 !important;
}
#gform_wrapper_2 .gform_validation_errors {
  display: none !important;
}
#gform_wrapper_2 .gfield {
  position: relative;
}
#gform_wrapper_2 .gfield input {
  width: 200px !important;
  box-shadow: none !important;
  border: 1px solid #CCCCCC !important;
  height: 44px !important;
  border-radius: 6px !important;
}
#gform_wrapper_2 .validation_message {
  position: absolute;
  left: 0;
  top: 38px;
  color: #FFF;
}

#gform_2 {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
}

#gform_confirmation_wrapper_2 {
  color: #FFF;
  font-size: var(--step-1);
  line-height: var(--lh-step-1);
  margin: 0 !important;
  padding: 4px 0 0 0 !important;
}

#colophon {
  padding: 60px 0 100px 0;
}

.site-footer {
  background: #00497A;
  color: #FFF;
}
.site-footer p {
  color: #FFF;
  font-family: var(--main-font-stack-base);
}
.site-footer a {
  color: #FFF;
  font-weight: 400;
  text-decoration: underline;
  transition-duration: 0.25s;
}
.site-footer a:hover {
  color: #4B9D45;
}

.footercolumns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 10px 20px;
}
.footercolumns .name b,
.footercolumns .name strong {
  font-size: var(--step-2);
  line-height: var(--lh-step-2);
}
.footercolumns .contact {
  padding-top: var(--lh-step-2);
  padding-left: 15px;
}
@media (max-width: 740px) {
  .footercolumns {
    flex-direction: column;
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
  }
  .footercolumns .contact {
    padding-left: 0;
    padding-top: 0;
  }
}

.site-branding-footer {
  width: 89px;
  height: 89px;
  margin: 0;
  padding: 0;
}
@media (max-width: 740px) {
  .site-branding-footer {
    align-self: center;
  }
}

.site-branding-footer a {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  text-indent: -4000px;
  background: url(images/logo_footer.png) no-repeat;
  background-size: contain;
}

/*	--------------------------------------------------
   	Form - Gravity Forms (labels inside)
	-------------------------------------------------- */
/* Theme */
.gform_wrapper {
  margin-bottom: 50px !important;
}

.gform_wrapper .gform_fields {
  grid-column-gap: 16px !important;
  grid-row-gap: 16px !important;
}

.gform_wrapper h3 {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 32px !important;
  font-weight: 600 !important;
  margin: 0 0 -10px 0 !important;
}

.gform_wrapper p {
  margin-bottom: 10px !important;
}

.gform_wrapper input[type=color],
.gform_wrapper input[type=date],
.gform_wrapper input[type=datetime-local],
.gform_wrapper input[type=datetime],
.gform_wrapper input[type=email],
.gform_wrapper input[type=month],
.gform_wrapper input[type=number],
.gform_wrapper input[type=password],
.gform_wrapper input[type=search],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=text],
.gform_wrapper input[type=time],
.gform_wrapper input[type=url],
.gform_wrapper input[type=week],
.gform_wrapper select,
.gform_wrapper textarea {
  font-family: var(--font-stack-base) !important;
  font-size: 16px !important;
  line-height: 22px !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid #CCCCCC !important;
  outline: none !important;
}

.gform_wrapper select {
  padding: 11px 10px !important;
}

.gform_wrapper textarea.textarea {
  font-family: var(--font-stack-base) !important;
  font-size: 16px !important;
  line-height: 22px !important;
  height: 120px !important;
  display: block !important;
  margin: 0 !important;
}

/* Address */
.gform_wrapper .ginput_container_address {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gform_wrapper .ginput_container_address span {
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .ginput_container_address span.address_line_1 {
  margin-bottom: 16px !important;
}

.gform_wrapper .ginput_container_address span.address_city {
  flex: 0 0 40% !important;
}

.gform_wrapper .ginput_container_address span.address_state {
  flex: 0 0 calc(40% - 16px) !important;
  margin-left: 16px !important;
}

.gform_wrapper .ginput_container_address span.address_zip {
  flex: 0 0 calc(20% - 16px) !important;
  margin-left: 16px !important;
}

/* Submit */
.gform_wrapper .gform_footer, .gform_wrapper .gform_page_footer {
  margin: 0 !important;
  padding: 0 !important;
}

.gform_wrapper .gform_footer input[type=submit] {
  display: inline-block;
  margin: 0;
  padding: 7px 14px !important;
  font-family: var(--font-stack-base);
  font-size: 22px !important;
  line-height: 28px !important;
  color: #FFF !important;
  text-decoration: none;
  font-style: normal !important;
  font-weight: 600 !important;
  position: relative;
  background: #0063A6 !important;
  transition-duration: 0.25s;
  border-radius: 6px !important;
  border: none !important;
  -webkit-appearance: none;
  outline: none !important;
  box-shadow: none !important;
}

.gform_wrapper .gform_footer input[type=submit]:hover {
  background: #00497A !important;
  cursor: pointer !important;
}

/* Error */
h2.gform_submission_error {
  text-transform: none;
}

p.gform_required_legend {
  display: none;
}

.gform_wrapper .gform_validation_errors {
  background: #fff9f9;
  border: 1.5px solid #c02b0a;
  border-radius: 5px;
  box-shadow: none !important;
  margin-bottom: 8px;
  margin-top: 8px;
  padding: 15px 15px 15px 50px !important;
  position: relative;
  width: 100%;
}
.gform_wrapper .gform_validation_errors:focus {
  outline: none !important;
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  background: transparent !important;
  border: none !important;
  font-size: 13px !important;
  margin-top: 8px;
  padding: 0 !important;
}

/* Placeholder color */
.gform_wrapper .gform_fields .gfield input::-webkit-input-placeholder,
.gform_wrapper .gform_body .gform_fields .gfield textarea::-webkit-input-placeholder,
.ginput_container_select select:first-child {
  color: var(--font-color-base-light);
}

/* Focus color */
.gfield input[type=text]:focus,
.gfield input[type=email]:focus,
.gfield input[type=tel]:focus,
.gfield input[type=url]:focus,
.gfield input[type=number]:focus,
.gfield input[type=password]:focus,
.gfield select:focus,
.gfield textarea:focus {
  border: 1px solid #777 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  line-height: 22px !important;
  padding: 10px !important;
  outline: none !important;
}

.gfield select:focus {
  padding: 11px 10px !important;
}

/* Focus visible */
.gfield :focus-visible {
  outline: none !important;
}

.gform_ajax_spinner {
  margin: 5px 0 0 20px !important;
  width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
}

/*	--------------------------------------------------
	Print
	-------------------------------------------------- */
.showprint {
  display: none;
}

@media print {
  body {
    padding: 20px !important;
  }
  .container {
    padding: 0;
    margin: 0;
  }
  .showprint {
    display: block;
  }
  .hideprint {
    display: none;
  }
  .printlogo {
    margin: 15px 0;
  }
  .header-pad {
    display: none;
  }
  .page-header {
    margin: 0;
    padding: 0;
  }
  .page-header .wrap {
    display: block;
    height: auto;
  }
  .page-header h1 {
    color: #000;
    padding: 0;
    margin: 0 0 20px 0;
  }
  .main-content-inner {
    margin: 0;
  }
  p {
    margin: 0 0 20px 0;
  }
  #colophon a {
    display: none !important;
  }
}