.modal-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(229, 229, 229, 0.7);
  z-index: 99999;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  user-select: none;
  transition-delay: 1s;
}

.modal-wrapper .custom-modal {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  min-width: 500px;
  top: -50%;
  -webkit-transition: top 0.2s ease-out;
  transition: top 0.2s ease-out;
  transition-delay: 0.2s;
}

.modal-wrapper .custom-modal.fade-in {
  top: 20%;
}

.modal-wrapper .custom-modal .title {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-wrapper .custom-modal .body {
  position: relative;
  padding: 15px;
}

.modal-wrapper .custom-modal .footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}

.modal-wrapper .custom-modal .footer .button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  text-transform: uppercase;
}