.alertify {
    .ajs-dialog {
        max-width: 390px;
    }

    &.ajs-in:not(.ajs-hidden) .ajs-dialog {
        animation-duration: 0.2s;
    }

    .alertify-notifier .ajs-message,
    .ajs-dimmer,
    .ajs-modal {
        transition-duration: 150ms;
    }

    .ajs-commands {
        margin: 7px 15px 5px 5px;
        top: 0;
        right: 0;

        .ajs-close {
            &:focus {
                outline: 1px dotted rgba(0, 0, 0, 0.3);
                outline-offset: 1px;
            }
        }
    }

    .ajs-header {
        padding: 24px 24px 10px;
        color: $op-grey;
        background: $op-white;
        border: none;
        font-weight: normal;
    }

    .ajs-body {
        min-height: 0;

        .ajs-content {
            margin: 0;
            padding: 0;
            max-width: 80%;
            font-weight: 300;
            font-size: 0.9em;
            line-height: 1.3;
        }
    }

    .ajs-footer {
        padding: 12px 16px 16px 24px;
        background: $op-white;
        border: none;

        .ajs-buttons .ajs-button {
            margin: 0 0 0 5px;
            font-weight: 300;

            &:focus {
                outline: 1px dotted rgba(0, 0, 0, 0.3);
                outline-offset: 1px;
            }

            &.ajs-ok {
                color: #fff;
                background: #0175ff;
                box-shadow: 0 4px 7px -3px rgba(42, 86, 210, 0.61);
            }
        }

        .ajs-buttons.ajs-primary .ajs-button {
            margin: 0 0 0 5px;
            margin: 0 0 0 5px;
            font-size: 0.7em;
            min-width: 6em;
            min-height: 2.8em;
            border-radius: 2px;
        }
    }
}
