.chatbox {
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 50px;
    background-color: #fdfaf3;
    margin: 0 0 0 0 !important;
    padding: 5px !important;
	border-bottom-left-radius: 5px;
}

.mBottleMainPane {
	background-color: #fdfaf3;
}

.chatbox input {
    border-radius: 10px;
    padding: 3px;
}

.chatbox div {
    margin: 0 !important;
    padding: 0 !important;
    background:  #fdfaf3;
}

.chatboxTime {
    font-style: italic;
    font-size: 14px;
}

#ChatMessages {
    overflow-y: auto;
    height: 348px;
    padding: 15px;
    background:  #fdfaf3;
}
#ChatMessages p {
    font-size: 16px;
    color: #aaa;
}
#chatMessages p strong {
    color: #000 !important;
}

.black {
    color: #000 !important;
}

#chatboxText {
}

.btn-private-selected {
  background: -webkit-linear-gradient(top, #fecf39, #fda619 );
  background: -o-linear-gradient(top, #fecf39, #fda619 );
  background: -webkit-gradient(linear, left top, left bottom, from(#fecf39), to(#fda619));
  background: linear-gradient(to bottom, #fecf39, #fda619);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffecf39', endColorstr='#fffda619', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  padding: 5px 16px;
  font-size: 16px;
  line-height: 1.42857143;
  border-radius: 30px;
  color: black;
}

.btn-private-selected:hover,
.btn-private-selected:focus {
  background-color: #fda619;
  background-position: 0 -15px;
}

.btn-private-selected:active,
.btn-private-selected.active {
  background-color: #fda619;

}

.btn-private-selected:disabled,
.btn-private-selected[disabled] {
  background-color: #fda619;
  background-image: none;
}

.btn-private {
  background-repeat: repeat-x;
  padding: 5px 5px 5px 1px;
  font-size: 14px;
  line-height: 1.0;
  border-radius: 30px;
  color: black;

}

.btn-private img {
    height: 22px;
}

.chatbox-private {
    background-color: #ffffff !important;
}

.chatMessage {
    position:relative;
    max-width:70%;
    padding:28px 50px;
    margin:1em auto 30px;
    text-align:center;
    display: inline-block;


    /*
    NOTES:
    -webkit-border-radius:220px 120px; // produces oval in safari 4 and chrome 4
    -webkit-border-radius:220px / 120px; // produces oval in chrome 4 (again!) but not supported in safari 4
    Not correct application of the current spec, therefore, using longhand to avoid future problems with webkit corrects this
    */
    -webkit-border-top-left-radius:180px 120px;
    -webkit-border-top-right-radius:180px 120px;
    -webkit-border-bottom-right-radius:180px 120px;
    -webkit-border-bottom-left-radius:180px 120px;
    -moz-border-radius:180px / 120px;
    border-radius:180px / 120px;

    overflow-wrap: break-word;
    word-wrap: break-word;

    /* overflow: hidden; */
    text-overflow: ellipsis;

}

.chatMessage-self {
    color:#fff;
    background:#075698;
    /* css3 */
    background:-webkit-gradient(linear, 0 0, 0 100%, from(#2e88c4), to(#075698));
    background:-moz-linear-gradient(#2e88c4, #075698);
    background:-o-linear-gradient(#2e88c4, #075698);
    background:linear-gradient(#2e88c4, #075698);
    float: right;
}

.chatMessage-other {
    color:#000;
    background:#FED03C;
    /* css3 */
    background:-webkit-gradient(linear, 0 0, 0 100%, from(#ffda6b), to(#FED03C));
    background:-moz-linear-gradient(#ffda6b, #FED03C);
    background:-o-linear-gradient(#ffda6b, #FED03C);
    background:linear-gradient(#ffda6b, #FED03C);
    float: left;
}


.chatMessage-self p {
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #fff !important;
}

.chatMessage-other p {
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #000 !important;
}


/* creates the larger circle */
.chatMessage-self:before {
    content:"";
    position:absolute;
    bottom:-30px;
    right:25px;
    width:25px;
    height:25px;
    background:#075698;
    /* css3 */
    -webkit-border-radius:30px;
    -moz-border-radius:30px;
    border-radius:30px;
}

/* creates the smaller circle */
.chatMessage-self:after {
    content:"";
    position:absolute;
    bottom:-35px;
    right:5px;
    width:15px;
    height:15px;
    background:#075698;
    /* css3 */
    -webkit-border-radius:15px;
    -moz-border-radius:15px;
    border-radius:15px;
}

/* creates the larger circle */
.chatMessage-other:before {
    content:"";
    position:absolute;
    bottom:-30px;
    left:25px;
    width:25px;
    height:25px;
    background:#FED03C;
    /* css3 */
    -webkit-border-radius:30px;
    -moz-border-radius:30px;
    border-radius:30px;
    line-height: 25px;
    font-size: 15px;
}

/* creates the smaller circle */
.chatMessage-other:after {
    content:"";
    position:absolute;
    bottom:-35px;
    left:5px;
    width:15px;
    height:15px;
    background:#FED03C;
    /* css3 */
    -webkit-border-radius:15px;
    -moz-border-radius:15px;
    border-radius:15px;
    font-size: 9px;
    line-height: 15px;
}

.from-en:after {
    content: "en" !important;
}
.from-ru:after {
    content: "ru" !important;
}
.from-fr:after {
    content: "fr" !important;
}
.from-es:after {
    content: "es" !important;
}
.from-ar:after {
    content: "ar" !important;
}
.from-zh:after {
    content: "zh" !important;
}
.from-de:after {
    content: "de" !important;
}
.from-pt:after {
    content: "pt" !important;
}
.from-ja:after {
    content: "ja" !important;
}
.from-it:after {
    content: "it" !important;
}
.from-tr:after {
    content: "tr" !important;
}
.from-cs:after {
    content: "cs" !important;
}



.to-en:before {
    content: "en" !important;
}
.to-ru:before {
    content: "ru" !important;
}
.to-fr:before {
    content: "fr" !important;
}
.to-es:before {
    content: "es" !important;
}
.to-ar:before {
    content: "ar" !important;
}
.to-zh:before {
    content: "zh" !important;
}
.to-de:before {
    content: "de" !important;
}
.to-pt:before {
    content: "pt" !important;
}
.to-ja:before {
    content: "ja" !important;
}
.to-it:before {
    content: "it" !important;
}
.to-tr:before {
    content: "tr" !important;
}
.to-cs:before {
    content: "cs" !important;
}