﻿#chat, #chat:after, .chatbox {
    transition: all .4s ease-in-out
}

#close-chat, .minim-button, .maxi-button, .chat-title {
    font-weight: 700;
    cursor: pointer;
    font-family: Arial,sans-serif;
    text-align: center;
    height: 20px;
    line-height: 20px
}

/*.chatbox {
    border: 1px solid #11cdef;
}*/
/*#chat,*/
.input-group-chatbot {
    box-shadow: none;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
    z-index: 2;
}

.col-1-chatbot,
.col-2-chatbot,
.col-3-chatbot,
.col-4-chatbot,
.col-5-chatbot,
.col-6-chatbot,
.col-7-chatbot,
.col-8-chatbot,
.col-9-chatbot,
.col-10-chatbot,
.col-11-chatbot,
.col-12-chatbot,
.col-chatbot,
.col-chatbot-auto,
.col-sm-1-chatbot,
.col-sm-2-chatbot,
.col-sm-3-chatbot,
.col-sm-4-chatbot,
.col-sm-5-chatbot,
.col-sm-6-chatbot,
.col-sm-7-chatbot,
.col-sm-8-chatbot,
.col-sm-9-chatbot,
.col-sm-10-chatbot,
.col-sm-11-chatbot,
.col-sm-12-chatbot,
.col-sm-chatbot,
.col-sm-chatbot-auto,
.col-md-1-chatbot,
.col-md-2-chatbot,
.col-md-3-chatbot,
.col-md-4-chatbot,
.col-md-5-chatbot,
.col-md-6-chatbot,
.col-md-7-chatbot,
.col-md-8-chatbot,
.col-md-9-chatbot,
.col-md-10-chatbot,
.col-md-11-chatbot,
.col-md-12-chatbot,
.col-md-chatbot,
.col-md-chatbot-auto,
.col-lg-1-chatbot,
.col-lg-2-chatbot,
.col-lg-3-chatbot,
.col-lg-4-chatbot,
.col-lg-5-chatbot,
.col-lg-6-chatbot,
.col-lg-7-chatbot,
.col-lg-8-chatbot,
.col-lg-9-chatbot,
.col-lg-10-chatbot,
.col-lg-11-chatbot,
.col-lg-12-chatbot,
.col-lg-chatbot,
.col-lg-chatbot-auto,
.col-xl-1-chatbot,
.col-xl-2-chatbot,
.col-xl-3-chatbot,
.col-xl-4-chatbot,
.col-xl-5-chatbot,
.col-xl-6-chatbot,
.col-xl-7-chatbot,
.col-xl-8-chatbot,
.col-xl-9-chatbot,
.col-xl-10-chatbot,
.col-xl-11-chatbot,
.col-xl-12-chatbot,
.col-xl-chatbot,
.col-xl-chatbot-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-12-chatbot {
    flex: 0 0 100%;
    max-width: 100%;
}

.input-text-chatbot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-chatbot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

    .input-group-chatbot .form-control-chatbot {
        box-shadow: none;
    }

    .input-group-chatbot .form-control:not(:first-child) {
        border-left: 0;
        padding-left: 0;
    }

    .input-group-chatbot .form-control:not(:last-child) {
        border-right: 0;
        padding-right: 0;
    }

    .input-group-chatbot .form-control:focus {
        box-shadow: none;
    }

    .input-group-chatbot > .form-control-chatbot:not(:last-child),
    .input-group-chatbot > .custom-select-chatbot:not(:last-child) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .input-group-chatbot > .form-control-chatbot:not(:first-child),
    .input-group-chatbot > .custom-select-chatbot:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .input-group-chatbot > .form-control-chatbot,
    .input-group-chatbot > .custom-select-chatbot,
    .input-group-chatbot > .custom-file-chatbot {
        position: relative;
        flex: 1 1 auto;
        width: 1%;
        margin-bottom: 0;
    }

.form-control-chatbot {
    display: block;
    width: 100%;
    height: calc(2.75rem + 2px);
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #8898aa;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #cad1d7;
    border-radius: 0.55rem;
    box-shadow: none;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.attachmentFile {
    font-size: medium;
    background: rgba(0, 0, 0, 0.00);
    border: 1px solid #cad1d7;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-left: 0px;
    border-top-right-radius: 0.55rem;
    border-bottom-right-radius: 0.55rem;
}

.menunggu {
    margin-top: 25px;
    background-color: #f78636;
    padding: 3px;
    color: #fff;
    border: 1px solid #f78636;
    border-radius: 0.55rem;
}

.mengetik{
    font-style: italic;
}

#close-chat {
    border: 1px solid #A8A8A8
}

#chat:after, #chat:before {
    position: absolute;
    border-style: solid;
    content: ""
}

.chatbox {
    position: fixed;
    bottom: 0;
    right: 120px;
    margin: 0 0 -1500px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /*background-color: #11cdef;*/
    background: #fff;
    border-bottom: none;
    padding: 28px 10px 5px;
    z-index: 100000;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#close-chat {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    border: 1px solid #dedede;
    width: 20px;
    background: #fefefe;
    z-index: 2
}

