.abv_online_form_parent {
    position: fixed;
    z-index: 9999999;
    width: 100%;
    top: 0;
    left: 0;
    background: #00000078;
    height: 100vh;
}

.abv_online_form_parent {
    display: none;
}

.abv_online_form_parent .abv_onlineclick_form {
    background: white;
    margin: 0 auto;
    min-width: 300px;
    width: 100%;
    top: 10%;
    max-width: 400px;
}

.abv_onlineclick_form {
    padding: 25px 15px;
    border: 1px solid #eee;
    transition: all 0.1s ease-in-out;
    position: relative;
}

.abv_onlineclick_form h3 {
    font-weight: bold !important;
    font-size: 18px !important;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.input_line {
    margin-bottom: 10px;
}
.abv_onlineclick_form .wait_overlay {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: RGBA(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: all 0.2s ease-in-out;
}

.input_line input[type="text"] {

    padding: 10px 15px;
    font-size: 14px;
    height: auto;
    border: 1px solid #eee;
    width: 100%;
}

.input_line.submit {
    width: 100%;
    display: block;
    margin: 0;
}

.style_submit {
    background-color: #222021;
    color: #fff;
}

.input_line.submit>* {  padding: 12px;
    width: 100%!important;
    border: 0;
    display: block;
    text-align: center;
    font-size: 14px;
    margin: 10px 0!important;
    height: auto;
    cursor: pointer;
}
.input_line.submit .style_submit {
        background-color: #222021!important;
        color: #fff;
    }

.abv_online_form_parent.show {
    display: block;
}
#custom-livetex-fab {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 9999;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
}


#custom-livetex-fab .background-wrapper {
    width: inherit;
    height: inherit;
    webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
    border-radius: 100%;
    background: #d91e18 url(/bitrix/webcraft-api/module/chat/8898.png) center no-repeat;
    background-size: 36px !important;
    transition: all .2s ease;
}

#custom-livetex-fab .background-wrapper.abv_chat.open{
    background: #d91e18 url(/bitrix/webcraft-api/module/chat/close-white.svg) center no-repeat;
}





div#social_chats {
    display: none;
}

#social_chats {
    width: inherit;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.social_chats.social_chats_whatsapp {
    background: #25D366 url('/bitrix/webcraft-api/module/chat/whatsapp-icon.svg') center no-repeat;
}

.social_chats {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    transition: all .5s ease;
    display: block;
    margin: 6px 0;
}

.desktop .social_chats.social_chats_eldorado:before,
.mobile .social_chats.social_chats_eldorado:before,
.desktop .social_chats.social_chats_whatsapp:before,
.mobile .social_chats.social_chats_whatsapp:before,
.desktop .social_chats.social_chats_tg:before,
.mobile .social_chats.social_chats_tg:before,
.desktop .social_chats.social_chats_viber:before, .mobile .social_chats.social_chats_viber:before {
    position: relative;
    display: flex;
    width: 165px;
    overflow: hidden;
    height: inherit;
    align-items: center;
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
    left: 48px;
    font-size: 14px;
    line-height: 16px;
    color: #555;
}



#social_chats.openChats .social_chats.social_chats_viber, #social_chats.openChats .social_chats.social_chats_whatsapp, #social_chats.openChats .social_chats.social_chats_eldorado {
    opacity: 1;
    visibility: visible;
}



.social_chats.social_chats_whatsapp:before {
    content: "WhatsApp";
}
.social_chats.social_chats_eldorado:before {
    content: "Онлайн-консультация через WhatsApp";
}
.social_chats.social_chats_tg:before {
    content: "Telegram";
}

.social_chats.social_chats_tg {
    background: #2ba4e0 url(/bitrix/webcraft-api/module/chat/tg.png) center no-repeat;
    background-size: contain;
}



.social_chats.social_chats_eldorado {
    background: #d91e18 url(/bitrix/webcraft-api/module/chat/white00.png) center no-repeat;
    background-size: 25px;
}

div#social_chats {
    position: absolute!important;
    background: white;
    border: 1px solid #e1e1e1;
    width: 250px;
    line-height: 14px;
    color: #404040;
    z-index: 400;
    border-radius: 5px;
    padding: 10px 9px;
    left: 0px !important;
    font-size: 12px;
    height: auto;
    bottom: 69px!important;
    font-weight: 400;
}
#social_chats:after {
    content: " ";
    position: absolute;
    bottom: -10px;
    left: 12%!important;
    margin-left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff  transparent transparent transparent;
}