/* Color Variables
------------------------------------------------------- */
:root {
  --primary-color: #002554;
  --secondary-color: #888b8d;
  --third-color: #0f4584;
  --fourth-color: #f5f5f5;
  --text-color: #58585a;
  --basic-radius: 0px;
  --img-shadow: 7px 7px 12px 0 rgba(0, 0, 0, 0.35);
  --button-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
  --button-hover-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.75);
  --text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  --top-shadow: 0 -10px 20px -5px rgba(0, 0, 0, 0.25);
}

/* Flatsome Tooltip
------------------------------------------------------- */
.tooltipster-base {
  display: none;
}

/* General Styles
------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-margin-block-start: 145px;
  text-wrap: pretty;
}

div.col {
  padding: 0 15px;
}

.row-large>.col {
  padding: 0 30px !important;
}

div.col.pb-1 {
  padding: 0 15px 30px;
}

body h1,
.h1,
body h2,
.h2,
body h3,
.h3,
body h4,
.h4,
body h5,
.h5,
body h6,
.h6 {
  text-transform: uppercase;
  letter-spacing: 0 !important;
  text-wrap: balance;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 800;

}

body h3,
.h3,
body h4,
.h4,
body h5,
.h5,
body h6,
.h6 {
  font-weight: 700;
}

.inverse h1,
.inverse .h1,
.inverse h2,
.inverse .h2,
.inverse h3,
.inverse .h3,
.inverse h4,
.inverse .h4,
.inverse h5,
.inverse .h5,
.inverse h6,
.inverse .h6,
.inverse .banner h1,
.inverse .banner h2 {
  color: #fff;
}

h1,
.h1 {
  font-size: 3em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* .dark h2,
.dark .h2,
.dark h4,
.dark .h4,
body h2,
body .h2,
body h4,
body .h4 {
  color: var(--secondary-color);
} */

.banner h1 {
  font-size: 2.75em;
}

.box-text-inner h1,
.box-text-inner h2,
.box-text-inner h3,
.box-text-inner h4,
.box-text-inner h5,
.box-text-inner h6 {
  text-wrap: pretty;
}

.preheadline {
  font-size: 0.7em;
  margin-bottom: 0;
  font-weight: 400 !important;
}

.inverse .preheadline {
  color: var(--primary-color);
}



.primary-color {
  color: var(--primary-color);
}

.secondary-color {
  color: var(--secondary-color);
}

.third-color {
  color: var(--third-color);
}

.fourth-color {
  color: var(--fourth-color);
}

.primary-background {
  background-color: var(--primary-color);
}

.secondary-background {
  background-color: var(--secondary-color);
}

.third-background {
  background-color: var(--third-color);
}

.fourth-background {
  background-color: var(--fourth-color);
}

.text-bold {
  font-weight: bold;
}

a:not(.button) {
	font-weight: 600;
}

.button:not(.icon),
button:not(.toggle):not(.flickity-button):not(.ux-search-submit) {
  min-width: 200px;
  font-weight: 400;
  border: none;
  padding-block: 5px;
  /* font-size: 1.1em; */
}

.button.primary:hover,
button.primary:hover {
  color: hsl(212, 80%, 60%);
}

.button.secondary:hover,
button.secondary:hover {
  color: var(--primary-color);
}

body ol,
body ul {
  padding: 0 0 0 10px;
}

/* h2:has(.preheadline),
h3:has(.preheadline) {
  line-height: 0.8;
} */

.dark .preheadline {
  filter: brightness(1.5);
}

body .wp-caption figcaption.wp-caption-text {
  background: #9245d130;
  border-radius: 10px;
  font-size: .8em;
}

div.col.alternating-text {
  max-width: 675px;
}

/* div.col.alternating-img .banner {
  border-radius: var(--basic-radius);
  overflow: hidden;
  box-shadow: var(--img-shadow);
} */

.columns-2 {
  column-width: 100px;
  column-count: 2;
  margin-bottom: 10px
}

.columns-2 a {
  display: block;
  width: fit-content;
}

.dont-break {
	text-wrap: nowrap !important;
}

/* Header
------------------------------------------------------- */
/* #header .stuck,
#header {
  border-top: solid 5px var(--primary-color);
  border-bottom: solid 5px var(--secondary-color);
  box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.75);
} */

#header .header-main {
  height: auto;
}

.header .nav-small a.icon:not(.button) {
  font-size: 1.2em;
}

/* Hero
------------------------------------------------------- */
.hero {
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}

.hero.banner .res-text p,
.hero.banner p {
  font-size: clamp(14px, 2vw, 1.25em);
}

/* Footer
------------------------------------------------------- */

#footer .col {
  padding-bottom: 1.5em;

}

