button,
hr,
input {
    overflow: visible
}

.chat-from-support img, .chat img,
legend {
    max-width: 100%
}

progress,
sub,
sup {
    vertical-align: baseline
}

.chat-wrapper,
.w-100,
video, .chat-wrapper svg {
    width: 100%
}

.chat-message,
.chat-video-modal__inner,
.open-chat {
    -webkit-box-direction: normal
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

details,
main {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

[type=checkbox],
[type=radio],
legend {
    -webkit-box-sizing: border-box;
    padding: 0
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

.chat img, .chat-from-support img {
    border-style: none;
    height: auto
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: ButtonText dotted 1px
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: inherit;
    display: table;
    white-space: normal
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

.chat-wrapper .chat-hidden, .hidden-support,
[hidden],
template {
    display: none
}

/* ==================================== */
/* variables */
/* ==================================== */

:root {
    --chat-color-main: #26649d;
    --chat-color-main-hover: #367dbe;
    --chat-color-light-blue: #4c97db;
    --chat-color-second: #e3edf7;
    --chat-color-link: #13af1e;
    --chat-color-link-hover: #24cb2f;
    --chat-color-btn-success: #5cb85c;
    --chat-color-btn-success-hover: #3a9a3a;
    --chat-color-light: #ffffff;
    --chat-color-disabled: #e1e1e1;
    --chat-color-border: #d6d6d6;
    --chat-color-border-light: #ededed;
    --chat-color-bg-message: #f9f9f9;
    --chat-color-cancel: #CE5454;
    --chat-color-error: #a21b1b;
    --chat-color-text-dark: #333333;
    --chat-color-text-data: #999999;
    --chat-color-text-breeze: #9dbedc;
    --chat-color-text-message: #4e5358;
    --chat-color-bg-support: #f5f5f5;

    --max-width-chat: 26.875rem;

    --chat-font-weight-normal: 400;
    --chat-font-size-smaller: .75rem;
    --chat-font-size-small: .875rem;
    --chat-font-size-normal: 1rem;
    --chat-font-size-big: 1.25rem;

    --chat-line-height-base: 1.375rem;

    --chat-transition-base: all .18s ease-in-out;
}

.chat-wrapper, .chat-wrapper *, .chat-from-support *, .chat-wrapper ::after, .chat-wrapper ::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html {
    font-size: 100%;
}

svg {
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.chat-btn {
    padding: .5rem 1rem;
    cursor: pointer;
    outline: 0;
    border: 0;
    border-radius: 3px;
    color: var(--chat-color-light);
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration: none
}

.chat-choice__icon,
.chat-choice__item {
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base)
}

.zoom-download {
    background: var(--chat-color-btn-success);
    text-decoration: none;
    color: var(--chat-color-light)
}

.zoom-download:hover {
    background: var(--chat-color-btn-success-hover)
}

.zoom-delete {
    background: var(--chat-color-cancel)
}

.zoom-delete:hover {
    background: var(--chat-color-error)
}

.chat-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: var(--max-width-chat);
    font-family: Roboto, sans-serif;
    font-size: var(--chat-font-size-normal);
    font-weight: var(--chat-font-weight-normal);
    line-height: var(--chat-line-height-base);
    z-index: 1000
}

.chat-wrapper.chat-wrapper--active {
    padding: 1rem;
}

/*.open-chat {*/
/*    cursor: pointer;*/
/*    position: fixed;*/
/*    bottom: 2rem;*/
/*    right: 0;*/
/*    z-index: 100;*/
/*    border-radius: 0.5rem 0 0 0.5rem;*/
/*    overflow: hidden;*/
/*    width: 2.375rem;*/
/*    height: 2.5rem;*/
/*    display: -webkit-box;*/
/*    display: -ms-flexbox;*/
/*    display: flex;*/
/*    -webkit-box-orient: vertical;*/
/*    -ms-flex-direction: column;*/
/*    flex-direction: column;*/
/*    -webkit-box-pack: end;*/
/*    -ms-flex-pack: end;*/
/*    justify-content: end;*/
/*    -webkit-box-shadow: 0 0 1rem rgba(51, 51, 51, .45);*/
/*    box-shadow: 0 0 1rem rgba(51, 51, 51, .45);*/
/*    -webkit-transition: -webkit-transform 0.2s ease-in-out;*/
/*    transition: transform 0.2s ease-in-out;*/
/*}*/


.open-chat__text {
    color: var(--chat-color-light);
    padding: .6rem;
    font-size: var(--chat-font-size-normal);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    white-space: nowrap
}

/*.open-chat__icon {*/
/*    background-color: var(--chat-color-link);*/
/*    padding: .5rem;*/
/*    display: -webkit-box;*/
/*    display: -ms-flexbox;*/
/*    display: flex*/
/*}*/

/*.open-chat__icon svg {*/
/*    width: 1.5rem;*/
/*    fill: var(--chat-color-light)*/
/*}*/

.chat-choice__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1.3rem 2rem;
    border-bottom: .0625rem solid var(--chat-color-border);
    text-decoration: none;
    color: inherit;
    line-height: 1;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    cursor: pointer;
}

.chat-choice__item:hover {
    text-decoration: none;
}

.chat-choice__item.chat-choice__item--disabled {
    background-color: var(--chat-color-disabled);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--chat-color-error);
    cursor: auto;
}

.chat-choice__item.chat-choice__item--disabled:hover {
    background-color: var(--chat-color-disabled);
}

.chat-choice__item:last-child {
    border-bottom: 0
}

.chat-choice__item:hover {
    background-color: var(--chat-color-second)
}

.chat-choice__item:hover .chat-choice__icon {
    -webkit-transform: scale(1.4);
    -ms-transform: scale(1.4);
    transform: scale(1.4);
    margin-right: 2.3rem
}

.chat .chat-choice__icon {
    fill: var(--chat-color-main);
    width: 1.5rem;
    margin-right: 1.8125rem;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base)
}

