/* Modal */
.alertable {
    position: fixed;
    z-index: 7001;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*width: 21.429rem;*/
    /*background: white;*/
    /*border-radius: 0.286rem;*/
    /*padding: 1.429rem;*/
    margin: 0 auto;
    max-width: 90%;
    min-width: 500px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    padding: 1rem;
}

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

/* title */
.alertable-title {
    width: 100%;
    padding: 0.714rem 0;
    text-align: center;
    margin: 0 auto 1.429rem;
    font-size: 1.214rem;
    /*color: #000;*/
    border-bottom: 1px solid #e5e5e5;
}

/* Message */
/*.alertable-message, .alertable-message * {   240711 수정*/
.alertable-message, .alertable-message {
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0.714rem 1.071rem 1.429rem;
}

/* Prompt */
.alertable-prompt {
    margin-bottom: 1.429rem;
}

.alertable-input {
    width: 100%;
    border-radius: 0.286rem;
    box-shadow: none;
    border: solid 1px #ccc;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 0.429rem 0.857rem;
    display: block;
    box-sizing: border-box;
    margin-bottom: 0.714rem;
}

/* Button group */
.alertable-buttons {
    text-align: center;
    padding: 0.4rem 2rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.alertable-buttons button {
    margin: 0 0.714rem;
    min-width: 6.857rem;
    padding: 0.3rem 1rem 0.4rem;
    border-radius: 0.25rem;
}

/* OK button */
.alertable-ok {
    font-family: var(--bs-body-font-family);
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    border: 1px solid #2e6da4;
}

.alertable-ok:hover {
    outline: none;
    box-shadow: 0 0 0 3px rgba(51, 122, 183, 0.5);
}

.alertable-ok:hover,
.alertable-ok:focus,
.alertable-ok:active {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

/* Cancel button */
.alertable-cancel {
    font-family: var(--bs-body-font-family);
    background-color: #6c757d;
    color: #fff;
    border: 1px solid #6c757d;
}

.alertable-cancel:hover {
    outline: none;
    box-shadow: 0 0 0 3px rgb(208, 207, 207);
}

.alertable-cancel:hover,
.alertable-cancel:focus,
.alertable-cancel:active {
    color: #fff;
    background-color: #5a6268;
    /*border-color: #adadad;*/
    border: 1px solid #adadad;
}
