/**
 * Default Look and Feel
 */
.alertify,
.alertify-log {
    font-family: sans-serif;
}
.alertify {
    background: #FFF;
    border: 10px solid #333; /* browsers that don't support rgba */
    border: 10px solid rgba(0,0,0,.7);
    border-radius: 8px;
    box-shadow: 0 3px 3px rgba(0,0,0,.3);
    -webkit-background-clip: padding;     /* Safari 4? Chrome 6? */
       -moz-background-clip: padding;     /* Firefox 3.6 */
            background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
}
    .alertify-text {
        border: 1px solid #CCC;
        padding: 10px;
        border-radius: 4px;
    }
    .alertify-button {
        border-radius: 4px;
        color: #FFF;
        font-weight: bold;
        padding: 6px 15px;
        text-decoration: none;
        text-shadow: 1px 1px 0 rgba(0,0,0,.5);
        box-shadow: inset 0 1px 0 0 rgba(255,255,255,.5);
        background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
        background-image:    -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
        background-image:     -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
        background-image:      -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
        background-image:         linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    }
    .alertify-button:hover,
    .alertify-button:focus {
        outline: none;
        background-image: -webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
        background-image:    -moz-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
        background-image:     -ms-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
        background-image:      -o-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
        background-image:         linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
    }
    .alertify-button:focus {
        box-shadow: 0 0 15px #2B72D5;
    }
    .alertify-button:active {
        position: relative;
        box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
    }
        .alertify-button-cancel,
        .alertify-button-cancel:hover,
        .alertify-button-cancel:focus {
            background-color: #FE1A00;
            border: 1px solid #D83526;
        }
        .alertify-button-ok,
        .alertify-button-ok:hover,
        .alertify-button-ok:focus {
            background-color: #5CB811;
            border: 1px solid #3B7808;
        }

.alertify-log {
    background: #FFF;
    padding: 15px;
    border: 10px solid #333; /* browsers that don't support rgba */
    border: 10px solid rgba(0,0,0,.7);
    border-radius: 2px;
    box-shadow: 0 3px 3px rgba(0,0,0,.3);
    -webkit-background-clip: padding;     /* Safari 4? Chrome 6? */
       -moz-background-clip: padding;     /* Firefox 3.6 */
            background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
    text-align: center;
    font-size: 20px;
    font-family: inherit;
}
    .alertify-log-error {
        color: #d9534f;
    }
    .alertify-log-success {
        color: #5cb85c;
    }

.alertify-logs {
    top: 0;
    left: 50%;
    width: 300px;
    margin-left: -150px;
}

.alertify {
    top: 200px;
    width: 300px;
    margin-left: -150px;
}

.alertify-message {
    margin: 0 0 20px;
}

.alertify-log {
    right: 0;
}

.alertify-log-show {
    -webkit-transform: translate(0, 150px);
       -moz-transform: translate(0, 150px);
        -ms-transform: translate(0, 150px);
         -o-transform: translate(0, 150px);
            transform: translate(0, 150px);
}

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

@media only screen and (max-width: 680px) {
    .alertify, .alertify-logs {
        margin: 0;
        margin-left: -150px;
    }
}
