@import url("https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap");

.chat-support {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #212529;
    z-index: 998;
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.fixed.chat-support {
    display: inherit
}

.fixed .button {
    position: fixed;
    bottom: 30px
}

.right .button {
    right: 30px
}

.fixed .popup {
    position: fixed
}

.right .popup {
    right: 30px
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -ms-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -o-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    visibility: hidden;
    opacity: 0
}

.button:hover {
    -webkit-box-shadow: 0 4px 8px 1px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 4px 8px 1px rgba(0, 0, 0, .15);
    -o-box-shadow: 0 4px 8px 1px rgba(0, 0, 0, .15);
    -ms-box-shadow: 0 4px 8px 1px rgba(0, 0, 0, .15);
    box-shadow: 0 4px 8px 1px rgba(0, 0, 0, .15);
    transform: translateY(-3px)
}

.button-person-avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.chat-support .button {
    width: 60px;
    height: 60px;
    border-radius: 50%
}

.chat-support .button-person-avatar {
    width: 60px;
    height: 60px
}

.chat-support-show .button {
    visibility: visible;
    opacity: 1
}

.popup {
    position: absolute;
    width: 320px;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    -ms-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    -o-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.popup-close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    z-index: 1;
    background-image: url("icons/close.png");
    background-position: center;
    background-size: cover;
    width: 20px;
    height: 20px
}

.wrapper-send {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 20px
}

.send-icon {
    background-image: url("icons/send-icon.svg");
    background-position: center;
    background-size: cover;
    width: 20px;
    height: 20px;
    cursor: pointer
}

.whatsapp-icon {
    background-image: url("icons/whatsapp-icon.png");
    background-position: center;
    background-size: cover;
    width: 30px;
    height: 30px;
    cursor: pointer
}

.popup-header {
    position: relative;
    padding: 25px 15px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center
}

.popup-area {
    background-color: #fff;
    position: relative;
    padding: 20px
}

.popup-person {
    display: flex;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    cursor: pointer;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: .2s ease all;
    -moz-transition: .2s ease all;
    -ms-transition: .2s ease all;
    -o-transition: .2s ease all;
    transition: .2s ease all;
    margin-bottom: 10px;
    background-color: #f5f7f9;
    border-radius: 4px;
    padding: 10px 12px
}

.popup-person:hover {
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -o-transform: translateY(-1px);
    transform: translateY(-1px);
    text-decoration: none;
    -webkit-box-shadow: 0 2px 1px rgba(55, 62, 70, .1);
    -moz-box-shadow: 0 2px 1px rgba(55, 62, 70, .1);
    -ms-box-shadow: 0 2px 1px rgba(55, 62, 70, .1);
    -o-box-shadow: 0 2px 1px rgba(55, 62, 70, .1);
    box-shadow: 0 2px 1px rgba(55, 62, 70, .1)
}

.popup-person:last-child {
    margin-bottom: 0
}

.popup-show .popup {
    opacity: 1;
    visibility: visible;
    z-index: 9999
}

.chat-support .popup {
    bottom: 110px
}

.popup-single .popup-area {
    padding: 0
}

.popup-single .popup-header {
    padding: 6px 8px 0 0;
    align-items: flex-end
}

.popup-single .popup-close {
    position: static;
    right: 0;
    top: 0
}

.popup-single .popup-person {
    border-radius: 0;
    padding: 5px 0 0 0;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    cursor: auto
}

.popup-single .popup-person:hover {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0)
}

.popup-single .popup-person-message {
    flex-direction: row
}

.popup-start-chat {
    background-color: #fff;
    width: 100%
}

.popup-start-chat-message {
    background-color: #e8e4df;
    padding: 30px 25px
}

.popup-start-chat-message>div {
    position: relative;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 13%) 0 1px .5px;
    max-width: calc(100% - 66px);
    padding: 15px 20px;
    border-radius: 0 8px 8px
}

.popup-start-chat-message>div:before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #fff transparent transparent
}

.popup-start-chat-textbox {
    display: flex
}

.popup-start-chat-textbox>input {
    border: 0;
    outline: 0;
    width: 90%;
    margin: 0;
    padding: 15px 0 15px 20px
}

.animate__popup__1 {
    -webkit-transform: scale(.7);
    -moz-transform: scale(.7);
    -ms-transform: scale(.7);
    -o-transform: scale(.7);
    transform: scale(.7);
    opacity: 0;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s
}

.popup-show .animate__popup__1 {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1
}

@media (max-width:575px) {
    .fixed .button {
        bottom: 20px
    }

    .right .button {
        right: 20px
    }

    .right .popup {
        right: 20px
    }
}

@media (max-width:320px) {
    .popup {
        width: 90%
    }

    .popup-header {
        padding: 20px 10px
    }

    .popup-person {
        padding: 5px 10px
    }
}