/* ==========================================================================
   Finnet theme — footer.css
   Footer template (_capture/parts/footer.html), footer menus, the cookie
   notice (#mfn-gdpr), the body overlay, back-to-top, and the per-item CSS the
   old build exported for the footer template (post 58; hashed selectors are
   site data and are kept unchanged).

   JS CONTRACT (main.js)
   - #mfn-gdpr is hidden until JS adds `show` (not when the consent cookie is
     set). The "Accept" button has data-cookieDays.
   - #body_overlay: add `is-open` to show (used behind the off-canvas menu).
   - #back_to_top: the captured pages contain no back-to-top element (theme
     option off). If one is rendered, give it class `is-visible` once the
     page is scrolled; it is hidden otherwise.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Footer shell
   -------------------------------------------------------------------------- */
#mfn-footer-template,
.mfn-footer-tmpl {
  position: relative;
}

/* Default footer colours from the theme options; the per-item CSS below
   turns most of them white on the navy background. */
.mfn-footer {
  color: var(--fn-color-text-footer);
}

.mfn-footer a:not(.button, .icon_bar, .mfn-btn, .mfn-option-btn) {
  color: var(--fn-color-accent);
}

.mfn-footer a:not(.button, .icon_bar, .mfn-btn, .mfn-option-btn):hover {
  color: var(--fn-color-accent-hover);
}

.mfn-footer h1, .mfn-footer h1 a, .mfn-footer h1 a:hover,
.mfn-footer h2, .mfn-footer h2 a, .mfn-footer h2 a:hover,
.mfn-footer h3, .mfn-footer h3 a, .mfn-footer h3 a:hover,
.mfn-footer h4, .mfn-footer h4 a, .mfn-footer h4 a:hover,
.mfn-footer h5, .mfn-footer h5 a, .mfn-footer h5 a:hover,
.mfn-footer h6, .mfn-footer h6 a, .mfn-footer h6 a:hover {
  color: var(--fn-color-navy);
}

.mfn-footer .themecolor {
  color: var(--fn-color-accent);
}

.mfn-footer .themebg {
  background-color: var(--fn-color-accent);
}

/* Mobile: the footer section is boxed to 700px with 33px gutters, and its
   inner wrapper spans the full section width */
@media only screen and (max-width: 767px) {
  .mfn-footer-tmpl .mcb-section:not(.full-width) {
    max-width: var(--fn-grid-width-mobile-container);
    padding-left: var(--fn-mobile-gutter);
    padding-right: var(--fn-mobile-gutter);
  }

  .mfn-footer-tmpl .mcb-section .section_wrapper {
    max-width: 100% !important;   /* layout.css mobile rule uses !important */
  }

  /* The previous build reserved room for a WooCommerce sticky mobile bar
     (body.footer-menu-sticky). It shows in the reference mobile screenshots
     as a 70px band of page background under the footer. Remove the body
     class to drop it. */
  .footer-menu-sticky .mfn-footer-tmpl {
    padding-bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   2. Footer menus
   -------------------------------------------------------------------------- */
.mfn-footer-menu {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.mfn-footer-menu li {
  position: relative;
}

.mfn-footer-menu li a {
  display: block;
  text-decoration: none;
}

.mfn-footer-menu li ul {
  display: none;
}

.mfn-footer-menu-style-vertical li a {
  padding: 10px 0;
}

.mfn-footer-menu-style-horizontal {
  flex-direction: row;
  flex-wrap: wrap;
}

.mfn-footer-menu-style-horizontal li a {
  display: flex;
  padding: 0 15px;
}

/* WooCommerce sticky mobile menu left in the markup: never shown */
.mfn-footer-stickymenu {
  display: none;
}

/* --------------------------------------------------------------------------
   3. Cookie notice (#mfn-gdpr) — vertical card, bottom-left
   -------------------------------------------------------------------------- */
#mfn-gdpr {
  display: none;
  position: fixed;
  z-index: 10000;
  align-items: center;
  box-sizing: border-box;
  background-color: var(--fn-gdpr-bg);
  border-radius: var(--fn-gdpr-radius);
  box-shadow: var(--fn-gdpr-shadow);
}

#mfn-gdpr.show,
#mfn-gdpr.is-visible {
  display: flex;
}

.under-construction #mfn-gdpr.show,
#mfn-gdpr.is-visible {
  display: none;
}

