@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap&subset=cyrillic");
.amo-button {
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    position: relative;
    user-select: none;
    z-index: 5
}

.amo-button,
.amo-button--main {
    -webkit-user-select: none;
    -moz-user-select: none
}

.amo-button--main {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    display: flex;
    justify-content: center;
    user-select: none
}

.amo-button--main.maincollapsed {
    box-shadow: 1px 1px 15px 0 rgba(0, 0, 0, .15)
}

.amo-button--main.maincollapsed:before {
    border: 2px solid;
    border-color: inherit;
    border-radius: inherit;
    bottom: -1px;
    content: "";
    left: -1px;
    position: absolute;
    right: -1px;
    top: -1px
}

.amo-button--main-icon {
    display: block;
    height: 100%!important;
    width: 100%!important;
    z-index: 6
}

.amo-button--main-icon-inner {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center
}

.amo-button--main-icon-inner svg {
    height: 80%;
    width: 80%
}

.amo-button--only-livechat .amo-button--main-icon-inner svg {
    height: 50%;
    width: 50%
}

.amo-button--only-social[data-social=amocrm_applebm] .amo-button--main-icon-inner svg {
    height: 48%;
    width: 56%
}

.amo-button--main-icon.amo-button--no-fill .amo-button--main-icon-inner {
    display: none
}

.amo-button--only-social {
    pointer-events: none
}

.amo-button--only-social[data-social=telegram] {
    background-color: #2ca8dd!important
}

.amo-button--only-social[data-social=facebook],
.amo-button--only-social[data-social=messenger] {
    background-color: #0281ff!important
}

.amo-button--only-social[data-social=viber] {
    background-color: #665cac!important
}

.amo-button--only-social[data-social=vk] {
    background-color: #4a76a8!important
}

.amo-button--only-social[data-social=wechat] {
    background-color: #4fc134!important
}

.amo-button--only-social[data-social=skype] {
    background-color: #00aff0!important
}

.amo-button--only-social[data-social=instagram],
.amo-button--only-social[data-social=instagram_business] {
    background-color: #e1286f!important
}

.amo-button--only-social[data-social=whatsapp] {
    background-color: #57d163!important
}

.amo-button--only-social[data-social=amocrm_applebm] {
    background-color: #5df877!important
}

.amo-button--main.maincollapsed .amo-button--main-icon-inner {
    display: none
}

.amo-button--close-icon {
    display: none;
    height: 32%!important;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32%!important
}

.amo-button--main.maincollapsed .amo-button--close-icon {
    display: block
}

.amo-button__iframe {
    border: none;
    left: 0;
    position: absolute;
    top: 0
}

.amo-button__iframe:hover~.amo-button~.amo-brand {
    display: none
}

.amo-horisontal .amo-button__iframe,
.amo-vertical .amo-button__iframe {
    max-width: unset
}

.amo-button-holder {
    box-sizing: border-box;
    padding: 7px;
    z-index: 9999
}

