@-webkit-keyframes ShowRight {
    0% {
        right: 0;
    }

    50% {
        right: 50px;
    }

    100% {
        right: 0;
    }
}

@keyframes ShowRight {
    0% {
        right: 0;
    }

    50% {
        right: 50px;
    }

    100% {
        right: 0;
    }
}

@-webkit-keyframes HideRight {
    0% {
        right: 0;
    }

    50% {
        right: 50px;
    }

    100% {
        right: -110%;
    }
}

@keyframes HideRight {
    0% {
        right: 0;
    }

    50% {
        right: 50px;
    }

    100% {
        right: -110%;
    }
}

.alertify-logs > * {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 4px;
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
}

    .alertify-logs > *, .alertify-logs > *.default {
        background: #175dab;
    }

		.alertify-logs > *.error {
			background: blue;
			font-size: 80%;
		}

		.alertify-logs > *.success {
			background: green;
		}


.alertify {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 10004;
}

    .alertify.hide {
        pointer-events: none;
    }

    .alertify, .alertify.show {
        box-sizing: border-box;
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

        .alertify, .alertify * {
            box-sizing: border-box;
        }

            .alertify .dialog {
                padding: 12px;
            }

            .alertify .dialog, .alertify .alert {
                width: 100%;
                margin: 0 auto;
                position: relative;
                top: 25%;
                -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
            }

                .alertify .dialog > *, .alertify .alert > * {
                    width: 400px;
                    max-width: 95%;
                    margin: 0 auto;
                    text-align: center;
                    padding: 12px;
                    background: #fff;
                    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.14), 0 4px 5px 0 rgba(0, 0, 0, 0.098), 0 1px 10px 0 rgba(0, 0, 0, 0.084);
                    border-radius: 5px;
                }

                .alertify .dialog .msg, .alertify .alert .msg {
                    padding: 12px;
                    margin-bottom: 12px;
                    margin: 0;
                    text-align: left;
                }

                .alertify .dialog input:not(.form-control), .alertify .alert input:not(.form-control) {
                    margin-bottom: 15px;
                    width: 100%;
                    font-size: 100%;
                    padding: 12px;
                }

                    .alertify .dialog input:not(.form-control):focus, .alertify .alert input:not(.form-control):focus {
                        outline-offset: -2px;
                    }

                .alertify .dialog nav, .alertify .alert nav {
                    text-align: right;
                }

                    .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button), .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button) {
                        background: transparent;
                        box-sizing: border-box;
                        color: rgba(0, 0, 0, 0.87);
                        position: relative;
                        outline: 0;
                        border: 0;
                        display: inline-block;
                        -webkit-align-items: center;
                        -ms-flex-align: center;
                        -ms-grid-row-align: center;
                        align-items: center;
                        padding: 0 6px;
                        margin: 6px 8px;
                        line-height: 36px;
                        min-height: 36px;
                        white-space: nowrap;
                        min-width: 88px;
                        text-align: center;
                        text-transform: uppercase;
                        font-size: 14px;
                        text-decoration: none;
                        cursor: pointer;
                        border: 1px solid transparent;
                        border-radius: 2px;
                    }

                        .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover, .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):hover, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):active {
                            background-color: rgba(0, 0, 0, 0.05);
                        }

                        .alertify .dialog nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus, .alertify .alert nav button:not(.btn):not(.pure-button):not(.md-button):not(.mdl-button):focus {
                            border: 1px solid rgba(0, 0, 0, 0.1);
                        }

                    .alertify .dialog nav button.btn, .alertify .alert nav button.btn {
                        margin: 6px 4px;
                    }

.alertify-logs {
    position: fixed;
    z-index: 10004;
}

    .alertify-logs.bottom, .alertify-logs:not(.top) {
        bottom: 16px;
    }

    .alertify-logs.left, .alertify-logs:not(.right) {
        left: 16px;
    }

        .alertify-logs.left > *, .alertify-logs:not(.right) > * {
            float: left;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            height: auto;
        }

            .alertify-logs.left > *.show, .alertify-logs:not(.right) > *.show {
                left: 0;
            }

            .alertify-logs.left > *, .alertify-logs.left > *.hide, .alertify-logs:not(.right) > *, .alertify-logs:not(.right) > *.hide {
                left: -110%;
            }

    .alertify-logs.right {
        right: 16px;
    }

        .alertify-logs.right > * {
            float: right;
            -webkit-animation-name: ShowRight;
            -webkit-animation-direction: alternate;
            -webkit-animation-duration: 0.5s;
            animation-name: ShowRight;
            animation-direction: alternate;
            animation-duration: 0.5s;
        }



            .alertify-logs.right > *.show {
                right: 0px;
            }

            .alertify-logs.right > *, .alertify-logs.right > *.hide {
                right: -110%;
            }

    .alertify-logs.top {
        top: 0;
    }

    .alertify-logs > * {
        box-sizing: border-box;
        position: relative;
        clear: both;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .alertify-logs > * {
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        pointer-events: none;
    }

        .alertify-logs > *.show {
            margin-top: 12px;
            max-height: 1000px;
            padding: 12px;
            pointer-events: auto;
        }