#mfn-gdpr .mfn-gdpr-image {
  line-height: 0;
}

#mfn-gdpr .mfn-gdpr-content > :last-child {
  margin-bottom: 0;
}

#mfn-gdpr .mfn-gdpr-content,
#mfn-gdpr .mfn-gdpr-content h1,
#mfn-gdpr .mfn-gdpr-content h2,
#mfn-gdpr .mfn-gdpr-content h3,
#mfn-gdpr .mfn-gdpr-content h4,
#mfn-gdpr .mfn-gdpr-content h5,
#mfn-gdpr .mfn-gdpr-content h6,
#mfn-gdpr .mfn-gdpr-content ol,
#mfn-gdpr .mfn-gdpr-content ul {
  color: var(--fn-gdpr-text);
}

#mfn-gdpr .mfn-gdpr-content ol,
#mfn-gdpr .mfn-gdpr-content ul {
  margin: 0 0 15px 20px;
}

#mfn-gdpr .mfn-gdpr-content ul {
  list-style: disc;
}

#mfn-gdpr .mfn-gdpr-content ol {
  list-style: decimal;
}

#mfn-gdpr .mfn-gdpr-content a,
#mfn-gdpr a.mfn-gdpr-readmore {
  color: var(--fn-gdpr-text);
}

#mfn-gdpr .mfn-gdpr-content a:hover,
#mfn-gdpr a.mfn-gdpr-readmore:hover {
  color: var(--fn-gdpr-link-hover);
}

#mfn-gdpr .mfn-gdpr-button {
  background-color: var(--fn-gdpr-button-bg);
  color: var(--fn-gdpr-button-text);
  border: 1px solid transparent;
}

#mfn-gdpr .mfn-gdpr-button:hover {
  background-color: var(--fn-gdpr-button-bg-hover);
  color: var(--fn-gdpr-button-text);
  border-color: transparent;
}

/* Vertical layout (data-direction="vertical", as captured) */
#mfn-gdpr[data-direction="vertical"] {
  flex-direction: column;
  width: 320px;
  padding: 40px;
  bottom: 40px;
}

#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-image {
  margin-bottom: 25px;
}

#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-image img {
  max-height: 64px;
  max-width: 100%;
}

#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-content {
  margin-bottom: 15px;
  text-align: center;
}

#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-content ol,
#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-content ul {
  margin-left: 0;
}

#mfn-gdpr[data-direction="vertical"] .mfn-gdpr-readmore {
  margin-bottom: 15px;
}

/* Horizontal bar (kept for completeness) */
#mfn-gdpr[data-direction="horizontal"] {
  justify-content: center;
  width: 100%;
  left: 0;
  padding: 30px;
}

#mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-image {
  flex-shrink: 0;
  margin-right: 25px;
}

#mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-image img {
  max-height: 48px;
  width: auto;
}

#mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-content {
  margin-right: 7vw;
}

#mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-readmore {
  flex-shrink: 0;
  margin-right: 15px;
}

#mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-button {
  flex-shrink: 0;
}

/* Position (data-aligment="left", as captured — attribute spelling is the markup's) */
#mfn-gdpr[data-aligment="left"]   { left: 40px; }
#mfn-gdpr[data-aligment="right"]  { right: 40px; }
#mfn-gdpr[data-aligment="top"]    { top: 0; }
#mfn-gdpr[data-aligment="bottom"] { bottom: 0; }

.admin-bar #mfn-gdpr[data-aligment="top"] {
  top: 32px;
}

@media only screen and (max-width: 767px) {
  #mfn-gdpr[data-direction="horizontal"] {
    flex-direction: column;
  }

  #mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-image {
    margin-right: 0;
    margin-bottom: 25px;
  }

  #mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-image img {
    max-height: 64px;
    max-width: 100%;
  }

  #mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-content {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }

  #mfn-gdpr[data-direction="horizontal"] .mfn-gdpr-readmore {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 479px) {
  #mfn-gdpr[data-direction="vertical"] {
    width: calc(100% - 40px);
    padding: 30px;
    bottom: 20px;
  }

  #mfn-gdpr[data-aligment="left"]  { left: 20px; }
  #mfn-gdpr[data-aligment="right"] { right: 20px; }
}

/* --------------------------------------------------------------------------
   4. Body overlay and back-to-top
   -------------------------------------------------------------------------- */
