.popup-overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.75);
  display: none;
  z-index: 1001;
  justify-content: center;
  align-items: center;

  animation-name: FadeInPopUp;
  animation-duration: 1s;
  transition-timing-function: ease;
}

.newsletter-popup {
  display: none;
  z-index: 100;
  width: 600px;
  height: auto;
  margin: 0 auto;
  background-color: white;
  padding: 0 30px 50px;

  flex-direction: column;
  align-items: center;

  animation-name: FadeInPopUp;
  animation-duration: 1s;
  transition-timing-function: ease;

  @media only screen and (max-width: $breakpoint_notebook) {
    width: 500px;
    padding: 0 30px 30px;
  }

  .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
    margin-right: -18px;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .newsletter-icon {
    i {
      color: $zim_orange;

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

  p {
    font-size: 12px;
  }
  .newsletter-info {
    text-align: center;
    padding-bottom: 10px;

    span {
      font-weight: bold;
      font-size: 32px;
      color: $zim_orange;

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

  .newsletter-input {

    form {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .newsletter-text-input {
      padding-top: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;

      input {
        width: 322px;
      }

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

    .newsletter-click-input {
      padding-top: 10px;
      width: 322px;
      display: flex;
      flex-direction: column;
      align-items: center;

      label {
        color: black;
        font-size: 12px;
      }

      input[type=submit], #newsletterSubmitPopup {
        width: 145px;
        height: 33px;
        border: 2px solid black;
        color: black;
        font-size: 14px;
        margin-top: 20px;
        background: none;
        cursor: pointer;

        :hover {
          background-color: #9E9E9E;
        }
      }

      span {
        font-size: 12px;

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


    }
  }
}

@keyframes FadeInPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes FadeInPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes FadeInPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes FadeInPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes FadeInPopUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}