:root {
  --content-width: 64em;
  --content-max-width: 92%;
  --content-narrow-width: 48em;
  --content-wide-width: 85em;
  --dropdown-symbol-width: .7em;
  --height-featured-section: 100vh;
  --height-featured-section-small: 60vh;
  --height-featured-lanscape-small: calc(100vh - var(--margin-page-header-small));
  --height-page-header: 60vh;
  --height-page-header-small: 50vh;
  --height-page-header-land-small: calc(100vh - var(--margin-page-header-small));
  --margin-page-header: 7em;
  --margin-page-header-small: 4.85em;
  --global-font-family: "Poppins", serif;
  --highlight-font-family: "Poppins", "Helvetica Neue", "Arial Narrow", sans-serif;
  --icon-font-family: "Font Awesome 6 Pro";
  --global-font-size: 16;
  --global-font-line-height: 1.4;
  --font-size-small: calc(16 / var(--global-font-size) * 1rem);
  --font-size-regular: calc(var(--global-font-size) / 16 * 1rem);
  --font-size-large: calc(30 / var(--global-font-size) * 1rem);
  --font-size-larger: calc(40 / var(--global-font-size) * 1rem);
  --font-size-xlarger: calc(48 / var(--global-font-size) * 1rem);
  --global-menu-color: #2d2d2d;
  --global-menu-hover-color: var(--color-theme-primary);
  --global-menu-dropdown-background-color: #bfbfbf;
  --global-button-color: #fff;
  --global-button-background-color: var(--color-theme-primary);
  --global-font-color: #2d2d2d;
  --global-font-color-light: #fff;
  --background-color: #fff;
  --background-dark-color: #2c2c2c;
  --content-background-color: #fff;
  --sub-content-background-color: #f6f6f6;
  --header-background-color: #ffffffbf;
  --footer-background-color: var(--color-theme-primary);
  --border-color-dark: #2c2c2c;
  --border-color-light: #ccc;
  --color-link: var(--color-theme-primary);
  --color-link-visited: #333;
  --color-link-active: var(--color-theme-primary);
  --color-quote-border: #000;
  --color-quote-citation: #6c7781;
  --color-theme-primary: #426794;
  --color-theme-secondary: #727373;
  --color-theme-third: #f4f4f4;
  --color-theme-red: #c0392b;
  --color-theme-green: #27ae60;
  --color-theme-blue: #2980b9;
  --color-theme-yellow: #f1c40f;
  --color-theme-black: #000;
  --color-theme-grey: #2c2c2c;
  --color-theme-white: #fff;
  --color-custom-daylight: #97c0b7;
  --color-custom-sun: #eee9d1;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  margin: .67em 0;
  font-size: 2em;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace;
  font-size: 1em;
}

a {
  background-color: #0000;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
}

b, strong {
  font-weight: 700;
}

code, kbd, samp {
  font-family: monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

img {
  border-style: none;
}

button, input, optgroup, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="reset"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted buttontext;
}

[type="button"]:-moz-focusring {
  outline: 1px dotted buttontext;
}

[type="reset"]:-moz-focusring {
  outline: 1px dotted buttontext;
}