#body_overlay {
  display: none;
  position: fixed;
  z-index: 9002;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: rgba(0, 0, 0, 0.6);
}

#body_overlay.is-open {
  display: block;
}

body.no-overlay #body_overlay {
  display: none !important;
}

#back_to_top {
  position: fixed;
  z-index: 9001;
  right: 75px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#back_to_top.is-visible {
  opacity: 1;
  visibility: visible;
}

@media only screen and (max-width: 767px) {
  #back_to_top {
    right: 20px;
  }
}

/* --------------------------------------------------------------------------
   5. SITE DATA — footer template (post 58) per-item CSS
   -------------------------------------------------------------------------- */

/* Section */
.mcb-section-247cbd595 {
  padding-top: 100px;
  background-color: #283c92;
}

/* Logo column (3s658dm74) */
.mcb-section .mcb-wrap .mcb-item-3s658dm74 .image_frame {
  width: 280px;
}

/* "Got questions?" phone box (efb698394) */
.mcb-section .mcb-wrap .mcb-item-efb698394 .icon-wrapper {
  width: 70px;
  height: 70px;
  border-style: solid;
  border-width: 0 1px 0 0;
  border-color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-efb698394 .icon-wrapper i {
  font-size: 32px;
  color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-efb698394 .title,
.mcb-section .mcb-wrap .mcb-item-efb698394 .desc {
  color: #ffffff;
}

/* Spacer divider (731a34ccb) */
.mcb-section .mcb-wrap .mcb-item-731a34ccb .mfn-divider-inner {
  --mfn-divider-gap-top: 0px;
  --mfn-divider-gap-bottom: 0px;
}

.mcb-section .mcb-wrap .mcb-item-731a34ccb .mcb-column-inner-731a34ccb {
  margin-bottom: 0px;
}

/* Social circles: facebook 6a395f7f0, instagram 5de9a98f5, pinterest e9e620522, linkedin 553qjf93r */
.mcb-section .mcb-wrap .mcb-item-6a395f7f0 .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-5de9a98f5 .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-e9e620522 .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-553qjf93r .icon-wrapper {
  width: 48px;
  height: 48px;
  margin-bottom: 0px;
  margin-right: 15px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-radius: 50% 50% 50% 50%;
  border-color: #e7e7e7;
}

.mcb-section .mcb-wrap .mcb-item-6a395f7f0 .icon-wrapper {
  border-color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-6a395f7f0 .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-5de9a98f5 .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-e9e620522 .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-553qjf93r .icon-wrapper i {
  font-size: 20px;
  color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-6a395f7f0 .mfn-icon-box:hover .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-5de9a98f5 .mfn-icon-box:hover .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-e9e620522 .mfn-icon-box:hover .icon-wrapper i,
.mcb-section .mcb-wrap .mcb-item-553qjf93r .mfn-icon-box:hover .icon-wrapper i {
  color: #2a27e9;
}

.mcb-section .mcb-wrap .mcb-item-6a395f7f0 .mfn-icon-box:hover .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-5de9a98f5 .mfn-icon-box:hover .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-e9e620522 .mfn-icon-box:hover .icon-wrapper,
.mcb-section .mcb-wrap .mcb-item-553qjf93r .mfn-icon-box:hover .icon-wrapper {
  border-color: #2a27e9;
}

/* Column headings: gm4zrld5l "About Finnet", e4xe97aco "Useful links",
   lquvpfgp "More links", avd0gsg2l copyright */
.mcb-section .mcb-wrap .mcb-item-gm4zrld5l .title,
.mcb-section .mcb-wrap .mcb-item-e4xe97aco .title,
.mcb-section .mcb-wrap .mcb-item-lquvpfgp .title,
.mcb-section .mcb-wrap .mcb-item-avd0gsg2l .title {
  background-position: center center;
}

.mcb-section .mcb-wrap .mcb-item-gm4zrld5l .title,
.mcb-section .mcb-wrap .mcb-item-gm4zrld5l .title a,
.mcb-section .mcb-wrap .mcb-item-e4xe97aco .title,
.mcb-section .mcb-wrap .mcb-item-e4xe97aco .title a,
.mcb-section .mcb-wrap .mcb-item-lquvpfgp .title,
.mcb-section .mcb-wrap .mcb-item-lquvpfgp .title a,
.mcb-section .mcb-wrap .mcb-item-avd0gsg2l .title,
.mcb-section .mcb-wrap .mcb-item-avd0gsg2l .title a {
  color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-gm4zrld5l .mcb-column-inner-gm4zrld5l,
.mcb-section .mcb-wrap .mcb-item-e4xe97aco .mcb-column-inner-e4xe97aco,
.mcb-section .mcb-wrap .mcb-item-lquvpfgp .mcb-column-inner-lquvpfgp {
  margin-bottom: 20px;
}

/* Footer menus: m1seupwem (About), otioeb155 (Useful links), c0h3orm9 (More links) */
.mcb-section .mcb-wrap .mcb-item-m1seupwem .mcb-column-inner-m1seupwem ul.mfn-footer-menu-style-vertical,
.mcb-section .mcb-wrap .mcb-item-otioeb155 .mcb-column-inner-otioeb155 ul.mfn-footer-menu-style-vertical,
.mcb-section .mcb-wrap .mcb-item-c0h3orm9 .mcb-column-inner-c0h3orm9 ul.mfn-footer-menu-style-vertical {
  text-align: left;
}

.mcb-section .mcb-wrap .mcb-item-m1seupwem .mcb-column-inner-m1seupwem ul.mfn-footer-menu-style-horizontal,
.mcb-section .mcb-wrap .mcb-item-otioeb155 .mcb-column-inner-otioeb155 ul.mfn-footer-menu-style-horizontal,
.mcb-section .mcb-wrap .mcb-item-c0h3orm9 .mcb-column-inner-c0h3orm9 ul.mfn-footer-menu-style-horizontal {
  justify-content: center;
}

.mcb-section .mcb-wrap .mcb-item-m1seupwem ul a,
.mcb-section .mcb-wrap .mcb-item-otioeb155 ul a,
.mcb-section .mcb-wrap .mcb-item-c0h3orm9 ul a {
  color: #ffffff;
}

.mcb-section .mcb-wrap .mcb-item-otioeb155 ul a,
.mcb-section .mcb-wrap .mcb-item-c0h3orm9 ul a {
  padding-bottom: 5px;
}

.mcb-section .mcb-wrap .mcb-item-otioeb155 ul a:hover,
.mcb-section .mcb-wrap .mcb-item-c0h3orm9 ul a:hover {
  color: #2a27e9;
}

/* Bottom rule (7vk88ntv) */
.mcb-section .mcb-wrap .mcb-item-7vk88ntv .mfn-divider-inner {
  --mfn-divider-gap-top: 0px;
  --mfn-divider-gap-bottom: 0px;
  --mfn-divider-border-width: 1px;
  --mfn-divider-border-color: #e7e7e7;
}

/* Responsive (footer template) */
@media (max-width: 959px) {
  .mcb-section-247cbd595 {
    padding-top: 50px;
  }

  .mcb-section .mcb-wrap .mcb-item-efb698394 .mcb-column-inner-efb698394 {
    margin-bottom: 20px;
  }

  .mcb-section .mcb-wrap-43fb8ee63 .mcb-wrap-inner-43fb8ee63 {
    justify-content: center;
  }

  .mcb-section .mcb-wrap .mcb-item-gm4zrld5l .title,
  .mcb-section .mcb-wrap .mcb-item-e4xe97aco .title,
  .mcb-section .mcb-wrap .mcb-item-lquvpfgp .title {
    text-align: center;
  }

  .mcb-section .mcb-wrap .mcb-item-otioeb155 .mcb-column-inner-otioeb155 ul.mfn-footer-menu-style-vertical,
  .mcb-section .mcb-wrap .mcb-item-c0h3orm9 .mcb-column-inner-c0h3orm9 ul.mfn-footer-menu-style-vertical {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .mcb-section .mcb-wrap .mcb-item-m1seupwem .mcb-column-inner-m1seupwem ul.mfn-footer-menu-style-vertical,
  .mcb-section .mcb-wrap .mcb-item-otioeb155 .mcb-column-inner-otioeb155 ul.mfn-footer-menu-style-vertical,
  .mcb-section .mcb-wrap .mcb-item-c0h3orm9 .mcb-column-inner-c0h3orm9 ul.mfn-footer-menu-style-vertical {
    text-align: center;
  }
}
