footer.page-footer {
  padding-top: 80px;
  background-color: $ensa_lightgrey;
  color: $text_primary;

  p,
  a,
  strong {
    font-size: 0.9rem;

    @media only screen and (max-width: $breakpoint_notebook) {
      font-size: 0.8rem;
    }

    @media only screen and (max-width: $breakpoint_small) {
      font-size: 0.7rem;
    }
  }

  strong,
  a {
    color: $text_primary;
  }

  img {
    width: 100%;
    max-width: 220px;
  }

  svg {
    width: 100%;
    max-width: 220px;
  }

  .minor-footer-logos {
    width: 80%;
    max-width: 100px;

    &#mhfa-logo-image {
      max-width: 130px;
    }
  }

  .footer-title {
    font-size: 0.9rem;

    @media only screen and (max-width: $breakpoint_notebook) {
      font-size: 0.8rem;
    }

    @media only screen and (max-width: $breakpoint_small) {
      font-size: 0.7rem;
    }
  }

  .footer-link {
    margin-right: 16px;
  }

  .footer-language {
    margin-left: 16px;
  }

  a {
    text-decoration: none;

    &.footer-mailto {
      text-decoration: underline;
    }
  }
}

#logo-bs {
  max-width: 300px;
  width: 150%;
}

#logo-pms {
  width: 120%;
}

.footer-two-logos {
  display: block;
}

.footer-container-wrapper {
  margin-left: 20%;
}

.footer-container {
  display: flex;
  justify-content: center;
}

.footer-inner-container {
  display: flex;
  align-items: center;
}

.footer-margin {
  margin-right: 40px;
}

.fixed-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
}

@media only screen and (min-width: $breakpoint_medium) {
  .footer-two-logos {
    display: flex;
    align-items: center;
  }
}

@media only screen and (max-width: $breakpoint_medium) {
  .footer-margin {
    margin-right: 16px;
  }

  #logo-bs {
    width: 100%;
  }
}

.social-media {
  margin-bottom: 50px;
  img {
    height: 38px;
    width: auto;
    margin-left: 4px;
    float: right;
  }
}

.newsletter-footer {
  background-color: $ensa_lightgrey;
  border-bottom: 1px solid #D9D9D9;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 30px 0;


  .newsletter-footer-wrapper {
    color: $text_primary;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;

    @media only screen and (min-width: 993px) and (max-width: 1626px) {
      justify-content: center;
    }

    .newsletter-icon {
      position: absolute;
      left: -100px;

      @media only screen and (max-width: $breakpoint_large) {
        display: none;
      }
    }

    .newsletter-info {
      padding: 0 .75rem;
      p {
        font-size: 12px;
      }

      span {
        font-weight: bold;
        font-size: 20px;

        @media only screen and (max-width: $breakpoint_notebook) {
          font-size: 18px;
        }
        @media only screen and (max-width: $breakpoint_medium) {
          font-size: 16px;
        }
      }
    }

    .newsletter-input {
      form {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
      }

      .newsletter-text-input {
        width: 322px;
        padding: 0 .75rem 10px;

        .checkbox-label {
          color: #9E9E9E;
          font-size: 16px;
        }
      }

      .newsletter-click-input {
        padding: 1.5rem 0.75rem 10px;
        width: 350px;

        label {
          color: #9E9E9E;
          font-size: 12px;
        }

        .grey-checkbox[type="checkbox"]:not(:checked) + span:not(.lever)::before, [type="checkbox"]:not(.filled-in) + span:not(.lever)::after {
          border: 2px solid #9E9E9E;
        }

        input[type=submit], #newsletterSubmit {
          width: 145px;
          height: 33px;
          border: 2px solid #9E9E9E;
          color: #9E9E9E;
          font-size: 14px;
          margin-top: 20px;
          cursor: pointer;
        }

        span {
          font-size: 12px;

          a {
            font-weight: normal;
            text-decoration: underline;
            color: #9E9E9E;
            font-size: 12px;
          }
        }

      }
    }
  }
}