[type="submit"]:-moz-focusring {
  outline: 1px dotted buttontext;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  white-space: normal;
  max-width: 100%;
  padding: 0;
  display: table;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button {
  height: auto;
}

[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template, [hidden] {
  display: none;
}

body, button, input, select, optgroup, textarea {
  color: var(--global-font-color);
  font-family: var(--global-font-family);
  font-size: var(--font-size-regular);
  line-height: var(--global-font-line-height);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--highlight-font-family);
  text-transform: uppercase;
  clear: both;
  margin: .5em 0;
  font-weight: 400;
  font-stretch: condensed;
}

.highlight-font {
  font-family: var(--highlight-font-family);
}

.body-font {
  font-family: var(--global-font-family);
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2.15em;
}

h3 {
  font-size: 1.85em;
}

h4 {
  font-size: 1.68em;
}

h5 {
  font-size: 1.5em;
}

h6 {
  font-size: 1.35em;
}

.entry-title-singular, .page-title {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 2.5rem;
  line-height: 1.4;
}

dfn, cite, em, i {
  font-style: italic;
}

blockquote, q {
  quotes: "" "";
}

blockquote {
  border-left: 4px solid var(--color-quote-border);
  margin: 0;
}

.entry-content > blockquote {
  margin-left: 1.5rem;
  padding-left: 1em;
}

@media screen and (width >= 48em) {
  .entry-content > blockquote {
    margin-left: auto;
  }
}

blockquote cite {
  color: var(--color-quote-citation);
  margin-top: 1em;
  font-size: 13px;
  font-style: normal;
  position: relative;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  max-width: 100%;
  margin-bottom: 1.5em;
  padding: 1.5em;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: .9375rem;
  line-height: 1.6;
  overflow: auto;
}

code, kbd, tt, var {
  font-family: Monaco, Consolas, Andale Mono, DejaVu Sans Mono, monospace;
  font-size: .8rem;
}

abbr, acronym {
  cursor: help;
  border-bottom: 1px dotted #666;
}

mark, ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.w-100 {
  width: 100%;
  display: inline-block;
}

.section-title {
  font-family: var(--global-font-family);
  text-transform: uppercase;
  margin: 0 0 .5em;
  font-size: 1.85em;
  font-weight: 400;
  line-height: .9;

  &.title-small {
    font-size: 1.5em;
  }

  @media screen and (width >= 30em) {
    & {
      font-size: 2.25em;
    }
  }

  @media screen and (width >= 64em) {
    & {
      font-size: 2.75em;
    }

    &.title-small {
      font-size: 2em;
    }

    &.title-md {
      font-size: 2.25em;
    }

    &.title-lg {
      font-size: 3.15em;
    }

    &.title-xl {
      font-size: 3.5em;
    }

    &.title-xxl {
      font-size: 4em;
    }

    &.title-3xl {
      font-size: 5em;
    }
  }

  @media (width <= 56.24em) {
    &.title-mobile-small {
      font-size: 1.8em !important;
    }
  }

  & strong {
    font-family: var(--highlight-font-family);
    font-size: 1.425em;
    font-weight: 600;
    line-height: 1;
    display: block;

    &.normal-weight {
      font-weight: 400;
    }

    &.small-font {
      font-size: 1.25em;
    }

    &.normal-font {
      font-size: 1em;
    }

    &.bigger-font {
      font-size: 1.6em;
    }

    &.medium-font {
      font-size: 1.68em;
    }

    &.large-font {
      font-size: 1.85em;
    }

    &.larger-font {
      font-size: 2em;
    }
  }

  & sup {
    font-size: 1.68em;
    line-height: .9;
    top: 0;
  }

  & sub {
    font-size: 74%;
    line-height: .8;
    bottom: 0;
  }
}

.heading-title {
  font-family: var(--global-font-family);
  text-transform: uppercase;
  margin: 0 0 .5em;
  font-size: 2.675em;
  font-weight: 300;
  line-height: 1.25;

  @media screen and (width >= 64em) {
    & {
      font-size: 3em;
    }
  }

  & strong {
    font-family: var(--highlight-font-family);
    font-size: .85em;
    font-weight: 700;
    line-height: 1;
    display: block;
  }

  & sup {
    line-height: .9;
    top: 0;
  }

  & sub {
    line-height: .8;
    bottom: 0;
  }
}

.heading-title-2 {
  font-family: var(--global-font-family);
  text-transform: uppercase;
  margin: 0 0 .5em;
  font-size: 2.675em;
  font-weight: 300;
  line-height: 1.25;

  @media screen and (width >= 64em) {
    & {
      font-size: 3em;
    }
  }

  & strong {
    font-family: var(--highlight-font-family);
    font-weight: 400;
    line-height: 1;
    display: block;
  }

  &.md-font {
    @media screen and (width >= 64em) {
      & {
        font-size: 3.5em;
      }
    }
  }

  &.large-font {
    @media screen and (width >= 64em) {
      & {
        font-size: 4.5em;
      }
    }
  }

  & sup {
    line-height: .9;
    top: 0;
  }

  & sub {
    line-height: .8;
    bottom: 0;
  }
}

.heading-title-3 {
  font-family: var(--global-font-family);
  text-transform: uppercase;
  margin: 0 0 .5em;
  font-size: 2.175em;
  font-weight: 300;
  line-height: 1.25;

  @media screen and (width >= 64em) {
    & {
      font-size: 2.75em;
    }
  }

  & strong {
    font-family: var(--highlight-font-family);
    font-size: 1em;
    font-weight: inherit;
    line-height: 1;
    display: block;
  }

  & sup {
    line-height: .9;
    top: 0;
  }

  & sub {
    line-height: .8;
    bottom: 0;
  }
}

.service-top-title {
  font-size: 2.5em;

  @media screen and (width >= 48em) {
    & {
      font-size: 3em;
    }
  }
}

html {
  box-sizing: border-box;
}

*, :before, :after {
  box-sizing: inherit;
}

body {
  background: var(--content-background-color);
}

hr {
  background-color: var(--border-color-light);
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul, ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

ul {
  list-style: outside;
}

ol {
  list-style: decimal;
}

li > ul, li > ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: .5em 0;
}

table {
  width: 100%;
  margin: 0 0 1.5em;
}

.gform_required_legend {
  display: none;
}

.gform-page-footer.gform_page_footer.top_label {
  justify-content: space-between;
}

.gform-page-footer .gform-theme-button.button, .gform-page-footer .gform_button.button, .gform-footer .gform_button.button {
  text-transform: uppercase !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.gform-theme--foundation .gform_fields {
  grid-gap: 1em 1em !important;
}

.gform-theme--foundation #gform_fields_5.gform_fields {
  grid-gap: 2em 1em !important;
}

legend.gfield_label.gform-field-label, label.gfield_label.gform-field-label, h3.form-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--color-theme-secondary) !important;
}

