/*===== Chat ====*/
.chat-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 5px 10px;
    width: 100%;
    max-width: 300px;
    z-index: 100;
}

.wr-fo {
    margin: 50px 15px 35px 10px;
}

.btn-chat {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 10px 15px 35px 10px;
    cursor: pointer;
    border: none;
    user-select: none;
}

.chat-form {
    min-width: 100%;
    max-width: 300px;
    height: 350px;
    background: #fff;
	border: 1px solid silver;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
}

.chat-header {
    height: 35px;
    position: relative;
    top: -19px;
    margin: -1px;
    cursor: pointer;
}

.bo {
    top: 0;
    background: #222;
    color: #fff
}

.chat-header p {
    padding: 8px;
    text-align: center;
    margin: 0;
    user-select: none;
}

.chat-closed {
    display: none;
}

.close-bo {
    fill: #fff
}

.icon-minimize {
    margin-top: -30px;
    margin-right: 10px;
    cursor: pointer;
}

.icon-chat:before {
    padding: 5px
}

.chat-input {
    overflow: hidden;
    word-wrap: break-word;
    resize: none;
    height: 42px;
    width: 100%;
    padding: 10px;
    position: relative;
    bottom: 0
}

.chat-textarea {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 10px 10px 0;
    height: auto;
    border-width: 1px 0 0;
    border-style: solid;
    border-color: #eee;
    text-align: center
}

.chat-input {
    width: 90%;
    border-radius: 10px;
    outline: none
}

.input-fo {
    width: 77%;
}

.chat-content {
    height: auto;
    max-height: 225px;
    border-top: 1px solid #eee;
    overflow-x: hidden;
    /* overflow-y: scroll; */
    margin-bottom: 25px;
}

.content-wt-admin {
    max-height: 120px !important; 
}

#messages {
    border: 1px solid black;
    height: 200px;
    overflow: auto;
}

.chat-content::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.chat-content::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

.chat-content::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #ccc;
}


/* .chat-right-wrapper {
    padding: 10px 10px 0px;
    float: right;
    margin-right: 10px;
    margin-left: 70px;
    margin-top: 10px;
    border-radius: 5px;
} */

.chat-right-wrapper div {
    background: #efefef;
    padding: 10px 10px 0px;
    float: right;
    margin-right: 10px;
    margin-left: 70px;
    margin-top: 10px;
    border-radius: 5px;
    display: block;
    clear: both;
    white-space: pre-wrap;
}


.chat-left-wrapper div {
    background: #9BD6FF;
    padding: 10px 10px 0px;
    float: left;
    margin-left: 10px;
    margin-right: 70px;
    margin-top: 10px;
    border-radius: 5px;
    display: block;
    clear: both;
    white-space: pre-wrap;
}

.online-admin-status {
	text-align: left;
    background: #9BD6FF;
    margin-bottom: 10px;
    padding: 10px;
}

.send-by-right {
    float: right;
    margin-right: 10px;
    color: silver;
    clear: both;
}

.send-by-left {
    float: left;
    margin-left: 10px;
    color: silver;
    clear: both;
}

[v-cloak] { display: none; }

#send-chat {
    margin-top: 2px;
}

.icon-send {
    font-size: 1.5em !important;
}

/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0} 
to {top:0; opacity:1}
}

@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}

@media screen and (max-width: 300px) {
    .chat-wrapper {
        left: 0;
    }
}