/* Modal */
.alertable {
    position: fixed;
    z-index: 9999;
    top: 30vh;
    box-sizing: border-box;
    left: 0;
    right: 0;
    width: 450px;
    max-width: 92%;
    background: #ffffff;
    padding: 20px;
    margin: 0 auto;
    font-family: var(--FontFamily), sans-serif;
    font-size: 16px;
    box-shadow: 3px 3px 10px -1px #333333;
}

/* Overlay */
.alertable-overlay {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Message */
.alertable-message {
    margin-bottom: 25px;
    user-select: none;
}

/* Prompt */
.alertable-prompt {
    margin-bottom: 20px;
}

.alertable-input {
    width: 100%;
    border-radius: 4px;
    box-shadow: none;
    border: solid 1px #cccccc;
    font-family: var(--FontFamily), sans-serif;
    font-size: 16px;
    color: inherit;
    padding: 6px 12px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Button group */
.alertable-buttons {
    text-align: right;
}

/* Buttons */
.alertable-ok,
.alertable-cancel {
    background-color: var(--ButtonBackgroundColour);
    color: var(--ButtonTextColour);
    border: none;
    font-family: var(--FontFamily), sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 6px 20px 4px 20px;
    margin-left: 20px;
    cursor: pointer;
    width: 80px;
}

.alertable-ok:focus,
.alertable-ok:active,
.alertable-cancel:focus,
.alertable-cancel:active {
    outline: none;
}

.alertable-ok:hover,
.alertable-cancel:hover {
    background-color: var(--ButtonHoverBackgroundColour);
    color: var(--ButtonHoverTextColour);
}