#minim-chat, #maxi-chat {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
    z-index: 1
}

.minim-button {
    position: absolute;
    top: 2px;
    right: 26px;
    font-size: 24px;
    border: 1px solid #dedede;
    width: 20px;
    background: #fefefe
}

.maxi-button {
    position: absolute;
    top: 2px;
    right: 26px;
    font-size: 24px;
    border: 1px solid #dedede;
    width: 20px;
    background: #fefefe;
}

.chat-title {
    position: absolute;
    top: 8px;
    left: 10px;
    font-size: 16px;
}

#badge-notif {
    position: fixed;
    right: -5px;
    bottom: 47px;
    z-index: 1;
}

#chat {
    position: fixed;
    right: 30px;
    bottom: 30px;
    /*        width: 40px;*/
    cursor: pointer;
    border-radius: 15px;
    padding: 8px;
    font-size: 12px;
    background: #fff;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

    #chat:before {
        border-width: 10px 11px 0 0;
        border-color: #A8A8A8 transparent transparent;
        left: 7px;
        bottom: -10px
    }

    #chat:after {
        border-width: 9px 8px 0 0;
        border-color: #fff transparent transparent;
        left: 8px;
        bottom: -8px
    }

    #chat:hover {
        background: #ffba3e;
        -webkit-animation-name: hvr-pulse-grow;
        animation-name: hvr-pulse-grow;
        -webkit-animation-duration: .3s;
        animation-duration: .3s;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate
    }

        #chat:hover:after {
            border-color: #ffba3e transparent transparent !important
        }

.animated-chat {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in
}

@-webkit-keyframes tada {
    0% {
        -webkit-transform: scale(1)
    }


    10%, 20% {
        -webkit-transform: scale(.9)rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1)rotate(3deg)
    }

    40%, 60%, 80% {
        -webkit-transform: scale(1.1)rotate(-3deg)
    }

    100% {
        -webkit-transform: scale(1)rotate(0)
    }
}

@keyframes tada {
    0% {
        transform: scale(1)
    }

    10%, 20% {
        transform: scale(.9)rotate(-3deg)
    }

    30%, 50%, 70%, 90% {
        transform: scale(1.1)rotate(3deg)
    }

    40%, 60%, 80% {
        transform: scale(1.1)rotate(-3deg)
    }

    100% {
        transform: scale(1)rotate(0)
    }
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada
}

@-webkit-keyframes hvr-pulse-grow {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
}

@keyframes hvr-pulse-grow {
    to {
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }
}

.notification {
    position: relative;
    top: -55px;
    z-index: 1;
}

.received_notif {
    width: 40%;
}

.received_withn_msg {
    width: 60%;
    margin-top: 10px;
    margin-bottom: 5px;
}

    .received_withn_msg p {
        background: #ebebeb none repeat scroll 0 0;
        border-radius: 25px;
        color: #646464;
        font-size: 12px;
        margin: 0;
        padding: 5px 10px 5px 12px;
        width: 100%;
    }

.incoming_msg_img {
    display: inline-block;
    width: 6%;
}

    .incoming_msg_img img {
        width: 55%;
    }

.received_msg {
    display: inline-block;
    padding: 0 0 0 0px;
    vertical-align: top;
    max-width: 90%;
}

.received_withd_msg p, .received_withd_msg ul {
    background: #f78636 none repeat scroll 0 0;
    border-radius: 15px;
    color: #fff;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.received_withd_msg ul {
    padding: 15px 10px 5px 12px;
}

.received_withd_msg_system p {
    background: none repeat scroll 0 0;
    border-radius: 3px;
    color: #f78636;
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    padding: 5px 10px 5px 12px;
    width: 100%;
}

.batas_res_service {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.7);
}

.time_date {
    color: #747474;
    display: block;
    font-size: 12px;
    margin: 8px 0 0;
}

.received_withd_msg {
/*    width: 90%;*/
    margin-bottom: 15px;
}

.mesgs {
    padding: 10px 0px 10px 0px;
    width: 100%;
    background-color: white;
}

.sent_msg p {
    background: #11cdef none repeat scroll 0 0;
    border-radius: 15px;
    font-size: 14px;
    margin: 0;
    color: #fff;
    padding: 5px 10px 5px 12px;
    width: 100%;
    float: right;
}

.outgoing_msg {
    overflow: hidden;
    margin-bottom: 15px;
}

.sent_msg {
    float: right;
    max-width: 90%;
}

.input_msg_write input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    color: #4c4c4c;
    font-size: 15px;
    min-height: 48px;
    width: 100%;
}

.type_msg {
    border-top: 1px solid #c4c4c4;
    position: relative;
}

.msg_send_btn {
    background: #05728f none repeat scroll 0 0;
    border: medium none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    height: 33px;
    position: absolute;
    right: 0;
    top: 11px;
    width: 33px;
}

.messaging {
    padding: 0 0 50px 0;
}

.msg_history {
    height: 285px;
    overflow-y: auto;
    padding-bottom: 5px;
    padding-right: 10px;
}


#chattext {
    font-size: small;
    padding: 5px;
}
