body, html { height: 100%; margin: 0; padding: 0; color: #fff; font-family: 'PT Mono',monospace; position: relative; overflow: hidden; -webkit-text-size-adjust: none; text-rendering: optimizeLegibility; background: #9D1C20; background: linear-gradient(180deg, #9D1C20 50%, #000 50%);  }

#container { position: relative; height: 100%; background: #eeeeed; }
#container {
    /* iphone X notch */
    margin-top: env(safe-area-inset-top);
    margin-top: constant(safe-area-inset-top);
    height: calc(100% - constant(safe-area-inset-top)); 
    height: calc(100% - env(safe-area-inset-top));
}

a, a:visited { color: #fff; text-decoration: none; }
a:hover { }

input, button, textarea { font-family: "PT Mono", monospace; outline: none; }
.hardware-acceleration { -webkit-transform: translate3d(0,0,0); }

#channels .action { font-size: 18px;}

.scroll { -webkit-overflow-scrolling: touch; overflow-y: scroll; overflow-x: hidden; }
.left-sidebar .scroll { max-height: 100%; box-sizing: border-box; padding-top: 50px; padding-bottom: 50px; }
.hidden { display: none !important; }
#post.hidden { display: block; opacity: 0; }
.icon { position: relative; top: 1px; }

.embed #post {display: none; height: 1px; }
.embed #show-channels { display: none; width: 0px; }
.embed #audio { display: none; }
.embed #chat .padding { padding-bottom: 15px; }

#header { background: #9D1C20; height: 40px; position: relative; text-align: center; }

#toggle-right-sidebar { display: none; cursor: pointer; text-align: center; position: absolute; bottom: 0; right: 0; height: 40px; line-height: 40px; width: 40px; font-size: 16px; background: #4E4946; border-top-left-radius: 5px; }
#toggle-right-sidebar.closed { background: none; }
#toggle-right-sidebar .icon { top: 0; line-height: 30px; height: 30px; width: 30px; border-radius: 50%; display: inline-block; margin: 5px; }
#toggle-right-sidebar.closed .icon { background: rgba(255, 255, 255, 0.2) !important;  color: #fff !important; }

#nav { display: none; background: #9D1C20; height: 40px; position: relative; font-family: "PT Sans", sans-serif; }
#nav .tab { z-index: 40; display: inline-block; position: relative; height: 40px; cursor: pointer; }
#nav .tab .label { position: relative; z-index: 40; width: calc(100% - 10px); text-align: left; height: 40px; display: inline-block; line-height: 40px; font-size: 12px; vertical-align: top; border-top-right-radius: 5px; border-top-left-radius: 5px; margin: 0; padding: 0 20px; box-sizing: border-box; }
#nav .tab .label .icon { width: 15px; display: inline-block; }

#nav .tab.toggle-left-sidebar { width: calc(50% + 5px); margin-right: -5.5px; }
#nav .tab.toggle-chat { width: calc(50% + 5px); margin-left: -5px; }

#nav .shadow { position: absolute; bottom: 0; top: 0%; left: 0; right: 0; pointer-events: none;
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 91%, rgba(0,0,0,0.09) 99%, rgba(0,0,0,0.1) 100%);
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 91%,rgba(0,0,0,0.09) 99%,rgba(0,0,0,0.1) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 91%,rgba(0,0,0,0.09) 99%,rgba(0,0,0,0.1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1a000000',GradientType=0 );
z-index: 50;
}
#nav .tab.current .shadow { display: none; }
#nav .tab.current { z-index: 70; }

#nav .tab svg { width: 5px; height: 40px; display: inline-block; vertical-align: top; }
#nav .tab.toggle-left-sidebar .label { background: #fff; color: #777; }
#nav .tab.toggle-left-sidebar path { fill: #fff; }
#nav .tab.toggle-right-sidebar .label { background: #443F3B; color: #999; }
#nav .tab.toggle-right-sidebar path { fill: #443F3B; }
#nav .tab.toggle-chat .label { background: #f3f3f3; color: #777; }
#nav .tab.toggle-chat path { fill: #f3f3f3; }
#nav .tab .channel { font-size: 12px; font-family: "PT Mono", monospace; line-height: 23px; height: 23px; padding: 0 6px; margin: 9px 0 8px 0; display: inline-block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; vertical-align: top; background: rgba(20, 15, 10, 0.05); border-radius: 2px; max-width: calc(100% - 15px); }
#nav .tab .channel .icon { width: 18px; display: inline-block; }

.shadowed {
    display: inline-block;
	filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=0, OffY=0, Color='#444')";
	filter: url(#drop-shadow);
	-webkit-filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.5));
	filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.5));
}

#toggle-right-sidebar .notifications { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; line-height: 20px; background: #900; border-radius: 50%; font-size: 12px; text-shadow: 0 1px 0 #000; display: none; }
#toggle-right-sidebar.closed .notifications { display: none; }

body .left-sidebar.fullscreen { width: 100%; }
body.watchlist-open .left-sidebar.fullscreen { width: auto; right: 226px; }

#ticker { position: relative; z-index: 104; }
#header { z-index: 104; }
#nav { z-index: 100; }
#main-bar { z-index: 103; }
.left-sidebar { z-index: 102; }
#channels { z-index: 103; }
#toolbar { z-index: 101; }
.toolbar-dropdown { z-index: 102; }
#center-column { z-index: 100; }

#center-column { top: 40px; bottom: 0; left: 380px; right: 226px; position: absolute; overflow: hidden; }
body.discover-open #center-column { left: 380px; }
body.watchlist-open #center-column { right: 226px; }
body.watchlist-open #nav { padding-right: 226px; }