.chat-choice__text {
    color: var(--chat-color-text-dark);
    margin: 0;
    font-size: var(--chat-font-size-normal);
}

.chat-correspondence {
    background-color: var(--chat-color-bg-message);
    position: relative;
    min-height: 15.625rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.chat-message-wrapper {
    position: relative;
}

.chat-message {
    padding: 1rem 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 20vh;
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--chat-color-main) var(--chat-color-second)
}

.chat-message * {
    font-size: var(--chat-font-size-small);
}

.chat-from-support .chat-message {
    background: var(--chat-color-light);
}

.chat-message::-webkit-scrollbar {
    width: .625rem
}

.chat-smiles::-webkit-scrollbar {
    width: .45rem
}

.chat-message::-webkit-scrollbar-track,
.chat-smiles::-webkit-scrollbar-track {
    background: var(--chat-color-second)
}

.chat-message::-webkit-scrollbar-thumb,
.chat-smiles::-webkit-scrollbar-thumb {
    background-color: var(--chat-color-main);
    border-radius: .25rem
}

@media screen and (max-width:360px) {
    .chat-message {
        padding: 1rem
    }
}

.chat-write__choice--smile {
    position: relative;
}

.chat-smiles {
    position: absolute;
    bottom: 5rem;
    left: 0;
    width: 100%;
    max-width: 24rem;
    background-color: var(--chat-color-light);
    padding: 0.5rem;
    overflow-y: auto;
    max-height: 65%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--chat-color-main) var(--chat-color-second);
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    -webkit-transform-origin: bottom;
    -ms-transform-origin: bottom;
    transform-origin: bottom;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}

.chat-smiles.chat-smiles--active {
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    visibility: visible;
    opacity: 1;
}

.chat-smiles__item, .question-rating__item {
    font-size: 1.5rem;
    cursor: pointer;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;
}

