#bbpalette {
	display: inline;
}

#chat {
	width: 100%;
}

#chat-header {
	width: 100%;
}

#whois_online {
	font-size: 12px;
	text-align: left;
}

#fc {
	margin: 0 auto;
	height: 20px;
	width: 20px;
	border-style:solid;
	border-width:1px;
}

#chat_colour_palette {
	text-align: center;
	padding-bottom: 5px;
}

#chat_colour_palette table {
	margin: 0 auto;
}

#ajaxchat .navbar.chatrules {
	margin: 0 5px 3px 5px;
	border-radius: 0 0 7px 7px;
}

#ajaxchat .navbar.chatrules ul {
	list-style-type: none !important;
}

#ajaxchat .navbar.chatrules ol, ul {
	margin-left: 5px;
	list-style-position: inside;
}

#ajaxchat .forabg {
	margin-bottom: 0;
}

.select_color {
	margin: 0 auto;
}

.shouts {
	width: 82%;
	height: 250px;
	overflow: auto;
	overflow-x: hidden;
	margin-left: 0.5%;
	display: inline-block;
	position: relative;
}

.chat_online_off {
	width: 100%;
	height: 250px;
	overflow: auto;
	overflow-x: hidden;
}

.whois_online_off {
	visibility: hidden;
	position: fixed;
}

.whois {
	display: inline-block;
	width: 17%;
	height: 250px;
	max-width: 150px;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: center;
	white-space:nowrap;
}

.whois h3 {
	margin: 2px 0;
}

.whois_online {
	display: block;
	width: 90%;
	text-align: left;
	margin: 6px auto;
}

.archive {
	float: left;
	width: 100%;
	overflow: auto;
	overflow-x: hidden;
}

.chat-postbody {
	padding: 0;
	width: 100%;
	clear: both;
	min-height: 26px;
}

.chat dd {
	border: none !important;
}

.chat-postbody .content {
	font-size: 1.3em;
}

.chatform {
	width: 100% !important;
	text-align: center;
	padding: 2px;
}

.chat-postbody ul.profile-icons {
	float: right;
	width: auto;
	padding: 0;
}

.chat-postbody ul.profile-icons li {
	margin: 0 3px;
}

.chat_rules {
	padding: 2px 6px 4px;
	font-size: 1.1em;
}

.chat-rules-center {
	width: 100%;
	margin-left: -5px;
	text-align: center;
}

.span_chat_rule {
	font-weight: bold;
	font-size: 1.1em;
	color: #AA0000;
}

.chat-header-link {
	text-align: center;
}

.main {
	height: 70vh;
}

.popupup {
height: calc(100vh - 150px);
}
.popup {
    height: 100%;
    overflow: auto;
}

.chatinput {
	width: 60% !important;
	margin-bottom: 4px;
font-size: 1.1em;
}

.message {
	border: 1px solid #211914;
	font-size: 12px;
	text-align: left;
	color: white;
	background-color: #1c1c1c;
	padding: 3px 3px 0px 3px;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	max-width: 94%;
	width: auto;
	margin-left: 44px;
	min-height: 40px;
}

.chat-message {
	padding: 3px 6px 3px 6px;
}

.chat-message [data-s9e-mediaembed="youtube"], .chat-message [data-s9e-mediaembed="rutube"], .chat-message [data-s9e-mediaembed="twitch"] {
max-width: 400px !important;
}

.chat-postprofile {
	float: left;
}

.chat-postprofile-no-avatar {
	float: left;
}

.chat-usernames {
  padding: 3px 6px 0px 6px;
}

.chat-time {
	padding: 0px 10px 0px 10px;
	color: #777;
}

.status_img {
	vertical-align: middle;
}

.chat-avatars img {
	width: 42px;
	height: auto;
	max-height: 42px;
	margin: 0px;
	z-index: 0;
}

div.chat-avatars:hover {
	background-color: transparent;
	z-index: 50;
}

.chat li.row:hover {
	background-color: transparent !important;
}

.chat_sound {
	visibility: hidden;
	position: absolute;
}

.chatnavbar {
	margin: 6px 0 4px 0;
	padding: 5px 10px 5px 10px;
	text-align: center;
min-height: auto;
}
.chatnavbar:before {
	background: initial;
}
.chatnavbar:after {
	background: initial;
}

.input_message {
	padding: 10px;
}

.chat-postbody .message blockquote, .chat-postbody .codebox {
	margin-right: 30px;
	margin-bottom: 4px;
	width: 80%;
}

.chat-postbody .message blockquote {
	width: calc(100% - 65px);
}

.chat .button {
	padding: 0 8px;
	height: auto;
	margin-bottom: 3px;
}

.chat a:hover {
	text-decoration: none !important;
}

.font_cookie_delete {
	margin: 2px auto 0 auto !important;
	width: 90px;
}

.details {
	color: #AA0000;
}

.nobg {
	background: none !important;
	border: none !important;
}

.chat_edit textarea.inputbox {
	width: 99%;
}

/* ABBC3 Compatibility */

#ajaxchat .abbc3_buttons_row {
	width: inherit !important;
}

#ajaxchat #abbc3_buttons {
	margin-top: 0 !important;
}

#ajaxchat #color_palette_placeholder {
	width: 100%;
	margin: 0 auto;
}

#ajaxchat #color_palette_placeholder table {
	width: 100%;
	margin: 0 auto;
}

#chat ul.topiclist dt {
	width: auto;
}

/* bootlike additions */

.bordernav {
	border: 1px solid #E7E7E7;
}

.chatpost {
	padding: 2px;
}

.chat .btnbl {
	padding: 2px 10px;
}

.smfont {
	font-size: inherit;
}

.chat.panel {
	margin-bottom: 3px;
}

/* Subway additions */
#chat .subway .post-buttons .icon-button:before {
	top: 5px;
}

#chat .subway .post-buttons .button {
	height: 24px;
	width: 24px;
}

.subway .chatpost {
	margin-bottom: 5px;
	padding: 5px;
}

/* Black additions */
.fachaticon {
	width: 30px;
	margin-left: -5px;
}

.fachaticon .nav-link {
	width: 30px;
}

/* Aqua-Marine additions */
#ajaxchat .forabg.aqua-marine {
	padding-bottom: 0;
}

#ajaxchat .navbar.chatrules.aqua-marine {
	margin-top: -4px;
}

/* ComBoot additions */
.message-comboot {
	line-height: 1.4em;
	padding-top: 2px;
	overflow: auto;
}

.whois-comboot h3 {
	margin: 2px 0;
	font-size: inherit;
}

#ajaxchat .btn-toolbar .btn, .btn-toolbar .btn-group, .btn-toolbar .input-group {
	float: none !important;
}

#ajaxchat .btn {
	padding: 0px 10px;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

@media screen and (max-width: 940px) {
	.shouts {
	    width: 100%;
	}
	.whois {
		display: none;
	}
}

.original {
	padding: 8px 10px;
	margin-bottom: 4px;
}

.nomargin {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#ajaxchat .forabg ul.topiclist li.header dt, .forumbg ul.topiclist li.header dt {
	width: 100%;
}

/*BBCodes*/
#ajaxchat .message ul, #ajaxchat .message ol {
	margin: 0.8em 0 0.9em 3em;
}

#ajaxchat .message img {
max-width: 100%; max-height: 200px;
}

.chat_icon_active {color:#00b700;}
.chat_icon_idle {color:yellow;}
.chat_icon_afk {color:red;}
