#chatboxWrap {
	height: 300px; 
	overflow-y: scroll;
	overflow-x: hidden;
	resize: vertical;
}

#chatcontent {
	width: 100%;
}

#elChatbox { margin-bottom: 0px !important; }

#cbInput_container { position:relative; padding:0; margin:0; }

#chat_button { line-height: 24px !important;}

.cbItems {
	position: absolute; float: right; top: 5px; right: 5px;
}
.cbItems img { margin-right: 5px; }

/* sua loi khong xuong hang cho long text */
.chatboxLink {
	/* For Firefox */
	white-space: pre-wrap;
	word-break: break-all;

	/* For Chrome and IE */
	word-wrap: break-word;
}

.cbDisconnect {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1000;
	background: #fff;
	opacity: 0.8;
}
.cbDisconnectMSG {
	text-align: center;
}

.bimcb_chatInput {
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 2px;
	height: 40px;
	padding: 15px;
	border: none !important;
}

.bimcb_chatArea .ipsType_warning {
	margin-top: 5px;
}

#cbInput_container input{
	margin: 0px !important;
}

#cbInput_container input:focus {
	border: none !important;
	outline: 0 !important;
}

.bimcb_editform {
	width: 100% !important;
	max-width: 100% !important;
}

.cbEmoList {
	float: left; 
	width: 55px; 
	height: 55px; 
	text-align: center;
}

.cbEmoList img {
	cursor: pointer; cursor: hand;
}

.ipsWidget.ipsWidget_horizontal[data-blockid^="app_bimchatbox"] {
	padding: 0px !important;
}
.ipsWidget.ipsWidget_horizontal[data-blockid^="app_bimchatbox"] .ipsButton {
	min-width: 43px;
}

#loadMore {
	bottom: 0px;
}

.cbBtn {
    font-size: 18px;
    opacity: 0.5;
    -webkit-transition: 0.3s all linear;
    -moz-transition: 0.3s all linear;
    -ms-transition: 0.3s all linear;
    -o-transition: 0.3s all linear;
    transition: 0.3s all linear;
    width: 20px;
    height: 20px;
	display: block;
	margin-left: 10px;
}

.cbBtn:hover {
	opacity: 1;
}

.cbAnn {
	background: #fffee5;
}

.cbThumb_image {
	max-width: 200px;
	max-height: 120px;
}

	.ipsThumb_bg.cbThumb_image {
		width: 200px;
		height: 120px;
	}
	
.cbImg {
	max-width: 220px;
	max-height: 220px;
}
	
.cbVideo { 
  position: relative; 
  width: 200px;
}

.cbVideo img {
  width: 100%;
}

.cbVideo a {
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	font-size: 55px;
	transform: translate(-50%,-50%);
	opacity: 1;
	cursor: pointer;
	color: #fff;
}
#cbCopyright {
	font-size: 10px !important;
}

.cbVideo a:before {
    content: "\f01d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.cbVideo a:hover {
	opacity: 1;
	color: #aafcff;
}

.cbVideoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.cbVideoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.cbVideoPopupOpen {
	margin: 10px 0 0 0;
	cursor: pointer;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.chatboxMedia {
	display: none;
	position: absolute;
	bottom: 65px;
	height: 90px;
	width: 100%;
}

.chatboxMedia .ipsImageAttach_thumb {
	height: 90px !important;
	width: 90px !important;
}

.chatboxEmoji {
	font-size: 20px;
	max-height: 27px;
	max-width: 27px;
}

.chat_row .ipsPos_right a i {
	font-size: 15px;
	margin-left: 5px;
}

[for="elInput_chatbox_conf_blocklist"] {
	display: block !important;
}