/* Main chat component */
.b-chat {
	background-color: #fff;
	font-family: 'Nudista Standard', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased; /* Make webkit font rendering more correct & similar to other browsers */
}
.b-chat > .body {
	overflow-y: auto;
	overflow-x: hidden;
}
.b-chat > .footer {
	background: #d0cece;
	position: relative;
}
.b-chat > .footer .sign-in {
	cursor: pointer;
	text-align: center;
	height: 16px;
	padding: 5px;
}
.b-chat > .footer .sign-in span {
	text-decoration: none;
	text-transform: uppercase;
	font-family: "Nudista Standard", Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1;
	color: #555;
}
.b-chat > .footer .sign-in span:hover {
	color: #111;
}
.b-chat > .footer .input {
	padding: 9px 6px 8px 6px;
}
.b-chat > .footer textarea {
	background-color: inherit;
	font-family: 'Nudista Standard', Helvetica, Arial, sans-serif;
	border: 0;
	display: block;
	margin: 0;
	outline: none;
	padding: 0;
	resize: none;
	width: 100%;
	height: 16px;
	font-size: 13px;
	overflow-y: hidden;
}
.b-chat.anon > .footer .input {
	display: none;
}
.b-chat .messages-comment {
	border-top: 1px solid #AAA;
}
.b-chat .messages .load-more {
	cursor: pointer;
	text-align: center;
	font-size: 13px;
	margin: auto;
	font-family: "Nudista Semibold";
	font-weight: bold;
	padding: 5px;
	background-color: rgb(173, 174, 177);
	color: #fff;
}
.b-chat .messages .load-more:hover {
	text-decoration: none;
	background-color: rgb(143, 144, 147);
}
.b-chat .messages .placeholder {
	color: #CCC;
	font-family: "Nudista Semibold", Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	position: absolute;
	top: 50%;
	margin-top: -6px;
	width: 100%;
}

/* Messages */
.b-chat-message {
	padding: 0.4em 0.4em 0.55em 0.45em;
}
.b-chat.moderate .b-chat-message:hover {
	background-color: #f0f0f0;
	cursor: pointer;
}
.b-chat-message.highlight {
	background-color: #e4e5e9;
	-webkit-transition: background-color 200ms linear;
	-moz-transition: background-color 200ms linear;
	-o-transition: background-color 200ms linear;
	-ms-transition: background-color 200ms linear;
	transition: background-color 200ms linear;
}
.b-chat-message.highlight .timestamp {
	color: #aaa;
}
.b-chat-message a {
	color: #00B3F6;
	cursor: pointer;
	text-decoration: none;
}
.b-chat-message a:hover {
	color: #00B3F6;
	text-decoration: underline;
}
.b-chat-message .nick {
	font-size: 13px;
	font-family: 'Nudista Semibold', Tahoma, Helvetica, sans-serif;
	font-weight: bold;
	color: #717274;
	display: inline-block;
	margin-right: 0.4em;
}
.b-chat-message.owner .nick,
.b-chat-message.owner .nick a {
	color: #F33030;
}
.b-chat-message.user-removed .nick {
	font-style: italic;
}
.b-chat-message .timestamp {
	display: inline-block;
	font-size: 11px;
	color: #BBB;
}
.b-chat-message.chat .timestamp.clickable:before {
	content: "\e7af";
	display: inline-block;
	font-family: "bambuser-symbols";
	vertical-align: text-bottom;
	margin-right: 0.28em;
}
.b-chat-message.highlight .timestamp.position {
	color: white;
}
.b-chat-message .timestamp.position.clickable {
	cursor: pointer;
}
.b-chat-message .timestamp.position.clickable:hover {
	text-decoration: underline;
}
.b-chat-message:hover .timestamp.position.clickable {
	color: #555;
}
.b-chat-message .body {
	color: #414141;
	display: block;
	margin-top: 0.16em;
}
.b-chat .menu .option {
	text-align: center;
	font-family: "Nudista Semibold", Helvetica, Arial, sans-serif;
	font-size: 11px;
	display: inline-block;
	margin: 0 0.9em;
	width: 3.7em;
	user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
}
.b-chat .menu .option .b-symbol-font {
	font-size: 20px;
	line-height: 1.4;
	display: inline-block;
	margin-top: -0.2em;
}
.b-chat .menu .option a {
	color: #9CAEB2;
}
.b-chat .menu .option a:hover {
	text-decoration: none;
	color: #00B3F6;
}

