.errors {
    top:0;
    position: absolute;
    background-color: #FFFEE4;
    border: 1px solid #CC0000;
    border-top: none;
    z-index: 1;
}

.errors div {
    padding: 10px 15px 0 15px;
    text-align: left;
    color: #FF0000;
}

.errors > div:last-child {
    display: block;
    padding: 0 15px;
}

/* mobile */
@media all and (max-width: 840px) {
    .error { margin: 20px; }

    .errors {
        left: 10px;
        right: 10px;
    }
}

/* desktop */
@media all and (min-width: 841px) {
    .error {
        margin: 20px auto;
        max-width: 800px;
    }

    .errors {
        left: 50%;
        margin-left: -400px;
        width: 800px;
    }
}