.error{
    display: none;
    position: absolute;
    right: 0;
    left: 45%;
    margin-top: -88px;
    background-color: #bf0306;
    border: 3px solid #bf0306;
    border-radius: 5px;
    text-align: center;
    padding: 5px;    
    font-family: "Open Sans",sans-serif;
    font-weight: normal;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    z-index: 140;
}
.error.left{
    display: none;
    position: absolute;
    left: -15px;
    right: 62%;
    bottom: 70%;
    margin-bottom: 6%;
    background-color: #bf0306;
    border: 3px solid #bf0306;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    font-family: "Open Sans",sans-serif;
    font-weight: normal;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    z-index: 140;
}
.error.left:after {
    content: '';
    position: absolute;
    left: 12px;
    right: 100%;
    bottom: -23px;
    border: 10px solid transparent;
    border-top: 14px solid #bf0306;
    z-index: 143;
    background: linear-gradient(to top, #bf0306, #bf0306);
}
.error.left:before {
    display: none;
}
.error span{
    color: #bf0306;
}
.error:after {
    content: '';
    position: absolute;
    right: 12px;
    bottom: -23px;
    border: 10px solid transparent;
    border-top: 14px solid #bf0306;
    z-index: 143;
    background: linear-gradient(to top, #bf0306, #bf0306);
}
.error:before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 10px;
    bottom: -38px;
    background: url("./../img/error.png") 0 0 no-repeat;
}

.form_wr-error .error{
    display: block;
}
.form_wr-error .input{
    color: #000;

}

@media screen and (max-width: 800px) {
    .error {
        font-size: 24px;
        border-radius: 5px;
        left: 40%;
        line-height: 1;
    }
    .error.left {
        bottom: 57%;
        right: 45%;
        font-size: 24px;
        border-radius: 5px;
    }
    .error:after {
        right: 20px;
    }
    .error:before {
        content: '';
        position: absolute;
        width: 42px;
        height: 42px;
        right: 10px;
        bottom: -58px;
        background: url("./../img/error-mob.png") 0 0 no-repeat;
    }
}
@media screen and (max-width: 700px) {
    .error {
        font-size: 22px;
        border-radius: 5px;
        left: 45%;
        line-height: 1;
    }
    .error.left{
        bottom: 63%;
        right: 44%;
        left: -10px;
        font-size: 22px;
    }
}
@media screen and (max-width: 600px) {
    .error {
        font-size: 18px;
        border-radius: 5px;
        left: 43%;
    }
    .error.left{
        right: 45%;
        font-size: 18px;
    }
    .error:before {
        width: 35px;
        height: 35px;
        right: 13px;
        bottom: -50px;
        background-size: 100%;
    }
}
@media screen and (max-width: 560px) {
    .error{
        font-size: 16px;
    }
    .error.left{
        bottom: 78%;
        font-size: 16px;

    }
}
@media screen and (max-width: 450px) {
    .error{
        font-size: 16px;


    }
    .error.left{
        font-size: 16px;
        bottom: 74%;
    }
    .error:before {
        width: 28px;
        height: 28px;
        right: 16px;
        bottom: -43px;
        background-size: 100%;
    }
}
@media screen and (max-width: 414px) {
    .error{
        bottom: 62%;
    }
    .error.left{
        left: -10px;
    }
}
@media screen and (max-width: 375px) {
    .error{
        font-size: 12px;

    }
    .error.left{
        font-size: 12px;
        left: -10px;
        bottom: 88%;
        right: 40%;
    }
}

@media screen and (max-width: 320px) {
    .error{
        font-size: 11px;
        bottom: 76%;
        left: 48%;
    }
    .error.left {
        font-size: 11px;
        left: -10px;
        bottom: 90%;
        right: 40%;
    }
    .error:after {
        right: 10px;
    }
    .error:before {
        right: 7px;
    }
}