.sep-text {
  font-size: 1.5em;
  font-weight: 700;
  align-items: center !important;
  gap: 7px !important;
  margin: .75em 0 !important;
  display: flex !important;

  &:before, &:after {
    content: "";
    border-top: 2px solid #000;
    flex-grow: 1;
    display: block;
  }
}

.summary-desc-form {
  & p {
    margin: .25em 0;
  }

  & strong {
    color: var(--color-theme-secondary);
  }
}

.wp-block-gallery.partner-gallery {
  gap: 0 !important;

  & .wp-block-image {
    & img {
      margin-left: auto;
      margin-right: auto;
      max-width: 180px !important;
    }
  }
}

.our-product {
  gap: .75em;
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;

  @media (width >= 48em) {
    & {
      grid-template-columns: repeat(4, 1fr) !important;
    }
  }

  & .product-item {
    color: var(--global-font-color);
    text-align: center;
    border: 3px solid var(--global-font-color);
    background-color: #fff;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    min-height: 12.5em;
    padding: 20px 10px;
    transition: all .3s ease-out;
    display: flex;

    @media screen and (width >= 48em) {
      & {
        min-height: 12.5em;
      }
    }

    & .icon-container {
      & svg {
        fill: var(--color-theme-primary);
        height: 50px;
      }
    }

    & .product-title {
      font-size: 1.15em;

      @media screen and (width >= 48em) {
        & {
          font-size: 1.25em;
        }
      }

      & a {
        color: inherit;
        text-decoration: none;
      }
    }

    &:hover {
      background-color: var(--global-font-color);
      border-color: var(--color-theme-primary);
      color: var(--global-font-color-light);
    }
  }
}

.card-box {
  background-color: var(--color-theme-secondary);
  border-radius: 20px;
  overflow: hidden;

  & .card-header {
    background-color: var(--background-dark-color);
    color: #fff;
    padding: 8px 10px;
    font-size: 1em;
    overflow: hidden;

    & .wp-block-heading {
      color: var(--color-theme-primary);
      font-size: 1.85em;
    }

    & .wp-block-outermost-icon-block .icon-container {
      background-color: #fff;
      border-radius: 50%;
      height: 50px;
      padding: 10px;
      width: 50px !important;

      & svg {
        fill: var(--color-theme-primary);
      }
    }

    &.h-large {
      min-height: 98px;

      & .wp-block-outermost-icon-block .icon-container {
        padding: 15px;
        width: 65px !important;
        height: 65px !important;
      }
    }
  }

  & .card-content {
    border: 2px solid var(--border-color-dark);
    border-radius: 0 0 20px 20px;
    padding: 0 15px 15px;
  }
}