#sponsor-edit-modal .disabled { opacity: 0.9; background: #999 !important; }
.admin-sponsor-edit { position: absolute; top: 0; right: 0; border-radius: 4px; background: #a00; color: white; }
.admin-sponsor-edit { display: none; }
.discover .articles.sponsors a:hover .admin-sponsor-edit { display: inline-block; }

.right-sidebar { position: absolute; top: 40px; bottom: 0; }

#main-bar { width: 340px; height: 35px; line-height: 35px; padding: 0 10px; color: #333; background: #fff; position: relative; }
#main-bar .title { font-family: "PT Sans", sans-serif; font-size: 18px; font-weight: bold; }

.legal { font-family: "PT Sans", sans-serif; color: #666; max-width: 500px; margin-top: 20px; }
.legal .hash { background: none; color: #a00; }
.legal .hash:hover { color: #f00; }

.left-sidebar { background: #fefefe; position: absolute; top: 40px; height: calc(100% - 40px); left: 0; bottom: 0; width: 380px; color: #333; font-size: 13px;  box-shadow: 0 10px 4px rgba(0, 0, 0, 0.1); border-top-right-radius: 5px; }
.discover .icon { display: inline-block; width: 18px; position: relative; top: 1px; }
.discover .padding { padding: 0; }
.discover .inner { height: 100%; position: relative; }

.discover .link a { display: inline-block; padding: 0 3px; margin: 2px -2px; line-height: 20px; border-radius: 2px; border: none; color: #844; }
.discover .link a:hover { color: #a00; }
.discover .hash.cash { display: inline-block; padding: 0 3px; margin: 0px -1px; border-radius: 2px; border: none; font-family: "PT Mono", monospace; }
.discover .hash.cash:hover { border: none; color: #fff; background: #C13939; }
.discover .hash.cash { background: rgba(120, 200, 240, 0.18); color: #0C55B3; }
.discover .hash.cash:hover { color: #fff; background: #3D9BEF; }
.discover .hash.at, .discover .author { color: #a00; background: none; }
.discover .hash.at:hover, .discover .author:hover { color: #a00; background: none; }

.discover .author { font-size: 13px; margin-right: 2px; }
.discover .articles { margin-bottom: 0px; }
.discover .articles a { width: 100%; display: inline-block; border: none; margin: 0 7px 0 0; vertical-align: top; position: relative;  }
#home .discover .articles a { width: calc(33.3% - 7px); }
.discover .articles .load-more { line-height: 20px; margin-bottom: 0; font-size: 13px; color: #999; cursor: pointer; background: #fafafa; border-radius: 3px; margin-right: 10px; text-align: center; font-family: "PT Sans", sans-serif; }
.discover .articles .load-more:hover { color: #a00; background: #FFFcF7; }
.discover .article { display: block; height: 65px; border-radius: 2px; clear: both; margin-bottom: 5px; background: #fff; border-radius: 3px; padding: 5px;  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }
.discover .sponsors .article { background: #ffffff; border: 1px solid #face9b; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); font-weight: bold; }
.discover .article.current { font-weight: bold }
.discover .article:hover { box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); }
.discover .thumb { display: inline; float: left; height: 65px; width: 95px; position: relative;}
.discover .articles .thumb img { display: inline-block; height: 100%; width: 100%; border-radius: 2px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }
.discover .sponsors .thumb { height: 65px; width: 130px; text-align: center; background-color: #f7f4ef; background-size: contain; background-position: center; background-repeat: no-repeat; margin-top: 0; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); border-radius: 2px; }
.discover .article .date { display: inline-block; line-height: 13px; }
.discover .article .new-count { display: inline-block; font-size: 10px; color: #777; position: absolute; top: 0; right: 0; background: #efefef; border-radius: 2px; padding: 1px 3px; margin: 0 0 0 2px; }
.discover .article .details { color: #aaa; display: inline-block; font-size: 12px; max-width: calc(100% - 105px); max-height: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 15px; padding-left: 10px;  font-family: "Trebuchet MS", sans-serif; }
.discover .article .title { color: #444; font-size: 13px; line-height: 16px; }
.discover .sponsors .article .details { max-width: calc(100% - 140px); }
.discover .article .details .hash { font-size: 13px; }
.discover .article .description { font-size: 13px; }
.discover h3 { font-weight: normal; font-family: "PT Sans", monospace; color: #999; text-transform: capitalize; margin: 5px 0 2px 0; padding: 0; font-size: 15px; line-height: 20px; }
.discover .active .hash { margin: 4px 0; }

.discover .articles .dot { opacity: 0; }
.discover .articles .unseen .dot { opacity: 1; color: #3af; text-shadow: 0 0 5px #3af; }

.discover.news h3 { font-size: 16px; }
.discover.news .articles .load-more { margin-bottom: 10px; }
.discover.news .articles .thumb { display: none; }
.discover.news .article .details { max-width: none; }

.left-sidebar .header { position: absolute; top: 0; left: 0; height: 40px; width: 100%; box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.03); background: #fff; font-size: 12px; color: #555; border-top-right-radius: 4px; }
.left-sidebar .header:before { position: absolute; top: 0; right: 0; text-align: center; width: 40px; line-height: 38px; height: 40px; width: 40px; color: #ddd; font-size: 30px; content: "⊕"; pointer-events: none; }
.left-sidebar .header:hover:before { color: #aaa; }
.left-sidebar .header:hover { box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05); }
.left-sidebar .padding { padding: 0 30px; }
.left-sidebar .channel-articles .article { height: auto; overflow: auto; }
.left-sidebar .channel-articles .load-more { margin: 0; }
.left-sidebar.fullscreen .header:before { content: "⊗"; }
.left-sidebar .see-all { height: 40px; line-height: 40px; font-size: 12px; cursor: pointer; border-radius: 2px; }
.left-sidebar.fullscreen .header:after { content: ''; border: none; }
.left-sidebar.fullscreen .close .pointer { padding-right: 10px; }
.left-sidebar .pointer { position: absolute; top: 0; right: 0; line-height: 40px; text-align: center; color: #877; padding-left: 10px; }
.left-sidebar .header:hover .pointer { color: #000; }
.left-sidebar .header .fullname { font-size: 18px; line-height: 42px; padding: 0 30px; font-family: "PT Sans", sans-serif;  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;  }
.left-sidebar .header .fullname.company { font-weight: bold; }
.left-sidebar .header .fullname .icon { width: 25px; display: inline-block; }
.left-sidebar .header .symbol { color: #999; font-weight: normal; font-size: 13px; margin-left: 5px; }
.left-sidebar h3 { font-weight: normal; font-family: "PT Sans", monospace; color: #999; text-transform: capitalize; margin: 10px 0 5px 0; padding: 0; font-size: 15px; line-height: 20px; }

.discover .downloads img { height: 35px; display: inline-block; }

#toolbar { position: absolute; width: 100%; top: 0; left:0; right: 0; max-height: calc(100% - 30px); box-shadow: 0 0 5px 0 rgba(40, 20, 0, 0.3); }
#toolbar .toolbar-widget { position: relative; width:100%; box-sizing: border-box;}
#toolbar .toolbar-alert { color: #444; line-height: 30px; padding: 10px 20px; font-size: 14px; }
#pending-verification { text-align: center; font-family: "PT Sans", sans-serif; }
#pending-verification a.email { color: #000; text-decoration: underline; }

body.homepage #center-column { left: 0; }
body.homepage .left-sidebar { display: none; }
body.homepage #toolbar { display: none; }

#center-column.article-mode #toolbar { box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.10); background: #f3f3f3; }
#center-column.article-mode .action { background: none; }
#center-column.article-mode #current-channel.formatted-channel { background: #fafafa; opacity: 0.95; }
#center-column.article-mode #current-channel.formatted-channel .channel { display: none; }
#center-column.article-mode #post { display: none; }

#center-column #online-list { z-index: 107; background: #333; position: absolute; top: 100%; left: 0; max-height: calc(100vh - 30px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); min-width: 120px; }

#online-users { padding: 10px; z-index: 200; }
.online-user { color: #333; border-radius: 3px; display: block; position: relative; font-size: 13px; white-space: nowrap; max-width: 100%;  text-overflow: ellipsis; overflow: hidden; line-height: 25px; font-size: 12px; }
.online-user .name { margin-left: 24px; color: #fff; }
.online-user.active { opacity: 1; }
.online-user.inactive { opacity: 0.6; }
.online-user.offline { opacity: 0.2; }

#back { color: #fff; font-size: 10px; text-transform: uppercase; cursor: pointer; position: absolute; left: 0; top: 0; height: 40px; color: rgba(255, 255, 255, 0.6); font-family: "PT Sans", sans-serif; line-height: 40px; }
#back .icon { display: inline-block; font-size: 22px; line-height: 40px; height: 40px; top: 0; width: 40px; margin-right: -10px; text-align: center; vertical-align: top;  }
#back:hover { color: #fff; }
#logo { }
#logo a:hover { border: none; }
#logo a { height: 40px; display: inline-block; background: none; }
#logo a img { display: inline-block; height: 20px; position: relative; top: 12px;  }
#logo span { font-size: 16px; }

#post { }
#post .outer { position: absolute; bottom: 0; left: 0; background: #dddddb; width: 100%; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3); }
#post .outer { 
    /* iphoneX notch */
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

#post .inner { margin: 7px 10px 7px 10px; position: relative; }

#post .unpostable { color: #888; font-family: "PT Sans", sans-serif; font-size: 13px; text-align: center; padding: 5px;}

#post input, #post textarea, #post button, #accounts input, #accounts button { background: #fff; border: 1px solid transparent; height: 21px; color: #000; border-radius: 2px; padding: 3px 10px; font-family: 'PT Mono', monospace; line-height: 21px; display: inline-block; vertical-align: middle; font-size: 13px; }
#post input:disabled, #post textarea:disabled { border-bottom: none; }
#post input.editors-picks:disabled, #post textarea.editors-picks:disabled { background: #528DAF; border-bottom: none; -webkit-text-fill-color: #fff; -webkit-opacity:1; color: #fff; }
#post textarea.expanding { line-height: 17px; }
#post textarea { width: calc(80% - 65px); vertical-align: bottom; max-height: 50vh; }
#post #name { width: 20%; }
#post .submit { display: none; }
#post .signup-now { color: #333; text-decoration: underline; cursor: pointer; }
#post .force-username { cursor: pointer; }

#post form { padding-left: 30px; }
.color-wrap { display: inline-block; height: 30px; width: 30px; position: absolute; left: -3px; top: -2px;}
.color { display: inline-block; height: 16px; width: 16px; border-radius: 8px; position: absolute; left: 5px; top: 5px; box-shadow: 0 0 7px rgba(0,0,0,0.2); }
.color-wrap .color { left: 7px; top: 7px; }
.color-wrap .color .hover-tip { bottom: 20px; left: -18px; display: none; }
.color-wrap .color:hover .hover-tip { display: block; }
#my-color { bottom: 7px; top: auto; cursor: pointer; }

#post .upload { display: inline-block; vertical-align: middle; position: absolute; right: 15px; top: 0; overflow: visible; color: #bbb; font-size: 18px; line-height: 30px; cursor: pointer; }
#post .upload:hover { border: none; color: #000; }
#post .open-panel{ display: inline-block; text-align: center; width: 30px; height: 29px; line-height: 29px; vertical-align: middle; color: #000; position: relative; left: -30px; margin-right: -30px; border-radius: 2px; cursor: pointer; border-left: 1px solid #eee; color: #777; }
#post .open-panel:hover { background: #600; color: #fff; }

#post .panel { position: absolute; bottom: 50px; left: calc(20% - 110px); padding: 20px; width: 180px; background: rgba(100, 100, 100, 0.9); box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); border-radius: 3px; font-size: 12px; text-align: center; text-shadow: 1px 1px 0 #000; }
#post .panel:after {top: 100%; left: 140px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none;}
#post .panel:after {border-top-color: rgba(100, 100, 100, 0.9); border-width: 10px; bottom: 10px; }
#post .panel a.hash { text-decoration: underline; }

#post .panel .close { display: block; width: 18px; height: 18px; color: #fff; position: absolute; top: 3px; right: 3px; line-height: 19px; font-size: 22px; cursor: pointer; }

#post .panel .action { font-size: 13px; display: inline-block; background: #1F637D; box-shadow: 3px 3px 0 #000; padding: 0 8px; margin: 2px; line-height: 25px; border: none; border-radius: 2px; cursor: pointer; }
#post .panel .action:hover { background: #2198C5; }

.color.star { box-shadow: none; text-shadow: 0 0 7px rgba(0, 0, 0, 0.2); text-align: center; }
.color.star .icon { font-size: 16px; position: relative; bottom: 1px; line-height: 16px; }

#password-prompt { background: #F7E193; }
#password-prompt form { display: inline-block; }
#password-prompt button { background-color: #E29F00; }
#password-prompt input, #password-prompt button { line-height: 20px; font-size: 12px; border: none; vertical-align: middle; font-family: inherit; padding: 0 5px; }

#chat { position: absolute; left: 0; right: 0; bottom: 0; top: 0; overflow: scroll; font-size: 13px; -webkit-overflow-scrolling: touch; -webkit-text-size-adjust: none; overflow-x: hidden; color: #333; }
#chat .padding { padding: 0 0 70px 0;  }
#chat .load-more { display: block; padding: 10px 45px; margin-top: 10px; text-align: center; color: #999; }
#chat .load-more span { cursor: pointer; color: #931a28; padding: 3px 5px; background: rgba(255, 255, 255, 0.5); }
#chat .load-more span:hover { background: #fff; }
#chat .load-more:active { color: #e3eeee; border: none; }
#chat.truncated { right: 220px; }
#chat .loading, #chat .load-info { color: #999; font-size: 15px; padding: 20px 0 0 45px; }

#chat #load-more-controls { padding: 40px 0 10px 0; }

#chat #load-more-below {
    padding: 20px 0 10px 0;
}

#chat .unsent {opacity: 0.7;}

.toolbar-dropdown { background: #333; font-family: "PT Sans", sans-serif; position: absolute; top: 100%; right: 0; border-bottom-left-radius: 4px; border-top-left-radius: 4px; }
.toolbar-dropdown .inner { padding: 0 20px 20px 20px; color: #ddd; font-size: 12px; text-align: center; }
.toolbar-dropdown a { color: #fff; }
.spiel-filters-form { text-align: left; line-height: 22px; }
.spiel-filters-form input { background: #000; border: 1px solid #eee; color: #fff; border-radius: 4px; padding: 4px 8px; }
.spiel-filters-form select { border: 1px solid #eee; display: inline-block; line-height: 20px; padding: 2px 8px; background: rgba(0,0,0, 1); color: #eee; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; }
.spiel-filters-form input[type="submit"] { background: #555; }
.spiel-filters-form th { text-align: right; padding-right: 10px; }
#spiel-filters.toolbar-dropdown.permanent { background: rgba(223, 237, 247, 0.9); width: calc(100% - 10px); margin: 5px; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3); color: #333; }
#spiel-filters.toolbar-dropdown.permanent .applied-filter { background: #fff; margin: 0 2px 0 0; border-radius: 2px; padding: 1px 5px;  }
#spiel-filters.toolbar-dropdown.permanent .applied-filter .key { text-transform: capitalize; font-weight: bold; }
#spiel-filters.toolbar-dropdown.permanent .inner { color: #333; padding: 10px; position: relative; text-align: left; }
#spiel-filters.toolbar-dropdown.permanent .controls a { color: #000; background: #fff; border-radius: 3px; display: inline-block; line-height: 25px; padding: 0 10px; }
#spiel-filters.toolbar-dropdown.permanent .controls { position: absolute; top: 5px; right: 5px; text-align: right; } 
#spiel-filters { width: 100%; }
#jump-to-date { min-width: 300px; }
#jump-to-date select { border: 1px solid #eee; display: inline-block; border-radius: 3px; line-height: 20px; padding: 4px 10px; background: rgba(0,0,0, 1); color: #eee; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; }
#jump-to-date select:hover { background: #fff; color: #444; }
#jump-to-date input[type="submit"] { padding: 5px 15px; background: rgba(255, 255, 255, 0.3); color: #fff; border: 1px solid #fff; border-radius: 3px; font-size: 16px; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; }
#jump-to-date input[type="submit"]:hover { background: #fff; color: #666; }
#notifications .error { padding: 30px; font-size: 15px; color: #666; text-align: center; }
#notifications h3 { margin: 0; padding: 10px; text-align: center; }
#notifications h4 { margin: 0 0 5px 0; padding: 0; font-size: 15px; opacity: 0.8; }
#notifications p { margin: 0; padding: 10px; }
#notifications .remove-from-watchlist { color: #aaa; }

#notifications .notification_action { width: 60px; text-align: center; display: inline-block; font-size: 33px; opacity: 0.6; }
#notifications .icon-mobile { font-size: 48px; }
#notifications em { font-style: normal; text-decoration: underline; }

#notifications .notification-section { background: rgba(255, 255, 255, 0.1); border-radius: 3px; padding: 10px; margin: 5px; max-width: 300px; display: inline-block; text-align: left;  vertical-align:top; }
#notifications input[type='radio']:checked+label { color: #fff; text-shadow: 0 0 3px #fff; }

#notifications .download { text-align: center; }
#notifications .download img { height: 35px; margin: 0 3px; }

#notifications .remove-from-watchlist { margin-left: 10px; cursor: pointer; }
#notifications .remove-from-watchlist:hover { color: #faa; }
#notifications .add-to-watchlist, #notifications .in-watchlist, .watchlist-subscribe-button { line-height: 25px; padding: 0 10px; border: 1px solid #777; background: rgba(255, 255, 255, 0.1); color: #999; margin: 0 0 10px 0; display: inline-block; border-radius: 2px; font-size: 14px; }
#notifications .add-to-watchlist, .watchlist-subscribe-button { border: 1px solid #afa; color: #000; background: #afa; cursor: pointer; }
#notifications .select-watchlist { height: 26px; font-size: 14px; width: 100px; margin-right: 5px; background: #eee; }
/*#select-watchlist-to-subscribe { margin-bottom: -15px; }*/


.pop-up { position: absolute; background: #454545; box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.5); width: 200px; padding: 20px; border-radius: 3px; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, 0.7); text-shadow: 1px 1px 0px rgba(0,0,0,0.4); cursor: default; white-space: normal; }

.pop-up .inline-edit-wrapper { background: rgba(255, 255, 255, 0.1); border-radius: 2px; }

.pop-up:before, .pop-up:after {
    top: 100%; left: 16px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.pop-up:after {
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #454545;
    border-width: 20px;
    bottom: 20px;
}

.flipped:before, .flipped:after {
    top: -40px; left: 16px;
}

.flipped:after {
    border-color: rgba(136, 183, 213, 0);
    border-bottom-color: #454545;
    border-width: 20px;
    bottom: 20px;
}

.pop-up span.invite-room { cursor: pointer; color: #fff; text-shadow: none; border-bottom: none; background: rgba(255,255,255, 0.2); border-radius: 2px; display: inline-block; padding: 0 4px; line-height: 20px; max-width: 70%; text-overflow: ellipsis; overflow: hidden; }
.pop-up span.invite-room:hover { border: none; color: #222; background: rgba(255,255,255,0.9); }
.pop-up .status { display: inline-block; line-height: 20px; padding: 0 8px; overflow: hidden;}
.pop-up .new-status { }

.pop-up .new-channel:hover { color: #222; background: rgba(255,255,255,0.9); }
.pop-up .new-channel:hover .edit { color: #222; }
.pop-up .channel a { background: rgba(255,255,255, 0.2); border-radius: 2px; display: inline-block; padding: 0 4px; line-height: 20px; max-width: 70%; text-overflow: ellipsis; overflow: hidden; }
.pop-up .channel a:hover { border: none; color: #222; background: rgba(255,255,255,0.9); }
.pop-up .exit { width: 6px; top: 5px; right: 15px; position: absolute; font-size: 15px;}
.pop-up .exit:hover { font-size: 18px; cursor: pointer;}
.pop-up .edit {   outline: none;
  display: inline-block;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  min-width: 90px;
  overflow-x: scroll;
  overflow-y: hidden;
  max-width: 120px;
  white-space: nowrap; }
.hover-tip { background: rgba(50, 50, 50, 0.9); box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.5); width: 92px; padding: 3px 5px 3px 5px; border-radius: 3px; position: absolute; opacity: 0.9; font-size: 10px; line-height: 16px; color: white;} /* going to have to change the position*/
.hover-tip:after {top: 100%; left: 16px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none;}
.hover-tip:after {border-top-color: rgba(50, 50, 50, 0.9); border-width: 10px; bottom: 10px; }
.hover-tip .price { display: inline-block; }
.hover-tip .percent { color: #aaa; }
.hover-tip .price.up { color: #7f7; }
.hover-tip .price.down { color: #f77; }

.pop-up-share { position: relative; background: #777; width: 340px; padding: 10px; border-radius: 3px; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, 0.7); text-shadow: 1px 1px 0px rgba(0,0,0,0.4); cursor: default; white-space: normal; }
.pop-up-share .exit { cursor: pointer; position: absolute; right: 5px; top: 5px; font-size: 25px;}
.pop-up-share .exit:hover { color: #fff; }


.message { cursor: pointer; background: rgba(255,255,255,1); padding: 4px 10px 4px 30px; border-radius: 3px; display: inline-block; margin: 4px 0 0 0;  position: relative; line-height: 18px; min-height: 16px; font-size: 13px; color: #000; max-width: 100%; box-sizing: border-box; }
.message .spiel-content, .message .name { white-space: pre-wrap; word-wrap: break-word; tab-size: 4; }
.message .spiel-content { color: #111; outline: none;}

.message .ellipsis { display: none; }
.message.truncated .ellipsis:hover { color: #ce8600; }
.message.truncated .ellipsis .expand { text-decoration: underline; }
.message.truncated .ellipsis { display: block; position: absolute; bottom: 0; right: 0; width: 100%; padding: 25px 0 5px 0; font-family: "PT Sans", sans-serif; background: #fff; color: #986f23; text-align: center; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-sizing: border-box; cursor: pointer; font-size: 13px;
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,252,244,1) 50%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 )
}
.message .spiel-summary { display: none; }
.message.truncated .spiel-summary { display: inline; }
.message.truncated .full-spiel { display: none; }

.message:hover{ box-shadow: 0 0 1px rgba(0,0,0,0.4); }
.message.system:hover { box-shadow: none; }
.row.emphasis { margin: 20px; }
.emphasis .message { box-shadow: 0 0 1px rgba(0, 0, 0, 0.2); display: block; }
.row .date { vertical-align: middle; display: inline-block; min-width: 130px; color: #888; font-size: 12px; -webkit-text-size-adjust: none; opacity: 0.6; margin: 1px 0 2px 5px; }
.row .date a { display: inline-block; text-decoration: normal; background: rgba(255, 255, 255, 0.9); border-bottom: none; border-radius: 2px; padding: 2px 5px;  white-space: nowrap; }
.row .date a:hover { background: #fff; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); border: none; color: #a00; }
.row:hover .date { opacity: 1; color: #666; }
.row a { color: #a00; border-bottom: 1px solid #a00; }
.row a:hover { color: #f00; border-bottom: 1px solid #f00; }
.row .message.shitpost { font-size: 0.8em; opacity: 0.7; line-height: 1.4em; }

.message.system {
    cursor: default;
    padding: 4px;
    background: none;
    margin: 10px 0;
    box-shadow: none !important;
}

.spiel-actions { font-size: 11px; padding: 10px; background: #f5f5f5; box-shadow: 0 0 1px rgba(0, 0, 0, 0.2); border-radius: 3px; border-top-right-radius: 0; border-top-left-radius: 0; }
.spiel-actions th, .spiel-actions td { padding: 0 5px; line-height: 20px; }
.spiel-actions th { text-align: right; font-weight: normal; color: #aaa; }
.spiel-actions a { cursor: pointer; color: #999; display: block; float: left; margin-right: 5px; }
.spiel-actions a, .spiel-actions a:hover { border: none; }
.spiel-actions a:hover .icon { color: #fff !important; background: #666; }
.spiel-actions a .icon { display: inline-block; border-radius: 4px; font-size: 16px; width: 16px; height: 16px; padding: 2px; background: #f0f0f0; text-align: center; }
.spiel-actions .question:before { content: "?"; font-family: sans-serif; position: relative; top: -3px; }
.spiel-actions input { font-family: inherit; }

.spiel-actions .voted .icon { background: #a00; color: #fff; }
.spiel-actions .voted:hover .icon { background: #f00; color: #fff; }
.spiel-actions .voted .tip { color: #a00; margin-right: 10px; }

.row.emphasis .message { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.row { position: relative; padding-left: 45px; padding-right: 45px; -webkit-transform: translate3d(0,0,0); }
.last-read-marker { font-family: "PT Sans", sans-serif; padding: 0 30px; line-height: 30px; margin: 10px 0; background: #fbfbe7; width: 100%; color: #8c8c6b; }
.last-read-marker .actions { float: right; margin-right: 30px; }
.last-read-marker .actions span { line-height: 20px; }
.last-read-marker .actions span:hover { color: #000; }
.last-read-marker .return-to-chat { color: #7d6b5a; cursor: pointer; padding: 0 6px; background: #f1ead1; margin-right: 15px; display: inline-block; border-radius: 2px; }
.last-read-marker .close { cursor: pointer; display: inline-block; width: 30px; text-align: center; opacity: 0.8; }

.chat-actions { position: absolute; top: 40px; right: 0px; padding: 10px; background: #f1f1f1; border-radius: 3px; box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2); }
.chat-actions .jump-to-last-seen { font-family: "PT Sans", sans-serif; background: #fbfbe7; color: #8c8c6b; box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1); display: inline-block; padding: 0 6px; line-height: 25px; border-radius: 2px; font-size: 13px; cursor: pointer; }
.chat-actions .jump-to-last-seen:hover { background: #8c8c6b; color: #fbfbe7; }

.subscription-select select { background-color: black; border: none; color:white;font-family:'PT Mono',monospace;}


.row .note {
    color: #a99;
    display: block;
    text-align: right;
}

.log-button{ display: inline-block; margin: 0 0 5px 0; background: #010101; color: white; font-size: 12px; font-family: inherit; padding: 2px 5px;  outline:none; border:none; border-radius: 2px; cursor: pointer; text-align: left; padding: 3px 8px; }
.edit-form .log-button {width: 65px; margin-right: 5px;}
.log-button:hover{ background: #212121; }
.submit-button { height: 29px !important; }

.inline-edit-wrapper { display: inline-block; padding: 0 4px; cursor: pointer; text-shadow: none; margin-bottom: 2px; }
.inline-edit-wrapper .edit { display: inline-block; height: 20px; line-height: 20px; font-size: 12px; border:none; background:none; font-family: inherit; width: 110px; }

#channels { position: absolute; right: 0; background: #443F3B; color: #ddd; font-size: 12px; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3); border-top-left-radius: 5px; -webkit-tap-highlight-color:transparent; }
#channels.closed { display: none; }

#channels .main { height: calc(100% - 80px); padding-left: 3px; padding-bottom: 30px; padding-top: 50px; margin-right: 0; width: 223px; margin: 0; }

#channels .section { width: 223px; }
#channels .section .channel a { max-width: calc(100% - 70px); }
#channels .section { margin-top: 15px; }
.channels-list .section .inline-edit-wrapper { background: #fff; color: #877777; border: 1px solid #877777; height: 35px; margin: 1px 0 5px 25px; border-radius: 2px; }
.channels-list .section .inline-edit-wrapper input { color: #877777; width: 130px; padding: 0 0 0 2px; }

#channels .button { margin-left: 25px; line-height: 23px; padding: 0 8px; display: inline-block; cursor: pointer; border-bottom: 1px solid #666; margin-bottom: 7px; font-family: "PT Sans";
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 99%, rgba(255,255,255,0.05) 100%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.05) 99%,rgba(255,255,255,0.05) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.05) 99%,rgba(255,255,255,0.05) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#0dffffff',GradientType=0 );
}
#channels .button .small-arrow { position: relative; top: 2px; }
#channels .button:hover { color: #fff; border-bottom: 1px solid #aaa; }
.channels-list .section .add-channel { display: inline-block; border: none; background: rgba(255, 255, 255, 0.1); border-radius: 2px; padding: 0 8px; line-height: 25px; margin: 0 0 5px 25px; cursor: pointer; color: #999; }
.channels-list .section .add-channel:hover { color: #333; background: #f8f8f8; }
.channels-list .section .add-channel-inline-edit-wrapper input { border-radius: 2px; }
.channels-list .section .add-channel-form input { color: #000; margin: 0; line-height: 35px; height: 35px; display: inline-block; }

#channels .header { position: absolute; top: 0; right: 0; height: 40px; width: 100%; background: #4E4946; font-family: "PT Sans", sans-serif; font-size: 14px; border-top-left-radius: 5px; }
#channels .header:hover:before { color: #aaa; }
#channels .show-all-channels { display: block; line-height: 40px; text-indent: 30px; color: #9c9494; position: relative; box-shadow: 4px 0 5px rgba(0, 0, 0, 0.1); }
#channels .pointer { position: absolute; top: 0; left: 0; margin: 0; line-height: 40px; padding-right: 10px; text-align: center; color: #ba9;  }
#channels .pointer .less { display: none; }
#channels .show-all-channels:hover { box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); }
#channels .show-all-channels:hover .pointer { color: #fff; }

#channels .clear { float: right; margin-right: 20px; border-bottom: 1px solid #aaa; cursor: pointer; }

.channels-list .featured .channel.highlight a { background: #fff;  }

.channels-list { font-size: 12px; }
.channels-list .channel.alert a { background: #a00; }
.channels-list .channel { height: 25px; margin-bottom: 3px; white-space: nowrap; }
.channels-list .channel .new-count { width: 25px; display: inline-block; text-align: center; overflow: hidden; line-height: 25px; cursor: default; white-space-collapse: discard; vertical-align: top; }
.channels-list .channel .delete { width: 25px; display: inline-block; text-align: center; overflow: hidden; line-height: 25px; cursor: pointer; visibility: hidden; font-size: 21px; }
.channels-list .channel .new-count:hover { text-decoration: line-through; }
.channels-list .channel .private {background: red; border-radius: 50%; height: 18px; width: 20px; margin-right: -3px;}
.channels-list .inner { margin: 0 25px;  }
.channels-list .logout, .channels-list .settings { font-family: "PT Sans", sans-serif; }
.channels-list .icon-lock { margin-right: -4px; }
.channels-list .icon-mic { margin-left: -2px; }
.channels-list .icon { position: relative; top: 1px; display: inline-block; width: 18px; }

.log-button:hover { border: none; }

.channels-list .channel:hover .delete { visibility: visible; }
.channels-list .channel .delete:hover { color: #faa; }
.channels-list .channel a { background: #696562; border-radius: 2px; display: inline-block; padding: 0 8px; line-height: 25px; text-overflow: ellipsis; overflow: hidden; }
.channels-list .channel a { max-width: calc(100% - 50px); vertical-align: top; }
.channels-list .channel a:hover { border: none; color: #222; background: rgba(255,255,255,0.9) !important; }
.channels-list h3 { color: rgba(255,255,255,0.6); font-size: 11px; margin: 2px 0 4px 25px; padding: 0; font-weight: normal; text-shadow: 1px 1px 0px rgba(0,0,0,0.4); font-family: "PT Sans", sans-serif; }
.channels-list .highlight a { box-shadow: 0 0 4px #fff; border: none; color: #222; background: #fff !important; }

.channels-list .action a { border-radius: 3px; line-height: 30px; color: #fff }
.channels-list .channel[channel='featured'] a { background: #528DAF; }
.channels-list .channel[channel='feedback'] a { background: #407A41; }
.channels-list .channel[channel='popular'] a { background: #90759A; }

.channels-list.public .channel.commodity .cashtag { text-transform: capitalize; }
.channels-list.public .channel[channel='gold'] .cashtag { border-left: 3px solid #ffcf40; }
.channels-list.public .channel[channel='silver'] .cashtag  { border-left: 3px solid #d0d1d2; }
.channels-list.public .channel[channel='copper'] .cashtag  { border-left: 3px solid #e29567; }
.channels-list.public .channel[channel='oil'] .cashtag  { border-left: 3px solid #5d5d5d; }
.channels-list.public .channel[channel='gas'] .cashtag  { border-left: 3px solid #c4e7ef; }

.channels-list .channel[channel='insiders'] a { background: #3a3a3a; }
.channels-list .channel[channel='articles'] a { background: #6F3447; }
.channels-list .channel[channel='newsroom'] a { background: #2C4573; }
.channels-list .dm .with { color: #999; font-family: "PT Sans", sans-serif; font-size: 11px; }

.channels-list .channel .desc { font-size: 9px; color: #666; margin: 0 3px; }

.watchlist .channels-list.detailed  { margin: 0 0 25px 0; }
.watchlist .channels-list.detailed.edit .section  { padding: 10px; }
.watchlist .channels-list.detailed.channels-list.edit .section .add-channel { margin-left: 0; margin-top: 1px; padding: 5px 10px; }
.watchlist .channels-list.detailed .section .inline-edit-wrapper { margin-left: 0; }
.watchlist .channels-list.detailed h3 { margin-left: 0; }
.watchlist .channels-list.detailed .channel .channel-name { font-family: "PT Mono", monospace; font-size: 13px; }
.watchlist .channels-list.detailed .channel .quote { }
.watchlist .channels-list.detailed .channel .bid-ask { background: #fafafa; box-shadow: 0 0 10px 5px #fafafa; position: absolute; padding: 5px; top: 7px; right: 0; text-align: right; line-height: 13px; font-size: 11px; }
.watchlist .channels-list.detailed .channel:hover .bid-ask { background: #fff; box-shadow: 0 0 10px 5px #fff; }
.watchlist .channels-list.detailed .channel .bid-ask .vol { font-size: 9px; opacity: 0.8; display: none; }
.watchlist .channels-list.detailed .channel .quote .bid-ask .volume { color: #888; }
.watchlist .channels-list.detailed .channel .quote .bid-ask .bid { color: #9bbb94; }
.watchlist .channels-list.detailed .channel .quote .bid-ask .ask { color: #ca9292; }
.watchlist .channels-list.detailed .channel .cashtag { font-size: 12px; padding: 0 4px; background: #ececec; border-radius: 2px; display: inline-block; color: #000; line-height: 17px; }
.watchlist .channels-list.detailed .channel .desc { font-size: 13px; color: #666; display: inline-block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.watchlist .channels-list.detailed .channel .price { font-size: 16px; color: #717171; }
.watchlist .channels-list.detailed .channel .price-change { font-size: 14px; }
.watchlist .channels-list.detailed .channel .new-count { font-size: 11px; position: absolute; top: 2px; right: 2px; line-height: 15px; width: auto; padding: 0 4px; background: #b7d5e6; border-radius: 3px; color: #fff; text-shadow: -1px 1px 4px #006ab5; }
.watchlist .channels-list.detailed .channel .new-count:hover { background: #425379; }
.watchlist .channels-list.detailed .channel .delete { font-size: 11px; position: absolute; top: 1px; right: 7px; line-height: 20px; width: 20px; background: #fff; border-radius: 3px; color: #666; text-shadow: -1px 1px 4px #aaa; box-shadow: -1px 1px 0 #aaa; }
.watchlist .channels-list.detailed .channel .delete:hover { background: #844; color: #fff; }
.watchlist .channels-list.detailed.edit .channel .new-count { display: none; }
.watchlist .channels-list.detailed .channel .percent { font-size: 10px; background: #eee; border-radius: 2px; padding: 1px 3px; }
.watchlist .channels-list.detailed .channel .up .percent { background: #e0f3e0; }
.watchlist .channels-list.detailed .channel .down .percent { background: #fee; }
.watchlist .channels-list.detailed .channel a { position: relative; width: calc(100% - 6px); max-width: none; box-sizing: border-box; padding: 5px 10px; margin: 0 6px 6px 0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1)} 
.watchlist .channels-list.detailed {  }
.watchlist .channels-list.detailed .section .list .channel { position: relative; margin-bottom: 0px; box-sizing: border-box; height: auto; font-family: "PT Sans", sans-serif; }
.watchlist .channels-list.detailed.narrow .section[data-type="Commodities"] { margin-top: -10px; }
.watchlist .channels-list.detailed.narrow .section[data-type="Commodities"] .channel .price-change { display: none; }
#home .channels-list.detailed .section .list .channel { width: 20%;  }
#home .channels-list.detailed.narrow .section .list .channel { width: 14.2%;  }
.left-sidebar .watchlist .channels-list.detailed { margin: 0; }
.left-sidebar .watchlist .channels-list.detailed .section .list .channel { margin: 0; width: 100%; }
.left-sidebar.fullscreen .watchlist .channels-list.detailed .section .list .channel { width: 33%; }
#shared-watchlist .watchlist .channels-list.detailed .channel a:hover { background: #fff; }
#shared-watchlist .watchlist .channels-list.detailed h3 { display: none; }
#shared-watchlist .watchlist .channels-list.detailed { margin-bottom: 0; padding-bottom: 0; }
#shared-watchlist .watchlist { padding: 0 25px 0 25px; }
#shared-watchlist .watchlist-description { padding: 5px 5px 15px 5px; font-family: "PT Sans", sans-serif; font-size: 14px; }
#shared-watchlist .owner { color: #000; font-size: 16px; margin-bottom: 5px; }
#shared-watchlist a.hash, #shared-watchlist a.hash:visited { color: #a00; }

#shared-watchlist { width: 100%; }

#home { height: 100%; font-family: "PT Sans", sans-serif; -webkit-tap-highlight-color:transparent; }
#home .scroll { height: 100%; }
#home .inner { box-sizing: border-box; }
#home .content { box-sizing: border-box; padding: 20px 40px 30px 40px; background: #f3f3f3; box-shadow: 0 0 70px rgba(0, 0, 0, 0.15); z-index: 1; position: relative; }
#home .floating-buttons { padding: 10px; border-radius: 4px; background: rgba(0, 0, 0, 0.3); position: absolute; bottom: 10px; right: 10px; box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.1); z-index: 102; }
#home .intro { padding: 20px 40px; }
#home .loading { color: #666; }
#home h2 { font-family: "PT Sans", sans-serif; color: #877777; font-size: 18px; margin: 5px 0; padding: 0; font-weight: normal; text-shadow: 0 1px 0 #fff; border-radius: 5px; }
#home .spacer { border-top: 1px solid #e0dddd; border-bottom: 1px solid #fff; }
#home .spacer.big { margin: 30px; }
#home .intro h1 { font-size: 25px; font-family: "PT Sans", "Trebuchet MS", sans-serif; font-weight: normal; line-height: 30px; margin: 0; color: #766666; }
#home .intro .sub-2 { display: inline-block; font-size: 18px; line-height: 20px; color: #888; max-width: 700px; margin: 2px 0; font-family: "PT Sans", "Trebuchet MS", sans-serif; }
#home .online-count { font-size: 14px; margin-top: 3px; }

#home .mobile { margin: 20px 0; }

#home .tabs { margin-top: 0px; padding: 0 40px; font-size: 17px; }
#home .tabs .tab { cursor: pointer; display: inline-block; background: rgba(120, 120, 120, 0.1); line-height: 30px; padding: 0 10px; color: #544444; position: relative; top: 1px;  border-top-left-radius: 3px; border-top-right-radius: 3px; }
#home .tabs .tab.selected { background: #f3f3f3; z-index: 2; }

.watchlist .channels-list {
    margin: 0 -25px 25px -25px;
    -webkit-transform: translate3d(0,0,0);
}
.watchlist .channels-list h3 { max-width: calc(100% - 80px); font-size: 14px; line-height: 22px; padding: 3px 0 2px 0; color: #999; text-shadow: none; }
.watchlist .channels-list .section { position: relative; border-radius: 3px; margin: 3px 0 10px 0; overflow: auto; }
.watchlist .channels-list .section .list { transform: translateZ(0); position: relative; }
.watchlist .channels-list .section .list .channel { display: inline-block; width: 180px; }

.watchlist .channels-list .channel { margin-bottom: 5px; }
.watchlist .channels-list .channel a { background: #fafafa; color: #333; border: 1px solid #eee; }
.watchlist .channels-list .channel .down { color: #a00; }
.watchlist .channels-list .channel .up { color: #090; }
.watchlist .channels-list .channel .new-count { color: #777; line-height: 25px; }
.watchlist .channels-list .channel .delete { color: #777; line-height: 25px; }
.watchlist .channels-list .channel .delete:hover { color: #a77; }
#home .num-online { font-size: 13px; float: right; line-height: 25px; }
#home .text { font-family: "PT Sans", sans-serif; color: #888; margin: 5px 0; font-size: 13px; }

.watchlist-save .action { margin-left: 5px; cursor: pointer; font-size: 13px; line-height: 25px; padding: 0 6px; border-radius: 2px; float: right; font-family: "PT Sans", sans-serif; } }
.watchlist-save .cancel { text-decoration: underline; }
.watchlist-save .done { background: #f0ffc4; color: #162; padding: 0 10px; box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); font-size: 16px; }
.watchlist-save .done:hover { background: #fff; color: #390; }

.watchlist .add-category { display: block; margin: 10px 0 0 0; line-height: 25px; background: #f3f1ea; border-radius: 2px; padding: 0 5px; color: #877777; cursor: pointer; box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); border: 1px solid #baaaaa }
.watchlist .add-channel { background: none; color: #877777; border: 1px solid #899999; box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); vertical-align: top; }
.watchlist .add-channel:hover { background: #fff; }
.watchlist .add-category:hover { background: #fff; }
.watchlist .channels-list.edit .section { box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); background: #f3f1ea; margin-top: 10px; padding-bottom: 5px; }
.watchlist .channels-list.edit .add-channel-form { display: inline-block; vertical-align: top; }
.watchlist .channels-list.edit h3 { margin-top: 10px; margin-bottom: 10px; padding: 0; }
.watchlist .channels-list.edit .sort-alphabetically { display: inline-block; float: right; color: #555; border-bottom: 1px solid #999; cursor: pointer; padding: 2px 4px; border-radius: 2px; }
.watchlist .channels-list h3 .settings { cursor: pointer; position: absolute; right: 0; margin-right: 10px; font-size: 13px;line-height: 16px; }
.watchlist .channels-list h3 .settings .action {  border-bottom: 1px solid #ccc;  }
.watchlist .channels-list h3 .settings .icon { font-size: 12px; color: #ccc; }
.watchlist .channels-list.edit h3.editable { border: 1px solid #dccccc; line-height: 28px; background: #fff; color: #877777; margin-left: 30px; text-indent: 5px; border-radius: 2px; margin-top: 0; }
.watchlist .channels-list.edit .settings { display: block; background: #fefeee; border: 1px solid #dccccc; border-radius: 2px; position: absolute; top: 10px; right: 15px; font-size: 12px; text-align: center; line-height: 28px; height: 28px; color: #877777; cursor: pointer; vertical-align: top; padding: 0 5px; }
.watchlist .channels-list.edit .settings .icon { font-size: 16px; line-height: 25px; }
.watchlist .channels-list.edit .remove-category { font-size: 14px; }
.watchlist .channels-list.edit .settings:hover { color: #988888; }
.watchlist .channels-list.edit .delete { visibility: visible; }

.watchlist .handle { position: absolute; top: 10px; left: 10px; width: 28px; height: 28px; border: 1px dotted #fff; border-radius: 2px; background: #e8e3e3; line-height: 30px; text-align: center; font-size: 18px; cursor: pointer; color: #335; }
.watchlist .handle:hover { background: #e9e4e4; }
.watchlist .sortable-ghost { opacity: 0; }
.watchlist .edit .handle, .watchlist .edit .channel {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.watchlist .edit .handle:active, .watchlist .edit .channel:active, .sortable-drag {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

#watchlist_settings { font-family: "PT Sans", sans-serif; }
#watchlist_settings label { display: inline-block; padding: 0 10px; margin: 0; line-height: 40px; font-size: 16px; }
#watchlist_settings label .icon { display: inline-block; width: 12px; font-size: 14px; }
#watchlist_settings label.selected { background: #ddd; }
#watchlist_settings textarea { font-family: "PT Sans", sans-serif; font-size: 15px; width: 80%; border: none; background: #fff; }
#watchlist_settings input[type='radio'] { background: rgba(255, 255, 255, 0.4); width: 20px; height: 20px; padding: 5px; display: inline-block; position: relative; top: 5px; }
#watchlist_settings input[type='radio']:checked { background: #9D1C20; box-shadow: 2px 2px 0 #600; }
#watchlist_settings .typing-new-channel { background: #fff; border-radius: 2px; font-size: 20px; line-height: 20px; color: #666; margin: 0 20px 20px 20px; }
#watchlist_settings .typing-new-channel input { width: 200px; line-height: 30px; height: 30px; display: inline-block; }
#watchlist_settings .info { color: #444; border-radius: 5px; margin: 0 0 30px 0 ; font-size: 14px; }
#watchlist_settings .domain { opacity: 0.5; }
#watchlist_settings .description { padding: 0 15px; color: #666; background: #ddd; }
#watchlist_settings .input { border-radius: 2px; margin: 2px 0 10px 0; padding: 5px; background: #eee; }
#watchlist_settings .editable { background: #FFF; border-bottom: 1px dotted #aaa; box-shadow: none; text-indent: 0; font-size: 16px; line-height: 20px; }
#watchlist_settings p { padding: 5px 0; margin: 0; font-size: 14px; }
#watchlist_settings button { padding: 0 10px; font-size: 15px; }

.up { color: #78F078; }
.down { color: #EF8989; }
.channel .none { color: #ddd; }
#home .channel .none { color: #bbb; }
.channel a:hover .up, .channel.highlight .up { color: #090; }
.channel a:hover .down, .channel.highlight .down { color: #a00; }
.channel a:hover .none, .channel.highlight .none { color: #666; }

#profile { position: relative; }
#profile .padding { color: #333; font-family: "PT Sans", "Trebuchet MS", sans-serif; overflow: auto; padding: 0 30px 10px 30px; }
#profile .padding.editing { cursor: normal; }
#profile .description a { color: #900; }
#profile h1 { font-weight: normal; margin: 0; padding: 0; line-height: 20px; height: 20px; font-size: 18px; display: block;  }
#profile .details { display: inline-block; vertical-align: top; margin-right: 10px; margin-bottom: 8px; max-width: calc(100% - 90px); }
#profile .description { font-size: 13px; padding: 0; display: block; vertical-align: top; margin-bottom: 8px; max-width: 400px; }
#profile .description .expand, #profile .description .collapse { color: #999; font-weight: bold; border-bottom: 1px solid #aaa; cursor: pointer; }
#profile .joined { color: #999; font-size: 12px; line-height: 15px; height: 15px; display: block; margin-bottom: 5px; }
#profile .pic { position: relative; display: inline-block; vertical-align: top; margin: 0 10px 0 0; }
#profile .pic img { max-width: 60px; border-radius: 2px; display: block; }
#profile .pic .label { position: absolute; font-size: 9px; bottom: 0; left: 0; width: 100%; line-height: 20px; height: 20px; background: rgba(240, 255, 240, 0.9); color: #060; text-align: center; cursor: pointer; }
#profile .action { display: inline-block; cursor: pointer;  font-size: 13px; line-height: 25px; padding: 0 8px; background: #333; color: #fff; border-radius: 2px; }
#profile .action:hover { background: #000; color: #fff; }
#profile textarea, #profile input[type="text"] { border: 1px solid #ddd; border-radius: 2px; font-family: "PT Sans", "Trebuchet MS", sans-serif; font-size: 13px; }
#profile textarea { width: 300px; }

.formatted-channel { height: 40px; line-height: 40px; font-size: 12px; background: #f3f3f3; }
.formatted-channel .channel { color: #fff; border-radius: 2px; line-height: 25px; height: 25px; background: #888; padding: 0 8px; margin: 8px 0 7px 0; display: inline-block; max-width: 300px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; vertical-align: top; }
.formatted-channel .channel .icon { width: 15px; display: inline-block; }
.formatted-channel .details { display: inline-block; height: 40px; line-height: 40px;  font-size: 12px; font-family: "PT Sans", "Trebuchet MS", sans-serif; color: #716C68; vertical-align: top; }
#current-channel .open .details { color: #ddd; }
#current-channel .controls { position: absolute; top: 0px; right: 0; height: 40px; font-family: "PT Sans", "Trebuchet MS", sans-serif; }
#current-channel .toggle.open { background: #333; color: #fff; }

#current-channel .call-to-action { color: #716C68;  padding: 0 5px; border-radius: 2px; margin: 8px 0 7px 0; line-height: 25px; height: 25px; display: inline-block; font-family: "PT Sans", "Trebuchet MS", sans-serif; text-transform: capitalize; }
#current-channel .action:hover .call-to-action { background: #0a0; color: #fff; }
#current-channel .open.action:hover .call-to-action { background: none; }
#current-channel .open .call-to-action { background: none; }

.top-bar { text-align: center; height: 40px; line-height: 40px; position: absolute; top: 0; right: 0; width: 220px; }
.top-bar .search-bar { margin: 5px 10px; display: block; }
.top-bar .search-bar .search-form { display: block; padding: 0; margin: 0; height: 30px; line-height: 30px; position: relative; color: #fff; cursor: text; background: rgba(255, 255, 255, 0.2); border-radius: 15px; box-shadow: 0 0 3px 0 rgba(160, 115, 85, 0.5); text-align: left; }
.top-bar .search-form.focused { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
#header.searching .top-bar  { width: 350px; }
.top-bar .search-bar .icon { display: inline-block; height: 23px; line-height: 23px; width: 30px; font-size: 13px; text-align: center; }
.top-bar .search-bar .search-form .icon { color: #fff; }
.top-bar .search-bar input { display: inline-block; border: 1px solid transparent; font-size: 15px; line-height: 28px; height: 28px; background: none; padding: 0; width: calc(100% - 35px); color: #fff; font-family: "PT Sans", "Trebuchet MS", sans-serif; font-size: 13px; vertical-align: top; }
.top-bar .search-bar .suggestions { width: 100%; position: absolute; top: 24px; left: 0px; color: #333;  border-top: none; background: #b1494d; box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5); display: none; border-radius: 12.5px; border-top-left-radius: 0; border-top-right-radius: 0; box-sizing: border-box; padding: 10px; }
.top-bar .search-bar .loading { color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.top-bar form.search-form { display: block; }

.top-bar .help { font-size: 12px; font-family: "PT Sans", "Trebuchet MS", sans-serif; color: #777; margin-left: 70px; }
.top-bar .channels-list .new-count { display: none; }
.top-bar .channels-list .delete { display: none; }
.top-bar .channels-list .add-channel { display: none; }
.top-bar .channels-list .channel { margin: 0; display: block; height: 25px; padding: 0; border-bottom: 1px solid transparent; }
.top-bar .channels-list .channel a { display: block; background: rgba(255, 255, 255, 0.9); color: #333; max-width: none; font-size: 13px; height: 25px; cursor: pointer; }
.top-bar .channels-list .channel.special { line-height: 30px; height: auto; }
.top-bar .channels-list .channel.special a { line-height: 30px; height: auto; white-space: normal; }
.top-bar .channels-list .channel a:hover { background: #333 !important; color: #fff; }
.top-bar .channels-list.highlight-first .channel:first-child a { background: #333 !important; color: #fff; }
.top-bar .channels-list .channel a:hover .desc { color: #ddd; }
.top-bar .channels-list .channel a .icon { color: #aaa; display: inline-block; width: 18px; line-height: 20px; }
.top-bar .channels-list .section { margin: 2px 0; }
.top-bar .channels-list h3 { display: none; }

::-webkit-input-placeholder { color: #aaa; }
:-moz-placeholder {  color: #aaa; opacity:  1; }
::-moz-placeholder { color: #aaa; opacity:  1; }
:-ms-input-placeholder { color: #aaa; }

.top-bar ::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.8); }
.top-bar :-moz-placeholder {  color: rgba(255, 255, 255, 0.8); opacity:  1; }
.top-bar ::-moz-placeholder { color: rgba(255, 255, 255, 0.8); opacity:  1; }
.top-bar :-ms-input-placeholder { color: rgba(255, 255, 255, 0.8); }


#moderator { position: relative; font-size: 12px; color: #555; }
#moderator .icon { position: relative; top: 1px; }
#moderator .icon-lock { display: inline-block; width: 7px; }
#moderator .chevron { opacity: 0.7; font-size: 8px; display: inline-block; width: 10px; text-align: center; }
#moderator .expand { position: absolute; background: rgba(0, 0, 0, 0.1); right: 0; top: 0; text-align: center; vertical-align: middle; cursor: pointer; padding: 0 10px 0 20px; color: rgba(255, 255, 255, 0.7); }
#moderator .expand:hover { color: #fff; text-shadow: 0 0 5px #fff; }
#moderator .expand .icon-users { font-size: 15px; position: relative; top: 2px; }
#moderator .expanded { display: none; max-height: calc(100vh - 140px); }
#moderator .expanded.show { display: block; padding: 20px; overflow: auto; background: #333; color: #fff; }
#moderator .color { position: relative; }
#moderator .inline-edit-wrapper { background: rgba(255, 255, 255, 0.1); }
#moderator button { line-height: 30px; border-radius: none; border: none; background: #555; color: #fff; padding: 0 5px; }
#moderator input { background: transparent; line-height: 20px; border: none; color: #fff; }
#moderator h5 { margin: 0; padding: 0; line-height: 20px; margin-top: 10px; }
#moderator .name { color: #eee; }
#moderator .action { display: inline-block;  cursor: pointer; padding: 0 8px; color: #716C68; }
#moderator .action:hover { border-bottom: 2px solid #716C68; }
#moderator .action.open:hover { border-bottom: none; }
#moderator .role { color: #ccc; font-size: 10px; }
#moderator .leave { display: inline-block; float: right; font-size: 12px; line-height: 18px; border-bottom: 1px solid #666666; cursor: pointer; margin:-2px 0 0 0;}
#moderator .section { float: left; padding: 00px 10px 30px 10px; }
#moderator form { display: inline-block; }
#moderator table { margin-top: -2px; margin-left: -2px;  }
#moderator table td { background: rgba(255, 255, 255, 0.1); padding: 0 4px; line-height: 22px; }

.user-handle-autoc td {
    padding: 10px !important;
    background: #555;
}

#admin-suggested .channel span, #admin-suggested .channel .delete-suggested { display: inline-block; padding: 0 4px; height: 25px; line-height: 25px; font-size: 15px; margin-bottom: 2px;}
#admin-suggested .channel .delete-suggested { cursor: pointer; }
#admin-suggested .channel span { background-color: #931a28; }
#add-suggested { cursor: pointer; margin-top: 10px; width:25px; height: 25px; text-align: center;}
#admin-suggested, .admin-users-table, #admin-send-mail { margin-bottom: 30px;}
.admin-users-table { border-collapse: collapse; margin-right: 20px; }
.admin-users-table th, .admin-users-table td, .admin-users-table tr { padding:4px; border: 5px solid #EDE8E9; }
.admin-users-table tr td:nth-child(1) { background: rgba(0,0,0,0.2); }
.admin-users-table tr td:nth-child(2) { background: rgba(0193, 66, 66, 0.2)}
.admin-users-table tr td:nth-child(3) { background: rgba(0,0,0,0.2); }
.admin-users-table tr:nth-child(odd) {}
.admin-users-table tr td { min-width: 112px; }
#admin-interface.modal {max-width: 940px; background-color: #F7F5FA}
.admin-user-verified-column {text-transform: lowercase}

#admin-interface button, .admin-users-table button { font-size: 12px; background-color: #a00; padding: 3px; color: #eee; margin: 2px; border: none; border-radius: 5px; cursor: pointer; outline: none;}
#admin-interface button:hover, .admin-users-table button:hover { box-shadow: inset 0px 0px 5px black; }

#admin-interface .pagination {
    display: inline-block;
    padding: 0;
    margin: 3px;
    cursor: pointer;
    line-height: 140%
}

#admin-interface .order {
    cursor: pointer;
}

#admin-interface .active {
    background-color: #931a28;
    color: white;    
}


#chat .section { margin-top: 15px;}

.cover { position: absolute; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:999; top: 0; }

.modal button:disabled { background: #333; }

.modal { position: absolute; top:50%; left:50%; -ms-transform:translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); width: 90vw; max-width: 600px; color:black; border-radius: 5px; box-shadow: 0 0 20px rgba(0,0,0,0.4); z-index:66666666; overflow: scroll; max-height: 100%;  box-sizing: border-box;
margin-bottom: constant(safe-area-inset-bottom);
margin-top: constant(safe-area-inset-top);
margin-bottom: env(safe-area-inset-bottom);
margin-top: env(safe-area-inset-top);
}
.modal .logo { height: 40px; background-image: url('../assets/ceo.ca.png'); background-repeat: no-repeat; background-position: center 11px; background-size: auto 20px; width: 100%; background-color: #9D1C20; }
#article-editor-modal.modal { max-width: 800px; }
#article-editor-modal.modal a, #edit-profile-modal a { color: #a00; }

.modal button, #header button { background: #931a28; color: white; margin-bottom: 20px; margin-top:0; z-index:10000; cursor: pointer;
}
.modal a { color: #a00; }
#header button { margin-top:0px; }


.modal h1 { font-size:25px; margin-bottom: 0; margin-top:10px; color:rgba(0,0,0,0.8); }


.modal.generic input, .modal.generic select, #login-modal input.email, #login-modal input.password { background: #fff; color: #333; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2), inset 0 0 1px 1px rgba(0, 0, 0, 0.1); text-indent: 20px; -webkit-appearance: none;}
.modal.generic input, .modal.generic button, .modal.generic select, #login-modal input.email, #login-modal input.password, #login-modal button { display: inline-block; font-size: 20px; font-family: inherit; padding: 0; outline:none; border:none; border-radius: 3px; line-height: 40px; }
#login-modal input.email.required { box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2), inset 0 0 5px 1px rgba(255, 0, 0, 0.5); }
.modal.generic button, #login-modal button { background: #9D1C20; color: #fff; text-decoration: none; box-shadow: 2px 2px 0 #600; width: 200px; }
.modal.generic button:hover, #login-modal button:hover { background: #b00; }
.modal.generic button:active, #login-modal button:active { box-shadow: none; position: relative; top: 2px; left: 2px; }

#start-channel-modal { text-align: center; }

#start-channel { font-family: "PT Sans", sans-serif; }
#start-channel label { display: inline-block; padding: 0 10px; margin: 0; line-height: 40px; font-size: 16px; }
#start-channel label .icon { display: inline-block; width: 12px; font-size: 14px; }
#start-channel label.selected { background: #ddd; }
#start-channel input[type='text'] { background: none; box-shadow: none; text-indent: 0; line-height: 30px; }
#start-channel input[type='radio'] { background: rgba(255, 255, 255, 0.4); width: 20px; height: 20px; padding: 5px; display: inline-block; position: relative; top: 5px; }
#start-channel input[type='radio']:checked { background: #9D1C20; box-shadow: 2px 2px 0 #600; }
#start-channel .typing-new-channel { background: #fff; border-radius: 2px; font-size: 20px; line-height: 20px; color: #666; margin: 0 20px 20px 20px; }
#start-channel .typing-new-channel input { width: 200px; line-height: 30px; height: 30px; display: inline-block; }
#start-channel .description { padding: 10px; font-size: 13px; color: #666; background: #ddd; }

#login-modal { background: #f6f6f6; text-align: center; }
#login-modal a { color: #a00; cursor: pointer; }
#login-modal a:hover { color: #f00; }
#login-modal h1 { font-family: "PT Sans", "Trebuchet MS", sans-serif; font-weight: normal; line-height: 30px; margin: 20px 0; color: #555; }
#login-modal .sub-2 { font-size: 18px; line-height: 20px; color: #888; max-width: 500px; margin: 20px 40px; font-family: "PT Sans", "Trebuchet MS", sans-serif; }
#login-modal #registration { padding: 10px 30px 30px 30px; }
#login-modal #login-form { padding: 0 30px 30px 30px; }
#login-modal .agree { font-size: 12px; }
#login-modal .actions { background: #fff; border-top: 1px solid #eee; overflow: auto; }
#login-modal .action { width: 50%; float: left; font-size: 14px; line-height: 20px; padding: 20px 0; }
#login-modal .action a { font-weight: bold; }
#login-modal .action.learn-more { background: #eee; }
#login-modal .faint { font-size: 12px; color: rgba(0, 0, 0, 0.6); }

#login-box{ margin-top:20px; }
#login-box input.email, #login-box input.password, #login-box button { display: block; margin: 0 auto 3px auto; }
#login-box input.password:disabled { display: none; }
.close-button { cursor: pointer; display: block; position:absolute; top: 0px; right: 0px; line-height: 40px; width:40px; height:40px; color: #fff; text-align: center; cursor: pointer; font-size: 30px; }
.close-button:hover { border: none; background-color: rgba(255, 255, 255, 0.1); }
#registration a { color: #a00;}


#drawing {  background: #fff; }

.name { color: #888; margin-right: 3px; }
.name.anon { color: #c7c7c7; }
.name a, .name a:hover { border: none; }
.name:before { content: "["; }
.name:after { content: "]"; }
.name.name-online-list[data-name=""]:before { content: "";}
.name.name-online-list[data-name=""]:after { content: "";}

.message .name { display: inline-block; height: 15px; }
.message .name .hash.at { color: #691566; }
.message .name .hash.at:hover { color: #A52BA0; }
.message .name.fake a.at { text-decoration: line-through; color: #666; }
.message .name:hover { background: #fff; }

#short-positions-modal .hash, .spiel-content .hash { display: inline-block; padding: 0 3px; margin: 0px -3px; border-radius: 2px; border: none; }
#short-positions-modal .hash, .spiel-content .hash { background: rgba(190, 60, 60, 0.08); color: #a00; }
#short-positions-modal .hash:hover, .spiel-content .hash:hover { border: none; color: #fff; background: #C13939; }
#short-positions-modal .hash.at, .spiel-content .hash.at { background: rgba(230, 170, 230, 0.14); color: #691566; }
#short-positions-modal .hash.at:hover, .spiel-content .hash.at:hover { color: #fff; background: #a955a6; }
#short-positions-modal .hash.panel, .spiel-content .hash.panel { background: rgba(104,154,76,0.18); color: #16581f; }
#short-positions-modal .hash.panel:hover, .spiel-content .hash.panel:hover { color: #fff; background: #16581f; }
#short-positions-modal .hash.cash, .spiel-content .hash.cash { background: rgba(120, 200, 240, 0.18); color: #0C55B3; }
#short-positions-modal .hash.cash:hover, .spiel-content .hash.cash:hover { color: #fff; background: #3D9BEF; }
#short-positions-modal .hash.sedi, .spiel-content .hash.sedi { background: #948989; color: #fff; }
#short-positions-modal .hash.sedi:hover, .spiel-content .hash.sedi:hover { color: #fff; background: #000; }
#short-positions-modal .hash.article, .spiel-content .hash.article { background: rgba(210, 164, 105, 0.14); color: #6F3447; }
#short-positions-modal .hash.article:hover, .spiel-content .hash.article:hover { color: #fff; background: #A05C33; }
#short-positions-modal .hash.shared, .spiel-content .hash.shared { background: #f7f2cd; color: #5f451b; }
#short-positions-modal .hash.shared:hover, .spiel-content .hash.shared:hover { color: #f7f2cd; background: #5f451b; }


#edit-profile-modal p { font-family: "PT Sans", sans-serif; }
#edit-profile-modal .success { font-family: "PT Sans", sans-serif; text-align: left; }
#edit-profile-modal .input { display: inline-block; background: #fff; color: #333; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2), inset 0 0 1px 1px rgba(0, 0, 0, 0.1);  -webkit-appearance: none; border: none; font-size: 20px; border-radius: 3px; line-height: 40px;}
#edit-profile-modal .input input { box-shadow: none; padding: 0; border: none; font-size: 20px; line-height: 30px; width: calc(100% - 60px); }
#edit-profile-modal button { display: inline-block; font-size: 20px; font-family: inherit; padding: 0; outline:none; border:none; border-radius: 3px; line-height: 40px; background: #9D1C20; color: #fff; text-decoration: none; box-shadow: 2px 2px 0 #600; width: 200px; }
#edit-profile-modal button:hover { background: #b00; }

.modal.generic { }
.modal.generic .header { font-family: "PT Sans", sans-serif; text-align: center; font-size: 17px; line-height: 40px; background-color: #9D1C20; height: 40px; color: #fff; }
.modal.generic .close { display: block; position:absolute; top: 0px; right: 0px; line-height: 40px; width:40px; height:40px; color: #fff; text-align: center; cursor: pointer; font-size: 30px; }
.modal.generic .close:hover { border: none; background-color: rgba(255, 255, 255, 0.1); }
.modal.generic .inner { padding: 30px; background: #eee; }

#my-articles .open-article { cursor: pointer; margin: 4px 0; padding: 15px; background: #fff; border-left: 5px solid #a00; }
#my-articles .open-article.new { background: #efe; border-left: 5px solid #0a0; }
#my-articles .inner { text-align: left; }

#toolbar .separator {border-top: 1px solid #e9e9e9; border-bottom: 1px solid #fbfbfb; }

#short-positions-open-all.report, .left-sidebar .report { background: #948989; cursor: pointer; padding: 2px 5px; border-radius: 2px; line-height: 20px; margin-bottom: 10px; display: inline-block; margin-right: 5px; }
#short-positions-open-all, #open-short-positions { color: #333; padding-left: 3px; text-decoration: underline; }

#short-positions-open-all.report:hover, .left-sidebar .report:hover { background: #000 !important; }
.left-sidebar .report .icon { font-size: 10px; margin-right: 2px; }
.icon.sedi { font-size: 10px; margin-right: 2px; }
#short-positions-open-all { color: white; font-size: 12px; }

#house-positions-modal { width: auto; max-width: 100%; font-size: 13px; font-family: "PT Sans", sans-serif; min-width: 300px; }
#house-positions-modal .code { font-size: 12px; color: #888; }
#house-positions-modal .housename { font-size: 16px; }
#house-positions-modal table { border-spacing: 0; border-collapse: collapse; }
#house-positions-modal table.parent { margin: 20px 0; }
#house-positions-modal .parent > tbody > tr > td:nth-child(even) { background: #fff; }
#house-positions-modal .parent > tbody > tr > td { border-top: 1px solid #eee; padding: 10px 15px; white-space: nowrap; overflow: hidden; background: #f8f8f8; }
#house-positions-modal .parent > tbody > tr > th { text-align: left; font-size: 16px;  padding: 5px 10px; }
#house-positions-modal .child th { text-align: right; padding: 3px 6px; }
.greyed-out { opacity: 0.5; }

#short-positions-modal { width: auto; max-width: 100%; min-width: 200px;}
.short-positions-clear-filter { cursor: pointer; }


.history-chart-container { position: relative; width: 100%; }
#chart-box { position: relative; font-size: 12px; color: #555; overflow: none; }
#chart-box .padding { overflow: auto; padding: 0px 30px 0 30px; }
#chart-box .legend {  font-family: "PT Sans", sans-serif; color: #999; font-size: 10px; position: absolute; bottom: 10px; right: 25px; left: 15px; text-align: right; line-height: 13px; }
#chart-box .legend .left { text-align: left; float: left; }
#chart-box .legend .box { height: 10px; width: 10px; margin-bottom: -1px; display: inline-block; border-radius: 2px; }
#chart-box .legend .box.bid { background: #0c0; }
#chart-box .legend .box.ask { background: #c00; }
#chart-box .legend .box.volume { background: rgba(173,216,230,0.4); }

#chart-box .data-box {  width: 100%; }
#chart-box .action { color: #000; cursor: pointer; border-radius: 2px; display: inline-block; white-space: nowrap; background: #dee2e4; padding: 2px 4px; margin: 0 -2px -2px -2px; }
#chart-box .action.company-url { max-width: 75px; overflow: hidden; text-overflow: ellipsis; }
#chart-box .action.sedi { }
#chart-box .action:hover { background: #000; color: #fff; }
#chart-box .timeliness { position: absolute; top: 10px; right: 0; font-family: 'PT Sans', sans-serif; color: #aaa; }

#chart-box .chart { height: 130px; width: 100%; }
#chart-box .hash.sedi { color: #a00; text-decoration: underline; cursor: pointer; }
.left-sidebar.fullscreen #chart-box .chart { height: 280px; }
#chart-box .data-box { overflow: visible; }
#chart-box .last-value { font-size: 23px; line-height: 30px; }
#chart-box .percent { font-size: 10px; color: #aaa; }
#chart-box .up, #chart-box .down, #chart-box .none { display: inline-block; }
#chart-box .quote .up { color: #0a0; }
#chart-box .quote .down { color: #a00; }
#chart-box .quote .none { color: #aaa; }
#chart-box .chart-buttons { width: 100%; text-align: center; padding: 0 0 10px 0; clear: both; }
#chart-box .chart-button { cursor: pointer; display: inline-block; padding: 2px; width: 30px; border-radius: 2px; border: 2px solid #fff; background: #dee2e4; color: #333; }
#chart-box .chart-button-inactive { color: #ddd; background: #f8f8f8; border-color: #f8f8f8; }
#chart-box .chart-button-focussed { color: #294861; background: #fff; border-color: #5493C5; }
#chart-box .last-trade { color: #b3ad9a; font-size: 10px; }
#chart-box table { width: 100%; }
#chart-box table th, #chart-box table td { text-align: right; }
#chart-box table th { font-family: "PT Sans", sans-serif; text-align: right; }

#chart-box .details { font-size: 11px; color: #666; line-height: 12px; background: #f7fbff; border-radius: 3px; margin: 10px 30px; font-family: "PT Sans", sans-serif;  border: 1px solid #e4ecf3; position: relative; }
#chart-box .data-box, #chart-box .chart { position: relative; display: inline-block; vertical-align: top; }

#chart-box .details table { width: 100%; margin: 0; border-collapse: collapse; margin-top: 2px; }
#chart-box .details table th, #chart-box .details table td { text-align: left; white-space: nowrap; border-bottom: 1px solid #e4ecf3; padding: 2px 4px; }

#chart-box h3 { position: relative; margin: 0 0 10px 0; }
#chart-box .chart-table-toggle { position: absolute; top: -3px; right: 20px; background: #f8f8f8; border-radius: 3px; text-align: center; }
#chart-box .mode { font-size: 12px; cursor: pointer; display: inline-block; border-radius: 3px; padding: 0 6px; margin: 1px; line-height: 18px; box-sizing: border-box; }
#chart-box .mode.current { color: #000; background: #eee; }
#chart-box .mode .icon { line-height: 20px; }
#chart-box .mode:hover { color: #000; }
#chart-box .note .text { background: #f8f8f8; padding: 10px; font-size: 12px; color: #777; }
.market-depth-chart { height: 400px; width: 100%; box-sizing: border-box; position: relative; margin-top: 10px; }
.market-depth-chart .controls { position: absolute; top: 35px; left: 18px; }
.market-depth-chart .controls a { display: block; color: #999; font-size: 16px; line-height: 26px; cursor: pointer; width: 16px; text-align: center; background: #f8f8f8; margin-bottom: 3px; border: 1px solid #eee; box-shadow: 0 0 2px rgba(0, 0, 0, 0.1); }
.market-depth-chart .controls a:hover { color: #000; background: #f0f0f0; }

.market-depth-chart .delayed { position: absolute; bottom: 45px; left: calc(50% - 60px); width: 120px; background: rgba(255, 242, 180, 0.5); padding: 5px 5px; border-radius: 2px; color: #333; text-align: center; font-family: "PT Sans", sans-serif; }
.market-depth-chart .delayed .unlock { color: #030; background: #e0ffe0; border-radius: 2px; margin-top: 3px; display: inline-block;  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3); padding: 2px 5px; }
.market-depth-chart .delayed .unlock:hover { background: #bdff9b; }

.market-depth-tables { height: auto; width: 100%; padding: 0 30px; box-sizing: border-box; }
.market-depth-tables table { font-family: "PT Sans", sans-serif; width: 100%; background: #f8f8f8; border-spacing: 1px; margin-bottom: 20px; }
.market-depth-tables .icon { width: 8px; display: inline-block; }
.market-depth-tables tr.bid td { background: rgba(0, 255, 0, 0.1); }
.market-depth-tables tr.ask td { background: rgba(255, 0, 0, 0.1); }
.market-depth-tables th { text-transform: capitalize; padding: 3px; }
.market-depth-tables td { padding: 3px; }
.market-depth-tables .recent-trades h3 .arrows { float: right; }
.market-depth-tables .recent-trades h3 .arrows .icon { line-height: 25px; cursor: pointer; font-size: 16px; display: inline-block; width: 25px; text-align: center; }
.market-depth-tables .recent-trades h3 .arrows .icon.disabled { opacity: 0; }
.market-depth-tables .recent-trades h3 .arrows .icon:hover { color: #000; }

.left-sidebar.fullscreen .widget { width: 100%; max-width: calc(50% - 35px); margin: 0 15px; display: inline-block; vertical-align: top; }

#chart-box .quote { max-width: 55%; margin: 5px 0; }

#new_search_results { font-size: 11px; }

.photo-control, .video-control { display: inline-block; background: rgba(255, 255, 255, 0.3); border: 1px solid #a00; border-radius: 2px; color: #a00;  width: 20px; text-align: center; margin: 0 10px 0 5px; color: #aaa; }
.photo-pop-up { display:block; max-width:100%; }
.photo-control:hover { cursor: pointer; background: rgba(255, 255, 255, 0.5); }
.iframe-pop-up { display:block; margin: 10px; width:420px; height:315px; }

.chart-icon { height: 1em; vertical-align: bottom; margin-left: 2px; }
.quote-unavailable {
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  text-align: center;
}

.vote-listener { cursor: pointer; }

.row .vote-count { font-size: 15px; font-family:monospace; vertical-align:sub;}
.row .vote { opacity: 0; }
.row:hover .vote { opacity: 0.2; }
.row .vote:hover { opacity: 1; color: #333; }
.emphasis.row .vote { opacity: 1; }
.emphasis.row:hover .vote { opacity: 1; }
.row .vote { opacity: 0; position: absolute; top: 0; left: 0; line-height: 35px; color: #646464; font-size: 10px; cursor: pointer; text-align: center; white-space: nowrap; width: 45px; overflow: hidden; }
.row .vote.voted { color: #040; }
.row .vote.voting, .favorite-spiel.voting, .remove-favorite-spiel.voting {
animation: pulsate 0.4s ease-out infinite;
}
@-webkit-keyframes pulsate {
    0%   { text-shadow: 0 0 0 rgba(0, 0, 0, 0.3); }
    50%  { text-shadow: 0 0 10px rgba(0, 0, 0, 0.3); }
    100% { text-shadow: 0 0 0 rgba(0, 0, 0, 0.3); }
}
.row .vote.show { opacity: 1; }
.row .vote .icon-thumbsup { font-size: 15px; vertical-align: sub; }
.row.show-votes .vote { opacity: 1; }


#search-pagination{ margin-top: 50px; }
#search-results { background: #eee; overflow: hidden; height: 100%; min-width: 70%; }
#search-results .header { background: #eee; font-size: 14px; line-height: 19px; }
#search-results .header .padding { padding: 10px 20px; }
#search-results .header a { margin: 2px; color: #a00; cursor: pointer; }
#search-results .search-form { }
#search-results .inline-edit-wrapper { background: #fff; padding: 0 10px; width: calc(100% - 20px); color: #000; border-radius: 0; font-size: 14px; border-top: 1px solid #ddd; border-bottom: 1px solid #ccc; }
#search-results .search-query { border: none; background: none; height: 30px; line-height: 30px; color: #000; font-size: 14px; width: calc(100% - 100px); }
#search-results .inner { max-height: 100%; }
#search-results .results { padding: 0 20px; }
#search-results .matching-channels { margin: 0 20px; }
#search-results .matching-channels .channels-list h3 { text-shadow: none; font-weight: bold; }
#search-results .matching-channels .channels-list .channel { display: inline-block; background: #f3f3f3; }
#search-results .matching-channels .channels-list .channel .new-count { display: none; }
#search-results .matching-channels .channels-list .channel a { max-width: 200px; text-overflow: clip; }
#search-results .matching-channels .channels-list .channel a .desc { color: #aaa; }

#search-results .load-more { padding: 20px 20px 100px 20px; display: block; color: #a00; cursor: pointer; }
#search-results .load-more:hover { border: none; color: #f00; }
#search-results h3 { font-size: 15px; margin: 15px 0 5px 0; font-family: "PT Sans", sans-serif; color: #666; }
#search-results.modal span{ margin-top: 0; }
#search-results a.search-result { text-decoration: none; border-bottom: none; }
#search-results .row { padding-left: 0px; font-size: 12px; max-width: calc(100% - 20px); }
#search-results .search-option-chosen { font-weight: bold; text-decoration: underline; }

#search-results .close, #admin-interface .close { width: 30px; height: 30px; text-align: center; display: block; position: absolute; top: 0px; right: 0px; font-size: 25px; color: #a00; cursor: pointer; background: #eee; border-radius: 3px; }
#search-results .outer, #admin-interface .outer, #article-editor-modal .outer { text-align: left; height: 100%; width: 100%; position: relative; overflow: hidden; }

#article {
    background: #fafafa;
    padding: 65px 7% 50px 7%;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.4);
    margin-bottom: -20px;
}
#article h1, #article h2, #article h3 { font-weight: normal; margin: 10px 0 5px 0; line-height: 30px; }
#article .article-body { font-family: "Trebuchet MS", sans-serif; font-size: 14.5px; line-height: 23px; color: #444;}
#article .toggle-featured, .toggle-pinned { color: #aaa; font-size: 16px; cursor: pointer; }
#article .toggle-featured.featured, .toggle-pinned.pinned { color: #a00; }

#article .article-inner { max-width: 700px; margin: 0 auto; }
/*#article img { display: block; max-width: 500px; margin: 20px auto; border-radius: 2px; box-shadow: 3px 3px 0 #ccc; }*/
#article a { color: #a00; }
#article .title { font-size: 30px; font-family: "PT Sans", sans-serif; line-height: 40px; }
#article .author { color: #999; margin: 0 0 15px 0; font-size: 13px; position: relative; }
#article .date { margin: 0 0 20px 0; color: #777; }
#article .medium-insert-buttons { display: none !important; }
#article .article-body a:hover { border: none; text-decoration: underline; }
#article .article-body img { border: 1px solid #eee; padding: 1px; border-radius: 2px; cursor: pointer; }
#article figure { margin-top: 20px; margin-bottom: 20px; }

#article-editor-modal .actions a.saved {
    background: #ccc;
    pointer-events: none;
}


#article-editor-modal .inner p:nth-of-type(1) {
    /* fix to stop the first line from jumping down in editor */
    margin-top: 0px;
}

#article-editor-modal { background: #fff; line-height: 23px; }
#article-editor-modal .toggle-html-editor { cursor: pointer; position: absolute; top: 10px; left: 20px; color: #a00; }
#article-editor-modal .title { margin: 20px; line-height: 40px; }
#article-editor-modal .actions a { background: #a00; border-radius: 2px; color: #fff; padding: 2px 4px; cursor: pointer; }
#article-editor-modal .actions a:hover { border: none; background: #f00; }

#article .actions {
    margin: 20px 0 20px 0;
    vertical-align: middle;
}
#article .edit { position: absolute; right: 0px; }
#article .edit { cursor: pointer; color: #aaa; display: inline-block; }
#article .edit:hover { color: #a00; }

#article { color: #222; }
.article .inner {
    box-sizing: border-box;
}

.article blockquote {
    color: #333;
    font-style: italic;
    margin: 0;
    padding: 10px 20px 10px 20px;
    word-wrap: break-word;
}

.article figcaption {
    line-height: 15px;
    margin: 5px 20px;
}

.article p {
    margin: 10px 0 20px 0;
    word-wrap: break-word;
}

#article-editor {
    font-size: 13px;
}
#article-editor .inner { padding: 20px; }
#article-editor .close { position: absolute; top: 10px; right: 10px; font-size: 30px; cursor: pointer; }
#article-editor .article { max-width: 800px; }
.article .editable { padding-bottom: 100px; }

.article h1, .article h2, .article h3 {
    margin: 20px 0;
    font-weight: bold;
    font-family: "PT Sans", sans-serif;
}

.article h1 {
    font-size: 25px;
    line-height: 30px;
}

.article h2 {
    font-size: 20px;
    line-height: 25px;
}

.article h3 {
    font-size: 22px;
    line-height: 22px;
    font-weight: normal;
    margin: 30px 0 20px 0;
}

#article-editor .title {
    text-align: center;
}

.article-editor-toolbar {
    background: white;
    background: #f5f5f5;
    box-shadow: 0px -1px 2px #aaa;
    position: absolute;
    bottom: 0;
    width: calc(100% - 30px);
    padding: 5px 15px;
    line-height: 25px;
}

.article-editor-toolbar input{
    width: 300px;
    outline: none;
    border: 0;
    border-bottom: 1px solid #aaa;
    line-height: 18px;
    padding: 0;
}

.article-editor-toolbar .tag { display: inline-block; padding: 0 4px; line-height: 18px; background: #fff; margin-right: 5px; }

.article figcaption {
    color: #555 !important;
}

.article-body {
    padding-bottom: 50px;
}

#admin-interface, #article-editor-modal  { overflow: hidden; height: 100%; }
#admin-interface .inner { height: 100%; }

#admin-suggested .channel span { color: white; }


#admin-interface .scroll-x {
    max-width: 100%;
    overflow-x: scroll;
}

#admin-interface #admin-show-users {
    color: #a00;
    text-decoration: underline;
    cursor: pointer;
    padding-bottom: 80px;
}

#admin-interface #admin-show-users:hover {
    color: red;
}

#admin-interface, #invite-modal, #sedi-data-modal {
    background: #eee;
}
#admin-interface {
    padding: 20px 40px;
}

.medium-editor-toolbar {
    /* this is stupid */
    z-index: 100000000 !important;
}

#article .medium-insert-embeds-overlay {
    pointer-events: none;
}

.edit-button {
    margin-top: 10px;
}

#progress { position: absolute; top: -40px; min-height:40px; background: #989898; width: 100%;}
#progress-bar{ min-height: 40px; background: #000; position:absolute;top:0px;left:0px; }
#filename { position: absolute; background: rgba(0, 0, 0, 0.5); z-index: 1; min-height:40px; line-height:40px; padding: 0 15px; top:0px;left:0px;font-size:12px; color:rgba(255, 255, 255, 0.8); }
#filename a.uploaded { border-bottom: 1px solid #fff; }
#progress .exit { color: white;position: absolute; right: 0;cursor: pointer;line-height: 40px;font-size: 26px;width: 40px;text-align: center; background: rgba(0, 0, 0, 0.5); z-index: 51; }
#progress .exit:hover { color:red; }
#add-upload-link { cursor: pointer; font-weight:bold; color:white; margin-left:15px;background-color: rgba(255,255,255,0.4); padding:5px;border-radius:3px; white-space: nowrap; }
#paste-arrow { font-size: 8px;}

#drop-here { width:100%;height:100%;background:grey; position:relative; color:white; opacity: 0.5;z-index:1001;font-size:40px;text-align:center;}
#drop-here p {position:absolute; top: 50%;left: 0; right: 0;margin-top: -9px;}
.symbol_search_results {
    position: absolute;
    background: #333;
    color: white;
    z-index: 1000;
    right: 0;
    border-collapse: collapse;
    font-size: 12px;
    border-bottom-left-radius: 2px;
    cursor: pointer;
}

.symbol_search_results b {
    font-weight: bold;
}

.symbol_search_results td:nth-of-type(2) {
    padding-left: 10px;
    max-width: 200px;
}

.symbol_search_results td {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 3px;
}

.symbol_search_results .highlighted{
    color: black;
    background: white;
}



@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}

@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}

@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}


.modal.map { max-width: 900px; }
.map .outer { overflow: hidden; height: 100vh; background: #fff; }
.map .inner { height: calc(100vh - 80px); }
.map .header { background: #9D1C20 url(../assets/ceo.ca.png) center center no-repeat; background-size: auto 20px; color: #fff; line-height: 40px; height: 40px; text-align: left; padding-left: 10px; }
.map .sub-header { background: #fefefe; color: #444; line-height: 40px; height: 40px; text-align: center; padding-left: 10px; font-size: 16px; font-family: "PT Sans", sans-serif; }

.map .gm-style-iw { text-align: left; }
.map .gm-style-iw h2 { margin: 2px 0; padding: 0; font-size: 16px; line-height: 22px; color: #444; }
.map .gm-style-iw a { text-decoration: underline; font-weight: bold; }
.map .gm-style-iw a:hover { color: #f00; border: none; }
.map .gm-style-iw a.small {  font-weight: normal; color: #666; font-size: 10px;}
/* .map .gm-style-iw + div { display: none; } */
.map .gm-style-iw img { max-height: 40px; max-width: 100px; margin-right: 10px; }
.map .gm-style-iw .details { margin: 10px 0; font-size: 12px; }
.map .gm-style-iw label { display: inline; color: #888; }

.share-button:hover { text-decoration: none; }
.share-button .icon-facebook2 {
    color: #3b5998 !important;
}
.share-button .icon-twitter2 {
    color: #00acee !important;
}
.share-button .icon-linkedin {
    color: #0077b5 !important;
}
.share-button .icon-mail {
    color: #555 !important;
}
.share-button .icon-link {
    color: #555 !important;
}

.autocomplete-results { box-shadow: 0 3px 7px rgba(0, 0, 0, 0.7); }

.settings-switch { line-height: 30px; padding: 0 10px; margin: 0 0 3px 0; background: rgba(20, 0, 0, 1); border-radius: 2px;  display: inline-block; cursor: pointer; }
.settings-switch:hover { background: #fff; color: #333; }
.settings-switch:active { background: #aaa; color: #333; }

#mod-tools-ban-modal button {
    width: auto;
    padding: 0 10px 0 10px;
}

#short-positions-modal, #newsedi-modal { max-width: 1215px; height: 100%; max-height: calc(100vh - 20px); text-align: left; }
#short-positions-modal .outer, #newsedi-modal .outer { height: 100%; overflow: hidden; }
#newsedi-modal .outer .inner { height: 100%; }

#short-positions-modal .outer .inner { height: calc(100% - 100px); }
#short-positions-modal .inner .scroll { overflow-x: scroll !important; }

#short-positions-modal { box-sizing: border-box; padding: 0; font-family: 'PT Sans', sans-serif; }
#newsedi-container { width: calc(100% + 60px); height: 100%; margin: -30px 0 -30px -30px; box-sizing: border-box; padding: 0; font-family: 'PT Sans', sans-serif; position: relative; overflow: hidden; }
#newsedi-top-bar { width: 100%; height: 50px; background: white; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); z-index: 10; position: absolute; }
#newsedi-top-bar .newsedi-tab { width: auto; line-height: 50px; height: 50px; padding: 0 20px; margin: 0; display: inline-block; box-sizing: border-box; font-weight: 300; font-size: 14px; border-right: 1px solid #f2f2f2; color: #999999; float: left; }
#newsedi-top-bar .newsedi-tab:hover { background-color: #f9f9f9; }
#newsedi-top-bar .newsedi-tab.on { color: #9D1C20; }
#newsedi-content { width: 100%; height: 100%; margin-top: 50px; padding: 10px 30px 120px 30px; box-sizing: border-box; overflow-y: scroll; z-index: 0; position: absolute; }

#short-positions-modal { margin: 0 0 0 0; max-width: 800px; }

#short-positions-modal label, #newsedi-content .label { font-size: 14px; }
#short-positions-modal input, #short-positions-modal select, #newsedi-filter input { width: calc(100% - 20px); height: 30px; font-size: 14px; box-shadow: none; text-indent: 0px; line-height: 30px; }
#short-positions-modal input, #short-positions-modal select { width: 200px; padding-left: 7px }
#short-positions-modal input[type=submit] { margin: 10px 0px 10px 0px;}

#short-positions-modal form { display: inline-block; box-sizing: border-box; width: calc(50% - 20px); min-width: 220px }
#short-positions-modal table { width: 100%; font-size: 12px; }

#newsedi-container .newsedi-filter-query-x:hover { color: red; cursor: pointer; }
#newsedi-container #newsedi-filter-insider-suggestions, #newsedi-container #newsedi-filter-company-suggestions, #newsedi-container #newsedi-filter-insider-suggestions, { position: absolute; margin-top: 39px; width: calc((100% - 60px - 20px) / 3); border-radius: 3px; border: 1px solid #cccccc; z-index: 100; background: white; display: none; box-sizing: border-box; }

#newsedi-container .newsedi-filter-suggestion { width: 100%; height: 40px; border-bottom: 1px solid #cccccc; box-sizing: border-box; padding: 10px; white-space: nowrap; overflow: hidden; }

#newsedi-results-container { clear: both; font-size: 12px; overflow: auto; }
#newsedi-container .filter-box { position: relative; max-width: 250px; margin: 0 10px; float: left; }
#newsedi-container .newsedi-filter-suggestions { position: absolute; top: 100%; left: 0; width: 100%; background: #f8f8f8; }
#newsedi-container .newsedi-filter-query-container { background: #fff; padding-left: 10px; }

#newsedi-container .relationship { font-size: 10px; max-width: 150px;}

#short-positions-modal .bought, #newsedi-container .bought { color: #0a0; font-weight: bold; }
#short-positions-modal .sold, #newsedi-container .sold { color: #a00; font-weight: bold; }

#short-positions-modal table, #newsedi-container table { margin-top: 10px; }
#short-positions-modal tr.today td, #newsedi-container tr.today td { background: #fff; }
#short-positions-modal th, #newsedi-container th { color: #666; background: #f3f3f3; vertical-align: top; padding: 5px; }
#short-positions-modal td, #newsedi-container td { background: #f8f8f8; vertical-align: top; padding: 5px; max-width: 200px; }
#newsedi-container .newsedi-show-detail {cursor: pointer; background: #d0d0d0; border-radius: 2px; display: inline-block; padding: 5px 8px; color: #fff; font-weight: bold; }
#newsedi-container .newsedi-show-detail:hover { background: #000; }

#newsedi-filter .newsedi-filter-suggestion:last-child { border-bottom: none; }
#newsedi-filter #newsedi-filter-insider { margin-left: 0; }
#newsedi-container #newsedi-content #newsedi-filter #newsedi-filter-date { margin-right: 0; }
#newsedi-content #newsedi-insider-subscribe { width: 100%; height: 60px; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; box-sizing: border-box; text-align: left; padding: 0px; }
#newsedi-content .newsedi-subscribe { font-size: 13px; color: green; border: 1px solid green; padding: 0 5px; border-radius: 3px; padding: 8px; display: inline-block; text-transform: capitalize; letter-spacing: 0; cursor: pointer; }
#newsedi-content .newsedi-subscribe::after { content: 'Subscribe'; }
#newsedi-content .newsedi-subscribe:hover { background: green; color: white; }
#newsedi-content .newsedi-unsubscribe { font-size: 13px; color: red; padding: 0 5px; border-radius: 3px; border: 1px solid red; padding: 8px; display: inline-block; text-transform: capitalize; letter-spacing: 0; cursor: pointer; }
#newsedi-content .newsedi-unsubscribe::after { content: 'Unsubscribe'; }
#newsedi-content .newsedi-unsubscribe:hover { background: red; color: white; }
#newsedi-content #newsedi-pagination { width: 100%; height: 45px; margin-top: 15px; border-top: 1px solid #cccccc; }
#newsedi-content #newsedi-pagination div { padding: 5px; float: right; width: 30px; height: 30px; border: 1px solid #cccccc; border-radius: 3px; margin-top: 15px; margin-left: 10px; box-sizing: border-box; }
#newsedi-content #newsedi-insiders .loading { display: block; padding: 20px; float: left; color: #555555; }
#newsedi-content #newsedi-insiders .newsedi-insider-item { display: block; box-sizing: border-box; width: 100%; height: 60px; background: white; border: 1px solid #dddddd; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); border-radius: 4px; padding: 10px; margin: 5px; color: #222222; font-weight: 200; text-transform: capitalize; }

#newsedi-content #newsedi-insiders .newsedi-insider-item .newsedi-subscribe, #newsedi-container #newsedi-content #newsedi-insiders .newsedi-insider-item .newsedi-unsubscribe { float: right; }
@media screen and (max-width: 840px) { #newsedi-container #newsedi-content { margin: 50px 0px; padding-left: 0; padding-right: 0; }
  #newsedi-content #newsedi-filter { display: none; } }
#newsedi-detail { position: absolute; top: 50px; bottom: 40px; left: 0; right: 0; background: rgba(0, 0, 0, 0.2); box-sizing: border-box; display: none; cursor: pointer; }
#newsedi-detail #newsedi-filing { display: block; width: calc(100% - 10px); max-width: 600px; height: auto; max-height: calc(100% - 20px); box-sizing: border-box; border-radius: 3px; border: 1px solid #cccccc; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); background: white; overflow-x: hidden; overflow-y: scroll; padding: 30px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: left; }
#newsedi-detail #newsedi-filing .newsedi-filing-row { width: 100%; height: auto; box-sizing: border-box; border-bottom: 1px solid #cccccc; padding: 5px; display: block; }
#newsedi-detail #newsedi-filing .newsedi-filing-row .newsedi-filing-key { font-weight: 600; }
#newsedi-detail #newsedi-filing .newsedi-filing-row .newsedi-filing-value { font-weight: 300; }


.pro-banner { overflow: auto; padding: 0 30px; }
.get-pro, .get-pro:visited { white-space: nowrap; font-family: "PT Sans", sans-serif; font-size: 14px; background: rgba(255, 250, 214, 0.39); color: #444; border-radius: 3px; margin: 0 -10px; padding: 5px 10px 5px 10px; display: block; display: inline-block; cursor: pointer; text-align: left; }
.get-pro:hover { background: #667d82; color: #fff; }
.get-pro .text { display: inline-block; vertical-align: top; padding-top: 2px; }
.get-pro .h1 { font-size: 16px; }
.get-pro .h2 { font-size: 14px; }
.get-pro .icon { display: inline-block; padding-right: 10px; }
.get-pro .icon img { display: inline-block; height: 40px; width: 60px; }

@media only screen and (max-width: 1300px) {
    #home .channels-list.detailed.narrow .section .list .channel { width: 20%; }
    #home .channels-list.detailed .section .list .channel { width: 33.3%; }
}
@media only screen and (max-width: 1124px) {
    #channels .header:before { display: none; }
    .left-sidebar .header:before { display: none; }

    #center-column.article-mode #current-channel.formatted-channel { background: #f3f3f3; }

    #toggle-right-sidebar { display: block; }
    #header.searching #logo { opacity: 0; }
    .top-bar {right: 35px; width: 50px; overflow: visible; }
    #header.searching .top-bar { width: auto; left: 60px; }
    .left-sidebar, #center-column { top: 80px; }
    #nav { display: block; }
    
    .left-sidebar.closed { display: none; }
    #center-column { left: 0px; right: 0; }
    body.watchlist-open #center-column { right: 226px; }
    body.watchlist-open #nav { padding-right: 226px; }

    .left-sidebar .scroll { padding-bottom: 100px; }
    body.homepage #nav { display: none; }
    body.homepage .left-sidebar, body.homepage #center-column { top: 40px; }
    #current-channel.formatted-channel .channel { display: none; }
    .left-sidebar { box-shadow: none; }
    .left-sidebar { width: 100%; }
    body.watchlist-open .left-sidebar { right: 226px; width: auto; }
    #center-column, #nav { left: 0 !important; }
    #home .discover .articles a { width: calc(50% - 10px); }
}

@media only screen and (max-width: 950px) {
    #home .channels-list.detailed.narrow .section .list .channel { width: 33.3%; }
    #home .channels-list.detailed .section .list .channel { width: 50%; }
    #home .discover .articles a { width: calc(100%); }
    .discover .articles .load-more { line-height: 40px; margin: 0; }
    .discover .thumb { height: 45px; width: 70px; position: relative;}
    .discover .article .details { width: calc(100% - 80px); }
}

@media only screen and (max-width: 770px) {
    #home .tabs { text-align: center; padding: 0 10px; }
    #home .tabs .tab { margin-bottom: 5px; border-radius: 3px; border: 1px solid transparent; }
    #home .tabs .tab.selected { box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); background: #fff; }
}
@media only screen and (max-width: 720px) {
    #home .channels-list.detailed.narrow .channel a { margin: 0; width: calc(100% - 2px); }
    .left-sidebar.fullscreen .widget { max-width: none; }
}
@media only screen and (max-width: 600px) {
    #center-column, #nav { right: 0 !important; padding-right: 0 !important; }
    .left-sidebar { width: 100%; }
    body.watchlist-open .left-sidebar { right: 0; width: auto; }

    #home .channels-list.detailed.narrow .section .list .channel { width: 50%; }
    #home .channels-list.detailed .section .list .channel { width: 100%; }

    #num-users { display: inline-block; line-height: 30px; }

    #channels .main { width: 270px; }

    #channels .channel .delete { visibility: visible; }

    #home .inner { }
    #home .content { margin: 0; }

    #moderator .action.leftpad { padding-left: 10px; }
    #moderator .action.rightpad { padding-right: 10px; }

    .iframe-pop-up { width: 100%; height: 100%; margin: 0; }

    #post .inner { margin: 5px; overflow: show; }
    #post textarea[name='spiel'], #post #name { width: calc(100vw - 90px); margin-bottom: 1px; }
    #my-color { top: 7px; bottom: auto; }

    #current-channel .controls .desc { display: none; }

    #chat .date { color: #999; font-size: 10px; margin-left: 5px; }

    #chat #load-more-below { padding-left: 15px; }

    #ticker .active { width: calc(100% - 30px); overflow-x: scroll; }

    #ticker .mover-buttons .sort {
        display: block;
        margin: 7px 0 0 0;
    }

    .pop-up-share { left: -40px; width: 100%; }

    .modal { top: 10px; bottom: 10px; left:10px; right:10px; -ms-transform:translate(0,0); transform:translate(0,0); -webkit-transform:translate(0,0); box-sizing:border-box; width: auto; overflow: scroll; }
    #login-box{ margin-top:0; position: absolute; top:50%; left:50%; -ms-transform:translate(-50%, -50%); transform:translate(-50%, -50%); -webkit-transform:translate(-50%, -50%);}
    #login-modal input.email, #login-modal input.password, #login-modal button { width: 240px; }

    #edit-profile-modal .modal { top: 50%; margin-top: -50%; bottom: auto; }

    .row { padding-left: 20px; padding-right: 20px; width: 100%; box-sizing: border-box; }
    .row .vote { opacity: 0; }
    .row:hover .vote { opacity: 0; }
    .row .vote.show { opacity: 1; z-index: -1; left: -4px; }
    .row .vote.show .icon-thumbsup { opacity: 0; }
    .emphasis .vote { opacity: 1; left: -30px !important; }
    .emphasis .vote .icon-thumbsup { opacity: 1 !important; }
    .message:hover { box-shadow: none; }
    .row.emphasis { margin-left: 30px; width: calc(100% - 30px); }

    .spiel-actions a .icon { font-size: 20px; width: 20px; height: 20px; padding: 5px; }
    .spiel-actions th, .spiel-actions td { line-height: 25px; }

    #post .outer.enabled { background: #aaa;  }
    #post .upload { position: absolute; bottom: 0; top: auto; right: auto; left: 3px; width: 25px; color: #fff; }
    #post .upload:hover { color: #fff; }

    #post .panel { bottom: 65px; left: auto; right: 30px; }
    #post .panel:after { right: 12px; left: auto; }

    #post .submit { display: block; background: none; color: #fff; position: absolute; bottom: 0px; right: 0px; height: 30px; width: 25px; padding: 0; font-size: 22px; line-height: 30px; }

}
@media only screen and (max-width: 320px){

    .discover .header { display: none; }
    .discover .padding { padding-top: 20px; }

    #channels .pointer { display: none; }
    #channels .header { display: none; }

}



img.disabled-desaturate {
    -webkit-filter: grayscale(1); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%);
    filter: gray; filter: grayscale(100%);
    filter: url(desaturate.svg#greyscale);
}

.embedded-logo a {
    background-size: 80px 16px !important;
    background-position: 5px 8px !important;
}

#invite-users-modal.modal.generic { margin:0; padding: 0; width: calc(100% - 20px); height: calc(100% - 20px); max-width: 600px; max-height: 100%; }
#invite-users-modal.generic .outer { margin:0; padding: 0; height: 100%; overflow: hidden; }
#invite-users-modal.generic .inner { margin:0; padding: 0; height: 100%; }
#inviteusersinner { height: 100%; font-family: 'PT Sans'; }
#inviteusersinner #back-button { margin-top: -54px; margin-left: 0px; width: 40px; height: 40px; padding: 10px; color:white; position: absolute; box-sizing: border-box; cursor: pointer;}
#inviteusersinner .color { margin: 50px 5px; }
#inviteusersinner ul { margin: 0 0 10px 0; padding: 0; list-style: none; display: block; box-sizing: border-box; }
#inviteusersinner li { margin: 0; padding: 13px 10px; display: block; width: 100%; height: 50px; background: white; color:#444444; border-radius: 3px; border-bottom: 1px solid #dddddd; text-align: left; box-sizing: border-box; box-shadow: 0 1px 2px rgba(0,0,0,0.1); cursor: pointer; }
#inviteusersinner li:hover { background:#f2f2f2; border: 1px solid #cccccc; }
#inviteusersinner #invite-menu h3 { margin: 15px 35px 15px 35px; padding: 0; font-size: 13px; font-weight: 300; color:#444444; text-align: left; }
#inviteusersinner #invite-menu h3.no-color { margin: 15px; }
#inviteusersinner #invite-menu li  { width:calc(100% - 20px); margin: 5px 10px; }
#inviteusersinner #invite-menu li .icon  { float:right; margin-right:5px; }
#inviteusersinner #invite-private h3 { margin: 15px 35px 15px 10px; padding: 0; font-size: 13px; font-weight: 300; color:#444444; text-align: left; }
#inviteusersinner #invite-private ul { display:flex; flex-direction: row; flex-wrap: wrap; margin: 0 0 5px 0; }
#inviteusersinner #invite-private li  { width:calc((100% - 40px) / 3); margin: 5px 0px 5px 10px; display:block; font-size:15px; font-family: 'PT Mono', monospace; padding: 15px 10px;}
#inviteusersinner #invite-private li .invite-status { float:right;  color: #999999; font-size:14px; font-family: 'PT Sans'; margin-top:3px;}
#inviteusersinner .input-container { background: white; margin: 0px 10px; padding: 0 10px; height: 50px; width: calc(100% - 20px); border: 1px solid #dddddd; box-shadow: none; border-radius: 0; text-align: left; box-sizing: border-box;}
#inviteusersinner .input-container input { margin: 0px 0px; padding: 0; height: 46px; width: calc(100% - 135px); box-shadow: none; border-radius: 0; font-family: 'PT Mono', monospace; font-size: 16px; text-indent: 5px; }
#inviteusersinner .input-container #invite-new-submit { float: right; font-size: 20px; margin: 14px 4px; color: #bbbbbb; cursor: pointer; }          

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


.modal#pro-manager-modal .inner {
    padding: 0;
    position: relative;
    height: 90vh;
}
.modal#pro-manager-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
}


#settings-modal .inner {
    overflow-x: scroll;
	font-family: "PT Sans", sans-serif;
    max-height: calc(100vh - 120px);
}
#settings-modal .formatted-channel { line-height: 30px; font-family: "PT Mono", monospace; }
#settings-modal .formatted-channel .channel { margin: 0 10px 0 0; cursor: pointer; max-width: 170px; text-overflow: ellipsis; }

#settings-modal td {
    vertical-align: top;
    padding: 0;
    white-space: nowrap;
}
#settings-modal td.channel {
    text-align: left;
}
#settings-modal .icon-lock { width: 8px; display: inline-block; }
#settings-modal th{
	padding-bottom: 10px;
    text-align: left;
}
#settings-modal table.general th label { font-weight: bold; font-size: 15px; }
#settings-modal table.general th { text-align: right; font-weight: normal; font-size: 13px; padding-right: 15px; }
#settings-modal table.general td, #settings-modal table.general th { padding-bottom: 10px; }
#settings-modal h3 { border-bottom: 2px solid #888; color: #888; }

#settings-modal select { line-height: 25px; margin-right: 15px; cursor: pointer; width: 120px; text-indent: 0; font-size: 14px; padding: 0 10px; text-transform: capitalize; }

#settings-modal .notification-status-on {
	color: #0a0;
}

#settings-modal .notification-status-off {
	color: #9D1C20;
}

#settings-modal #notifications-button.enable {
    border: 1px solid #0a0;
	background-color: #efe;
    color: #080;
}
#settings-modal #notifications-button.disable {
    border: 1px solid #a00;
	background-color: #fee;
    color: #800;
}

#settings-modal #notifications-button.disable:hover {
	background-color: #fff;
    color: #a33;
}
#settings-modal #notifications-button.enable:hover {
	background-color: #fff;
    color: #3a3;
}

#settings-modal .settings-switch { border: 1px solid #333; background: #fff; color: #333; }
#settings-modal .settings-switch:hover { background: #333; color: #fff; }