.chat-smiles__item:hover, .question-rating__item:hover {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.chat-message__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom: 0.6rem
}

.chat-message__item:last-child {
    margin-bottom: 0
}

.chat-message__icon {
    width: 1.9rem;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    fill: var(--chat-color-link)
}

.chat-write__btn,
.chat-write__choice-icon {
    cursor: pointer;
    -webkit-transition: var(--chat-transition-base)
}

.chat-message__user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.chat-message__user-name {
    color: var(--chat-color-text-data);
    margin-right: .5rem
}

.chat-message__quote {
    width: 2rem;
    fill: var(--chat-color-text-data);
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
}

.chat-message__quote:hover {
    fill: var(--chat-color-text-breeze);
}

.chat-message__item--user .chat-message__quote {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.chat-message__date {
    font-size: 10px;
    color: var(--chat-color-text-data);
    text-align: left;
    float: right;
    line-height: 1;
    margin: .6rem 0 0 .6rem;
}

.chat-message__link {
    font-size: var(--chat-font-size-smaller);
    color: var(--chat-color-link);
    text-decoration: underline
}

.chat-message__item--user {
    margin-left: auto
}

.chat-message__item--user .chat-message__user {
    text-align: right;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
}

.chat-message__item--user .chat-message__date {
    text-align: right;
}

.chat-message__avatar {
    width: 2.0625rem;
    height: 2.0625rem;
    border-radius: 50%;
    padding: .4rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.chat-message__avatar svg {
    fill: var(--chat-color-second);
    width: 1.2125rem;
    height: 1.2125rem
}

.chat-message__item--team .chat-message__avatar {
    background-color: var(--chat-color-second)
}

.chat-message__item--user .chat-message__avatar {
    background-color: var(--chat-color-main);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-transform: uppercase
}

.chat-message__item--team .chat-message__item-container {
    margin-left: 0.3rem
}

.chat-message__item--user .chat-message__item-container {
    margin-right: 0.3rem
}

@media screen and (max-width:360px) {
    .chat-message__item--team .chat-message__item-container {
        margin-left: .3rem
    }

    .chat-message__item--user .chat-message__item-container {
        margin-right: .3rem
    }
}

.chat-message__content {
    padding: 0.5rem 0.6rem 0.2rem 0.6rem;
    text-align: left
}

.chat-message__content::after {
    content: '';
    display: table;
    clear: both;
}

@media screen and (max-width:360px) {
    .chat-message__content {
        padding: .5rem
    }
}

.chat-message__item--team .chat-message__content {
    border-radius: .7375rem .7375rem .7375rem 0;
    background-color: var(--chat-color-second)
}

.chat-message__item--user .chat-message__content {
    border-radius: .7375rem .7375rem 0;
    background-color: var(--chat-color-main);
}

.chat-message__location {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.chat-message__content-text {
    word-break: break-word;
}

.chat-message__item--team .chat-message__content-text {
    color: var(--chat-color-text-message)
}

.chat-message__item--user .chat-message__content-text {
    color: var(--chat-color-light)
}

.chat-message__reply {
    font-size: var(--chat-font-size-smaller);
    color: var(--chat-color-main);
    position: relative;
    padding-left: .8rem;
    margin-bottom: .4rem;
    text-decoration: none;
    display: block
}

.chat-message__file,
.chat-write {
    display: -webkit-box;
    display: -ms-flexbox
}

.chat-message__reply::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: .25rem;
    height: 100%;
    background-color: var(--chat-color-main);
    border-radius: .125rem
}

.chat-message__item--user .chat-message__reply {
    color: var(--chat-color-text-breeze)
}

.chat-message__item--user .chat-message__reply::before {
    background-color: var(--chat-color-text-breeze)
}

.chat-message__file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer
}

.chat-message__file:hover {
    opacity: .8
}

.chat-message__file svg {
    fill: var(--chat-color-link);
    width: 1.2rem;
    margin-left: -.25rem
}

.chat-write {
    background-color: var(--chat-color-light);
    padding: .4rem 1.5rem .7rem;
    border-top: .0625rem solid var(--chat-color-border);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 2;
    margin: auto 0 0 0;
    position: relative;
}

.chat-write__conteiner {
    width: 82%
}

.chat-write__btn {
    width: 3.0625rem;
    height: 3.0625rem;
    padding: .73rem;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--chat-color-link);
    -o-transition: var(--chat-transition-base);
    -webkit-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    border: 0;
    outline: 0;
    position: relative;
    z-index: 100;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

.chat-write__btn:hover {
    background-color: var(--chat-color-main)
}

.chat-write__inp {
    border: 0;
    outline: 0;
    color: var(--chat-color-text-message);
    font-size: var(--chat-font-size-small);
    width: 100%;
    resize: none;
    padding: .625rem;
    -moz-appearance: none
}

.chat-from-support .chat-write__inp {
    background: var(--chat-color-bg-support);
}

.chat-write__inp::-webkit-input-placeholder {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-small)
}