#footer h4 {
  font-weight: 400;
  border-bottom: solid .5px rgba(67, 165, 255, 0.25);
}

#footer .footer-headline,
#footer .widget-title {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: var(--accent-color);
}

#footer .widget-title {
  font-size: 1.245em;
  font-weight: 800;
  font-family: 'Open Sans';
}

#footer .widget_nav_menu .is-divider {
  display: none;
}

#footer .widget a {
  display: block;
}

#footer .footer-1 .menu-item {
  border-right: solid 3px transparent;
  border-left: solid 1px hsla(0, 0%, 100%, .08);
  padding-left: 10px;
  font-size: 1.25em;
}

#footer .footer-1 .menu-item .menu-item {
  font-size: 1em;
}


#footer .footer-1 .menu-item:hover {
  border-right: solid 3px #fff;
  background-color: var(--third-color);
}

#footer .footer-1 .menu-item .menu-item:hover {
  border-right: solid 3px #fff;
  background-color: var(--primary-color);
}

#footer ul {
  padding: 0;
}

#footer .social-icons {
  display: flex;
  flex-direction: column;
}

.footer-2 {
  background-image: url(/wp-content/uploads/2024/07/noise-hero5.png);
  font-size: 0.9em;
}


#block_widget-5 {
  text-transform: uppercase;
}

#block_widget-5 i {
  margin-right: 10px;
}

#block_widget-5 a:hover {
  color: var(--accent-color);
}

#footer::before {
  content: '';
  filter: contrast(110%) brightness(70%);
  background-blend-mode: darken, luminosity;
}

#footer .button.is-link {
  text-align: left;
  line-height: 2;
  display: inline;
}

#footer .white.is-link {
  min-width: unset;
  margin-bottom: 0;
  min-height: unset;
  white-space: nowrap;
  line-height: 1;
}

#footer .white.is-link:hover {
  color: var(--secondary-color) !important;
  opacity: unset;
}

/* #footer i {
  color: var(--secondary-color);
} */

#footer .follow-icons {
  margin-top: 10px;
}

#footer .follow-icons i {
  font-size: 1.3em;
}

#footer .follow-icons i:hover {
  color: #fff !important;
}

.absolute-footer {
  border-top: solid 3px var(--secondary-color);
}

#footer .columns-2 {
  column-width: 175px;
  column-count: 2;
  margin-bottom: 10px
}

#footer .columns-2 a {
  display: block;
  width: fit-content;
}

.EHL-FDIC>img {
  background-color: #fff;
  margin-block-start: 10px;
}

/* forms
------------------------------------------------------- */
.gform_wrapper input:not([type='button']):not([type='submit']),
.gform_wrapper select,
.gform_wrapper textarea {
  border-radius: 100vw;
  border: 1px solid var(--primary-color);
}

.gform_wrapper textarea {
  border-radius: 20px !important;
}


.gform_wrapper.gravity-theme .gform_previous_button.button {
  background-color: var(--secondary-color);
  color: #fff;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
  background-color: var(--primary-color);
}

.gform_wrapper h4 {
  color: var(--secondary-color);
}

.gform_wrapper.gravity-theme .field_description_above .gfield_description:not(.instruction) {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: -10px;
}

.gform_wrapper.gravity-theme .gfield_description {
  padding-top: unset;
}

.gform_wrapper.gravity-theme .gfield_consent_description {
  border: unset;
  font-size: 0.9em;
  margin-top: 8px;
  max-height: unset;
  height: auto;
  overflow-y: unset;
  padding: 8px;
}

label {
  font-size: 15px;
}

.gform_wrapper.gravity-theme .gsection {
  padding: 2em 1em .5em 0;
}

.gform_wrapper.gravity-theme .gsection h3 {
  margin-bottom: 0;
}

.gform_wrapper.gravity-theme .top_label .gsection_description,
.gform_wrapper.gravity-theme .field_description_above .gsection_description,
.gform_wrapper.gravity-theme .gsection_description {
  margin: 0;
  padding: 0;
}

input.gform_button.button {
  background-color: var(--primary-color) !important;
  text-transform: uppercase !important;
  font-size: 1.2em !important;
  font-family: oso-sans-semicondensed, sans-serif !important;
  min-height: 2.5em !important;
  min-width: 200px !important;
}

input.gform_button.button:hover {
  color: var(--secondary-color) !important;
}

.gform-theme--foundation .gform_fields {
  row-gap: 10px !important;
}


/* Cards
------------------------------------------------------- */

.card {
  margin-block-end: 65px;
}

.card .box-text {
  margin: 20px 0 15px;
}

.card h3 {
  font-weight: 700;
}

/* keep card buttons at the bottom of the card */
/* buttons need to be placed outside of the image-box */
.card .col-inner {
  padding-bottom: 25px !important;
  height: 100%;
}

