.alertify, .alertify-show, .alertify-log {
    transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* easeOutBack */
}

.alertify-hide {
    transition: all 250ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
    /* easeInBack */
}

.alertify-log-hide {
    transition: all 500ms cubic-bezier(0.6, -0.28, 0.735, 0.045);
    /* easeInBack */
}

.alertify-cover {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
    filter: alpha(opacity=0.4);
    opacity: 0.4;
}

.alertify-cover-hidden {
    display: none;
}

.alertify {
    position: fixed;
    z-index: 99999;
    top: 75px;
    left: 50%;
    width: 550px;
    margin-left: -275px;
    opacity: 1;

    background: #FFF;
    border: 10px solid #222;
}

.alertify-hidden {
    opacity: 0;
    display: none;
}

/* overwrite display: none; for everything except IE6-8 */
:root * > .alertify-hidden {
    display: block;
    visibility: hidden;
}

.alertify-logs {
    position: fixed;
    z-index: 5000;
    bottom: 10px;
    right: 10px;
    width: 300px;
}

.alertify-logs-hidden {
    display: none;
}

.alertify-log {
    display: block;
    margin-top: 10px;
    position: relative;
    right: -300px;
    opacity: 0;
}

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

.alertify-log-hide {
    -webkit-transform: translate(300px, 0);
    -ms-transform: translate(300px, 0);
    transform: translate(300px, 0);
    opacity: 0;
}

.alertify-dialog {
    padding: 25px;
}

.alertify-resetFocus {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.alertify-inner {
    text-align: center;
}

.alertify-inner p {
    margin: 0 0 1.4em;
}

.alertify-text {
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    font-size: 100%;

    border: 1px solid #CCC;
    padding: 10px;
}

.alertify-button, .alertify-button:hover, .alertify-button:active, .alertify-button:visited {
    display: inline-block;
    margin: 0 3px;
    padding: 12px 15px;
    border: none;
    width: auto;
    height: auto;
    min-width: 100px;
    max-width: none;

    background: #7fc9e4;

    color: #FFF;
    font-weight: normal;
    line-height: 1.4;
    text-decoration: none;

    cursor: pointer;
    transition: box-shadow 0.3s ease;
    box-shadow: inset 0 50px 0 0 rgba(0, 0, 0, 0.0);
}

.alertify-button:hover, .alertify-button:focus {
    outline: none;
    box-shadow: inset 0 50px 0 0 rgba(0, 0, 0, 0.3);
}

.alertify-button:focus {
    box-shadow: 0 0 15px #7fc9e4;
}

.alertify-button-cancel, .alertify-button-cancel:hover, .alertify-button-cancel:focus {
    background-color: #E65D5D;
}

.alertify-button-ok, .alertify-button-ok:hover, .alertify-button-ok:focus {
    background-color: #7DC692;
}

.alertify-log {
    background: #222;
    padding: 15px;
    color: #FFF;
}

.alertify-log-error {
    background: #E65D5D;
}

.alertify-log-success {
    background: #7DC692;
}

@media only screen and (max-width: 680px) {
    .alertify, .alertify-logs {
        width: 90%;
        box-sizing: border-box;
    }

    .alertify {
        left: 5%;
        margin: 0;
    }
}