.chat-write__inp::-moz-placeholder {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-small)
}

.chat-write__inp:-ms-input-placeholder {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-small)
}

.chat-write__inp::-ms-input-placeholder {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-small)
}

.chat-write__inp::placeholder {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-small)
}

.chat-write .chat-write__file {
    display: none
}

.chat-write__send {
    fill: var(--chat-color-light)
}

.chat-write__additionally {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.chat-write__choice {
    margin-right: .6rem
}

.chat-write .chat-write__choice-icon {
    width: 1.5rem;
    fill: var(--chat-color-text-data);
    -o-transition: var(--chat-transition-base);
    -webkit-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base)
}

.chat-preview__close,
.chat-video-modal__close {
    -o-transition: var(--chat-transition-base);
    -webkit-transition: var(--chat-transition-base);
    cursor: pointer
}

.chat-write__choice-icon:hover {
    fill: var(--chat-color-link)
}

/*===============================================*/
/*question-resolved*/
/*===============================================*/

.question-resolved,
.question-rating, .question-renew {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--chat-color-light);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding: 1rem;
}

.question-rating {
    display: block;
    padding-top: 0.3rem;
}

.question-rating__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.question-rating__caption {
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.question-resolved__btn {
    width: 100%;
    max-width: 7rem;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    color: var(--chat-color-light);
    padding: .5rem;
    border-radius: .125rem;
    cursor: pointer;
    text-align: center;
    border: none;
}

.question-resolved__btn--yes {
    background-color: var(--chat-color-link);
    margin-right: .5rem;
}

.question-resolved__btn--yes:hover {
    background-color: var(--chat-color-link-hover);
}

.question-resolved__btn--no {
    background-color: var(--chat-color-cancel);
}

.question-resolved__btn--no:hover {
    background-color: var(--chat-color-error);
}

.question-renew__btn {
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    color: var(--chat-color-light);
    padding: .5rem 1rem;
    border-radius: .125rem;
    cursor: pointer;
    background-color: var(--chat-color-main);
    border: none;
}

.question-renew__btn:hover {
    background-color: var(--chat-color-main-hover);
}



/*===============================================*/
/*chat-field-preloader*/
/*===============================================*/
.chat-field-preloader {
    cursor: default;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    z-index: 200;
    background: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.chat-field-preloader__inner {
    width: 80px;
}

.chat-field-preloader__dot {
    display: inline-block;
    background: #666;
    height: 8px;
    width: 8px;
    opacity: 0.3;
    border-radius: 50%;
    -webkit-animation: moveit 1.8s infinite;
    animation: moveit 1.8s infinite;
}

.chat-field-preloader__dot:nth-child(2) {
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}

.chat-field-preloader__dot:nth-child(3) {
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
}

.chat-field-preloader__dot:nth-child(4) {
    -webkit-animation-delay: .45s;
    animation-delay: .45s;
}

.chat-field-preloader__dot:nth-child(5) {
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}

@-webkit-keyframes moveit {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    35% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 0.3;
    }

    50% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        opacity: 0.8;
    }

    70% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        opacity: 0.8;
    }

    85% {
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}

