/**
 *
 * Handle chaty widget script
 *
 * Author: Premio
 * Email: contact@premio.io
 *
 */

/**
CSS for tooltip
*/

.chaty-tooltip {
    position: relative
}

.chaty-tooltip .on-hover-text, .chaty-tooltip .on-hover-text:before, .chaty-tooltip:after, .chaty-tooltip:before {
    text-transform: none;
    font-size: .9em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0
}

.on-hover-text {
    display: none;
    white-space: pre;
}

.chaty-tooltip .on-hover-text:before, .chaty-tooltip:before {
    content: "";
    border: 5px solid transparent;
    z-index: 1001
}

.chaty-tooltip:after {
    content: attr(data-hover)
}

.chaty-tooltip .on-hover-text, .chaty-tooltip:after {
    text-align: center;
    min-width: 1em;
    max-width: 21em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 15px;
    border-radius: 10px;
    background: #fff;
    color: #333;
    z-index: 1000;
    box-shadow: 0 1.93465px 7.73859px rgb(0 0 0 / 15%);
    font-size: 17px;
    line-height: 21px
}

.chaty-tooltip .on-hover-text {
    overflow: visible;
}

.chaty-tooltip.active .on-hover-text, .chaty-tooltip.active .on-hover-text:before, .chaty-tooltip.active:after, .chaty-tooltip.active:before, .chaty-tooltip:hover .on-hover-text, .chaty-tooltip:hover .on-hover-text:before, .chaty-tooltip:hover:after, .chaty-tooltip:hover:before {
    display: block;
    opacity: 1
}

.chaty-tooltip.active .on-hover-text, .chaty-tooltip.active .on-hover-text:before, .chaty-tooltip.active:after, .chaty-tooltip.active:before {
    animation: tooltips-horz 0s ease-out forwards
}

.on-hover-text:empty, [data-hover=""]:after, [data-hover=""]:before {
    display: none !important
}

.chaty-tooltip.pos-top:before {
    border-bottom-width: 0;
    border-top-color: #fff;
    bottom: calc(100% + 5px)
}

.chaty-tooltip.pos-top:after {
    bottom: calc(100% + 10px)
}

.chaty-tooltip.pos-top:after, .chaty-tooltip.pos-top:before {
    left: 50%;
    transform: translate(-50%, -.5em)
}

.chaty-tooltip.pos-down:before {
    top: 100%;
    border-top-width: 0;
    border-bottom-color: #fff
}

.chaty-tooltip.pos-down:after {
    top: calc(100% + 5px)
}

.chaty-tooltip.pos-down:after, .chaty-tooltip.pos-down:before {
    left: 50%;
    transform: translate(-50%, .5em)
}

.chaty-tooltip.has-on-hover:after, .chaty-tooltip.has-on-hover:before {
    display: none !important
}

/* FLOW: LEFT */
.chaty-tooltip.pos-left:before, .chaty-tooltip.pos-left .on-hover-text:before {
    top: 50%;
    border-right-width: 0;
    border-left-color: #fff;
    left: calc(0em - 10px);
    transform: translate(-0.5em, -50%);
}

.chaty-tooltip.pos-left .on-hover-text:before {
    left: auto;
    right: calc(0em - 5px);
}

.chaty-tooltip.pos-left:after, .chaty-tooltip.pos-left .on-hover-text {
    top: 50%;
    right: calc(100% + 10px);
    transform: translate(-0.5em, -50%);
}

/* FLOW: RIGHT */
.chaty-tooltip.pos-right:before, .chaty-tooltip.pos-right .on-hover-text:before {
    top: 50%;
    border-left-width: 0;
    border-right-color: #fff;
    right: calc(0em - 10px);
    transform: translate(0.5em, -50%);
}

.chaty-tooltip.pos-right .on-hover-text:before {
    left: calc(0em - 5px);
    right: auto;
}

