.validate-error {
    border-color: #d10000 !important
}

.validate-popup {
    transition: all ease 300ms;
    cursor: pointer;
    position: absolute;
    background-color: white;
    color: #f2672a;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    z-index: -1;
    opacity: 0
}

.validate-popup.active {
    z-index: 99999;
    opacity: 1
}

.validate-popup:after {
    position: absolute;
    bottom: 0;
    right: 0;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: white transparent transparent transparent;
    margin-right: 8px;
    margin-bottom: -5px
}

.validate-popup.short-version:after {
    left: 0;
    margin-left: 8px
}

.validate-class {
    position: relative
}

.validate-class:before,
.validate-class:after {
    content: '';
    opacity: 0;
    transition: opacity ease 300ms;
    position: absolute;
    right: 0;
    top: -36px
}

.validate-class:before {
    background-color: white;
    color: black;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    white-space: nowrap
}

.validate-class:after {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #FFFFFF transparent transparent transparent;
    margin-top: 28px;
    margin-right: 10px
}