.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 760px;
  width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.25;
  box-sizing: border-box;
}

.modal__close {
  padding: 8px;
  cursor: pointer;
  margin: 0px;
  border: 0;
}

.modal__header .modal__close:before {
  content: "\2715";
}


.modal__content {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal__content p {
  margin-bottom: 4px;
}

.modal-trigger-btn {
  margin: 0 0.5rem 0.5rem 0;
  padding: 12px 24px;
}

.modal__btn {
  font-size: 1.4rem;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__wrapper {
  display: none;
}

.modal__wrapper.is-open {
  display: block;
}


.modal__footer {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 5px 0 5px 0;
}

@media screen and (max-width: 480px) {
      .modal__container {
        width: 100%;
        padding: 20px;
      }

      .modal__close {
        position: absolute;
        background: #eee;
        top: 5px;
        right: 5px;
        z-index: 21;
    }
      .modal__btn {
        width: 100%;
    }
      .modal-trigger-btn {
        padding: 10px 20px;
      }
}

.modal__content a:hover, .modal__content a:focus {
    color: #0063e7 !important;
}