.card .button {
  margin: 0;
  position: absolute;
  bottom: 0px;
  left: 0;
  /* padding-block: 5px; */
}

/* .card .button span {
  display: inline-block;
} */

/* Accordion
------------------------------------------------------- */

.accordion-title h4 {
  margin-block-end: 0;
}

.accordion-title.active {
  background-color: #42a4ff25;
}

/* Home Page
------------------------------------------------------- */

/* Home Hero
----------------------------------------- */
.home-hero {
  background-image: linear-gradient(var(--gradient-angle),
      var(--primary-color),
      var(--secondary-color));
  border-bottom: solid 5px var(--primary-color);
}

.home-hero h1 {
  font-size: 1.5rem;
}


/* About block
----------------------------------------- */
.about-block>.col-inner {
  background: url(/wp-content/uploads/2025/07/about-block-text-bg.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.about-block>.col-inner>* {
  margin: 0 15% 20px 10%;
  width: auto;
}

.about-block>.col-inner>*:not(.button) {
  margin: 0 15% 20px 10%;
}

/* Service Areas block
----------------------------------------- */
.service-areas {
  border-top: solid 5px var(--primary-color);
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
}

/* contact block
----------------------------------------- */
.contact-block {
  box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Service Areas
------------------------------------------------------- */
.map>.img-inner {
  box-shadow: var(--img-shadow);
}

.service-areas-list ul {
  list-style-type: none;
}

.service-areas-list ul li {
  margin-left: 0;
}

/* About
------------------------------------------------------- */


/* Testimonials
------------------------------------------------------- */
.testimonials {
  margin-bottom: 1.75em;
}

/* .testimonial-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.25rem;
}

.testimonial-row {
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .testimonial-name {
    color: var(--secondary-color);
    font-size: 1.15rem;
  }

  h3 {
    color: var(--secondary-color);
  }

  &:nth-child(2n) {
    background-color: var(--accent-color);
    background-image: url(/wp-content/uploads/2024/07/noiseBG.jpg);

    h4,
    .testimonial-name {
      color: var(--primary-color);
    }
  }

  &:nth-child(4n) {
    background: var(--primary-color);
    color: #fff;

    h4,
    .testimonial-name {
      color: #fff;
    }
  }

  >div.col {
    max-width: 1370px;
    padding-block: 3rem;
  }
} */

/* Services
------------------------------------------------------- */
.services .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.services div.img img.size-full.alignnone {
  aspect-ratio: 10 / 6.5;
  margin-bottom: 0;
  object-fit: cover;
}

.services .box-text-inner p {
  --max-lines: 5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--max-lines);
}

.services a.button {
  max-width: 200px;
  margin-top: auto;
}

/* breadcrumbs
------------------------------------------------------- */
.banner p.breadcrumbs {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: -10px;
  font-weight: 400;
  text-transform: uppercase;
}

.banner p.breadcrumbs a {
  color: #fff;
}

.banner p.breadcrumbs a:hover {
  color: var(--secondary-color) !important;
}

/* misc
------------------------------------------------------- */
.bottom-shadow {
  box-shadow: var(--bottom-shadow);
}

p:has(>img.image) {
  position: relative;
  z-index: 0;
  margin-top: 10px;
  width: fit-content;
}

p.alignleft:has(>img.image) {
  margin-right: 2.5em;
}


.box .box-image,
.image>.img-inner,
img.image {
  box-shadow: var(--img-shadow);
}

/* image upper corner */
p:has(>img.image)::after,
.box-image::after,
.image>.img-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url(/wp-content/uploads/2025/07/img-upper-corner.png);
  background-position: top right;
  background-repeat: no-repeat;
  z-index: 1;
}

.box-image::after {
  background: url(/wp-content/uploads/2025/07/card-img-upper-corner.png);
  background-size: contain;
  background-position: unset;
  background-repeat: no-repeat;
}

a.button:not(.is-link) {
  box-shadow: var(--button-shadow);
}

.button:not(.is-link):hover {
  box-shadow: var(--button-hover-shadow);
}

/* div.image,
.box-image,
img.image {
  border-radius: var(--basic-radius);
  box-shadow: 0 7px 10px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

img.image {
  margin-bottom: 10px;
}

.box-image:hover+.box-text h2 a {
  color: var(--secondary-color);
}

.box-image:hover+.box-text a.button,
.box-text h2:hover~a.button {
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

.box-text-inner:has(a.button:hover) h2 a {
  color: var(--secondary-color);
}

.box-text-inner {}


.box-text-inner p {
  max-lines: 3;
} */

.noise {
  background-image: url(/wp-content/uploads/2024/07/noiseBG.jpg);
  background-repeat: repeat;
}

/* .noise::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(/wp-content/uploads/2024/07/noise-hero4.png);
    opacity: .55;
} */

ol ol,
ol ul,
ul ol,
ul ul {
  margin: 10px 0 0;
}

td {
  font-size: 1em;
}

td:nth-child(2) {
  font-weight: bold;
}

p.alignleft ~ ul {
  overflow: hidden;
}

/* Media Queries
------------------------------------------------------- */

/*************** ADD MEDIA QUERIES HERE  ***************/

@media screen and (max-width: 1100px) {
  .home-about {
    margin-top: 0px;
    border-top: 0;
  }

  .hide-for-medium {
    display: none !important;
  }

  .header-main .show-for-medium.flex-right {
    /* flex: 1 1 0; */
    order: 3;
  }

  .header-main .show-for-medium.flex-left {
    display: block;
  }

  /* .medium-logo-center .flex-right {
    flex: 1 1 0;
    order: 3;
  } */

  .medium-logo-center .logo {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    /* order: 2; */
    text-align: center;
    margin: 0 15px;
  }

  .header-inner .nav {
    flex-wrap: nowrap;
  }

  #masthead .flex-row {
    justify-content: center;
  }

  .stuck #masthead.header-main {
    height: 75px !important;
  }

  #masthead.header-main {
    height: 95px;
  }

  #header .header-wrapper:not(.stuck) #logo img {
    /* max-height: 90px;
    min-width: 245px; */
    max-height: 110px !important;
    margin-top: 5px;
  }

  /* #logo {
      display: none;
  } */

  .show-for-medium {
    display: block !important;
  }

  .header-main li.html.custom {
    display: inline-block;
  }

  #flags.size18 a {
    width: unset !important;
  }

  body .nav>li>a {
    font-weight: 600;
    font-size: .95em;
  }

  div.col.alternating-text {
    max-width: unset;
  }


}

