﻿.chat-popup {
    display: none;
    position: fixed;
    bottom: 50px;
    right: 8px;
    border: 3px solid #f1f1f1;
    z-index: 9;
}

/* Add styles to the form container */
.chat-container {
    padding: 10px;
    background-color: rgba(0, 128, 0, 0.49);
    border-radius: 5px;
}
#errmssg {
    margin: 2px auto;
    margin-bottom: 3px;
    color: white;
    padding: 2px 4px;
    background-color: darkgreen;
}

#touser {
    background-color: rgba(0, 128, 0, 0.79);
    color: lightyellow;
    width: 80%;
    margin: 3px 10% 0 10%;
    padding: 4px;
    border-radius: 8px 8px 0 0;
    display: block;
}

.btn-popform {
    float: right;
    margin: 2px 4px;
    padding: 2px 4px;
}

.chat-head {
    background-color: azure;
    margin: 2px;
    padding: 2px;
    border-radius: 5px;
    position: relative;
}

.chat-head-title {
    margin: 2px auto;
    text-align: center;
    color: darkgreen;
    font-weight: bold;
}

    .chat-head-title > small {
        white-space: nowrap;
        font-variant: small-caps;
        color: navy;
    }

    .chat-head-title > .badge {
        position: absolute;
        top: -4px;
        left: 30px;
        background-color: rgba(0, 38, 255, 0.61);
        border-radius: 50%;
        font-size: 55%;
        color: white;
    }

.chat-body {
    padding: 5px;
    margin: 4px 2px;
    width: 320px;
}

.chat-bttn {
    position: fixed;
    bottom: 132px;
    right: -2px;
    z-index: 10;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: rgba(65, 111, 238, 0.41);
    cursor: pointer;
    padding: 5px;
    padding-left: 0;
    border-radius: 50% 0 0 50%;
    box-shadow: rgba(0, 0, 0, 0.44) 2px 2px 5px;
}

    .chat-bttn:hover {
        background-color: rgba(65, 111, 238, 0.71);
    }

.chat-btn-right,
.chat-btn-hide {
    float: right;
    margin: 2px 4px;
    padding: 4px;
}

.chat-btn-close {
    float: left;
    margin: 2px 4px;
    padding: 2px 5px;
    border-radius: 6px;
    border: none;
}

.chat-btn-left {
    float: left;
    margin: 2px 4px;
    margin-right: 1px;
    padding: 2px 5px;
    border-radius: 6px 0 0 6px;
    border: none;
}
.chat-btn-send {
    float: right;
    margin: 3px 4px;
    margin-right: 1px;
    padding: 3px 6px;
    border-radius: 6px;
    border: none;
    background-color: white;
}
.chat-btn-notify {
    float: left;
    margin: 2px 4px;
    margin-right: 1px;
    padding: 2px 5px;
    border-radius: 6px;
    border: none;
    background-color: rgba(255, 106, 0, 0.67);
    position: relative;
    color: white;
}
.chat-btn-notify .badge {
    position: absolute;
    top: -6px;
    right:-5px;
    background-color: transparent;
    color: red;
}

.chat-btn {
    padding: 8px 5px;
    position: relative;
    background-color: transparent;
    border: none;
    border-radius: 50% 0 0 50%;
    display: block;
    font-weight: bold;
    font-family: 'Arial Rounded MT';
    color: white;
}

    .chat-btn:hover {
        color: greenyellow;
        text-decoration: none;
    }

    .chat-btn > .badge {
        position: absolute;
        top: -4px;
        right: -5px;
        background-color: transparent;
        color: green;
        font-size: 16px;
    }

.chat-name {
    font-size: 13px;
}


.chat-line {
    margin: 8px auto;
    font-family: 'Times New Roman', Times, serif;
    border-left: 4px double #ff00dc;
    padding: 2px;
    box-shadow: rgba(0, 0, 128, 0.25) 1px 1px 2px;
}
    .chat-line p, .chat-line-r p {
        margin: 2px 3px 2px 8px;
    }
.chat-line-r {
    margin: 8px auto;
    font-family: 'Times New Roman', Times, serif;
    border-right: 4px double rgb(0, 193, 255);
    box-shadow: rgba(0, 0, 128, 0.25) 1px 1px 2px;
    padding: 2px;
}
.chat-text {
    color: navy;
    font-size: 13px;
    background-color: white;
}
.chat-title {
    color: navy;
    font-size: 13px;
        border-bottom: 1px solid silver;
        background-color: ghostwhite;
}
.chat-time {
    float: right;
    font-size: 12px;
    margin: 3px;
}

.chat-foot {
    padding: 1px;
}

    .chat-foot p {
        font-size: 13px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: center;
        color: yellow;
    }
/* Icon when the collapsible content is shown */
.chat-btn-hide:after {
 /*   font-family: "Glyphicons Halflings";
    content: "&#xf107;";*/
}

/* Icon when the collapsible content is hidden */
.chat-btn-hide.collapsed:after {
    /*content: "&#xf106;";*/
}

#chatmessage {
    border: 1px solid #f1f1f1;
    border-radius: 6px;
    background-color: white;
    height: 280px;
    overflow: auto;
    margin-bottom: 5px;
    box-shadow: rgba(0, 0, 0, 0.37) 1px 1px 2px;
    padding: 4px;
}

#MsgText {
    margin: 3px 2px;
    padding: 4px 6px;
    border-radius: 6px;
    display: block;
   width: 270px;
}

.product-title {
    color: blueviolet;
}