.amo-button-holder * {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

@media print {
    .amo-button-holder {
        display: none
    }
}

.amo-brand {
    align-items: center;
    bottom: 0;
    display: flex;
    height: 17px!important;
    justify-content: center;
    opacity: 0;
    position: absolute;
    transition: all .3s ease-out 0s;
    visibility: hidden
}

.amo-brand_to-right {
    justify-content: flex-end
}

.amo-brand_to-left {
    justify-content: flex-start
}

.amo-brand.collapsed {
    opacity: 1;
    visibility: visible
}

.amo-brand__link-holder {
    background-color: rgba(0, 0, 0, .6)!important;
    border-radius: 9px!important;
    color: hsla(0, 0%, 100%, .8)!important;
    display: inline-block;
    font-family: Roboto, Arial, sans-serif!important;
    font-size: 10px!important;
    height: 17px!important;
    line-height: 1.7!important;
    padding: 0 10px;
    white-space: nowrap!important
}

.amo-brand__link {
    line-height: 1.7!important
}

.amo-brand__link,
.amo-brand__link:active,
.amo-brand__link:hover,
.amo-brand__link:visited {
    color: #fff!important;
    text-decoration: none!important
}

.amo_animation_tremble {
    animation: amo_dragging 2s .2s infinite both
}

.amo_animation_tremble svg {
    animation: amo_dragging-icon 2s .2s infinite both
}

.amo_animation_waves:after,
.amo_animation_waves:before {
    animation: amo-button-wave 2.6s linear 0s infinite;
    background: inherit;
    border-radius: inherit;
    content: "";
    display: block;
    height: 100%!important;
    left: 0;
    position: absolute;
    width: 100%!important;
    z-index: 0
}

.amo_animation_waves:before {
    animation-delay: 0s
}

.amo_animation_waves:after {
    animation-delay: 1.3s
}

.amo_animation_shake {
    animation: amo_shake 5s 0s infinite both
}

.amo-button-greeting-badge {
    align-items: center;
    background: #eb5757;
    border-radius: 50%;
    color: #fff!important;
    display: none;
    display: flex;
    font-family: Roboto, sans-serif!important;
    font-size: 14px!important;
    height: 24px!important;
    justify-content: center;
    line-height: 16px!important;
    position: absolute;
    right: -6px;
    top: -6px;
    width: 24px!important;
    z-index: 9
}

.amo-livechat {
    height: 100%;
    min-height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2147483000
}

.amo-livechat_top-right {
    transform-origin: top right
}

.amo-livechat_bottom-right {
    transform-origin: bottom right
}

.amo-livechat_top-left {
    transform-origin: top left
}

.amo-livechat_bottom-left {
    transform-origin: bottom left
}

.amo-livechat_center-center {
    transform-origin: center center
}

.amo-livechat_chat {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 5px 40px rgba(0, 0, 0, .15);
    height: calc(100vh - 120px);
    max-height: 704px;
    min-height: 300px;
    width: 360px
}

@media (min-width:451px) {
    .amo-livechat_chat.amo-livechat_bottom-right,
    .amo-livechat_chat.amo-livechat_top-right {
        right: 0
    }
    .amo-livechat_chat.amo-livechat_bottom-left,
    .amo-livechat_chat.amo-livechat_top-left {
        left: 0
    }
    .amo-livechat_chat.amo-livechat_top-left,
    .amo-livechat_chat.amo-livechat_top-right {
        margin-top: 20px;
        top: 100%
    }
    .amo-livechat_chat.amo-livechat_bottom-left,
    .amo-livechat_chat.amo-livechat_bottom-right {
        bottom: 100%;
        margin-bottom: 20px
    }
    .amo-livechat_chat.amo-livechat_page-center {
        left: 50%;
        margin-left: -180px;
        position: fixed;
        top: 120px
    }
}

.amo-livechat_bubble {
    height: 198px;
    width: 219px
}

.amo-livechat_bubble .amo-livechat__dialogs-selector {
    display: none!important;
    opacity: 0!important
}

.amo-livechat_bubble.amo-livechat_bottom-right {
    bottom: 100%;
    margin-bottom: 5px;
    right: -10px
}

.amo-livechat_bubble.amo-livechat_bottom-left,
.amo-livechat_bubble.amo-livechat_page-center {
    bottom: 100%;
    left: -10px;
    margin-bottom: 5px
}

.amo-livechat_bubble.amo-livechat_page-center {
    left: 5px;
    margin-bottom: 0
}

.amo-livechat_bubble.amo-livechat_top-left {
    left: -10px;
    margin-top: 10px;
    top: 100%
}

.amo-livechat_bubble.amo-livechat_top-right {
    margin-top: 10px;
    right: -10px;
    top: 100%
}

.amo-livechat_bubble.amo-livechat_vertical.amo-livechat_top-right {
    margin-right: 10px;
    margin-top: 0;
    right: 100%;
    top: -15px
}

.amo-livechat_bubble.amo-livechat_vertical.amo-livechat_bottom-right {
    bottom: -15px;
    margin-bottom: 0;
    margin-right: 10px;
    right: 100%
}

.amo-livechat_bubble.amo-livechat_vertical.amo-livechat_top-left {
    left: 100%;
    margin-left: 10px;
    margin-top: 0;
    top: -15px
}

.amo-livechat_bubble.amo-livechat_vertical.amo-livechat_bottom-left {
    bottom: -15px;
    left: 100%;
    margin-bottom: 0;
    margin-left: 10px
}

.amo-livechat_hidden {
    opacity: 0!important;
    pointer-events: none!important
}

.amo-livechat_hidden .amo-livechat__dialogs-selector {
    display: none
}

.amo-livechat_opening {
    animation: amo_livechat_opening .2s ease
}

.amo-livechat_hiding {
    animation: amo_livechat_hiding .2s ease
}

.amo-livechat_frame {
    border-radius: 0!important;
    box-shadow: none!important;
    height: 100%!important;
    max-height: 100%!important;
    position: relative;
    width: 100%!important
}

.amo-livechat-overlay {
    animation: amo_livechat_overlay .3s;
    background: rgba(0, 0, 0, .6);
    bottom: 0;
    content: "";
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 0
}

.amo-livechat>iframe {
    background: none;
    border: 0;
    border-radius: inherit;
    height: 100%!important;
    left: 0;
    margin: 0;
    outline: none;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 100%!important
}

.conversation-selector {
    cursor: pointer;
    font-family: Roboto, Arial, sans-serif!important;
    left: 50%;
    position: absolute;
    top: -25px;
    transform: translateX(-50%);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: calc(100% - 28px);
    z-index: 10
}

.conversation-selector *,
.conversation-selector:after,
.conversation-selector:before {
    box-sizing: border-box
}

.conversation-selector.opened .conversation-selector__wrapper {
    display: flex
}

.conversation-selector.opened .conversation-selector__header {
    border-bottom: 1px solid #b1b8ba;
    border-radius: 13px 13px 0 0
}

.conversation-selector__inner {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .1);
    height: 100%
}