/* Post-live messages */
.b-chat .messages-comment {
	margin-top: 1.5em;
	border-top: 0;
	border-top: 1px solid #f0f0f0;
}
.b-chat .messages-comment:before {
	content: "Broadcast no longer live";
	display: inline-block;
	background-color: #fff;
	color: #ccc;
	font-family: "Nudista Semibold", Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	padding: 0 0.72em;
	position: relative;
	top: -0.82em;
	margin: 0 0 0.2em -7.54em;
	left: 50%;
}

/* Style webkit scrollbars */
.b-chat ::-webkit-scrollbar {
	background: transparent;
	width: 5px;
}
.b-chat ::-webkit-scrollbar-thumb {
	background: #B7BFC5;
}

/* HTML5 placeholder text color */
::-webkit-input-placeholder { /* WebKit browsers */
	color: #7a7a7a;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #7a7a7a;
	opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #7a7a7a;
	opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color: #7a7a7a;
}

.b-chat .curtain {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	text-align: center;
	color: #EEE;
}
.b-chat .curtain.dark {
	background-color: rgba(10,10,10,0.92);
	z-index: 999;
	color: #eaeaea;
}
.b-chat .curtain > .inner {
	display: table;
	width: 100%;
	height: 100%;
}
.b-chat .curtain > .inner > .inner-center {
	display: table-cell;
	vertical-align: middle;
}
.b-chat .curtain > .inner > .inner-center > .contents-wrapper {
	display: inline-block;
	text-align: center;
}

/* Dialog */
.b-chat .dialog .query {
	cursor: pointer;
	margin: 0.7em;
	display: inline-block;
	padding: 0.3em 1.15em;
	min-width: 2.3em;
	font-weight: bold;
	border: 1px solid #00b3f6;
	border: 1px solid #fff;
	color: #fff;
	border-radius: 20em;
}
.b-chat .dialog .query:hover {
	background-color: #fff;
	color: black;
	text-decoration: none;
}
.b-chat .dialog h2 {
	font-size: 15px;
	color: inherit;
}

/* Login dialog */
.b-chat .dialog .login textarea {
	font-family: 'Nudista Standard', Helvetica, Arial, sans-serif;
	border: 1px solid #999;
	display: block;
	margin: 0;
	outline: none;
	padding: 4px;
	resize: none;
	width: 96%;
	height: 16px;
	font-size: 13px;
	overflow-y: hidden;
	border-radius: 2px;
}
.b-chat .dialog .login a {
	display: block;
	font-family: "Nudista Semibold", Helvetica, Arial, sans-serif;
	font-size: 15px;
	margin: 0.33em 0;
}
.b-chat .dialog .login a:hover {
	color: #00b3f6;
}

/* Notification */
.b-chat > .notification {
	background-color: rgba(51, 51, 51, 0.9);
	color: #ccc;
	margin: 0;
	font-family: "Nudista Semibold", Helvetica, Arial, sans-serif;
	font-size: 13px;
}
.b-chat > .notification .icon {
	display: inline-block;
	position: absolute;
	width: 1.11em;
	height: 1.11em;
	font-family: 'bambuser-symbols';
	font-size: 18px;
	vertical-align: middle;
	margin: -0.55em 0.5em 0.44em 0.5em;
	top: 50%;
}
.b-chat > .notification .message {
	display: block;
	float: left;
	margin: 0.45em 0.45em 0.45em 2.8em;
}
