.alertify,
.alertify *,
.alertify-logs>* {
    box-sizing: border-box
}

.alertify-logs>* {
    color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .2);
    border-radius: 1px
}

.alertify-logs>*,
.alertify-logs>.default {
    background: #95a5a6;
}

.alertify-logs>.error {
    background: #e74c3c;
}

.alertify-logs>.success {
    background: #2ecc71;
}

.alertify {
    position: fixed;
    background-color: rgba(0, 0, 0, .3);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 99999
}

.alertify.hide {
    opacity: 0;
    pointer-events: none
}

.alertify,
.alertify.show {
    box-sizing: border-box;
    transition: all .33s cubic-bezier(.25, .8, .25, 1)
}

.alertify .dialog {
    padding: 12px
}

.alertify .alert,
.alertify .dialog {
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%)
}

.alertify .alert>*,
.alertify .dialog>* {
    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, .14), 0 4px 5px 0 rgba(0, 0, 0, .098), 0 1px 10px 0 rgba(0, 0, 0, .084)
}

.alertify .alert .msg,
.alertify .dialog .msg {
    padding: 12px;
    margin: 0;
    text-align: left
}

.alertify .alert input:not(.form-control),
.alertify .dialog input:not(.form-control) {
    margin-bottom: 15px;
    width: 100%;
    font-size: 100%;
    padding: 12px
}

.alertify .dialog nav button.cancel,
.alertify .dialog nav button.ok {
    display: inline-block!important;
    padding: 8px 20px 9px!important;
    font-size: 16px!important
}

.alertify .alert input:not(.form-control):focus,
.alertify .dialog input:not(.form-control):focus {
    outline-offset: -2px
}

.alertify .alert nav,
.alertify .dialog nav {
    text-align: right
}

.alertify .dialog nav button.cancel,
.alertify .dialog nav button.ok {
    width: 100%!important;
    margin: 4px 0!important;
    font-weight: 400!important;
    line-height: 1.42857143!important;
    text-align: center!important;
    white-space: nowrap!important;
    vertical-align: middle!important;
    -ms-touch-action: manipulation!important;
    touch-action: manipulation!important;
    cursor: pointer!important;
    -webkit-user-select: none!important;
    -moz-user-select: none!important;
    -ms-user-select: none!important;
    user-select: none!important;
    background-image: none!important;
    border-radius: 4px!important
}

.alertify .dialog nav button.cancel {
    border: 2px solid #edb2ad!important;
    color: #fff!important;
    background-color: #edb2ad!important
}

.alertify .dialog nav button.cancel:hover {
    background-color: transparent!important;
    border: 2px solid #edb2ad!important;
    color: #edb2ad!important
}

.alertify .dialog nav button.ok {
    border: 2px solid #83a0ce!important;
    color: #fff!important;
    background-color: #83a0ce!important
}

.alertify .dialog nav button.ok:hover {
    background-color: transparent!important;
    border: 2px solid #83a0ce!important;
    color: #83a0ce!important
}

.alertify .alert nav button.btn,
.alertify .dialog nav button.btn {
    margin: 6px 4px
}

.alertify-logs {
    position: fixed;
    z-index: 99999
}

.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;
    transform: translateZ(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;
    transform: translateZ(0)
}

.alertify-logs.right>.show {
    right: 0;
    opacity: 1
}

.alertify-logs.right>*,
.alertify-logs.right>.hide {
    right: -110%;
    opacity: 0
}

.alertify-logs.top {
    top: 0
}

.alertify-logs>* {
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    clear: both;
    backface-visibility: hidden;
    perspective: 1000;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none
}

.alertify-logs>.show {
    margin-top: 12px;
    opacity: 1;
    max-height: 1000px;
    padding: 12px;
    pointer-events: auto
}