.conversation-selector__header {
    align-items: center;
    background: #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 13px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 12px
}

.conversation-selector__header--mobile {
    display: none;
    height: 44px;
    padding: 19px 12px 17px
}

.conversation-selector__header-text {
    color: #313942;
    font-size: 15px;
    font-weight: 700
}

.conversation-selector.opened .conversation-selector__header-icon {
    transform: rotateX(180deg)
}

.conversation-selector__header-icon {
    align-items: center;
    display: flex;
    justify-content: center
}

.conversation-selector__header-close {
    fill: #313942;
    display: none;
    font-size: 13px;
    height: 44px;
    margin: -14px;
    padding: 14px
}

.conversation-selector__header-icon.invisible {
    display: none
}

.conversation-selector__item-wrapper {
    width: 100%
}

.conversation-selector__name-wrapper {
    font-size: 13px;
    font-weight: 700
}

.conversation-selector__item-message {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.conversation-selector__wrapper {
    display: none;
    flex-direction: column;
    height: calc(100% - 44px);
    position: relative
}

.conversation-selector__conversations {
    height: 100%;
    overflow-y: scroll
}

.conversation-selector__item {
    align-items: center;
    border-bottom: 1px solid #b1b8ba;
    box-sizing: border-box;
    height: 69px;
    padding: 13px 12px 16px
}

.conversation-selector__item.selected {
    background: linear-gradient(0deg, rgba(0, 100, 143, .1), rgba(0, 100, 143, .1)), #fff
}

.conversation-selector__item:last-child {
    border-bottom: none
}

.conversation-selector__item-header {
    align-items: center;
    display: flex;
    height: 17px;
    justify-content: space-between
}

.conversation-selector__conversation-id {
    background: #58b98f;
    border-radius: 3px;
    color: #fff;
    margin-left: 2px;
    padding: 1px 3px;
    text-align: center
}

.conversation-selector__item-header-date {
    color: #b1b8ba;
    font-size: 13px
}

.conversation-selector__item-message {
    margin-top: 4px
}

.conversation-selector__action-button {
    border-top: 1px solid #b1b8ba;
    font-size: 15px;
    line-height: 20px;
    min-width: -moz-max-content;
    min-width: max-content;
    padding: 11px 14px 12px;
    width: 100%
}

.conversation-selector__action-button.invisible {
    display: none
}

@media (max-width:450px) {
    .amo-livechat:not(.amo-livechat--no-mobile) .amo-livechat__dialogs-selector {
        bottom: 0;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        transform: translateX(-30%);
        transition: transform .3s;
        z-index: 0
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .amo-livechat__dialogs-selector--opened {
        transform: translateX(0)
    }
    .amo-livechat:not(.amo-livechat--no-mobile)>iframe {
        transition: .3s;
        z-index: 100
    }
    .amo-livechat:not(.amo-livechat--no-mobile).amo-livechat--selector-opened>iframe {
        transform: translateX(100%)
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__wrapper {
        display: flex
    }
    .amo-livechat:not(.amo-livechat--no-mobile).amo-livechat_bubble>iframe {
        transform: translateX(0)
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector {
        border: 0;
        bottom: 0;
        height: 100%;
        left: 0;
        overflow: hidden;
        right: 0;
        top: 0;
        transform: unset;
        width: 100%
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector.opened .conversation-selector__header,
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__header {
        border-radius: 0;
        padding: 12px 14px
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__header--mobile {
        display: flex
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__header-close {
        display: block
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__header-text {
        font-size: 16px
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__header-icon {
        display: none
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__conversations {
        margin-bottom: auto
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__item {
        padding-left: 14px;
        padding-right: 14px
    }
    .amo-livechat:not(.amo-livechat--no-mobile) .conversation-selector__item:last-child {
        border-bottom: 1px solid #b1b8ba
    }
}

@keyframes amo_dragging-icon {
    0%,
    12%,
    16%,
    20%,
    24%,
    28%,
    32%,
    36%,
    4%,
    40%,
    44%,
    48% {
        transform: scale(1.02)
    }
    14%,
    18%,
    2%,
    22%,
    26%,
    30%,
    34%,
    38%,
    42%,
    46%,
    50%,
    8%,
    to {
        transform: scale(1)
    }
}

@keyframes amo_dragging {
    0%,
    12%,
    16%,
    20%,
    24%,
    28%,
    32%,
    36%,
    4%,
    40%,
    44%,
    48% {
        transform: scale(1.04)
    }
    14%,
    18%,
    2%,
    22%,
    26%,
    30%,
    34%,
    38%,
    42%,
    46%,
    50%,
    8%,
    to {
        transform: scale(1)
    }
}

@keyframes amo-button-wave {
    0% {
        opacity: .45;
        transform: scale(1)
    }
    40% {
        opacity: .45
    }
    to {
        opacity: 0;
        transform: scale(1.35)
    }
}

@keyframes amo_shake {
    0%,
    20% {
        transform: translateZ(0)
    }
    10%,
    14%,
    18%,
    2%,
    6% {
        transform: translate3d(-7px, 0, 0)
    }
    12%,
    16%,
    4%,
    8% {
        transform: translate3d(7px, 0, 0)
    }
}

@keyframes amo_livechat_opening {
    0% {
        opacity: 0;
        transform: scale(.5) translateY(20px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes amo_livechat_hiding {
    0% {
        opacity: 1;
        transform: none
    }
    to {
        opacity: 0;
        transform: scale(.5) translateY(20px)
    }
}

@keyframes amo_livechat_overlay {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}