$( document ).ready(function() {
    $('.contacts_m1').click(function(e) {
        e.preventDefault();
        $('.contacts_m1').removeClass('contacts_m_active');
        $(this).addClass('contacts_m_active');
    });
    var form_1 = $('.form_alex');
    var form_2 = $('.form_anton');
    $('#cont_m1').click(function(){
        $('.contacts-form-arrow').css({left:26, transition:'0.4s'});
        form_1.css({display:'block'});
        form_2.css({display:'none'});
    });
    $('#cont_m2').click(function(){
        $('.contacts-form-arrow').css({left:289, transition:'0.4s'});
        form_1.css({display:'none'});
        form_2.css({display:'block'});
    });
});