form .ft_messd {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}
.messd_item,
.messd_messengers{
    clear:both;
}
.messd_item,
.messd_item .messd_title,
.messd_messengers,
.messd_add,
.messd_link,
.messd_add:before,
.messd_item .messd_title:before,
.messd_link:before{
    display:inline-block;
    vertical-align:top;
}
.messd_item{
    position:relative;
    padding-right:25px;
    margin-bottom:8px;
    float: left;
    clear: both;
}
.messd_elems > .messd_item:last-child{
    margin-bottom:5px;
}
.messd_item .messd_title{
    background:#eee;
    border-radius:2px;
    color:#fff;
    overflow:hidden;
    margin:0 5px 2px 0;
    float:left;
    line-height:30px;
}
.messd_item input,
.messd_item select{
    height:30px;
    border:1px solid #ccc;
    border-radius:2px;
    float:left;
    margin:0 5px 2px 0;
    font-size:14px;
    transition:all ease .2s;
}
.messd_item input{
    padding:0 10px;
    width:200px;
}
.messd_item select{
    text-align-last:center;
    text-align:center;
    cursor:pointer;
}
.messd_item input:focus,
.messd_item select:focus{
    border:1px solid #ff0000;
    box-shadow:0 0 0 2px rgba(255,0,0,.3);
}
.messd_del{
    position:absolute;
    top:0;
    right:0;
    width:30px;
    height:30px;
    cursor:pointer;
}
.messd_del:before{
    display:block;
    position:absolute;
    transition:all ease .15s;
    content:'';
    width:12px;
    height:2px;
    left:9px;
    top:14px;
    background:#ff0020;
}
.messd_del:hover:before{
    background:#ff6a00;
}
.messd_messengers{
    line-height:30px;
    width:100%;
}
.messd_add_title{
    float:left;
    margin-right:10px;
}
.messd_add,
.messd_link{
    background:#eee;
    border-radius:2px;
    padding:0 10px 0 0;
    cursor:pointer;
    transition:all ease .15s;
    color:#fff!important;
    text-decoration:none!important;
    overflow:hidden;
    margin:0 5px 5px 0;
    float:left;
    line-height:30px;
}
.messd_link{
    float:none;
    clear:both;
}
.messd_phone,
.messd_item .messd_title_phone{
    background:#dc1100;
}
.messd_phone:hover{
    background:#e91200;
}
.messd_viber,
.messd_item .messd_title_viber{
    background:#9959c7;
}
.messd_viber:hover{
    background:#a963dc;
}
.messd_telegram,
.messd_item .messd_title_telegram{
    background:#2dc5f3;
}
.messd_telegram:hover{
    background:#2eceff;
}
.messd_whatsapp,
.messd_item .messd_title_whatsapp{
    background:#46cc53;
}
.messd_whatsapp:hover{
    background:#4ee05c;
}
.messd_skype,
.messd_item .messd_title_skype{
    background:#04a9f3;
}
.messd_skype:hover{
    background:#12b4ff;
}
.messd_add:before,
.messd_item .messd_title:before,
.messd_link:before{
    content:'';
    width:30px;
    height:30px;
    margin-right:10px;
    background-position:center;
    background-size:20px;
    background-repeat:no-repeat;
}
.messd_item .messd_title:before{
    margin-right:0;
}
.messd_phone:before,
.messd_item .messd_title_phone:before{
    background-image:url('/templates/default/images/fields/messd/phone.png');
    background-color:#b20808;
}
.messd_viber:before,
.messd_item .messd_title_viber:before{
    background-image:url('/templates/default/images/fields/messd/viber.png');
    background-color:#7c4f9d;
}
.messd_telegram:before,
.messd_item .messd_title_telegram:before{
    background-image:url('/templates/default/images/fields/messd/telegram.png');
    background-color:#26aed6;
}
.messd_whatsapp:before,
.messd_item .messd_title_whatsapp:before{
    background-image:url('/templates/default/images/fields/messd/whatsapp.png');
    background-color:#3aaa43;
}
.messd_skype:before,
.messd_item .messd_title_skype:before{
    background-image:url('/templates/default/images/fields/messd/skype.png');
    background-color:#0491d0;
}