input.invalid, select.invalid {
    border: 1px solid #F00 !important;
    border-bottom: none !important;
    transition: 0.4s all;
}
div.invalid{
    color: white;
    border: 1px solid rgba(255, 0, 0, 0.45);
    background: rgba(255, 0, 0, 0.45);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-top: 0px;
    margin-top: -21px;
    margin-bottom: 10px;
    border-radius: 3px;
}
div.invalid:empty {
    display: none;
}