.partner-gallery {
  @media screen and (width <= 47.99em) {
    & {
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 15px !important;
      display: grid !important;
    }
  }

  & img {
    width: 150px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.property-partner-gallery {
  @media screen and (width <= 47.99em) {
    & {
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 15px !important;
      display: grid !important;
    }
  }

  & img {
    width: 120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media screen and (width <= 47.99em) {
  .hide-sm {
    display: none;
  }

  .icon-title {
    width: 65px !important;
  }
}

@media screen and (width >= 48em) {
  .hide-md:not(.block-editor-block-list__block) {
    display: none;
  }
}

.flex {
  display: flex;
}

@media screen and (width <= 63.99em) {
  .flex {
    flex-direction: column;

    &.horiz {
      flex-direction: row;
    }
  }
}

.inline-flex {
  display: inline-flex;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-column-reverse {
  flex-direction: column-reverse;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse;
}

.items-baseline {
  align-items: baseline;
}

.justify-start {
  justify-content: flex-start;
}

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

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

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.self-auto {
  align-self: auto;
}

.self-start {
  align-self: flex-start;
}

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

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.grid {
  display: grid;
}

@media screen and (width <= 63.99em) {
  .grid {
    grid-template-columns: 1fr;

    &.keep-cols {
      grid-template-columns: revert;
    }
  }
}

@media (width <= 47.99em) {
  .flex-row-sm-reverse {
    flex-direction: row-reverse;
  }

  .flex-column-sm-reverse {
    flex-direction: column-reverse;
  }
}

.inline-grid {
  display: inline-grid;
}

.grid-col-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-rows-1 {
  grid-template-rows: repeat(1, minmax(0, 1fr));
}

.grid-rows-2 {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.grid-rows-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}

.grid-rows-4 {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.gap-1 {
  gap: .25rem;
}

.gap-2 {
  gap: .5rem;
}

.gap-3 {
  gap: .75rem;
}

.gap-4 {
  gap: 1rem;
}

.grid-flow-row {
  grid-auto-flow: row;
}

.grid-flow-col {
  grid-auto-flow: column;
}

.grid-flow-row-dense {
  grid-auto-flow: row dense;
}

.grid-flow-col-dense {
  grid-auto-flow: column dense;
}

.justify-items-start {
  justify-items: start;
}

.justify-items-center {
  justify-items: center;
}

.justify-items-end {
  justify-items: end;
}

.justify-items-stretch {
  justify-items: stretch;
}

.items-start {
  align-items: start;
}

.items-center {
  align-items: center !important;
}

.items-end {
  align-items: end;
}

.items-stretch {
  align-items: stretch;
}

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

.my-sm {
  margin-top: .25em;
  margin-bottom: .25em;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

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

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: .25em;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-md {
  margin-bottom: .5em;
}

.p-0 {
  padding: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.px-1 {
  padding-left: 1em;
  padding-right: 1em;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.p-sm {
  padding: 2em !important;
}

.col-gap-0 {
  gap: 0;
}

.lh-1 {
  line-height: 1 !important;
}

.lh-125 {
  line-height: 1.25 !important;
}

.lh-15 {
  line-height: 1.5 !important;
}

.lh-2 {
  line-height: 2 !important;
}

@media (width >= 48em) {
  .desk-sm-show {
    display: block;
  }

  .desk-sm-hide {
    display: none !important;
  }
}

@media (width >= 64em) {
  .md-show {
    display: block;
  }

  .mb-md-hide {
    display: none !important;
  }
}

@media (width <= 63.99em) {
  .md-hide {
    display: none !important;
  }
}

@media (width <= 47.99em) {
  .mobile-img-hide, .sm-hide {
    display: none !important;
  }

  .mb-show {
    display: block !important;
  }

  .fs-sm {
    font-size: 1.85em !important;
  }

  .sm-gap-0 {
    gap: 0;
  }
}

a:not(.has-link-color, .wp-block-button__link) {
  color: var(--color-link);
}

a:not(.has-link-color, .wp-block-button__link):visited {
  color: var(--color-link-visited);
}

a:not(.has-link-color, .wp-block-button__link):hover, a:not(.has-link-color, .wp-block-button__link):focus, a:not(.has-link-color, .wp-block-button__link):active {
  color: var(--color-link-active);
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

.page-header {
  grid-column: span 2;
  width: 100%;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  padding-left: 1.5em !important;
  padding-right: 1.5em !important;
}

.page-header > div {
  height: 100%;
  width: var(--content-max-width);
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.page-header iframe {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
}

.page-header .entry-header {
  background-color: #ffffffbf;
  border-radius: 6px;
  max-width: 100%;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  font-weight: 400;
  display: inline-block;

  @media screen and (width >= 48em) {
    & {
      max-width: 70%;
    }
  }
}

.page-header.no_post_thumbnail .entry-header {
  margin: 1.5em 0;
  position: relative;
  bottom: 0;
}

.page-header .entry-header .page-title {
  font-family: var(--global-font-family);
  color: var(--color-theme-primary);
  text-transform: uppercase;
  margin: 0;
  font-size: 1.85em;
  font-weight: 800;
  line-height: 1;

  @media screen and (width >= 48em) {
    & {
      font-size: 2em;
    }
  }

  @media screen and (width >= 64em) {
    & {
      font-size: 2.15em;
    }
  }

  & b, & strong {
    font-size: 1em;
    font-weight: 400;
    font-family: var(--highlight-font-family);
    color: var(--color-theme-primary);
    display: block;
  }

  & i {
    margin-right: .25em;
    font-size: .85em;
  }
}

.page-header.has_post_thumbnail {
  min-height: var(--height-page-header-small);
  background-position: 50% 30%;
  background-size: cover;
  align-items: flex-end;
  margin-bottom: 0;
  display: flex;
  margin-top: 0 !important;
  padding: 50px 0 !important;

  @media screen and (height <= 30em) {
    & {
      min-height: var(--height-page-header-land-small);
    }
  }

  @media (width >= 56.25em) {
    & {
      min-height: var(--height-page-header);
    }
  }
}

.site-header {
  background-color: var(--header-background-color);
  width: 100%;
  color: var(--global-font-color);
  z-index: 999;
  border-radius: 0 0 8px 8px;
  padding: .5em 0;
  transition: all .2s;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 4px #00000040;

  @media screen and (width <= 63.99em) {
    & {
      padding: .5em 0;
    }
  }

  &.sticky-header {
    z-index: 999;
    -webkit-box-shadow: 0 0 12px #00000073;
    padding: .15em 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 0 12px #993d3d73;

    & .nav--toggle-small {
      &.nav--toggled-on {
        @media screen and (width <= 63.99em) {
          & .primary-menu-container {
            top: 50px;
          }
        }
      }
    }

    & .topbar {
      display: none;
    }

    & .custom-logo-link img {
      max-height: 2.5em;
    }

    @media screen and (width >= 64em) {
      & .contact-phone-wrapper {
        font-size: .85em;
      }
    }
  }

  & .primary-menu-container {
    height: auto !important;
  }
}

.header-image {
  margin: 0 auto;
}

.header-image img {
  margin: 0 auto;
  display: block;
}

.custom-logo-link {
  margin: 0 auto 1em;
  display: inline-block;
}

.site-title {
  font-family: var(--highlight-font-family);
  margin: 0 1em;
  font-size: 38px;
  font-weight: 700;
  font-stretch: condensed;
  line-height: 1.2;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  font-family: var(--highlight-font-family);
  font-size: 17px;
  font-stretch: condensed;
  font-weight: inherit;
  word-wrap: break-word;
  color: #757575;
  margin: .4375em 0 0;
  line-height: 1.4;
}

.site-socials {
  gap: .35em;
  display: flex;

  & .social-media-network {
    font-size: 1.25em;
    transition: all .2s ease-out;

    &:hover {
      color: var(--color-theme-secondary);
    }

    & > span {
      display: none;
    }
  }
}

.site-contact .contact-detail {
  display: flex;

  & > span {
    font-family: var(--global-font-family);
    margin-left: .25em;
    font-weight: 600;
  }

  &:before {
    color: var(--color-theme-white);
    margin-right: .25em;
  }
}

@media screen and (width <= 63.99em) {
  header#masthead:has(nav) {
    & .site-branding {
      padding: 0;

      & .site-title {
        margin: .5em 0;
      }
    }

    & .main-navigation.nav--toggle-sub {
      padding: initial;
      margin: 0;

      & .menu-toggle.icon {
        text-align: right;
        top: 0;
      }
    }
  }
}

nav div.wp-block-navigation__responsive-dialog {
  @media screen and (width <= 63.99em) {
    & {
      margin: 1em;
    }
  }
}

.nav--toggle-small .menu-toggle {
  font-family: var(--highlight-font-family);
  text-transform: uppercase;
  border: 2px solid var(--border-color-dark);
  background: none;
  border-radius: 0;
  margin: 0;
  padding: .6em 1.2em .5em;
  font-size: 80%;
  font-stretch: condensed;
  display: block;

  &.icon {
    border: none;
    display: none;
    position: relative;
    top: 40px;
    left: 5px;

    @media screen and (width <= 63.99em) {
      & {
        display: block;
      }
    }

    & .dashicons-menu-alt:before {
      font-size: 40px;
    }

    & svg.close {
      display: none;
    }
  }

  & svg {
    fill: var(--global-font-color);
  }
}

.nav--toggle-small {
  & .menu {
    display: none;
  }

  &.nav--toggled-on {
    & .menu {
      display: block;
    }

    @media screen and (width >= 64em) {
      & .menu {
        justify-content: space-between;
        display: flex;
      }
    }

    & .menu-toggle.icon svg.close {
      display: inline-block;
    }

    & svg.open-menu {
      display: none;
    }
  }

  &.icon-nav {
    & .menu {
      display: block;
    }

    @media screen and (width >= 64em) {
      & .menu {
        justify-content: flex-end;
        display: flex;
      }
    }

    @media screen and (width <= 63.99em) {
      & .primary-menu-container {
        z-index: -5;
        background: var(--global-menu-dropdown-background-color);
        opacity: 0;
        visibility: hidden;
        width: 100vw;
        height: 200%;
        padding: 20px 30px;
        transition: opacity .3s, top .3s ease-out, visibility .1s .4s;
        position: absolute;
        top: 300px;
        left: 0;
      }

      &.nav--toggled-on {
        & .menu-toggle span.dashicons:before {
          content: "";
        }

        & .primary-menu-container {
          z-index: 5;
          opacity: 1;
          visibility: visible;
          transition: opacity .3s, top .3s ease-out;
          top: 50px;
        }
      }
    }
  }
}

.nav--toggle-sub .dropdown, .nav--toggle-sub .dropdown-toggle, .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
  width: var(--dropdown-symbol-width);
  height: var(--dropdown-symbol-width);
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  top: 50%;
  right: 0;
  overflow: visible;
  transform: translateY(-50%);
}

.nav--toggle-sub .dropdown-symbol {
  border: solid var(--color-theme-primary);
  background: none;
  border-width: 0 2px 2px 0;
  width: 60%;
  height: 60%;
  transition: transform .2s;
  display: block;
  position: absolute;
  top: 35%;
  right: 20%;
  transform: translateY(-50%)rotate(45deg);
}

.nav--toggle-sub li.menu-item--toggled-on > button.dropdown-toggle .dropdown-symbol {
  transform: translateY(-50%)rotate(225deg);
}

.nav--toggle-sub li.menu-item--toggled-on button.wp-block-navigation__submenu-icon svg {
  transition: transform .2s;
}

.nav--toggle-sub li.menu-item--toggled-on > button.wp-block-navigation-submenu__toggle svg {
  transform: rotate(180deg);
}

@media screen and (width <= 63.99em) {
  .nav--toggle-small.nav--toggled-on .menu {
    display: block;
  }
}

@media screen and (width >= 64em) {
  .nav--toggle-small .menu-toggle {
    display: none;
  }

  .nav--toggle-small .menu {
    display: block;
  }

  .nav--toggle-sub ul ul {
    background: var(--global-menu-dropdown-background-color);
    z-index: 100;
    flex-direction: column;
    margin-left: 0;
    display: none;
    position: absolute;
    top: 100%;
    box-shadow: 0 3px 3px #0003;
  }

  .nav--toggle-sub .dropdown, .nav--toggle-sub .dropdown-toggle {
    width: var(--dropdown-symbol-width);
    height: var(--dropdown-symbol-width);
    font-size: inherit;
    line-height: inherit;
    background: none;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    overflow: visible;
    transform: translateY(-50%);
  }

  .nav--toggle-sub .dropdown-symbol {
    border: solid var(--color-theme-primary);
    background: none;
    border-width: 0 2px 2px 0;
    width: 60%;
    height: 60%;
    display: block;
    position: absolute;
    top: 35%;
    right: 20%;
    transform: translateY(-50%)rotate(45deg);
  }

  .nav--toggle-sub ul ul .dropdown, .nav--toggle-sub ul ul .dropdown-toggle {
    top: 40%;
    right: .2em;
  }

  .nav--toggle-sub ul ul .dropdown-symbol {
    transform: rotate(-45deg);
  }

  .nav--toggle-sub .dropdown-toggle:hover, .nav--toggle-sub .menu-item--has-toggle:hover .dropdown-toggle {
    pointer-events: none;
  }

  .nav--toggle-sub li.menu-item-has-children, .nav--toggle-sub li.menu-item--has-toggle {
    padding-right: var(--dropdown-symbol-width);
    position: relative;
  }

  .nav--toggle-sub li:hover > ul, .nav--toggle-sub li.menu-item--toggled-on > ul, .nav--toggle-sub li:not(.menu-item--has-toggle):focus > ul, .nav--toggle-sub li:not(.menu-item--has-toggle):focus-within > ul {
    display: block;
  }
}

.main-navigation {
  width: 100%;
  font-family: var(--global-font-family);
  margin: 0 auto;
  padding: 0;
  font-stretch: condensed;
  display: block;

  & ul ul li {
    padding-left: 1em;
  }

  & ul.wp-block-navigation-submenu li {
    padding: .3em .5em;
  }

  & a:hover, & a:focus, & button:hover, & button:focus {
    color: var(--global-menu-hover-color);
    text-decoration: none;

    @media screen and (width <= 63.99em) {
      & {
        color: var(--global-menu-hover-color);
      }
    }
  }
}

.main-navigation a, .main-navigation button {
  text-transform: uppercase;
  width: 100%;
  color: var(--global-menu-color);
  padding: .5em 1em .5em 0;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease-in;
  display: block;

  & i, & svg {
    color: var(--color-theme-primary);
  }
}

.main-navigation button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border: none;
}

.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
  font-weight: 700;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  & ul.wp-block-navigation__container {
    width: 100%;
  }

  & .wp-block-navigation__submenu-icon {
    display: block;
  }

  & li.wp-block-navigation-item {
    width: 100%;
  }

  & li.wp-block-navigation-submenu.has-child {
    flex-flow: wrap;

    & ul.wp-block-navigation__submenu-container {
      width: 100%;
      display: none;

      &.toggle-show {
        display: block;
      }
    }

    & a.wp-block-navigation-item__content {
      flex: 90%;
    }
  }
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
  padding: .3em .5em;
}

@media screen and (width >= 64em) {
  .main-navigation ul li {
    & a, & button {
      padding: .4em .5em;
    }
  }

  .main-navigation ul li {
    margin: 0 0 0 .5em;
  }

  .main-navigation ul li:first-child {
    margin-left: 0;
  }

  .main-navigation ul ul a {
    width: 200px;
  }

  .main-navigation ul ul li {
    margin-left: 0;
    padding-left: 0;
  }

  .main-navigation ul ul li a {
    background: none;
    align-items: center;
    gap: 5px;
    width: 218px;
    display: flex;
  }

  .main-navigation ul ul ul {
    min-height: 100%;
    top: 0;
    left: 100%;
  }

  .main-navigation .menu {
    flex-wrap: wrap;
    justify-content: center;
    display: flex;
  }

  .main-navigation.wp-block-navigation ul {
    display: flex;
  }
}

@media screen and (width <= 63.99em) {
  .main-navigation {
    & li.menu-item {
      & button {
        text-align: left;
      }
    }

    & li.menu-item-has-children {
      & a, & button:not(.dropdown-toggle) {
        flex: 90%;
      }
    }

    & li.menu-item-has-children.menu-item {
      flex-flow: wrap;
      align-items: baseline;
      display: flex;
    }

    & li.menu-item-has-children.menu-item .submenu-toggle {
      flex-flow: wrap;
      align-items: baseline;
      gap: .75em;
      display: flex;

      &.menu-item--toggled-on + .sub-menu {
        display: block;
      }
    }

    & ul.sub-menu {
      flex-basis: 100%;
      display: none;

      &.toggle-show {
        display: block;
      }
    }
  }
}

.topbar {
  text-align: right;
  color: var(--global-font-color-light);
  background-color: var(--background-dark-color);
  padding: .65em .35em;

  & .topbar-inner {
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    display: flex;
  }

  & a {
    color: inherit;
    text-decoration: none;
  }

  @media screen and (width <= 63.99em) {
    & {
      display: none;
    }
  }
}

.contact-phone-wrapper {
  transition: all .2s;

  & .head-text {
    color: var(--color-theme-primary);
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 400;
    display: block;

    @media screen and (width <= 47.99em) {
      & {
        display: none;
      }
    }
  }

  & .contact-phone {
    color: var(--color-theme-primary);
    align-items: center;
    gap: .25em;
    font-size: 1em;
    display: inline-flex;

    @media screen and (width >= 64em) {
      & {
        font-size: 2.25em;
      }
    }

    & i {
      color: var(--color-theme-secondary);
      font-size: 1.15em;
    }
  }
}

.site-branding {
  float: left;
  text-align: center;
  align-items: center;
  width: 30%;
  min-height: 2.5em;
  margin: .5em 0;
  padding: .25em 0;
  display: flex;

  & .custom-logo-link {
    margin: 0;
    display: inline-block;

    & img {
      width: auto;
      max-width: 15em;
      height: auto;
      max-height: 4em;
      transition: all .2s;

      @media screen and (width <= 63.99em) {
        & {
          max-width: 10em;
          max-height: 3em;
        }
      }
    }
  }

  & .site-title {
    display: none;
  }

  @media screen and (width <= 63.99em) {
    & {
      margin: 0;
      padding: 1.75em 0;
    }
  }
}

.site-nav-contact {
  align-items: center;
  gap: 1em;
  width: 70%;
  display: flex;

  & .site-contact {
    @media screen and (width <= 47.99em) {
      & {
        display: none;
      }
    }

    & .phone.contact-detail {
      background-color: var(--color-theme-primary);
      color: var(--global-font-color-light);
      white-space: nowrap;
      border-radius: 2px;
      padding: .25em .75em;
      font-size: 1em;
      font-weight: 600;
      line-height: 1.6;
      text-decoration: none;
    }
  }
}

.header-wrapper {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.main-navigation {
  @media screen and (width >= 64em) {
    & #primary-menu > li.menu-logo {
      order: -1;
      margin: 0 1em;

      & img {
        max-width: 10em;
      }
    }

    & .menu {
      align-items: center;

      & > li:nth-child(-n+3) {
        order: -2;
      }
    }
  }

  @media screen and (width <= 63.99em) {
    & #primary-menu > li.menu-logo {
      display: none;
    }

    & a, & button {
      font-size: .875em;
    }
  }
}

footer.site-footer {
  margin: 0;
  padding: 0;
  font-stretch: condensed;
  position: relative;

  & a {
    color: inherit;

    &:hover {
      color: inherit;
    }
  }

  & .edit-link {
    position: absolute;
    top: 0;
    left: 0;
  }

  & a.contact-detail {
    text-decoration: none;

    &.social-media-network {
      margin-right: .25em;
      font-size: 1.35em;

      & > span {
        display: none;
      }
    }
  }

  & .open-hours {
    margin: 0 0 .25em;

    & strong {
      font-weight: 900;
    }
  }
}

.footer-title {
  margin: 0 0 .25em;
  font-size: 1.85em;
  font-weight: 900;

  @media screen and (width >= 64em) {
    & {
      font-size: 2em;
    }
  }
}

.list-contact {
  flex-direction: column;
  gap: .25em;
  padding: 0;
  list-style: none;
  display: flex;
}

.footer-img {
  width: 100%;
  height: 100%;
  position: relative;

  & img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center 30%;
    object-position: center 30%;
    width: 100%;
    height: 100%;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
  }
}

.footer-menu {
  & > li:before {
    content: "";
    font-family: var(--icon-font-family);
    color: var(--color-theme-primary);
    margin-right: .35em;
    font-size: 1em;
    font-weight: 900;
  }
}

.site-info {
  background-color: var(--footer-background-color);
  color: #bfbfbf;
  text-align: left !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: .5em !important;

  & a {
    text-decoration: none;
    color: inherit !important;
  }
}

#scroll-top {
  background-color: var(--color-theme-grey);
  color: var(--global-font-color-light);
  opacity: 0;
  outline: unset;
  border: 0;
  border-radius: .25em;
  gap: .35em;
  padding: .25em .5em;
  font-size: .85em;
  text-decoration: none;
  transition: all .3s;
  display: inline-flex;
  box-shadow: 0 0 4px #0000005d;

  &.active {
    opacity: 1;
    position: fixed;
    bottom: 1em;
    right: 1em;
  }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  position: absolute !important;
}

.screen-reader-text:focus {
  color: #21759b;
  z-index: 100000;
  background-color: #f1f1f1;
  border-radius: 3px;
  width: auto;
  height: auto;
  padding: 15px 23px 14px;
  font-size: .875rem;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  display: block;
  top: 5px;
  left: 5px;
  box-shadow: 0 0 2px 2px #0009;
  clip: auto !important;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

.site {
  max-width: 100%;
  margin: 0 auto;
}

@media screen and (width >= 60em) {
  .has-sidebar .site > #site-content {
    grid-gap: 0;
    width: var(--content-max-width);
    max-width: var(--content-width);
    grid-template-columns: 3fr 1fr;
    justify-content: center;
    margin: 3em auto;
    display: grid;
  }

  .site-header, .site-footer {
    grid-column: 1 / -1;
  }

  .site-main {
    grid-column: 1;
    min-width: 0;
  }

  .primary-sidebar {
    grid-column: 2;
    min-width: 0;
  }
}

textarea {
  width: 100%;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
  border: 1px solid;
  border-color: var(--border-color-light) var(--border-color-light) #bbb;
  color: var(--global-font-color);
  cursor: pointer;
  background: #eee;
  border-radius: 3px;
  padding: .6em 1em .4em;
  font-size: .75rem;
  line-height: 1;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
  border-color: var(--border-color-light) #bbb #aaa;
}

button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
  color: var(--global-font-color);
  padding: 3px;
  border: 3px solid var(--border-color-dark) !important;
  outline: unset !important;
  border-radius: 0 !important;
  min-height: 50px !important;
  font-size: 1em !important;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
  color: #111;
}

select {
  border: 3px solid var(--border-color-light) !important;
  font-size: 1em !important;
}

.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation, .site-main .pagination {
  border-bottom: 1px solid var(--border-color-dark);
  max-width: var(--content-width);
  font-family: var(--highlight-font-family);
  margin: 0 auto 2em;
  padding: 0 1.5rem 2em;
  font-stretch: condensed;
  overflow: hidden;
}

@media screen and (width >= 48em) {
  .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation, .site-main .pagination {
    padding-left: 0;
    padding-right: 0;
  }
}

.nav-links {
  display: flex;
}

.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
  flex: 1 0 50%;
  width: 50%;
}

.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

.post-navigation-sub span {
  color: var(--global-font-color);
  text-decoration: none;
  display: inline-block;
}

.site-main .pagination {
  margin-bottom: 1.5em;
}

.pagination .nav-links {
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  border: 1px solid var(--color-link);
  text-align: center;
  min-width: 1.75em;
  margin-bottom: .5em;
  margin-right: 1em;
  line-height: 1.75;
  text-decoration: none;
  display: inline-block;
}

.pagination a:visited {
  color: var(--color-link);
}

.pagination a:hover, .pagination a:focus, .pagination a:active {
  border-color: var(--color-link-active);
}

.pagination .prev, .pagination .next {
  border-color: #0000;
  min-width: auto;
  text-decoration: underline;
}

.pagination .prev:hover, .pagination .prev:focus, .pagination .prev:active, .pagination .next:hover, .pagination .next:focus, .pagination .next:active {
  border-color: #0000;
}

.pagination .dots {
  border: none;
  min-width: auto;
}

.pagination .current {
  border-color: var(--border-color-dark);
}

.infinite-scroll .posts-navigation, .infinite-scroll .pagination, .infinite-scroll.neverending .site-footer {
  display: none;
}

.infinity-end.neverending .site-footer {
  display: block;
}

.wp-rig {
  display: none;
}

.wp-lightbox-overlay {
  & .scrim {
    height: 100%;
    opacity: .85 !important;
    background-color: #000 !important;
  }

  & .close-button {
    fill: #fff !important;
  }
}
