.modal-header, h4, .close {
    background-color: #343a40;
    color: white !important;
    text-align: center;
    font-size: 20px;
    display: block !important;
}

.modal-footer {
    background-color: #f9f9f9;
}

@media (min-width: 992px) {
  #dModal.modal-dialog {
    max-width: 50%;
  }
}