.chaty-tooltip.pos-right:after, .chaty-tooltip.pos-right .on-hover-text {
    top: 50%;
    left: calc(100% + 10px);
    transform: translate(0.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes tooltips-horz {
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* FX All The Things */
.chaty-tooltip.pos-top:hover:before,
.chaty-tooltip.pos-top:hover:after,
.chaty-tooltip.pos-down:hover:before,
.chaty-tooltip.pos-down:hover:after {
    animation: tooltips-vert 0ms ease-out forwards;
}

.chaty-tooltip.pos-left:hover:before,
.chaty-tooltip.pos-left:hover:after,
.chaty-tooltip.pos-left:hover .on-hover-text:before,
.chaty-tooltip.pos-left:hover .on-hover-text,
.chaty-tooltip.pos-right:hover:before,
.chaty-tooltip.pos-right:hover:after,
.chaty-tooltip.pos-right:hover .on-hover-text:before,
.chaty-tooltip.pos-right:hover .on-hover-text {
    animation: tooltips-horz 0ms ease-out forwards;
}

/**
Chaty Widget Animation CSS
**/

@-webkit-keyframes chaty-animation-shockwave {
    0% {
        transform: scale(1);
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
    }
    95% {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(2.25);
    }
}

@keyframes chaty-animation-shockwave {
    0% {
        transform: scale(1);
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.30), inset 0 0 1px rgba(0, 0, 0, 0.30);
    }
    95% {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0), inset 0 0 30px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(2.25);
    }
}

@-webkit-keyframes chaty-animation-blink {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@keyframes chaty-animation-blink {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes chaty-animation-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
        border-radius: 50%;
    }
    100% {
        transform: scale(1.1);
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
        border-radius: 45%;
    }
}

@keyframes chaty-animation-pulse {
    0% {
        transform: scale(1);
        border-radius: 50%;
    }
    100% {
        transform: scale(1.1);
        border-radius: 45%;
    }
}

.chaty-animation-shockwave:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    -webkit-animation: chaty-animation-shockwave 2s 1.3s ease-out infinite;
    animation: chaty-animation-shockwave 2s 1.3s ease-out infinite;
}

.chaty-animation-shockwave:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    -webkit-animation: chaty-animation-shockwave 2s 0.8s ease-out infinite;
    animation: chaty-animation-shockwave 2s 0.8s ease-out infinite;
}

.chaty-animation-blink {
    -webkit-animation: chaty-animation-blink 1.33s ease-out infinite;
    animation: chaty-animation-blink 1.33s ease-out infinite;
}

.chaty-animation-pulse, .chaty-animation-pulse-icon {
    -webkit-animation: chaty-animation-pulse 0.4s ease infinite alternate;
    animation: chaty-animation-pulse 0.4s ease infinite alternate;
}


.chaty-animation-sheen {
    position: relative;
    overflow: hidden;
}

.chaty-animation-sheen:after {
    animation: chaty-animation-sheen 5s infinite;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
    transform: rotateZ(60deg) translate(0em, 5em);
}

@keyframes chaty-animation-sheen {
    20%, 100% {
        transform: rotateZ(60deg) translate(0, -80px);
    }
}

.chaty-animation-fade {
    animation: chaty-animation-fade 5s infinite;
}

.chaty-animation-spin {
    animation: chaty-animation-spin 5s infinite cubic-bezier(.56, -0.35, .22, 1.5);
}

@keyframes chaty-animation-fade {
    5% {
        opacity: 0.25;
    }
    10% {
        opacity: 1;
    }
    15% {
        opacity: 0.25;
    }
    20%, 100% {
        opacity: 1;
    }
}

@keyframes chaty-animation-spin {
    10% {
        transform: rotateZ(-20deg);
        animation-timing-function: ease;
    }
    20%, 100% {
        transform: rotateZ(360deg);
    }
}

.chaty-animation-bounce, .chaty-animation-jump {
    animation: chaty-animation-bounce 5s infinite cubic-bezier(.84, -0.54, .31, 1.19);
}

@keyframes chaty-animation-bounce {
    0% {
        transform: none;
    }
    10% {
        transform: translateY(-1em);
    }
    20%, 100% {
        transform: none;
    }
}

@keyframes chaty-animation-waggle {
    0% {
        transform: none;
    }
    10% {
        transform: rotateZ(-20deg) scale(1.2);
    }
    13% {
        transform: rotateZ(25deg) scale(1.2);
    }
    15% {
        transform: rotateZ(-15deg) scale(1.2);
    }
    17% {
        transform: rotateZ(15deg) scale(1.2);
    }
    20% {
        transform: rotateZ(-12deg) scale(1.2);
    }
    22% {
        transform: rotateZ(0) scale(1.2);
    }
    24%, 100% {
        transform: rotateZ(0) scale(1);
    }
}