@keyframes moveit {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
    }

    35% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 0.3;
    }

    50% {
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
        opacity: 0.8;
    }

    70% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        opacity: 0.8;
    }

    85% {
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}

/*===============================================*/
/*chat-preview*/
/*===============================================*/

.chat-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    z-index: 1;
}

.chat-dragenter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: var(--chat-color-light-blue);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
}


.chat-dragenter.chat-dragenter--active {
    opacity: 1;
    visibility: visible;
}

.chat-dragenter--drop-zone {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.chat-dragenter__inner {
    margin: auto;
    text-align: center;
    border: 3px dashed var(--chat-color-light-blue);
    padding: 1rem;
}

.chat-dragenter__text {
    font-weight: 700;
    font-size: var(--chat-font-size-big);
}

.chat-dragenter .chat-dragenter__icon {
    width: 6rem;
}

.chat-dragenter__warning {
    font-size: var(--chat-font-size-small);
    font-weight: var(--chat-font-weight-normal);
}

.chat--show,
.chat-preview--active {
    display: block
}

.chat-preview__inner {
    position: absolute;
    bottom: 41%;
    left: 1rem;
    width: 92%;
    border-radius: .625rem;
    overflow: hidden;
    max-height: 57%;
}

.chat-preview__file {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--chat-color-main);
    padding: 1rem
}

.quote,
.zoom-wrapp {
    display: -webkit-box;
    display: -ms-flexbox
}

.chat-preview__file-icon {
    width: 3.3rem;
    height: 3.3rem;
    padding: .8rem;
    border-radius: 50%;
    background-color: var(--chat-color-second);
    margin-right: 1rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.chat-preview__file-icon svg {
    fill: var(--chat-color-main)
}

.chat-preview__file-name {
    color: var(--chat-color-second);
    font-size: var(--chat-font-size-small)
}

.chat-preview__file-size {
    color: var(--chat-color-text-breeze);
    font-size: var(--chat-font-size-smaller)
}

.chat-preview .chat-preview__close {
    position: absolute;
    fill: var(--chat-color-light);
    top: 0.5rem;
    right: 0.7rem;
    background-color: var(--chat-color-cancel);
    width: 2rem;
    height: 2rem;
    padding: 0.4rem;
    border-radius: 50%;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    z-index: 10
}

.chat-preview__close:hover {
    background-color: var(--chat-color-error)
}

.quote {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-bottom: 1px solid var(--chat-color-border-light);
    position: relative
}

.chat-from-support .quote {
    border-bottom: 1px solid var(--chat-color-border);
}

.quote__content {
    line-height: 1.4;
    text-align: left
}

.quote .quote__icon {
    width: 1.25rem;
    margin-right: .5rem;
    fill: var(--chat-color-text-breeze)
}

.quote__name {
    color: var(--chat-color-main);
    font-size: var(--chat-font-size-small)
}

.quote__text,
.quote__file {
    color: var(--chat-color-text-data);
    font-size: var(--chat-font-size-smaller)
}

.quote .quote__close {
    cursor: pointer;
    fill: var(--chat-color-main);
    width: 1.25rem;
    margin-left: auto
}

.zoom-wrapp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-y: auto;
    z-index: 9000;
    opacity: 0;
    -webkit-animation: zoom-anim .3s ease-in-out forwards;
    animation: zoom-anim .3s ease-in-out forwards
}

@-webkit-keyframes zoom-anim {
    100% {
        opacity: 1
    }
}

