

/* Start:/local/js/local/chat/dist/chat.bundle.css?173883981012989*/
/* COMMON EFFECTS */
.slide-down-enter-active,
.slide-down-leave-active {
    -webkit-transition: opacity 0.25s ease-in, top 0.25s ease-out;
    transition: opacity 0.25s ease-in, top 0.25s ease-out;
}

.slide-down-enter-from,
.slide-down-leave-to {
    opacity: 0;
    top: 42% !important;
}

.slide-down-enter-to {
    top: 50%
}


/* OVERLAY */
.vChat-popup-overlay {
    display: none;
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url('/local/js/local/chat/dist/../images/custom-popup-overlay.png') repeat;
    z-index: 10000;
}

.vChat-popup-overlay.active {
    display: block;
}

@-webkit-keyframes animate-circle {
    from {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 1;
    }

    to {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 0;
    }
}

@keyframes animate-circle {
    from {
        -webkit-transform: scale(0);
                transform: scale(0);
        opacity: 1;
    }

    to {
        -webkit-transform: scale(1);
                transform: scale(1);
        opacity: 0;
    }
}

.vChat-popup-overlay__loader {
    --size: 10rem;

    position: fixed;
    top: 50%;
    left: 50%;
    height: var(--size);
    width: var(--size);
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}

.vChat-popup-overlay__loader>.vChat-popup-overlay__circle {
    --duration: 2s;

    position: absolute;
    height: inherit;
    width: inherit;
    background: #FFFFFF;
    border-radius: 50%;
    -webkit-animation: animate-circle var(--duration) cubic-bezier(.9, .24, .62, .79) infinite;
    animation: animate-circle var(--duration) cubic-bezier(.9, .24, .62, .79) infinite;
}

