@charset "UTF-8";
/* ATchats ver:2.2 */

* {
    -webkit-tap-highlight-color: transparent !important;
}

.chats-wrap {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    z-index: 999;
}

.chats {
    overflow: hidden;
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    width: 55px;
    text-align: center;
    z-index: 999;
    border-radius: 55px;
    pointer-events: none;
}

.chats>div {
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    pointer-events: all;
    cursor: pointer;
    z-index: 1003;
}

div.chats-items {
    /* bottom: -300px; */
    visibility: hidden;
    margin-bottom: 10px;
    transition-duration: .3s;
}

.chats-item svg {
    fill: #fff;
    padding: 20%;
}

svg.chats-close {
    width: 100%;
    height: 100%;
    padding: 22%;
    position: absolute;
    margin: 0 auto;
    fill: #fff;
    cursor: pointer;
    pointer-events: all;
    transition-duration: 1s;
    transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    -ms-transform: rotateZ(90deg);
    -o-transform: rotateZ(90deg);
}

svg.chats-close {
    visibility: hidden;
}

svg.chats-open {
    visibility: visible;
}

@keyframes title {
    from {
        opacity: 0;
        -webkit-transform: scaleX(0) translate(-100%, -50%);
        -moz-transform: scaleX(0) translate(-100%, -50%);
        -ms-transform: scaleX(0) translate(-100%, -50%);
        -o-transform: scaleX(0) translate(-100%, -50%);
        transform: scaleX(0) translate(-100%, -50%);
    }

    to {
        opacity: 1;
        -webkit-transform: scaleX(1) translate(-100%, -50%);
        -moz-transform: scaleX(1) translate(-100%, -50%);
        -ms-transform: scaleX(1) translate(-100%, -50%);
        -o-transform: scaleX(1) translate(-100%, -50%);
        transform: scaleX(1) translate(-100%, -50%);
    }
}

.chats-title {
    display: block;
    box-sizing: content-box;
    position: absolute;
    width: max-content;
    left: -8px;
    top: 50%;
    z-index: -1;
    font-family: Arial, Helvetica, sans-serif;
    color: #666;
    background: #fff;
    padding: .2em .8em;
    border: #ddd 1px solid;
    box-shadow: 0 0 2px #ddd;
    border-radius: 15px;
    cursor: default;
    pointer-events: none;
    opacity: 0;
    -webkit-animation-name: title;
    -moz-animation-name: title;
    -o-animation-name: title;
    animation-name: title;
    animation-duration: 1s;
    animation-delay: 5s;
    -webkit-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
    transform-origin: right left;
    -webkit-transform: scaleX(0) translate(-100%, -50%);
    -moz-transform: scaleX(0) translate(-100%, -50%);
    -ms-transform: scaleX(0) translate(-100%, -50%);
    -o-transform: scaleX(0) translate(-100%, -50%);
    transform: scaleX(0) translate(-100%, -50%);
}

@media (max-width: 767px) {
    .chats-title {
        display: none;
    }
}

.chats-title::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    border-style: inherit;
    border-color: transparent;
    border-left-color: inherit;
    border-width: 8px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.chats-item {
    background: #ff6900;
}

.chats-item-1 {
    background: #6d5a9d;
    padding: 7px 9px 6px;
}

.chats-item-1 a svg {
    fill: #fff;
}

.chats-item-2 {
    background: #29b6f6;
}

.chats-item-3 {
    background: #01e675;
    padding: 11px;
}

.chats-item-3 a svg {
    fill: #fff;
}