.swifi-modal {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
  display: none;
}

.swifi-modal.show {
  display: block;
}

.swifi-modal .modal-dialog {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 300px;
  width: 100%;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
  border-top: 5px solid #777;
  text-align: center;
  line-height: 20px;
}

.swifi-modal.success .modal-dialog {
  border-color: #4caf50;
}

.swifi-modal.success .modal-footer .btnModalClose {
  background-color: #4caf50;
}

.swifi-modal.error .modal-dialog {
  border-color: #f74748;
}

.swifi-modal.error .modal-footer .btnModalClose {
  background-color: #f74748;
}

.swifi-modal.warning .modal-dialog {
  border-color: #ffcd17;
}

.swifi-modal.info .modal-dialog {
  border-color: #509dde;
}

.swifi-modal.info .modal-footer .btnModalClose {
  background-color: #509dde;
}
.swifi-modal .modal-body {
  height: 100%;
  overflow-x: hidden;
}
.swifi-modal .modal-body .modal-content {
  padding: 25px 10px 10px 10px;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

.swifi-modal .modal-footer {
  padding: 10px 10px 20px 10px;
}

.swifi-modal .modal-footer .btnModalClose {
  background-color: #777;
  border: none;
  border-radius: 50px;
  padding: 5px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  line-height: 1.5;
}