@media (min-width: 1101px) {
  /* top bar
--------------------------------------- */
  /* #top-bar,
#masthead {
  margin: auto;
} */

  #top-bar {
    min-height: 60px;
  }

  #header #logo img {
    max-height: unset;
  }

  .logo-left .logo {
    margin-right: 15px;
  }

  #top-bar>.container>div:first-child {
    max-width: 325px;
  }

  #top-bar .nav>li a {
    text-transform: uppercase;
  }

  #top-bar .nav>li a>i {
    color: #fff
  }

  #top-bar .nav>li a>i:hover,
  #top-bar .nav>li a:hover,
  #top-bar .nav>li a.white.is-link:hover {
    color: var(--secondary-color) !important;
  }

  #top-bar .nav>li a.white.is-link {
    margin-left: 10px;
    min-width: unset;
    letter-spacing: unset;
  }

  .button i.icon-facebook {
    top: -1px;
  }

  /* .header-inner.flex-row {
  align-items: unset;
} */

  .header-inner .flex-col.hide-for-medium.flex-left.flex-grow {
    border-top: solid 2px #fff;
    height: 100%;
  }

  .nav-left {
    justify-content: space-between;
  }

  #logo a {
    margin-top: 5px;
    margin-bottom: -10px;
  }



  /* masthead
  --------------------------------------- */

  body #top-bar .nav>li>a {
    font-size: 1em;
  }

  /* .nav-dark .nav>li>a {
  color: #fff;
}

.nav-dark .nav>li>a:hover {
  color: hsla(0, 0%, 100%, 0.8);
}

.nav-dark .header-nav-main>li>a {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  color: var(--accent-color);
} */

  .nav-dropdown.nav-dropdown-simple>li>a:hover,
  .nav-dropdown-simple .nav-column li>a:hover {
    background-color: var(--third-color);
    color: #fff;
  }

  .inactive-link {
    cursor: default;
  }

  .off-canvas-left.dark .mfp-content {
    background-color: var(--primary-color);
  }

  #header .stuck #logo img,
  #header #logo img {
    max-height: unset !important;
  }

  .header-main .hide-for-medium.flex-right {
    display: none;
  }

  [data-show='show-for-medium'],
  .show-for-medium {
    display: none !important;
  }

  #logo a {
    margin-top: -50px;
    margin-bottom: -30px;
  }

  .mobile-logo {
    display: none;
  }

  body .nav>li>a {
    font-weight: 600;
    font-size: 1.25em;
  }

}

@media screen and (max-width: 849px) {
  .col.alternating-text.med-12 {
    max-width: 100%;
  }
}

@media screen and (max-width: 549px) {
  .about-block>.col-inner {
    background: rgb(0 37 84 / .8);
  }

  .about-block>.col-inner>* {
    margin: 20px !important;
  }

}