.agrikon-elementor-footer {
  .justify-content-space-between .elementor-icon-list-items {
    /* justify-content: space-between; */
    gap: 24px;
  }

  #footer-flex .elementor-widget-wrap {
    flex-direction: row;
    justify-content: space-between;

    @media screen and (max-width: 992px) {
      justify-content: start;
      flex-direction: column;
      align-items: start;
      align-content: start;
    }

    @media screen and (max-width: 600px) {
      align-content: center !important;
      align-items: center;
    }
  }

  #footer-flex .elementor-widget-wrap .elementor-element {
    width: fit-content !important;
  }

  .centered-text {
    text-align: center; /* Standaard gecentreerd voor tablet en mobiel */
    color: #b5c3be;
  }

  .centered-text a {
    color: inherit; /* Neemt dezelfde kleur over */
    text-decoration: none; /* Geen underline standaard */
  }

  .centered-text a:hover {
    text-decoration: underline; /* Alleen underline bij hover */
  }

  @media only screen and (min-width: 1024px) {
    .centered-text {
      text-align: left; /* Links uitgelijnd op desktop */
    }
  }

  .footer-links {
    text-align: right; /* Rechts uitgelijnd op desktop */
    color: #b5c3be; /* Tekstkleur */
  }

  .footer-links a {
    /* Ruimte tussen de linkjes */
    text-decoration: none; /* Geen standaard onderstreping */
    transition: color 0.3s; /* Vloeiende overgang voor kleurverandering */
  }

  .footer-links a:last-of-type {
    margin-left: 20px;
  }

  .footer-links a:hover {
    color: #ffffff; /* Tekstkleur bij hover */
  }

  @media only screen and (max-width: 1024px) {
    .footer-links {
      text-align: center; /* Gecentreerd op mobiele apparaten */
    }
  }
}

#financial-lease-modal,
#private-lease-modal,
#calculate-insurance-modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  &.open {
    opacity: 1;
    pointer-events: all;
  }

  .agrikon-modal-wrapper {
    width: 70%;
    height: 70%;
    margin: auto;
    overflow: clip;
    top: 0;
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;

    @media screen and (max-width: 768px) {
      width: 90%;
      height: 90%;
    }

    @media screen and (max-width: 501px) {
      width: 95%;
      height: 95%;
      text-align: center;
    }

    #financial-lease-close,
    #private-lease-close,
    #calculate-insurance-close {
      position: absolute;
      left: auto;
      top: 20px;
      right: 30px;
      cursor: pointer;
      width: 24px;
      height: 24px;
      background-image: url(images/svg/icon-close.svg);
      background-color: #fff;
      background-size: 12px 12px;
      background-position: center;
      background-repeat: no-repeat;
      transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      outline: 1px solid #e9e7e2;
      border-radius: 50%;

      &:hover {
        opacity: 0.5;
      }
    }
  }

  iframe {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 12px;

    html {
      overflow: hidden !important;
    }
  }
}

.no-scroll {
  overflow: hidden;
}