.chaty-animation-waggle {
    animation: chaty-animation-waggle 5s infinite;
}

/**
Widget Default CSS
**/
.chaty {
    display: none;
    z-index: 99999;
}

.chaty.active {
    display: block !important;
}

.chaty * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.chaty .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.chaty a, .chaty button, .chaty a:focus, .chaty a:hover {
    border: none;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.chaty-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10001;
}

.chaty-widget.left-position {
    left: 25px;
    right: auto;
}

.chaty-channels {
    position: relative;
}

.chaty-channel {
    position: relative;
}

.chaty-channel-list {
    display: flex;
    width: 62px;
    height: 124px;
    position: absolute;
    bottom: -4px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.chaty-widget.left-position .chaty-channel-list {
    left: 0;
    right: auto;
}

.chaty-widget.chaty-open .chaty-channel-list {
    pointer-events: auto;
}

.chaty-channel-list .chaty-channel, .chaty-channel.single .chaty-svg {
    display: inline-block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 4px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
}

.chaty-channel-list .chaty-channel {
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.chaty-channel.single .chaty-svg {
    margin: 0;
}

.chaty-widget.chaty-open .chaty-channel-list .chaty-channel {
    opacity: 1;
}

.chaty-channel a, .chaty-svg, .chaty-channel button {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    outline: none;
}

.chaty-channel button {
    background: none;
    border-radius: 50%;
}

.chaty-channel a .chaty-custom-icon, .chaty-svg .chaty-custom-icon, .chaty-channel button .chaty-custom-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    text-align: center;
    font-size: 27px;
    line-height: 54px;
    color: #ffffff;
}

.chaty-channel a:focus, .chaty-channel button:focus {
    outline: none;
}

.chaty-channel svg {
    width: 100%;
    height: 100%;
}

.chaty-channel img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
}

.chaty-i-trigger .chaty-channel {
    position: absolute;
    bottom: 0;
    right: 4px;
    transition: all .5s;
    border-radius: 50%;
    cursor: pointer;
}

.chaty-cta-button {
    transition: all .5s;
    box-shadow: 0 3px 6px rgb(0 0 0 / 25%);
    border-radius: 50%;
}

.chaty-widget.left-position .chaty-i-trigger .chaty-channel {
    left: 4px;
    right: auto;
}

.chaty-widget .chaty-cta-main .chaty-cta-button {
    z-index: 1099;
    opacity: 1;
    position: relative;
}

.chaty-widget.chaty-open .chaty-cta-main .chaty-cta-button {
    z-index: 999;
    opacity: 0;
    transform: rotate(540deg);
    visibility: hidden;
}

.chaty-widget .chaty-i-trigger .chaty-cta-close {
    pointer-events: none;
}

.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close {
    pointer-events: auto;
    z-index: 101;
}

