#custom-css-ta {
	background: #D8D8D8;
	height: 200px;
	font-family: "Consolas";
}

.spoiler {
	color:transparent !important;
}

.spoiler img {
	display:none;
}

.spoiler:before {
	content:"Spoiler";
	display:block;
	background:#1D1D1D;
	color:#ADADAD !important;
	min-height:30px;
	text-align:center;
	line-height:100%;
	font-family:"Consolas";
	padding-top:5px;
}

.emotemenu-enabled .channel-textarea-inner textarea {
	margin-right:45px !important;
}

#bdbeta {
	background:red;
}

#twitchcord-button-container {
	position:absolute;
	width:50px;
	height:45px;
	right:0;
	display:block;
	bottom:31px;
}

#twitchcord-button {
	background-color:#2E3136;
	position:absolute;
	width:50px;
	height:42px;
	top:2px;
	right:2px;
	background-image:url(https://static-cdn.jtvnw.net/emoticons/v1/5/1.0);
	background-repeat:no-repeat;
	background-size:36px;
	background-position:7px;
}

.twitchcord-button-open {
	background-image:url(https://static-cdn.jtvnw.net/emoticons/v1/3/1.0) !important;
}

#tc-settings-button {
	background-image:url('data:image/png;base64, ');
}

#emote-menu {
	background:#36393E;
	height:0;
	width:300px;
	position:absolute;
	bottom:45px;
	right:0;
	border:1px solid #000;
	border-radius: 5px 0 0 0;
	overflow:hidden;
	visibility:hidden;
	transition: all 1s;
	-webkit-transition: all 1s;
}

.emotemenu-open {
	height:450px !important;
	visibility:visible !important;
}

#emote-menu-header {
	width:100%;
	height:30px;
	background-color: #36393E;
}

.emote-menu-tab {
	float:left;
	width:130px;
	text-align:center;
	padding:7px;
	color:#ADADAD;
	background-color:#424549;
	cursor: pointer;
}

.emote-menu-tab:hover {
	background-color:#45484C;
}

#emote-menu-inner {
	height:412px;
}

#emote-menu-inner-fav {
	height:412px;
}

.emote-menu-tab-selected, .emote-menu-tab-selected:hover {
	background-color:#36393E;
}

#emote-container {
	padding:10px;
}

.emote-container {
	display:inline-block;
	padding:2px;
	border-radius:5px;
	width:30px;
	height:30px;
	position:relative;
}

.emote-icon {
	max-width:100%;
	max-height:100%;
	position:absolute;
	margin:auto;
	top:0;
	right:0;
	bottom:0;
	left:0;
	cursor:pointer;
}

.emote-container:hover {
	background: rgba(123, 123, 123, 0.37);
}

#tc-settings-panel {
	position:fixed;
	width:50%;
	height:75%;
	background:rgb(46,49,54);
	display:block;
	z-index:9001;
	margin-left:25%;
	margin-top:5%;
	border:1px solid #000;
	box-shadow:0 0 20px 0 #000;
	max-height:800px;
	min-width:750px;
}

#tc-settings-panel-header {
	background:rgb(54,57,62);
	height:60px;
	border-bottom:1px solid #000;
	box-shadow:0 1px 0 0 rgb(78,78,78);
}

#tc-settings-panel-header h2 {
	margin:0;
	line-height:60px;
	margin-left:10px;
	color:#ADADAD;
	display:inline-block;
	float:left;
}

#tc-settings-panel-header span {
	float:right;
	display:inline;
	line-height:50px;
	margin-right:15px;
	font-size:29px;
	font-weight:bold;
	color:#ADADAD;
}

#rmenu {
	width: auto;
	background: #505050;
	position:absolute;
	z-index: 999999;
	display: none;
	box-shadow: 0 0 2px #000;
	padding:2px;
}

#rmenu ul a{
	text-decoration: none;
	color:#FFF;
	padding:3px;
}

#tc-settings-panel-body {
	overflow:auto;
}

#tc-settings-panel-body ul {
	overflow: auto;
	position:absolute;
	padding:0;
	margin-top:0;
	border-bottom:1px solid #000;
	left:0;
	right:0;
	bottom:40px;
	top:61px;
}

