#vk_community_messages_safari_btn {
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 400;
    bottom: 0px;
    right: 25px;
    margin: 0px 0px 20px;
    background: none;
}

#widget_community_messages_css {
    display: none
}

.wcm_attach_doc_ic, .wcm_button_ic, .wcm_button_ic.wcm_button_ic_rev, .wcm_doc_upload_cancel, .wcm_fwd_ic, .wcm_head_close, .wcm_msg_error, .wcm_offline_offline_info:after, .wcm_photo_upload_cancel, .wcm_photo_upload_fail, .wcm_photo_uploaded, .wcm_typing {
    -ms-high-contrast-adjust: none
}

.wcm_border {
    border: 0;
    position: absolute;
    border-radius: 6px;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden
}

.no_display {
    display: none
}

.wcm_button {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #5f82a6;
    cursor: pointer;
    position: absolute;
    bottom: 0px;
    z-index: 1000
}

.wcm_button_tooltip {
    position: absolute;
    top: 5px;
    background: rgba(46, 48, 51, .9);
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.2px;
    padding: 11px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    filter: alpha(opacity=0);
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out
}

.wcm_button_tooltip:after {
    position: absolute;
    content: '';
    top: 50%;
    border: 8px solid transparent;
    border-left-color: rgba(46, 48, 51, .9);
    margin-top: -8px
}

.wcm_button_right {
    right: 0px
}

.wcm_button_right .wcm_button_tooltip {
    right: 70px;
    -o-transform: translateX(-15px);
    transform: translateX(-15px)
}

.wcm_button_right .wcm_button_tooltip:after {
    right: -16px
}

.wcm_button_left {
    left: 0px
}

.wcm_button_left .wcm_button_tooltip {
    left: 70px;
    -o-transform: translateX(15px);
    transform: translateX(15px)
}

.wcm_button_left .wcm_button_tooltip:after {
    left: -16px;
    -o-transform: rotate(180deg);
    transform: rotate(180deg)
}

.wcm_button_tooltip.shown {
    opacity: 1;
    filter: none;
    -o-transform: translateX(0px);
    transform: translateX(0px)
}

.wcm_chat {
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 25px;
    width: 320px;
    height: 100%;
    border-radius: 6px 6px 0px 0px;
    box-shadow: 0 0 0 1px rgba(0, 20, 51, .12), 0 20px 40px 0 rgba(0, 0, 0, .3)
}

.wcm_chat_shown {
    opacity: 0
}

.wcm_button, .wcm_chat {
    -o-transform: scale(1);
    transform: scale(1);
    -o-transition: all 100ms linear;
    transition: all 100ms linear
}

.wcm_button_hidden {
    -o-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
    z-index: -1
}

.wcm_button_hidden.wcm_chat {
    -o-transform: scale(0.9);
    transform: scale(0.9)
}

.wcm_button_ic {
    width: 100%;
    height: 100%;
    background: url(/assets/images/vk/w_chat_icon.png) 50% no-repeat;
    position: absolute;
    top: 0px;
    left: 0px;
}

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 192dpi) {
    .wcm_button_ic {
        background-image: url(/assets/images/vk/w_chat_icon_2x.png);
        background-size: 24px 24px
    }
}

.wcm_button_ic.wcm_button_ic_rev {
    transform: rotateY(0deg);
    background: url(/assets/images/vk/w_chat_logo.png) 50% no-repeat;
    -ms-animation: wcm_button_change_rev 6s infinite
}

@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 192dpi) {
    .wcm_button_ic.wcm_button_ic_rev {
        background-image: url(/assets/images/vk/w_chat_logo_2x.png);
        background-size: 24px 24px
    }
}

.wcm_button_wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    -o-animation: wcm_button_change 6s infinite;
    animation: wcm_button_change 6s infinite;
    -ms-animation: none
}

@-o-keyframes wcm_button_change {
    0% {
        transform: rotateY(0deg)
    }
    42.5% {
        transform: rotateY(0deg)
    }
    50% {
        transform: rotateY(180deg)
    }
    92.5% {
        transform: rotateY(180deg)
    }
    to {
        transform: rotateY(0deg)
    }
}

@keyframes wcm_button_change {
    0% {
        transform: rotateY(0deg)
    }
    42.5% {
        transform: rotateY(0deg)
    }
    50% {
        transform: rotateY(180deg)
    }
    92.5% {
        transform: rotateY(180deg)
    }
    to {
        transform: rotateY(0deg)
    }
}

@-o-keyframes wcm_button_change_rev {
    0% {
        transform: rotateY(180deg)
    }
    42.5% {
        transform: rotateY(180deg)
    }
    50% {
        transform: rotateY(0deg)
    }
    92.5% {
        transform: rotateY(0deg)
    }
    to {
        transform: rotateY(180deg)
    }
}

@keyframes wcm_button_change_rev {
    0% {
        transform: rotateY(180deg)
    }
    42.5% {
        transform: rotateY(180deg)
    }
    50% {
        transform: rotateY(0deg)
    }
    92.5% {
        transform: rotateY(0deg)
    }
    to {
        transform: rotateY(180deg)
    }
}