.chaty-widget .chaty-i-trigger .chaty-cta-close .chaty-cta-button {
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close .chaty-cta-button {
    z-index: 1099;
    opacity: 1;
    transform: rotate(180deg);
    visibility: visible;
}

.chaty-widget .chaty-i-trigger .chaty-cta-close.chaty-tooltip:hover:before,
.chaty-widget .chaty-i-trigger .chaty-cta-close.chaty-tooltip.chaty-tooltip:hover:after,
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip:after,
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip:before {
    display: none !important;
}

.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close.chaty-tooltip:hover:before,
.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-close.chaty-tooltip.chaty-tooltip:hover:after {
    display: block !important;
}

.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip {
    z-index: 91;
}

.chaty-widget.chaty-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip .on-hover-text {
    display: none;
}

.chaty.form-open .chaty-i-trigger .chaty-cta-main.chaty-tooltip .on-hover-text {
    display: none;
}

.chaty.form-open .chaty-widget.has-single .chaty-i-trigger .on-hover-text {
    display: none;
}

.chaty-widget .ch-pending-msg {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 16px;
    height: 16px;
    text-align: center;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    border-radius: 50%;
    z-index: 1101;
}

/**/

.chaty-widget.left-position.hor-mode .chaty-channel-list {
    width: 136px;
    height: 62px;
    left: 0;
    bottom: 0;
}

.chaty-widget.right-position.hor-mode .chaty-channel-list {
    width: 136px;
    height: 62px;
    right: 0;
    left: auto;
    bottom: 0;
}

.chaty-widget.hor-mode .chaty-channel-list .chaty-channel {
    margin-top: 0;
    margin-bottom: 0;
}

.chaty-widget.hor-mode.left-position .chaty-channel-list .chaty-channel {
    left: 0;
}

.chaty-widget.hor-mode.right-position .chaty-channel-list .chaty-channel {
    right: 0;
    left: auto;
}

/* whatsapp form */

.chaty-outer-forms {
    vertical-align: bottom;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    position: fixed !important;
    bottom: -25px;
    left: 25px;
    padding: 0px;
    width: 320px;
    max-width: 90%;
    -moz-transition: all 0.5s linear;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    -moz-box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    animation-delay: -2s;
    -webkit-animation-delay: -2s;
}

.chaty-outer-forms * {
    box-sizing: border-box;
}

.chaty-outer-forms.pos-left {
    left: 25px;
}

.chaty-outer-forms.pos-right {
    right: 25px;
    left: auto;
}

.chaty-outer-forms.active {
    -webkit-transform: translateY(-93px);
    transform: translateY(-93px);
    opacity: 1;
    z-index: 10001;
    visibility: visible;
    bottom: 0;
    pointer-events: auto;
}

.chaty-whatsapp-body {
    background: #e6ddd4;
    padding: 20px 20px 20px 10px;
    position: relative;
    z-index: 2;
    height: 260px;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.chaty-form-body {
    background: #ffffff;
    position: relative;
    z-index: 99999;
    min-height: 75px;
    border-radius: 10px;
}

.chaty-form-body form {
    margin: 0;
    padding: 0;
}

.qr-code-image {
    padding: 10px;
    text-align: center;
}

.qr-code-image img {
    max-width: 100%;
    max-height: 360px;
    margin: 0 auto;
}

.chaty-whatsapp-body:before {
    display: block;
    position: absolute;
    content: "";
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 0;
    opacity: 0.08;
    background-image: url("../images/whatsapp.png");
}

.chaty-whatsapp-message {
    padding: 7px 14px 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 0px 8px 8px;
    position: relative;
    transform-origin: center top;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.13) 0px 1px 0.5px;
    margin-top: 4px;
    margin-left: 15px;
    max-width: calc(100% - 40px);
    font-size: 14px;
    font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;
}

.chaty-whatsapp-message:before {
    position: absolute;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAmCAMAAADp2asXAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACQUExURUxpccPDw9ra2m9vbwAAAAAAADExMf///wAAABoaGk9PT7q6uqurqwsLCycnJz4+PtDQ0JycnIyMjPf3915eXvz8/E9PT/39/RMTE4CAgAAAAJqamv////////r6+u/v7yUlJeXl5f///5ycnOXl5XNzc/Hx8f///xUVFf///+zs7P///+bm5gAAAM7Ozv///2fVensAAAAvdFJOUwCow1cBCCnqAhNAnY0WIDW2f2/hSeo99g1lBYT87vDXG8/6d8oL4sgM5szrkgl660OiZwAAAHRJREFUKM/ty7cSggAABNFVUQFzwizmjPz/39k4YuFWtm55bw7eHR6ny63+alnswT3/rIDzUSC7CrAziPYCJCsB+gbVkgDtVIDh+DsE9OTBpCtAbSBAZSEQNgWIygJ0RgJMDWYNAdYbAeKtAHODlkHIv997AkLqIVOXVU84AAAAAElFTkSuQmCC");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    top: 0px;
    left: -12px;
    width: 12px;
    height: 19px;
}

.chaty-whatsapp-message p {
    margin: 0;
    padding: 0;
    color: #111b21;
    font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;
    font-weight: normal;
}

.chaty-whatsapp-footer {
    position: relative;
    padding: 12px 15px;
    background: #F0F0F0;
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.whatsapp-chaty-form {
    display: flex;
    margin: 0;
    padding: 0;
}

.chaty-whatsapp-button button, .chaty-whatsapp-button button:hover, .chaty-whatsapp-button button:focus {
    line-height: 48px;
    text-align: center;
    float: right;
    height: 48px;
    width: 48px;
    padding: 8px 10px 8px 15px;
    background: #25D366 !important;
    border-radius: 24px;
    outline: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    margin: 0;
    text-decoration: none;
}

.chaty-whatsapp-data {
    display: flex;
    flex: 1;
}

.chaty-whatsapp-field {
    padding-right: 12px;
    flex: 1;
}

.chaty-whatsapp-button {
    flex: 0 0 48px;
}

.chaty-whatsapp-button svg {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.chaty-whatsapp-field input[type='text'] {
    height: 48px !important;
    line-height: 32px;
    padding: 0 10px 0 15px;
    font-size: 16px;
    resize: none;
    width: 100%;
    border: none !important;
    border-radius: 24px;
    outline: none;
    font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;
    box-shadow: none !important;
    background: #ffffff !important;
    margin: 0;
    color: #111b21;
}

.chaty-whatsapp-field input[type='text']:focus {
    outline: none;
    border: none;
    margin: 0;
    color: #111b21;
}

.chaty-whatsapp-button button:hover, .chaty-whatsapp-button button:focus {
    background: #22bf5b !important;
}

.close-chaty-form {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #30534b;
    width: 22px;
    height: 22px;
    border-radius: 15px;
    padding: 3px;
    cursor: pointer;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

.close-chaty-form:hover {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

.chaty-close-button {
    position: relative;
    width: 16px;
    height: 16px;
    transition: all 0.4s;
    cursor: pointer;
}

.chaty-close-button:before, .chaty-close-button:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #ffffff;
    display: block;
    border-radius: 2px;
    transform: rotate(45deg);
    top: 7px;
    left: 2px;
}

.chaty-close-button:after {
    transform: rotate(-45deg);
}

.chaty-channel button.open-chaty-channel {
    display: none;
}

.chaty.form-open .chaty-channel button.open-chaty-channel {
    display: block;
}

.chaty.form-open .chaty-channel button.open-chaty {
    display: none;
}

.chaty.form-open .chaty-i-trigger .chaty-tooltip:before, .chaty.form-open .chaty-i-trigger .chaty-tooltip:after {
    display: none;
}

.chaty-form-body {
    position: relative;
}

.chaty-widget.cssas-no-close-button.default-open .chaty-i-trigger {
    display: none !important;
}

.chaty.form-open .chaty-widget.cssas-no-close-button.default-open .chaty-i-trigger {
    display: block !important;
}

.chaty-agent-data {
    font-size: 16px;
    font-family: Segoe UI, Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;
}

.chaty-agent-header {
    font-size: 18px;
    padding: 20px 15px;
    background: #22bf5b;
    color: #fff;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chaty-agent-data .close-chaty-form {
    right: 10px;
    top: 12px;
}

.chaty-agent-data .chaty-agent {
    display: flex;
    align-items: center;
    padding: 15px 15px;
}

.chaty-agent-data .chaty-agent a {
    color: #49687E;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    width: 100%;
    align-items: center;
    outline: none;
    font-weight: 400;
}

.chaty-agent-data .chaty-agent + .chaty-agent {
    border-top: solid 2px #f6f8f9;
}

.chaty-agent-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.chaty-agent-icon {
    width: 48px;
    height: 48px;
    margin: 0 15px 0 0;
}

.chaty-agent-data .chaty-custom-icon {
    width: 48px;
    height: 48px;
    text-align: center;
    display: block;
    line-height: 48px;
    background: #c0c0c0;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
}

.chaty-close-agent-list {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    z-index: 10;
}

.chaty-agent-icon svg {
    width: 100%;
    height: 100%;
}

.chaty-agent-icon img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.chaty-close-agent-list svg {
    fill: #ffffff;
}

.agent-sub-header {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.agent-main-header {
    font-size: 20px;
    line-height: 32px;
    font-weight: bold;
    position: relative;
}

.chaty-agent-header {
    position: relative;
}

.chaty-agent-header:before {
    content: "";
    background: url(../images/header-top.png) no-repeat 0 0;
    width: 215px;
    height: 41px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.chaty-agent-header:after {
    content: "";
    background: url(../images/header-bottom.png) no-repeat 0 0;
    width: 44px;
    height: 41px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/*
chaty custom font
*/
.chaty-custom-channel-icon {
    display: block;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    line-height: 54px;
}

/*
Contact Form
*/
.chaty-contact-form-title {
    padding: 10px 15px;
    text-align: left;
    background: #fff;
    font-size: 18px;
    border-bottom: solid 1px #acacac;
}

.chaty-contact-inputs {
    padding: 15px 15px;
}

.chaty-contact-input {
    display: flex;
}

.chaty-contact-input + .chaty-contact-input {
    margin: 12px 0 0 0;
}

.chaty-contact-input input[type=text].chaty-input-field, .chaty-contact-input input[type=email].chaty-input-field {
    width: 100%;
    height: 36px;
    line-height: 36px;
    font-size: 16px;
    padding: 0 10px 0 10px;
    border: solid 1px #ccc;
    border-radius: 4px;
    margin: 0;
    outline: none;
    color: #28303d;
    background: #ffffff;
}

.chaty-contact-input input[type=text].chaty-input-field:focus, .chaty-contact-input input[type=email].chaty-input-field:focus {
    outline: none;
    box-shadow: none;
    border-color: #898989;
}

.chaty-contact-input textarea.chaty-textarea-field {
    width: 100%;
    height: 100px;
    line-height: 20px;
    font-size: 16px;
    padding: 10px;
    border: solid 1px #ccc;
    border-radius: 4px;
    margin: 0;
    outline: none;
    color: #28303d;
    background: #ffffff;
}

.chaty-contact-input textarea.chaty-textarea-field:focus {
    outline: none;
    box-shadow: none;
    border-color: #898989;
}

.chaty-contact-form-box .close-chaty-form {
    right: 9px;
    top: 9px;
}

.chaty-contact-form-box button.chaty-submit-button[type='submit'], button#chaty-submit-button-0 {
    border: none;
    border-radius: 4px;
    color: #ffffff;
    background: #A886CD;
    width: 100%;
    height: 36px;
    line-height: 36px;
    font-size: 18px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.chaty-contact-input input.chaty-input-field.has-chaty-error, .chaty-contact-input textarea.chaty-textarea-field.has-chaty-error {
    border: solid 1px #d20000;
}

.chaty-contact-form-box button.chaty-submit-button {
    outline: none;
}

.chaty-contact-form-button {
    padding: 15px 0 0 0;
}

.chaty-ajax-success-message, .chaty-ajax-error-message {
    color: #00a700;
    padding: 10px 0 0;
    text-align: center;
    font-size: 16px;
}

.chaty-ajax-error-message {
    color: #da0000;
}

.chaty-widget.has-single .chaty-i-trigger .Phone-channel:before, .chaty-widget.has-single .chaty-i-trigger .Phone-channel:after {
    pointer-events: auto;
}

/* Exit intent */
.chaty-exit-intent {
    position: fixed;
    z-index: -1;
}

.chaty-exit-intent:before {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    content: '';
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .8);
    visibility: hidden;
    z-index: 100;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out
}

.chaty .chaty-widget.left-position .chaty-exit-intent:before {
    clip-path: circle(15px at 60px calc(100% - 60px))
}

.chaty .chaty-widget.right-position .chaty-exit-intent:before {
    clip-path: circle(15px at calc(100% - 60px) calc(100% - 60px))
}

.chaty *.chaty-widget .chaty-exit-intent.animate:before {
    visibility: visible;
    clip-path: circle(100%)
}

.chaty-widget.chaty-no-close-button:not(.has-single) .chaty-i-trigger:not(.single-channel) {
    display: none;
}

.chaty.form-open .chaty-no-close-button.has-single .chaty-i-trigger {
    display: block;
}

.chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel .chaty-tooltip:after, .chaty-widget.has-single .chaty-i-trigger .chaty-channel:not(.chaty-agent-button).Phone-channel .chaty-tooltip:before {
    pointer-events: inherit;
}