@keyframes zoom-anim {
    100% {
        opacity: 1
    }
}

.img-box {
    margin: auto;
    height: 100vh;
    max-height: 70%;
    width: 100vw;
    max-width: 80%
}

.img-box__btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 1rem;
    font-size: 13px;
    font-weight: 500
}

.zoom-img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain
}

.file-name {
    text-align: center;
    margin-top: .5rem;
    color: var(--chat-color-light);
    font-size: var(--chat-font-size-big);
}

.chat-video-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 9000
}

.chat-video-modal__close {
    width: 3.125rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    fill: var(--chat-color-light);
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base)
}

.chat-video__icon,
.scroll-down {
    -o-transition: var(--chat-transition-base)
}

.chat-video-modal__close:hover {
    fill: var(--chat-color-link)
}

.chat-video-modal__inner {
    margin: auto;
    max-width: 30rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column
}

.chat-video-modal__inner .zoom-download {
    margin: .625rem auto 0
}

.chat-video-modal__player {
    width: 100%;
    max-height: 85vh
}

.chat-video {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 5rem;
    cursor: pointer;
    min-width: 8var(--chat-font-size-smaller)
}

.chat-file__name {
    font-size: var(--chat-font-size-smaller);
    color: var(--chat-color-main);
    text-align: center
}

.chat .chat-video__icon, .chat-from-support .chat-video__icon {
    width: 3rem;
    fill: var(--chat-color-main);
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base)
}

.chat-video:hover .chat-video__icon {
    fill: var(--chat-color-link)
}

.chat-message__item--user .chat-video svg {
    fill: var(--chat-color-light)
}

.chat-message__item--user .chat-file__name {
    color: var(--chat-color-light)
}

.chat-audio__player {
    width: 14rem;
    height: 2.5rem
}

@media screen and (max-width:430px) {
    .chat-audio__player {
        width: 11.4rem
    }
}

@media screen and (max-width:390px) {
    .chat-audio__player {
        width: 10rem
    }
}

.chat .scroll-down {
    width: 2.4rem;
    position: fixed;
    bottom: 6.2rem;
    right: 2rem;
    cursor: pointer;
    fill: var(--chat-color-link);
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    opacity: 0;
    -webkit-transform: translateY(5rem);
    -ms-transform: translateY(5rem);
    transform: translateY(5rem);
}

.chat .scroll-down--active {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.chat-contacts {
    padding: 1rem;
    text-align: left
}

.chat-contacts__heading {
    margin: 0;
    font-size: var(--chat-font-size-normal);
    color: var(--chat-color-text-message)
}

.chat-contacts__heading:not(:first-child) {
    margin-top: 1rem
}

.server-not-available {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
    padding: 1rem
}

.server-not-available__head {
    text-align: center;
    margin: 0;
    font-size: var(--chat-font-size-big);
    color: var(--chat-color-cancel)
}

.server-not-available__heading {
    font-size: var(--chat-font-size-normal);
    margin: .7rem 0 .3rem
}

.chat {
    width: 100%;
    -webkit-box-shadow: 0 0 2rem rgba(51, 51, 51, .45);
    box-shadow: 0 0 2rem rgba(51, 51, 51, .45);
    border-radius: .7375rem;
    overflow: hidden
}

.chat__header {
    padding: 1rem 1.3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--chat-color-main);
    text-align: left
}

.chat__body,
.chat__header-logo {
    background-color: var(--chat-color-light)
}

@media screen and (max-width:410px) {
    .chat__header {
        padding: 1rem
    }
}

.chat__header-logo {
    width: 3.125rem;
    height: 3.125rem;
    padding: .625rem;
    border-radius: 50%;
    margin-right: 1.0625rem;
    -ms-flex-negative: 0;
    flex-shrink: 0
}

@media screen and (max-width:410px) {
    .chat__header-logo {
        margin-right: .7rem
    }
}

