/* Dekstop versi */

.box-chat {
    position: fixed;
    bottom: 33%;
    right: -185px;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    z-index: 92;
}

.box-chat.show {
    opacity: 1;
    visibility: visible;
}

.box-chat.active {
    right: 0;
}

.box-chat.active .img-wrap {
    right: 0px;
}

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

.box-chat.active .open {
    left: -15px;
    -webkit-transform: translateY(-50%) rotate(0deg);
    -moz-transform: translateY(-50%) rotate(0deg);
    -ms-transform: translateY(-50%) rotate(0deg);
    -o-transform: translateY(-50%) rotate(0deg);
    transform: translateY(-50%) rotate(0deg);
}

.box-chat.active .box-chat__item {
    top: 50%;
    left: 15%;
    height: 171px;
}

.box-chat.active .button-area {
    opacity: 1;
    visibility: visible;
}

.box-chat .button-area {
    margin: 10px 0px 0px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transition-delay: .1s;
    -moz-transition-delay: .1s;
    -o-transition-delay: .1s;
    transition-delay: .1s;
}

@media (max-width: 767px) {
    .box-chat {
        right: -165px
    }
}

.box-chat .open {
    position: absolute;
    top: 70%;
    left: 50px;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
    width: 40px;
    height: 40px;
    background: #0051ca;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 10px 0;
    z-index: 9;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.box-chat .open span:before {
    font-size: 20px;
    color: #fff;
    font-weight: 800;
}

.box-chat__item {
    background: #fff;
    height: 65px;
    position: absolute;
    top: 20%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -35%;
    width: 50%;
    padding: 10px;
    background: #fff;
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    z-index: 9;
}

.box-chat__item:after {
    position: absolute;
    content: '';
    right: -10px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-bottom-color: #fff;
    border-left-color: rgba(75, 0, 130, 0)
}

.box-chat__item p {
    position: relative;
    color: #797979;
    font-family: 'Roboto';
    font-size: 10px;
    font-weight: 600;
    margin: 0;
}

.box-chat__item p:before {
    position: absolute;
    content: "";
    left: -7px;
    top: 5px;
    height: 3px;
    width: 3px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    background: #0051ca
}

.box-chat__item h3 {
    color: #0051ca;
    font-family: 'Roboto';
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0 10px;
}

.fas {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3)
}

.box-chat__item .btn {
    text-decoration: none;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 8px;
    width: 100%;
    display: block;
    background: #c5c5c5;
    font-family: 'Roboto';
    font-weight: normal;
    color: #fff;
    font-size: 12.6px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 50px;
    margin: 0px 0px 5px;
    margin-bottom: 8px;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.box-chat__item .btn:hover {
    background: #0051ca
}

.box-chat__item .btn span {
    margin-right: 5px
}

.box-chat__item .btn span:before {
    color: #fff;
    font-size: 12px
}

.chat {
    position: relative;
    overflow: hidden;
    background: #2e9aff;
    width: 290px;
    height: 180px;
    -webkit-border-top-left-radius: 105px;
    -moz-border-radius-topleft: 105px;
    border-top-left-radius: 105px;
    -webkit-border-bottom-left-radius: 105px;
    -moz-border-radius-bottomleft: 105px;
    border-bottom-left-radius: 105px
}

@media (max-width: 767px) {
    .chat {
        width: 265px;
        height: 160px;
    }
}

.chat .img-wrap {
    position: absolute;
    right: -webkit-calc( 100% - 105px);
    right: -moz-calc( 100% - 105px);
    right: calc( 100% - 105px);
    bottom: 0;
    height: 150px;
    width: 95px;
    background-image: url("/wb.image/logo/person.png");
    -moz-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out
}