/*
//
// Tip: to integrate this plugin seamlessly into your application, use these styles as a starting
// point to build your own stylish alerts and confirmations!
//
*/

/* Modal */
.alertable {
    position: fixed;
    z-index: 9999;
    top: 38vh;
    left: calc(50% - 150px);
    width: 300px;
    background: white;
    border-radius: 4px;
    padding: 20px;
    margin: 0 auto;
}

/* Overlay */
.alertable-overlay {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
}

/* Message */
.alertable-message {
    margin-bottom: 20px;
}

    .alertable-message .icon-info {
        position: relative;
        top: 3px;
        font-size: 20px;
        margin-right: 6px;
    }

        .alertable-message .icon-info.error {
            color: red;
        }

        .alertable-message .icon-info.info {
            color: #0970ac;
        }

/* Prompt */
.alertable-prompt {
    margin-bottom: 20px;
}

.alertable-input {
    width: 100%;
    border-radius: 4px;
    box-shadow: none;
    border: solid 1px #ccc;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: 6px 12px;
    display: block;
    box-sizing: border-box;
    margin-bottom: 10px;
}

/* Button group */
.alertable-buttons {
    text-align: right;
}

/* OK button */
.alertable-ok {
    background: #0970ac;
    border: solid 1px #0970ac;
    font-family: inherit;
    font-size: inherit;
    color: white;
    border-radius: 3px;
    padding: 3px 8px;
    margin-left: 4px;
    cursor: pointer;
}

    .alertable-ok:hover {
        background-color: #0b5d8c;
    }

/* Cancel button */
.alertable-cancel {
    border: solid 1px #ddd;
    background: white;
    font-family: inherit;
    font-size: inherit;
    color: #888;
    border-radius: 3px;
    padding: 3px 8px;
    margin-left: 4px;
    cursor: pointer;
}

    .alertable-cancel:hover,
    .alertable-cancel:focus,
    .alertable-cancel:active {
        background-color: #f2f2f2;
    }