.vChat-popup-overlay__loader>.vChat-popup-overlay__circle:nth-of-type(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.vChat-popup-overlay__loader>.vChat-popup-overlay__circle:nth-of-type(2) {
    -webkit-animation-delay: calc(var(--duration) / -3);
    animation-delay: calc(var(--duration) / -3);
}

.vChat-popup-overlay__loader>.vChat-popup-overlay__circle:nth-of-type(3) {
    -webkit-animation-delay: calc(var(--duration) / -6);
    animation-delay: calc(var(--duration) / -6);
}


/* POPUP */
.vChat-popup {
    position: fixed;
    background-color: #fff;
    z-index: 2001;
    width: 700px;
    max-width: 100%;
    height: 500px;
    max-height: 90vh;
    max-height: -webkit-fill-available;
    overflow: hidden;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    display: grid;
    grid-template-rows: 47px 1fr;
    grid-template-columns: 1fr;
    grid-gap: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
            box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.vChat-popup>* {
    min-height: 0px;
}

.vChat-top-container {
    background-color: #f5c946;
    position: relative;
}


/* CLOSE BTN */

.vChat-popup__close {
    position: absolute;
    cursor: pointer;
    width: 25px;
    height: 25px;
    top: 11px;
    right: 11px;
}

.vChat-popup__close:hover {
    opacity: 0.5;
}

.vChat-popup__close:before,
.vChat-popup__close:after {
    position: absolute;
    content: '';
    width: 2px;
    background-color: #333;
    height: 25px;
    left: 45%;
}

.vChat-popup__close:before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.vChat-popup__close:after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}


/* TOP TABS */
.vChat-top-tabs {
    padding: 9px 0px 0px 20px;
    height: 100%;
}

.vChat-top-tabs .tab {
    float: left;
    height: 100%;
    margin: 0px;
    margin-right: 0px;
    border-top: none;
    border-bottom: none;
    text-align: center;
    cursor: pointer;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #039be5;
    margin-right: 5px;
}

.vChat-top-tabs .tab-selected {
    background-color: #f2f2f2;
}

.vChat-top-tabs .tab a {
    color: #fff;
    text-decoration: none;
    line-height: 38px;
    height: 100%;
    width: 120px;
    display: block;
    font-size: 14px;
}

.vChat-top-tabs .tab-selected a {
    color: #424242;
}


/* CONTAINER */

.vChat-popup__container {
    position: relative;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 2fr;
    background-color: #f2f2f2;
}

.vChat-popup__container>* {
    min-height: 0px;
}

.vChat-popup__scroll-container {
    overflow: hidden;
    overflow-y: auto;
    position: relative;
}


/* MESSAGES CONTAINER */
.vChat-popup__chat-body {
    display: grid;
    grid-template-rows: 3fr 1fr;
    grid-template-columns: 1fr;
    position: relative;
}

.vChat-popup__chat-body>* {
    min-height: 0px;
}


.tfl-body-freeze {
    overflow-y: hidden;
    margin-right: calc(-1 * (100vw - 100%));
    height: auto;
}

.tfl-body-blur {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -o-filter: blur(2px);
    -ms-filter: blur(2px);
    filter: blur(2px);
}

.tfl-popup__nofound-mess {
    display: none;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    width: 100%;
    color: #d5d5d5;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.tfl-popup__nofound-mess-show {
    display: block;
}
/* CHATS CONTAINER */
.vChat-popup__chats {
    border-right: 1px solid #e0e0e0;
}

.vChat-popup__chats .contacts {
    padding: 0px 0px 0px 11px;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    height: 100%;
    position: relative;
    left: 1px;
}
.vChat-popup__chat-body .history {
    padding: 0 10px;
    position: relative;
    background-color: #fff;
}

.vChat-popup__payment_history {
    position: absolute;
    left: 20px;
    right: 20px;
    z-index: 999;
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    background-color: #fff;
    padding: 1.1em;
}

.payment_history__summary {
    font-weight: bold;
    color: rgb(26, 100, 19);
}

.payment_history__list {
    margin-top: 10px;
    display: none;
}

.vChat-popup__payment_history.active .payment_history__list {
    display: block;
}

.payment_history__item {
    width: 100%;
    border-radius: 2px 0px 0px 2px;
    background: rgba(242, 242, 242, 1);
    padding: 8px 10px;
    margin-bottom: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    cursor: pointer;
}

.payment_history__item-name {
    font-weight: bold;
}

.payment_history__item-link {
    color: rgb(158, 155, 153);
    text-transform: uppercase;
    padding-right: 2em;
}


/* CLOSE BTN */
.payment_history__close {
    position: absolute;
    cursor: pointer;
    width: 20px;
    height: 20px;
    top: 11px;
    right: 11px;
}

.payment_history__close:hover {
    opacity: 0.5;
}

.payment_history__close:before,
.payment_history__close:after {
    position: absolute;
    content: '';
    left: 5px;
}

.vChat-popup__payment_history.active .payment_history__close:before,
.vChat-popup__payment_history.active .payment_history__close:after {
    left: 45%;
}

.payment_history__close:before {
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
            transform: rotate(135deg);
    width: 12px;
    height: 12px;
}

.vChat-popup__payment_history.active .payment_history__close:before {
    border: none;
    background-color: #333;
    width: 2px;
    height: 20px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.payment_history__close:after {
    display: none;
    background-color: #333;
    width: 2px;
    height: 20px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.vChat-popup__payment_history.active .payment_history__close:after {
    display: block;
}

#vChat-message-list {
    padding-top: 45px;
}
.vChat-popup__chat-body .message {
    padding: 5px 0 5px 0;
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.vChat-popup__chat-body .message textarea {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 10px;
    overflow: auto;
    border: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    font-size: 12px;
    resize: none;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

.vChat-popup__chat-body .message .buttons-wrapper {
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.vChat-popup__chat-body .message .btn {
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    border: none;
    bottom: 0;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    padding: 5px;
    text-align: center;
    margin: 5px;
}
.vChat-popup__chats .contacts li {
    position: relative;
    border: 1px solid transparent;
    height: 43px;
    line-height: 16px;
    margin: 5px 0 0;
    padding: 0;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.vChat-popup__chats .contacts li.has-new {
    color: red;
}

.vChat-popup__chats .contacts li span {
    display: block;
    color: #999;
}

.vChat-popup__chats .contacts li.contact-active {
    background-color: #fff;
    border-color: #e0e0e0;
    border-right-color: rgb(224, 224, 224);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-right: 1px solid #fff;
}

.vChat-popup__chats .contacts .contact-name {
    font-weight: 500;
}

.vChat-popup__chats .contacts .contact-name .new-shield {
    position: relative;
    display: inline-block;
    font-size: 14px;
    width: 8px;
    height: 8px;
    margin-left: 4px;
    color: #1d1d1d;
    line-height: 110%;
    padding: 2px 2px;
    background: #f5c946;
    border-radius: 20px;
}

.vChat-popup__chats .contacts .contact-avatar {
    margin: 5px 10px 5px 5px;
    width: 32px;
    max-width: 32px;
}

.vChat-popup__chats .contacts .contact-avatar img {
    max-width: 100%;
    max-height: 100%;
}

.vChat-popup__chats .contacts .contact-avatar img[src="/local/templates/ddigital/images/no_photo.png"] {
    background-color: #aaa;
}
.vChat-popup__chat-body .history ul.messages-list li {
    margin: 7px 0px 7px 0px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.vChat-popup__chat-body .history ul.messages-list .message-text {
    font-size: 14px;
    color: #47565f;
    border-radius: 4px;
    background-color: #e1f5fe;
    display: inline-block;
    padding: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.vChat-popup__chat-body .history ul.messages-list .message-time {
    font-size: 11px;
    color: #bdbdbd;
    display: block;
    left: 0;
    position: relative;
    /* right: 0; */
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%); */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    max-width: 25%;
}

.vChat-popup__chat-body .history ul.messages-list li.my-message .message-time {
    /* left: 0;
    right: auto; */
    float: right;
    clear: both;
}

.vChat-popup__chat-body .history ul.messages-list li.my-message .message-text {
    background-color: #f7f7f7;
    float: right;
}

.vChat-popup__chat-body .history ul.messages-list li .message-request-text {
    font-weight: bold;
    margin-bottom: 15px;
}

.vChat-popup__chat-body .history ul.messages-list li .message-request-button {
    text-align: right;
    font-weight: bold;
}

.vChat-popup__chat-body .history ul.messages-list li .message-request-button span {
    color: green;
}
/* End */
/* /local/js/local/chat/dist/chat.bundle.css?173883981012989 */
