/* Shared close control for Bootstrap modal headers, including dynamic modals. */
.modal .modal-content > .modal-header {
    position: relative;
    min-height: 52px;
    padding-right: 64px;
}

.modal .modal-header > .modal-title {
    min-width: 0;
    padding-right: 0;
    overflow-wrap: break-word;
}

.modal .modal-content > .modal-header > .close {
    position: absolute;
    top: 50%;
    right: 8px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    text-indent: 0;
    text-shadow: none;
}

.modal .modal-header > .close > span {
    display: block;
    margin: 0;
    padding: 0;
    font: inherit;
    line-height: 1;
}
