﻿.chat-section {
    font-weight: 100;
}

.icon-chat {
    z-index: 999999;
    border-radius: 5px 5px 0px 0px;
    height: 44px;
    display: inline-block;
    background-color: rgb(44, 44, 44);
    text-align: center;
    right: 3%;
    bottom: 0px;
    cursor: pointer;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.17);
    padding: 0px 28px;
    color: #fff;
    line-height: 43px;
    position: fixed;
}

    .icon-chat i {
        color: #fff;
        line-height: 37px;
        font-size: 21px;
        margin-left: 6px;
    }

.box-chat {
    width: 25%;
    height: 70vh;
    background-color: #ffffff;
    position: fixed;
    right: 3%;
    bottom: 0px;
    z-index: 999999999;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
}

@media only screen and (max-width:768px) {
    .icon-chat {
        .right: calc(50% - 106px);
    }

    .box-chat {
        width: 94%;
        height: 90vh;
    }
}

.header-chat {
    background-color: rgb(44, 44, 44);
    color: #fff;
    text-align: center;
    padding: 13px;
}

.chat-send-box {
    position: absolute;
    bottom: 0px;
    padding: 10px;
    width: 100%;
}

.chat-msgs {
    opacity: 1 !important;
    padding: 5px;
    position: relative;
    width: 100%;
    overflow-y: scroll;
    display: inline-block;
    height: calc(100% - 100px);
}

.chat-input {
    width: 80%;
    padding: 5px;
    border: 1px solid #cbcbcb;
}

#send-msg {
    border-radius: 3px 0px 0px 3px;
    float: left;
    padding: 7px;
    width: 20%;
    border: 0px;
    box-shadow: 0px 1px 0px #b60c0c;
    background-color: rgb(44, 44, 44);
    color: #fff;
}

.close-chat {
    color: #ffffff;
    position: absolute;
    left: 5px;
    top: 5px;
    padding: 10px;
    cursor: pointer;
}

.msg-admin {
    max-width: 70%;
    float: left;
    background-color: rgba(0, 0, 0, 0.77);
    color: #ffffff;
    border-radius: 5px;
    margin: 5px;
    padding: 6px;
    font-size: 9pt;
}

.msg-visitor {
    max-width: 70%;
    float: right;
    background-color: rgb(44, 44, 44);
    color: #ffffff;
    border-radius: 5px;
    margin: 5px;
    padding: 6px;
    font-size: 9pt;
}

.submit-contact {
    padding: 10px;
}

    .submit-contact p {
        font-size: 9pt;
        text-align: justify;
    }

.btn-start-chat {
    background-color: rgb(44, 44, 44);
    color: #fff !important;
    width: 100%;
    margin-top: 15px;
}
