/**
 * Modal Dialogue
 *
 * note: Autoprefixer enabled 
 * to compile cross-browser syntax
 */
.modal-wrapper,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal-overlay {
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-wrapper {
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.form-subscribe-modal {
  max-width: 600px;
  position: relative;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.4);
  background-color: #fff;
  padding: 15px 15px 0;
  pointer-events: auto;
}
.form-subscribe-modal h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 20px;
  text-align: center;
}
.form-subscribe-modal p {
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
}
.no-flexbox .form-subscribe-modal {
  width: 330px;
  height: 342px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -171px 0 0 -115px;
}

#formod .form {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.modal-close {
  position: absolute;
  top: 1px;
  right: 1px;
  font-size: 30px;
  font-family: monospace;
  line-height: 12px;
  text-decoration: none;
  color: #1fb7a6;
}
.modal-close:hover {
  color: green;
}

@-webkit-keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@-webkit-keyframes slideOutToRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes slideOutToRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}
.modal-wrapper {
  display: none;
  transform: translateX(-100%);
}
.modal-wrapper.slide-in {
  display: flex;
  -webkit-animation-name: slideInFromLeft;
          animation-name: slideInFromLeft;
  -webkit-animation-duration: 0.2s;
          animation-duration: 0.2s;
  -webkit-animation-timing-function: ease-out;
          animation-timing-function: ease-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.no-flexbox .modal-wrapper.slide-in {
  display: block;
}

.modal-wrapper.slide-out {
  -webkit-animation-name: slideOutToRight;
          animation-name: slideOutToRight;
  -webkit-animation-duration: 0.2s;
          animation-duration: 0.2s;
  -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-animation-delay: 0;
          animation-delay: 0;
}

.modal-overlay {
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
.modal-overlay.modal-hidden {
  display: none;
  opacity: 0;
}

/**
 * Sticky Footer
 *
 * see https://codepen.io/astrotim/pen/PwYQOJ/
 */

/* all other decorative CSS imported from https://codepen.io/astrotim/pen/vEBdam */