#tc-settings-panel-body ul li {
	padding:15px;
	color:#ADADAD;
	background:#2E3136;
	border-bottom:1px solid #000;
	box-shadow:0 1px 0 #404040 inset;
}

#tc-settings-panel-body ul li:nth-child(odd) {
	background:#33363B;
}

#tc-settings-panel-body ul li h2 {
	display:inline;
}

#tc-links a {
	color:#FFF;
}

#tc-settings-panel-footer {
	background: rgb(54,57,62);
	height:40px;
	position:absolute;
	bottom:0;
	right:0;
	left:0;
	border-top:1px solid #000;
	box-shadow:0 1px 0 #505050 inset;
	line-height:40px;
	padding-left:10px;
	color:#ADADAD !important;
}

#tc-links {
	float:right;
	margin-right:10px;
}

.tc-switch {
	background: rgb(46, 49, 54);
	width: 100px;
	height: 24px;
	display: inline-block;
	float: right;
	margin: -7px;
	border: 1px solid #000;
	outline: 1px solid #404040;
	cursor:pointer;
}

.tc-switch.disabled {
	background:gray;
	cursor:default;
}

.tc-switch.disabled span {
	background:gray !important;
}

.tc-switch.disabled .tc-switch-on {
	border-left:1px gray !important;
}

.tc-switch span {
	line-height:24px;
	display:inline-block;
	width:49px;
	text-align:center;
	height:24px;
}

.tc-switch-off {
	border-right:1px solid #000;
}

.tc-switch-on {
	border-left:1px solid #404040;
}

.tc-switch-on.active {
	background:green;
	border-left:1px solid #00AE08;
}

.tc-switch-off.active {
	background:#860606;
}

.bd-minimal .avatar-large {
	max-width:20px;
	max-height:20px;
	background-size: 100%;
	margin-right:2px;
	margin-top:0;
	border-radius:0;
}

.bd-minimal .comment {
	border-left:2px solid #303030;
	padding-left:2px;
}

.bd-minimal .user-name {
	font-size:small;
}
	
.bd-minimal.bd-minimal-chan .channels-wrap {
	display:none;
}

.bd-minimal .message-group {
	padding:5px;
}

.bd-minimal .embed {
	padding:2px;
}

.bd-minimal .embed img {
	max-height: 120px;
	max-width:160px;
}

.bd-minimal .channel-members .avatar-small{
	max-width:15px;
	max-height:15px;
	background-size: 15px 15px;
}
	
.bd-minimal .channel-members .avatar-small .status{
	height:5px;
	width:5px;
}

.bd-minimal .channel-members .member {
	padding:5px;
}

.bd-minimal .channel-members-wrap {
	min-width: 0px;
}

.bd-minimal .channel-members h2{
	margin-top:3px;
}

.bd-minimal .account .avatar-small, .bd-minimal .account .username {
		display:none;
	}
		

	.bd-minimal .channel-text a, .bd-minimal .guild-channels ul .channel-voice {
		padding:5px !important;
		font-size:small;
	}
	
	.bd-minimal .guild-channels h2 {
		padding:2px;
	}
	
	.bd-minimal .guild-channels header spann {
		font-size:12px;
	}

	.bd-minimal .channels-wrap {
		width:160px;
	}
	
	.bd-minimal .channels-wrap .guild-channels {
		padding:0;
	}
	
	.bd-minimal .guilds li .avatar-small, .bd-minimal .guilds li, .bd-minimal .guilds li .guild-inner, .bd-minimal .guilds li .guild-inner a, .bd-minimal .guilds .friends-icon {
		width:20px;
		height:20px;
		background-size:100%;
		font-size:15px;
		line-height:20px;
	}

	.bd-minimal .guilds-wrapper {
		width:45px;
	}
	
	.bd-minimal .guilds li.active .guild-inner:before {
		height:20px;
		margin-top:-10px;
	}
	
	.bd-minimal .guilds-add {
		font-size:20px;
		line-height:14px;
	}

	.bd-minimal .guilds li.audio .guild-inner:after {
		width:12px;
		height:12px;
		background-size:12px;
	}
	

.emotewrapper {
	display:inline-block;
    position:relative;
}

.emotewrapper:hover .fav{
	display:block;
}