.chat__header-heading {
    margin: 0 0 0.1875rem 0;
    color: var(--chat-color-light);
    font-size: var(--chat-font-size-big)
}

.chat__header-question {
    font-size: var(--chat-font-size-small);
    color: var(--chat-color-text-breeze);
    line-height: 1rem
}

.chat__header .chat__header-close {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    fill: var(--chat-color-light)
}

.chat__link {
    font-size: var(--chat-font-size-small);
    color: var(--chat-color-main);
    text-decoration: underline;
    -webkit-transition: var(--chat-transition-base);
    -o-transition: var(--chat-transition-base);
    transition: var(--chat-transition-base);
    display: block
}

.chat__link:hover {
    color: var(--chat-color-link)
}

.chat-bot-container {
    position: relative;
}
.chat-bot-smiles {
    padding: 0.5rem;
    border: 1px solid #ccc;
    position: absolute;
    bottom: 33px;
    background: #fff;
    left: 0;
    z-index: 10;
    -webkit-transform-origin: bottom;
    -ms-transform-origin: bottom;
    transform-origin: bottom;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.chat-bot-smiles.chat-bot-smiles--active {
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    opacity: 1;
}
.chat-bot-smiles__item {
    cursor: pointer;
    font-size: 1.2rem;
}
.chat-from-support .chat-message .chat-message__quote {
    background: none;
    border: 0;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
}
.chat-from-support .chat-message .chat-message__quote:hover {
    background: none;
}
.chat-from-support .chat-write {
    border-top: 0;
    padding: 0rem 1.5rem .7rem;
    background: var(--chat-color-bg-support);
}
.chat-from-support .quote__content {
    width: 100%;
}
.chat-from-support .quote__text {
    border: none;
    width: 100%;
    outline: none;
    resize: none;
    background: var(--chat-color-bg-support);
}
.chat-from-support .chat-file-name {
    font-size: var(--chat-font-size-smaller);
    color: var(--chat-color-text-data);
}
.chat-from-support .js-chat-write-clip {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.chat-from-support .chat-message__item--user {
    margin-left: 0;
}

.chat-from-support .chat-message__item--team {
    margin-left: auto;
}

.chat-from-support .chat-message__item--team .chat-message__item-container {
    margin-left: 0;
    margin-right: 0.3rem;
}

.chat-from-support .chat-message__item--user .chat-message__item-container {
    margin-right: 0;
    margin-left: 0.3rem;
}

.chat-from-support .chat-message__item--user .chat-message__content {
    border-radius: .7375rem .7375rem .7375rem 0;
}

.chat-from-support .chat-message__item--team .chat-message__content {
    border-radius: .7375rem .7375rem 0;
}

.chat-from-support .chat-message__item--user .chat-message__quote {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.chat-from-support .chat-message__item--team .chat-message__quote {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.chat .custom-divider, .chat-message-wrapper .custom-divider {
    width: 100%;
    background-color: #dddddd;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
}
.chat .custom-divider span, .chat-message-wrapper .custom-divider span {
    font-weight: bold;
    margin: 0 10px;
}

.chat .custom-divider {
    color: #666;
}

.chat .ChatHistoryItem, .chat-message-wrapper .ChatHistoryItem {
    -webkit-filter: grayscale(0.9);
    filter: grayscale(0.9);
}



@media screen and (max-height: 570px) {
    .chat__header {
        padding: .8rem 1rem;
    }

    .chat__header-logo {
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.5rem;
    }

    .chat-message {
        max-height: 60vh;
    }
}

@media screen and (max-height: 490px) {
    .chat-message {
        max-height: 55vh;
    }
}

@media screen and (max-height: 360px) {
    .chat-wrapper {
        padding: .5rem;
    }
}

@media screen and (max-height: 339px) {
    .chat-message {
        max-height: 50vh;
    }

    .chat-write {
        padding: 0.1rem 1.5rem 0.4rem;
    }
}