.fav {
    display:none;
	position:absolute;
    width:15px;
    height:15px;
    right:-7px;
    background:  url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAzFBMVEUAAABQUFBMTExLS0tNTU1MTExNTU1NTU1MTExMTExNTU1LS0tEREBEREBEREBEREBJSUhLS0tLS0tEREBNTU1NTU1NTU1EREArKyhNTU1NTU0AAABMTExKSklMTExNTU1NTU1NTU1KSkpMTExKSkhNTU1KSkpISEZNTU1LS0tAQDxOTk5KSkpLS0tNTU1MTExMTEx/f39MTExMTExLS0pLS0tMTExNTU1NTU1LS0pNTU1NTU1NTU1NTU1NTU1NTUxNTU1NTU1NTUxMTEzB8C/5AAAAOnRSTlMAI8X96oWAgYSF68QBAg0PMCb9BIuLgQUD4N0Bh0mKhZSOQ4gcrKscaW8QRE6fmJyjAshASceG7cIpqQOxTQAAALVJREFUGFddx6FOA0EYAOGZvd07Qm6vVCAAgUUgQEDfX/YZMAigqaFN7iC5tsmPqGPUN/AvUVeoEbGOCElJz08Uzeixqu4AqomVVSNngOVjTqDGZSl3UFtPGV2ot2zaq96YM9p5Ddzcf/nTTAlj+/sNtNu8OcwkIsbPBtrUfMQeEhGQmHbmGIFMwLPzu6UMIwBNgToshgq8Nr2ki+Oy7ebDHp70LRPWB6OZgfWLWei7fJonOOsPCGA9kVlssOoAAAAASUVORK5CYII=');
    border:none;
    background-size:100% 100%;
    background-repeat:no-repeat;
    background-color:#303030;
    border-radius:5px;
    top:-7px;
    cursor:pointer;
}

#bd-ps-container {
	position:fixed;
	width:50%;
	height:75%;
	background:rgb(46,49,54);
	display:block;
	z-index:9001;
	margin-left:25%;
	margin-top:5%;
	border:1px solid #000;
	box-shadow:0 0 20px 0 #000;
	max-height:800px;
	min-width:750px;
}

#bd-ps-header {
	background:rgb(54,57,62);
	height:60px;
	border-bottom:1px solid #000;
	box-shadow:0 1px 0 0 rgb(78,78,78);
}

#bd-ps-header h2 {
	margin:0;
	line-height:60px;
	margin-left:10px;
	color:#ADADAD;
	display:inline-block;
	float:left;
}

#bd-ps-header span {
	float:right;
	display:inline;
	line-height:50px;
	margin-right:15px;
	font-size:29px;
	font-weight:bold;
	color:#ADADAD;
}

#bd-ps-body {
	position: absolute;
	padding: 0;
	margin-top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	top: 61px;
	overflow:auto;
}


.bd-ps-server {
	width:100%;
	height:200px;
}

.bd-ps-server-header {
	height:50px;
	width:100%;
	margin-top:1px;
	background:#202020;
	color:#AEAEAE;
	line-height:50px;
	font-size:20px;
}

.bd-ps-server-header span {
	margin-left:10px;
}

.bd-ps-server-body {
	padding:5px;
}

.bd-ps-server-icon {
	width:90px;
	height:90px;
	background:#202020;
	display:inline-block;
}

.bd-ps-server-info {
	position:absolute;
	height:190px;
	display:inline-block;
	left:100px;
	right:5px;
	color:#AEAEAE;
	overflow:auto;
}

#bd-ps-body table {
	width:100%;
	margin:0;
	padding:0;
	border-color:red;
	border-collapse:collapse;
	text-align:left;
}

#bd-ps-body table th {
	background-color:#202020;
	color:#EDEDED;
	height:50px;
	padding-left:5px;
}

#bd-ps-body table tr {
	margin:0;
	padding:0;
	height:50px;
}

#bd-ps-body table tr{
	background-color:#33363B;
	border-bottom:1px solid #000;
	box-shadow:0 1px 0 #404040 inset;
}

#bd-ps-body table tr td {
	padding-left:5px;
	color:#EDEDED;
}

#bd-ps-body table tr td {
	min-width:100px;
}

#bd-ps-body .description {
	overflow:auto;
	max-height:60px;
	word-wrap:break-word;
}

#bd-ps-body table tr:nth-child(odd) {
	background-color:#2E3136;
}

#bd-show-channels {
	display:none;
	width: 12px;
	height: 18px;
	background: #2e3136;
	position: absolute;
	left: 33px;
	top: 79px;
	text-align: left !important;
	padding: 0px !important;
	padding-left: 3px !important;
	color: #EBEBEB;
}

.bd-minimal-chan #bd-show-channels {
	display:block !important;
}
.tipsy {
	z-index: 9000000001!important;
	position: absolute;
	padding: 5px;
	display: block;
	visibility: visible;
	opacity: 0.8;
}

.tipsy-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	bottom: 0;
	right: 10px;
	border-bottom: none;
	border-top-color: black;
}

.tipsy-inner {
	background-color: black;
	color: white;
	max-width: 300px;
	padding: 5px 8px 4px;
	text-align: center;
	overflow:hidden !important;
    text-overflow: ellipsis;
}


#bd-psd-container {
  position: fixed;
  width:50%;
  height:75%;
  display:block;
  margin-left:25%;
  margin-top:5%;
  box-shadow:0 0 20px 0 #000;
  background:#2E3135;
  border:1px solid #25282C;
  min-width:750px;
  min-height:800px;
}

#bd-psd-header {
  width:100%;
  height:40px;
  border-bottom:1px solid #25282C;
  line-height:40px;
  color:#ADADAD;
}

#bd-psd-header span {
  margin-left:10px;
}

#bd-psd-body {
  height:100%;
  width:100%;
}

#bd-psd-table {
  width:100%;
  margin:0;
  padding:0;
  text-align:left;
  color:#ADADAD;
}

#bd-psd-table thead th{
  background:#1D1D1D;
  padding:5px;
}

#bd-psd-table tbody td {
  padding:5px;
}

#bd-psd-table tbody tr {
  background:#292C30;
}

#bd-psd-table tbody tr:nth-child(odd) {
  background:#2E3135;
}

#bd-psd-table button {
  background: #292C30;
  border: 1px solid #1D1D1D;
  width: 60px;
  height: 30px;
  color: #ADADAD;
  cursor:pointer;
}

#bd-psd-table button:hover {
  background:#2E3135;
}

#bd-psd-header a {
  float: right;
  margin-right: 10px;
  font-size: 30px;
  color: #ADADAD;
  text-decoration: none;
  margin-top: -7px;
}


.bd-g-table {
  text-align:left;
  width:520px;
  white-space:nowrap;
}

.bd-g-table thead th{
  background:#EBEBEB !important;
  color:#87909c !important;
  padding:5px !important;
}

.bd-g-table tbody tr {
  background:#E0E0E0 !important;
}

.bd-g-table tbody tr:nth-child(odd) {
  background:#ECECEC !important;
}

.bd-g-table tbody td {
  color:#87909c !important;
  padding:5px !important;
  font-size:small;
  vertical-align: top;
}

.bd-g-table textarea {
  width:100% !important;
  background:#E0E0E0 !important;
  border:none !important;
  resize:none !important;
  font-size:small !important;
  margin: 0 !important;
  padding:0 !important; 
}

.bd-g-table input {
	margin:0 !important;
	padding:0 !important;
}

/*CODEMIRROR*/
.CodeMirror{font-family:monospace;height:300px;color:#000;background-color:#EBEBEB !important;}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-ruler{border-left:1px solid #ccc;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:0;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:0 0!important;border:none!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:0 0;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:0}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected,.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:''}span.CodeMirror-selectedtext{background:0 0}

.cm-s-neat span.cm-comment{color:#a86}.cm-s-neat span.cm-keyword{line-height:1em;font-weight:700;color:#00f}.cm-s-neat span.cm-string{color:#a22}.cm-s-neat span.cm-builtin{line-height:1em;font-weight:700;color:#077}.cm-s-neat span.cm-special{line-height:1em;font-weight:700;color:#0aa}.cm-s-neat span.cm-variable{color:#000}.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number{color:#3a3}.cm-s-neat span.cm-meta{color:#555}.cm-s-neat span.cm-link{color:#3a3}.cm-s-neat .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-neat .CodeMirror-matchingbracket{outline:grey solid 1px;color:#000!important}