<commit_before>body,
html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#css-loading {
    display: none !important; /* We are now loaded, by definition. */
}

body {
    font-family: 'Humbug', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Common background color */
body,
#tab_bar_underpadding,
.compose-content {
    background-color: #ffffff;
   -webkit-transition: background-color 200ms linear;
   -moz-transition: background-color 200ms linear;
   -o-transition: background-color 200ms linear;
   -ms-transition: background-color 200ms linear;
   transition: background-color 200ms linear;
}

input,
button,
select,
textarea {
    font-family: 'Humbug', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: normal;
}

blockquote p {
    font-weight: normal;
}

a {
    cursor: pointer;
}

.ztable_comp_col1 {
    width: 10px;
}

.header {
    position: fixed;
    z-index: 101;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #dadada;
    height: 40px;
}

.app {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    z-index: 99;
}

.app-main,
.header-main {
    width: 100%;
    max-width: 1400px;
    min-width: 950px;
    margin: 0px auto;
    padding: 0px;
    position: relative;
}

.app-main {
    height: 100%;
    min-height: 100%;
}

.fixed-app {
    width: 100%;
    position: fixed;
    z-index: 98;
    left: 0px;
}

.column-left,
.column-right {
    width: 250px;
    max-width: 250px;
}

.column-left {
    position: absolute;
    left: 0px;
    top: 0px;
}

.column-right {
    position: absolute;
    right: 0px;
    top: 0px;
}

.app-main .column-left .left-sidebar,
.app-main .column-right .right-sidebar {
    position: fixed;
    margin-top: 50px;
    z-index:100;
}

.app-main .column-left .left-sidebar {
    width: 242px;
    padding-left: 0px;
}

.app-main .column-right .right-sidebar {
    padding-left: 15px;
    width: 235px;
}

.app-main .column-middle {
    min-height: 100%;
    background-color: #ffffff;
}

.column-middle {
    margin-right: 250px;
    margin-left: 250px;
    position: relative;
}

textarea,
input {
    font-family: 'Humbug', Helvetica, Arial, sans-serif;
}


/* Override Bootstrap's fixed sizes for various elements */

textarea,
label {
    font-size:   inherit;
    line-height: inherit;
}

/* List of text-like input types taken from Bootstrap */
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
{
    font-size: inherit;
    height:    1.4em;
}

li,
.table th,
.table td {
    line-height: inherit;
}

.btn {
    font-size:  inherit;
    height:     auto;
    line-height: 100%;
}

.btn-large {
    font-size: 115%;
}

.header-main .logo {
    display: inline-block;
    font-size: 120%;
    font-weight: 900;
    text-shadow: none;
    color: #ffffff;
    font-variant: small-caps;
    letter-spacing: 2px;
    line-height: 18px;
    text-decoration: none;
    position: relative;
 }

 .header-main .logoimage {
    height: 40px;
    width: auto;
}

 #user-settings-avatar {
    width: 100px;
    height: 100px;
    margin-top: 10px;
    border-radius: 50px;
 }

/* Classes for hiding and showing controls */

.notdisplayed {
    display: none !important;
}

.notvisible {
    visibility: hidden !important;
    width: 0px !important;
    min-width: 0px !important;
    min-height: 0px !important;
    height: 0px !important;
    overflow: hidden !important;
    position: absolute !important;
}

/* Relative positioning */

.position-relative {
    position: relative;
}


/* Lighter strong */

strong {
    font-weight: 600;
}


/* Inline and block code */

code {
    /* 12/14 em, so bootstrap's default 12 px,
       when body is the default 14 px */
    font-size: 0.857em;
}

.codehilite {
    display: block !important;
    border: none !important;
    background: none !important;
}

pre {
    /* 12/14 em, so bootstrap's default 12 px,
       when body is the default 14 px */
    font-size: 0.857em;
    line-height: inherit;
    white-space: pre;
    overflow-x: auto;
    word-wrap: normal;
    /* Bootstrap's default here is top: 0px, bottom: 10px */
    margin-top: 5px;
    margin-bottom: 5px;
}

pre code {
    white-space: pre;
}

/* Style inline code inside a link
   to look more like a normal link */
a code {
    color:        #08C;
    border-color: #08C;
}

a:hover code {
    color:        #005580;
    border-color: #005580;
}

.preserve_spaces {
    white-space: pre-wrap;
}

.sidebar-nav {
    padding: 0px 10px 20px 0px;
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    /* This is a little hacky, but for whatever reason, span2 in a row-fluid
       doesn't consistently take on the right width when it's in an affix, so
       we need to specify a max size. */
    max-width: 250px;
}

#left-sidebar .brand {
    display: table-row;
}

#left-sidebar #user-list,
#left-sidebar #group-pm-list {
    padding-left: 10px;
}

.edit-profile {
    font-weight: 300;
    font-size: 12px;
}


.logout {
    white-space: nowrap;
}

.new_message_button {
    padding-top: 1.1em;
}

.sidebar-title, .share-the-love-title {
    font-size: 11px;
    font-weight: normal;
    display: inline;
}


#streams_list:hover #streams_inline_cog {
   visibility: visible;
   opacity: 0.5;
}

#streams_list #streams_inline_cog:hover {
   opacity: 1.0;
}

#streams_inline_cog {
    float: right;
    color: #000;
    text-decoration: none;
    visibility: hidden;
    font-size: 13px;
    margin-top: 3px;
}

.tooltip {
    max-width: 10em;
}

#stream_filters {
    overflow-x: hidden;
    overflow-y: visible;
    margin: 2px 0px 2px 0px;
    padding: 0;
    font-weight: normal;
}

#stream-filters-container {
    overflow-y: hidden;
    position: relative;
}

#stream-filters-container .ps-scrollbar-y-rail {
    right: 0px !important;
    width: 4px !important;
}

#stream-filters-container .ps-scrollbar-y {
    width: 4px !important;
}

.narrow-filter {
    display: block;
    position: relative;
}

#stream_filters li:hover {
    background-color: #e2e8dd;
}

#stream_filters li.active-subject-filter:hover {
    background-color: #ccd6cc;
}

#user_presences, #group-pms {
    list-style-position: inside; /* Draw the bullets inside our box */
    margin-left: 0;
    overflow-y:  hidden;
}
#user_presences:hover, #group-pms:hover {
    overflow-y: auto;
}

#user_presences li:hover, #group-pms li:hover {
    background-color: #e2e8dd;
}

#user_presences .user_sidebar_entry:hover, #group-pms .group-pms-sidebar-entry:hover {
    cursor: pointer;
}

#user_presences li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user_sidebar_entry .count, .group-pms-sidebar-entry .count {
    display: none;
}

#user_presences li, #group-pms li {
    list-style-type: none;
}

.user-status-indicator, .group-pm-status-indicator {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid;
    float: left;
    position: relative;
    top: 5px;
    margin-right: 0.5em;
}

.user_active .user-status-indicator, .group-pm-status-indicator {
    background-color: #44C21D;
    border-color: #44C21D;
}

.user_idle .user-status-indicator {
    border-color: #EC7E18;
    background-color: #EC7E18;

    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 50%, rgba(236,126,24,1) 50%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(255,255,255,0)), color-stop(50%,rgba(236,126,24,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ec7e18',GradientType=0 ); /* IE6-9 */
}

.user_offline .user-status-indicator {
    background-color: none;
    border-color: gray;
}

#user_presences a, #group-pms a {
    color: #333;
}

#invite-user-link i {
    text-decoration: none;
    margin-right: 5px;
}

ul.filters {
    list-style-type: none;
}

.message_header_stream a.message_label_clickable,
ul.filters a {
    color: #333;
}

ul.filters hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

li.active-filter,
li.active-subject-filter {
    font-weight: 600;
    background: #ddedf6;
    position: relative;
}

li.hidden-filter {
    visibility: hidden;
    display: none;
}

ul.filters {
    margin-left: 0px;
}

.filter-icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin-right: 5px;
}

#global_filters .global-filter {
    position: relative;
    padding: 1px 10px;
    font-size: 16px;
    font-weight: 300;
}

#global_filters .global-filter i {
    font-size: 14px;
}

.user_sidebar_entry .selectable_sidebar_block,
.group-pms-sidebar-entry .selectable_sidebar_block {
    width: 170px;
    display: block;
}

.group-pm-link {
    margin-left: 17px;
    display: block;
}

.user_sidebar_entry .selectable_sidebar_block {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user_sidebar_entry.user-with-count .selectable_sidebar_block {
    width: 150px;
}

.user_sidebar_entry.user-with-count .count {
    display: inherit;
}

.group-pms-sidebar-entry.group-with-count .selectable_sidebar_block {
    width: 170px;
}

.user_sidebar_entry .count,
.group-pms-sidebar-entry .count,
#global_filters .count,
#stream_filters .count {
    position: absolute;
    right: 20px;
    top: 4px;
    padding: 2px 3px 1px 3px;
    background: #80837f;
    border-radius: 0px;
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.6px;
}

.group-pms-sidebar-entry .count {
    right: 2px;
}

#stream_filters .count,
#global_filters .count {
    margin-left: 0.5em;
    display: none;
}

.user_sidebar_entry .count,
.group-pms-sidebar-entry .count,
#global_filters .count
{
    line-height: 13px;
    top: 3px;
}

.subject_count {
    display: block;
    position: absolute;
    line-height: 1em;
    right: 20px;
    top: 2px;
    padding: 2px 3px 0px 3px;
    background: #a6ada4;
    color: #ffffff;
    border-radius: 1px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.6px;
}

ul.filters i {
    padding-right: 0.25em;
    /* Make filter icons the same width so labels line up. */
    display: inline-block;
    width: 13px;
}

li.actual-dropdown-menu i {
    /* In gear menu, make icons the same width so labels line up. */
    display: inline-block;
    width: 14px;
}

ul.filters .arrow {
    position: absolute;
    right: 0px;
    top: 2px;
    font-size: 0.8em;
    display: none;
}

ul.filters li:hover .arrow {
    display: inline;
    cursor: pointer;
    color: #888;
}

ul.filters li .arrow:hover {
    display: inline;
    cursor: pointer;
    color: #000;
}

ul.filters .topic-sidebar-arrow {
    font-size: 0.7em;
    top: 1px;
    display: none !important;
}

ul.filters li.expanded_subject:hover .topic-sidebar-arrow {
    display: inline !important;
    cursor: pointer;
    color: #888;
}

ul.filters li.expanded_subject .topic-sidebar-arrow:hover {
    display: inline;
    cursor: pointer;
    color: #000;
}

ul.filters li.muted_topic,
ul.filters li.out_of_home_view {
    opacity: 0.25;
}

.message_list {
}

.message_area_padder {
    /* The height of the header and the tabbar plus a small gap */
    margin-top: 68px;
    /* This is needed for the floating recipient bar
     in Firefox only, for some reason; otherwise it gets
     a scrollbar */
    overflow: visible;
}


.message_comp {
    display: none;
    padding: 10px 10px 8px 5px;
}

#compose_buttons {
    text-align: center;
}

td.pointer {
    vertical-align: top;
    padding-top: 10px;
    background-color: #fff;
}

.new_messages {
    background-color: lightblue;
}

.new_messages,
.new_messages_fadeout {
    -webkit-transition: all 3s ease-in-out;
    -moz-transition: all 3s ease-in-out;
    -o-transition: all 3s ease-in-out;
    transition: all 3s ease-in-out;
}

.include-sender .message_edit_notice {
    display: inline-block;
    vertical-align: top;
    line-height: 14px;
    margin-left: 0px;
    position: static;
    padding: 0px;
    width: auto;
}

.message_edit_notice {
    font-size: 10px;
    color: #a1a1a1;
    font-weight: 300;
    line-height: 0px;
    text-align: right;
    width: 45px;
    position: relative;
    right: 11px;
    padding-bottom: 10px;
}

.include-sender .message_edit_notice:before {
    content: "(";
}

.include-sender .message_edit_notice:after {
    content: ")";
}

.include-sender .message_time {
    position: relative;
    left: 2px;
    line-height: 14px;
    vertical-align: top;
    text-align: left;
    width: auto;
    top: -1px;
}

.message_time {
    display: inline-block;
    font-size: 11px;
    color: #aaa;
    vertical-align: middle;
    padding: 1px;
    font-weight: 300;
    position: absolute;
    width: 50px;
    left: -16px;
    line-height: 12px;
    text-align: right;
    top: 5px;
    -webkit-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    -moz-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    -o-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    transition: background-color 2.7s ease-in, color 2.7s ease-in;
}

.message_time.status-time {
    line-height: 14px;
    top: 10px;
}

.message_controls {
    display: inline-block;
    position: absolute;
    top: 2px;
    right: -50px;
}

.include-sender .message_controls {
    top: -2px;
}

.message_data {
    vertical-align: top;
    text-align: left;
    padding: 0px;
    background-color: #fff;
    position: relative;
}

.message_header {
    vertical-align: middle;
    text-align:     left;
    /* We can overflow-y if the font size gets big */
    overflow:       hidden;
    text-overflow:  ellipsis;
    white-space:    nowrap;
    font-weight:    600;
    line-height:    14px;
    position: relative;
    z-index: 0;
}

 .message_list .recipient_row {
    background: #f1f1f1;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 10px;
}

.stream_label {
    display: inline-block;
    padding: 3px 4px 2px 4px;
    font-weight: normal;
    height: 17px;
    line-height: 17px;
    border-top-color: rgba(0, 0, 0, 0);
    border-right-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
    background-color: #e2e2e2;
    border-left-color: #e2e2e2;
    border-width: 0px;
    position: relative;
    text-decoration: none;
}

.stream_label .invite-stream-icon {
    font-size: 12px;
    line-height: 17px;
}

.message_list .stream_label {
    margin-left: 0px;
}

.stream_label:hover {
    color: inherit !important;
    text-decoration: none;
}

.stream_label:after {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width: 0px;
   position: absolute;
   pointer-events: none;
   margin-top: -11px;
   border-style: solid;
   border-width: 11px 0 11px 5px;
   border-color: inherit;
   z-index: 2;
   -moz-transform: scale(.9999);
}

.stream_label:before {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -14px;
   border-style: solid;
   border-width: 14px 0 14px 6px;
   border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ffffff;
   z-index: 1;
   -moz-transform: scale(.9999);
}

.stream_topic {
    display: inline-block;
    padding: 3px 6px 2px 12px;
    margin-left: -5px;
    height: 17px;
    line-height: 17px;
}

.summary_row .message_header{
    padding: 5px 0px 4px 5px;
}

.summary_row .message_header {
    border-radius: 0;
}

.bookend_tr + .summary_row .message_header {
    border-top-right-radius: 3px;
}

.bookend_tr + .summary_row .summary_colorblock {
    border-top-left-radius: 3px;
}

.summary_row.last_message .message_header {
    border-bottom-right-radius: 3px;
    box-shadow: inset 0px 2px 1px -2px #333, inset -2px 0px 1px -2px #333, inset 0px -2px 1px -2px #333;
}

.summary_row.last_message .summary_colorblock {
    border-bottom-left-radius: 3px;
}

.message_header .icon-vector-narrow {
    font-size: 0.6em;
    position: relative;
    top: -1px;
}

.copy-paste-text {
    /* Hide the text that we want copy paste to capture */
    position: absolute;
    text-indent: -99999px;
    float: left;
    width: 0px;
}

.message_header_colorblock {
    border-radius: 3px 0px 0px 0px;
    /* box-shadow: 0px 2px 3px #ccc; */
    box-shadow: inset 0px 2px 1px -2px #333, inset 2px 0px 1px -2px #333 !important;
}

.summary_row_private_message .summary_colorblock {
    background: #000;
}

.messages-expand,
.messages-collapse {
  cursor: pointer;
}

/*
We can't collapse the floating recipient bar yet, so this is
just a temporary hack.
*/
.floating_recipient .messages-collapse {
    display: none;
}

.message_failed .rotating {
    display: inline-block;

    -webkit-animation: rotate 1s infinite linear;
    -moz-animation: rotate 1s infinite linear;
    -ms-animation: rotate 1s infinite linear;
    -o-animation: rotate 1s infinite linear;
    animation: rotate 1s infinite linear;
}

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

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

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

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

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

.compose_table .message_header_colorblock, .compose_table .message_header {
    box-shadow: none;
    background: none;
}

.compose_table .message_header_colorblock {
    border-radius: 3px 0px 0px 3px;
    border-bottom: 0px;
}

.compose_table .message_header_colorblock.message_header_private_message {
    border-radius: 3px 0px 0px 3px;
    border-bottom: 0px;
}

.compose_table .message_header_colorblock.message_header_private_message {
    background: #444;
}

.compose_table .right_part {
    padding: 0px;
}

.compose_table .right_part .icon-vector-narrow {
    font-size: 0.6em;
    position: relative;
}

.compose_table .compose_checkbox_label {
    display: inline-block;
}

.compose_table .pm_recipient {
    position: relative;
    margin-right: 30px;
    height: 25px;
}

.compose_table #private-message .you_text {
    position: absolute;
    height: 25px;
    line-height: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 4em;
    background: #444444;
    color: #ffffff;
}

.compose_table .pm_recipient #private_message_recipient {
    margin-left: 4em;
    border-left: none;
    border-radius: 0px 3px 3px 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 23px;
    line-height: 23px;
}

.compose_table #private-message .right_part {
    padding-right: 4em;
}

.compose_table #compose-lock-icon {
    position: relative;
    width: 0px;
}

.compose_table #compose-lock-icon i {
    position: absolute;
    left: 5px;
    top: 3px;
}

.messagebox-bottom {
    height: 3px;
    background-color: #fff;
    border-radius: 0px 0px 3px 0px;
    /* box-shadow: 0px 2px 2px -1px #ccc; */
    border: 1px solid #c1dbd5;
    border-top: none;
    border-left: none;
}

.messagebox-bottom-colorblock {
    border-radius: 0px 0px 0px 3px;
    /* box-shadow: 0px 2px 2px -1px #ccc; */
    border: 1px solid #c1dbd5;
    border-top: none;
    border-right: none;
}

.floating_recipient .message_header_private_message {
    border: 1px solid #e2e2e2;
    border-bottom: 0px;
    border-left: 0px;
}

.message_header_private_message .message_label_clickable {
    background-color: #444444;
    display: inline-block;
    padding: 3px 4px 2px 4px;
    font-weight: normal;
    font-size: 14px;
    height: 17px;
    line-height: 17px;
}

.compose_table .message_header {
    background: none;
    background-color: #ececec;
    border: none;
    border-radius: 0px;
    box-shadow: none !important;
}

/* Base color backgrounds for messageboxes,
   private messages, mentions, and unread messages */

.compose_table .messagebox {
   box-shadow: none !important;
}

.messagebox {
    background-color: #ffffff;
    position: relative;
}

.private-message .messagebox,
.message_header_private_message .message-header-contents {
    background-color: #feffe0;
}

.message_header_private_message .message-header-contents {
    border-right: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
}

.mention .messagebox-content {
    background-color: #ffe4e0;
}

.messagebox .message_top_line {
    position: relative;
}

.recipient_row .message_row:first-child .unread_marker {
    top: 0px;
}

.unread_marker {
    display: block;
    position: absolute;
    left: 2px;
    top: 0px;
    padding-bottom: 2px;
    opacity: 0;
    z-index: 1;
    height: 100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.unread-marker-fill {
    background: #2b8213;
    width: 3px;
    height: 100%;
    box-shadow: inset 0px -1px 0px 0px #ffffff;
}

.last_message .unread-marker-fill {
    box-shadow: none;
}

.unread .unread_marker {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 1;
}

.unread_marker.slow_fade {
    -webkit-transition: all 2s ease-out;
    -moz-transition: all 2s ease-out;
    -o-transition: all 2s ease-out;
    transition: all 2s ease-out;
}

.unread_marker.fast_fade {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.selected_message .messagebox {
    z-index: 1;
}

.selected_message .messagebox-content {
    box-shadow: inset 0px 0px 0px 2px #4577bc,
                     -1px -1px 0px 0px #4577bc,
                      1px 1px 0px 0px #4577bc,
                     -1px 1px 0px 0px #4577bc,
                      1px -1px 0px 0px #4577bc;
}

.message_sender {
    height: 0px;
    vertical-align: top;
    position: relative;
}

.sender_name {
    color: #333;
    display: inline-block;
    font-weight: 700;
    vertical-align: top;
    line-height: 12px;
    font-size: 14px;
}

.sender-status {
    display: inline-block;
    padding-bottom: 22px;
    vertical-align: top;
    height: 35px;
    line-height: 35px;
    font-size: 13px;
    position: relative;
}

.sender-status .sender_name {
    font-weight: bold;
    position: static;
    vertical-align: top;
    line-height: 35px;
    margin-right: 3px;
    font-size: 13px;
}

.sender_name_hovered .sender_name {
    color: #0088CC;
}

.sender_name_hovered .inline_profile_picture {
    border-color: #0088CC;
}

.actions_hover:hover {
    color: #0088CC;
}

.message_failed,
.message_local {
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
}

.message_failed {
    font-weight: bold;
    color: red;
    padding: 0px 1px 0px 1px;
}

.message_failed i {
    margin-left: 2px;
    margin-right: 2px;
}

a.message_label_clickable:hover {
    cursor: pointer;
    color: #08C;
}

.on_hover_topic_edit {
    opacity: .1;
}

.always_visible_topic_edit {
    opacity: .7;
}

.on_hover_topic_edit:hover,.always_visible_topic_edit:hover {
    cursor: pointer;
    opacity: 1.0;
}

.edit_content {
    opacity: .4;
    width: 0px;
    height: 0px;
    display: inline-block;
    position: relative;
}

.edit_content i {
    position: absolute;
    display: block;
    background: #ffffff;
    top: -0.9em;
    left: 0.4em;
    border-radius: 1px;
    padding: 1px 2px;
    border: 1px dotted #ccc;
}

.edit_content:hover {
    cursor: pointer;
    opacity: 1.0;
}

/* Brighten text because of the dark background */
.dark_background a,
.dark_background a:hover,
a.dark_background:hover,
.dark_background {
    color: #ffffff !important;
}

.dark_background a.message_label_clickable:hover {
    color: #3BF;
}

.message_top_line {
    position: relative;
}

.include-sender .message_top_line {
    margin-top: 6px;
}

.message-right {
    float: right;
}

.small {
    font-size: 80%;
}

.tiny {
    font-size: 60%;
}

.actions_hovered .message_time,
.actions_hovered .info {
    color: #0088CC;
    cursor: pointer;
}

.message_hovered .info,
.message_hovered .empty-star {
    visibility: visible;
}

.actions_hovered .actions_link {
    text-decoration: underline;
}

div.message_table {
    border-collapse: separate;
    margin-left: auto;
    display: none;
    width: 100%;
}

.message_row {
    position: relative;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
}

.message_row.selected_message {
    z-index: 2;
}

table.compose_table {
    table-layout: fixed;
    margin-left: auto;
    width: 100%;
}

div.focused_table {
    display: block;
}

.include-sender .message_content {
    margin-top: -16px;
}

.message_content {
    line-height: 17px;
    font-size: 14px;
    padding-left: 46px;
    display: block;
    position: relative;
}
.message_edit_content {
    line-height: 18px;
}

.topic_edit {
    display: none;
    line-height: 22px;
}

#message_edit_topic {
    height: 20px;
    margin-top: -1px;
    line-height: 0px;
    font-size: 14px;
    display: inline-block;
    padding: 0px;
    border-radius: 0px;
    border: 1px solid #afbfca;
    padding-left: 3px;
    padding-right: 3px;
}

#message_edit_topic:focus {
    box-shadow: none;
    outline: none;
    border-color: #727d84;
}

.message_edit_topic_propagate{
    display: inline-block;
    width: 400px;
}

.message_content.condensed {
    max-height: 8.5em;
    overflow: hidden;
}
.message_content.collapsed {
    max-height: 0em;
    overflow: hidden;
}

.message_length_controller {
    display: none;
    text-align: center;
    color: #0088CC;

    /* to match .message_content */
    margin-left: 5px;
    margin-right: 35px;
}

.message_length_controller:hover {
    text-decoration: underline;
}

div.message_content table {
    padding-right: 10px;
    margin: 5px 5px 5px 5px;
    width: 99%;
}

div.message_content thead {
    background-color: #EFEFEF;
}

div.message_content div {
    display: table-row;
    vertical-align: inherit;
}

div.message_content div {
    border: 1px solid #cccccc;
    padding: 4px;
    text-align: left;
}

div.message_content div {
    border: 1px solid #cccccc;
    padding: 4px;
}

blockquote {
    margin-bottom: 6px;
}

blockquote p {
    line-height: inherit;
    font-size:   inherit;
}

.messagebox {
    word-wrap: break-word;
    cursor: pointer;
    vertical-align: top;
    border: none;
}

.messagebox-content {
    padding: 4px 55px 1px 10px;
}

.last_message .messagebox-content {
    padding-bottom: 1px;
}

.messagebox p {
    margin: 3px 0px 3px 0px;
}

.messagebox blockquote {
    padding-left: 5px;
    margin-left: 10px;
    border-left-color: #ddd;
}

#send_message_form {
    margin: 0px;
}

#send_message_form .messagebox {
    /* normally 5px 14px; pull in the right and bottom a bit */
    cursor: default;
    padding: 0px;
    background: none;
    box-shadow: none;
    border: none;
}

#enter-sends-label {
    margin-bottom: 0px;
    margin-top: 2px;
}

#send_message_form .message_content {
    margin-right: 0px;
}

#compose-send-button {
    height: 31px; /* Same as height of compose textarea. */
}

#below-compose-content {
    width: 100%;
    margin-top: 6px;
}

.bookend {
    padding-top: 10px;
    background-color: transparent;
}

.prev_is_same_sender.messagebox {
    padding-top: 0px;
}

.prev_is_same_sender.message_data {
    padding-top: 0px;
}

.next_is_same_sender {
    border-bottom: 0px;
    padding-bottom: 0px;
}

.profile_picture {
    display: block;
    float: right;
    margin-top: 5px;
    max-height: 15px;
    width:  15px;
    height: 15px;
    cursor: pointer;
    border-radius: 30px;
   -moz-box-shadow:     1px 1px 1px #777 inset;
   -webkit-box-shadow:  1px 1px 1px #777 inset;
    box-shadow:         1px 1px 1px #777 inset;
    background-size: 15px 15px;
}

.inline_profile_picture {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 11px;
    background-size: 35px 35px;
    vertical-align: top;
}

#compose {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    width: 100%;
}

#compose-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.compose-content {
    border-top: 1px solid #dadada;
    border-left: 1px solid #dadada;
    border-right: 1px solid #dadada;
    padding: 8px 15px 8px 10px;
    margin-left: 250px;
    margin-right: 250px;
    position: relative;
}

#compose_close {
    display: none;
    position: absolute;
    right: -4px;
    top: 5px;
}

#compose_invite_users {
    /* Don't overlap into the compose_close × */
    margin-right: 10px;
}

.compose_invite_user {
    padding: 4px 0px 4px 0px;
}

.compose_invite_close {
    display: inline;
    margin-top: 4px;

    width: 10px;
}

.compose_invite_user_controls {
    float: right;
}

.compose_invite_link {
    height: 20px;
    margin-bottom: 3px;
}

.compose_invite_user_error {
    margin-right: 10px;

    padding: 3px 8px 3px 8px;
}

/* Like .nav-tabs > li > a */
#send-status {
    width: 90%;
    padding: 8px 14px 8px 14px;
    line-height: 20px;
    display: none;
}

/* Like .alert .close */
.send-status-close {
    font-size:   17px;
    font-weight: bold;
    color:       black;
    text-shadow: 0 1px 0 white;
    opacity:     .2;
    filter:      alpha(opacity=20);
    float:       right;
}

.send-status-close:hover {
    cursor:  pointer;
    opacity: .4;
    filter:  alpha(opacity=40);
}

#out-of-view-notification {
    background: #9bff8b;
    background: rgba(163,211,147,0.95);
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-radius: 0px 0px 2px 2px;
    font-weight: 400;
    font-size: 12px;
    display: inline-block;
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.5);
    position: relative;
    top: -8px;
    width: 100%;
    padding-right: 5px;
}

.compose-notifications-content {
    padding: 4px 10px 4px 10px;
    text-align: center;
}

.composition-area {
    position: relative;
}

#out-of-view-notification .close {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size:   17px;
    font-weight: bold;
    color:       black;
    text-shadow: 0 1px 0 white;
    opacity:     .2;
    filter:      alpha(opacity=20);
}

.home-error-bar {
    margin-top: 5px;
    display: none;
}

#connection-error {
    font-size: 13px;
}

.streamname {
    font-weight: bold;
}

.home-error-bar .alert {
    margin-bottom: auto;
}

textarea.new_message_textarea {
    display: table-cell;
    width: 99%;
    height: 1.5em;
    max-height: 22em;
    margin-bottom: 0px;
    resize: none;
    margin-top: 6px;
}

input.recipient_box {
    margin: 0px;
    height: 1.1em;
    border-radius: 3px;
}

#stream.recipient_box {
    width: 20%;
    border-radius: 0px 3px 3px 0px;
    border-left: 0px;
    min-width: 120px;
}

#subject.recipient_box {
    width: 25%;
    min-width: 140px;
}

#stream.recipient_box.lock-padding {
    padding-left: 18px;
}

#private_message_recipient.recipient_box {
    width: 100%;
}

#left-of-compose {
    vertical-align: top;
    padding-top: 3px;
}

#send_controls {
    float: right;
    position: relative;
    right: -7px;
    font-size: 0.8em;
    height: 2.2em;
}

#send_controls .compose_checkbox_label {
    margin-right: 2px;
}

#send_controls .compose_checkbox_label input {
    position: relative;
    top: -3px;
}

#send_controls #compose-send-button {
    font-weight: 600;
    height: 2.2em;
    background-image: -moz-linear-gradient(top, rgba(14,70,67,1) 0%, rgba(14,83,68,1) 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,70,67,1)), color-stop(100%,rgba(14,83,68,1))); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* IE10+ */
    background-image: linear-gradient(to bottom, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* W3C */
}

#send_controls #compose-send-button:hover {
    font-weight: 600;
    height: 2.2em;
    background: #fff;
    background-image: -moz-linear-gradient(top, rgba(14,70,67,0.6) 0%, rgba(14,83,68,0.6) 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,70,67,0.6)), color-stop(100%,rgba(14,83,68,1))); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* IE10+ */
    background-image: linear-gradient(to bottom, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* W3C */
}


#navbar-spacer {
    /* A spacer that is exactly a navbar size, so that all content
    gets pushed unerneath it */
    width: 100%;
    height: 40px;
}

.brand.skinny-user-gravatar {
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
}

#searchbox {
    width: 100%;
    height: 40px;
}

#tab_bar {
    z-index: 2;
    padding-top: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    float:left;
    letter-spacing: normal;
    height: 40px;
}

#tab_list {
    list-style: none;
    margin: 0px 0px 0px 0px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    border: none;
    white-space: nowrap;
}

#tab_list li {
   white-space: nowrap;
   list-style-type: none;
   display: inline-block;
   position: relative;
   font-weight: 300;
   background-color: #f9f9f9;
   margin: 0px;
   padding: 0px;
   text-overflow: ellipsis;
   height: 40px;
}

#tab_list li.inactive {
   border-top-color: rgba(0, 0, 0, 0);
   border-right-color: rgba(0, 0, 0, 0);
   border-bottom-color: rgba(0, 0, 0, 0);
   background-color: #e2e2e2;
   border-left-color: #e2e2e2;
   border-width: 0px;
}

#tab_list li.private_message a {
   color: #ffffff;
}

#tab_list li.inactive:after {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -25px;
   border-style: solid;
   border-width: 25px 0 25px 12px;
   border-color: inherit;
   z-index: 2;
   -moz-transform: scale(.9999);
}

#tab_list li.inactive:before {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -28px;
   border-style: solid;
   border-width: 28px 0 28px 14px;
   border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ffffff;
   z-index: 1;
   -moz-transform: scale(.9999);
}

#tab_list a {
    text-decoration: none;
    color: inherit;
    border-color: inherit;
    width: 100%;
    display: inline-block;
    padding: 0px 8px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tab_list li.active {
    padding-left: 17px;
    padding-right: 10px;
    background-color: #e2e2e2;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tab_list li.active.root {
    padding-left: 10px;
}

#tab_list li.private_message {
   border-top-color: rgba(0, 0, 0, 0);
   border-right-color: rgba(0, 0, 0, 0);
   border-bottom-color: rgba(0, 0, 0, 0);
   background-color: #111111;
   border-left-color: #111111;
   color: #ffffff;
   border-width: 0px;
}

#tab_list .root {
    border-color: #e2e2e2;
    background-color: #e2e2e2;
    margin: 0px;
}

#tab_list li.stream a,
#tab_list li.private_message a {
    padding-left: 17px;
    padding-right: 4px;
}

#tab_list li.root a {
    color: #858585;
    padding-right: 2px;
}


#tab_list .root a:hover {
    color: #000000;
}

#tab_bar_underpadding {
    position: absolute;
    width: 100%;
    top: 40px;
    height: 20px;
    z-index:99;
}


#navbar-buttons {
    white-space: nowrap;
    margin-left: 15px;
    margin-top: 7px;
    display: inline-block;
    float: right;
}

#navbar-buttons ul.nav {
    margin: 0px;
}

#streamlist-toggle {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    vertical-align: middle;
    border-right: 2px solid #afbfca;
}

#streamlist-toggle-button {
    text-decoration: none;
    color: #858585;
    display: block;
    position: relative;
    background-color: #e4e4e4;
    width: 40px;
    height: 19px;
    padding-top: 12px;
    padding-bottom: 9px;
}

#streamlist-toggle-unreadcount, #userlist-toggle-unreadcount {
    position: absolute;
    display: none;
    height: 12px;
    min-width: 12px;
    line-height: 12px;
    background: #670000;
    top: 4px;
    right: 4px;
    border: 1px solid #eee;
    box-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1px 1px 1px 1px;
    font-size: 9px;
    z-index: 15;
    font-weight: normal;
    color: #ffffff;
}

#userlist-toggle {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: center;
    vertical-align: middle;
    border-left: 2px solid #afbfca;
}

#userlist-toggle-button {
    text-decoration: none;
    background-color: #e4e4e4;
    color: #858585;
    display: block;
    width: 40px;
    height: 19px;
    padding-top: 12px;
    padding-bottom: 9px;
}

.nav .dropdown-menu {
    left: auto;
    right: 0px;
    top: 30px;
    min-width: 180px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.nav .dropdown-menu:after {
    position: absolute;
    width: 0px;
    height: 0px;
    top: -7px;
    right: 10px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #aaa;
    border-left: 7px solid transparent;
    content: '';
    z-index: 10;
}


#navbar-buttons ul.nav .dropdown-toggle,
#navbar-buttons ul.nav li.active .dropdown-toggle {
    font-size: 20px;
    color: #858585;
    text-shadow: none;
    padding-left: 0px !important;
    background-color: inherit;
    box-shadow: inherit;
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    display: block;
    position: absolute;
    right: 0px;
    top: 3px;
}

#navbar-buttons ul.nav .dropdown-toggle,
#navbar-buttons ul.nav li.active .dropdown-toggle:hover {
    color: #111111;
}

#navbar-buttons ul.nav li.dropdown.open .dropdown-toggle {
    background: none;
    color: #111111;
    text-shadow: none;
}

#searchbox .input-append {
    position: relative;
    width: 100%;
}

#searchbox .input-append .icon-vector-search {
    padding: 0px;
    font-size: 20px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 5;
}

.navbar-search {
    margin-top: 0px;
    width: auto;
    float: none;
    overflow: hidden;
    border-right: 1px solid #dadada;
    height: 40px;
}

#search_query {
    width: 100%;
    font-size: 18px;
    height: 40px;
    padding: 0px;
    color: #222;
    box-shadow: inset 2px 0px 0px 0px #afbfca;
    padding-left: 35px;
    padding-right: 20px;
    background: rgb(255,255,255); /* Old browsers */
    border: none;
    border-radius: 0px;
    font-family: 'Humbug';
    font-weight: 300;
    line-height: 27px;
}


#search_query:focus {
     box-shadow: inset 0px 0px 0px 2px #afbfca;
}

#searchbox .search_button,
#searchbox .search_button[disabled]:hover {
    position: absolute;
    right: 2px;
    top: 6px;
    background: none;
    border-radius: 0px;
    border: none;
    height: 30px;
    text-align: center;
    padding: 4px;
    color: #ccc;
    font-size:18px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-shadow: none;
    z-index:5;
}

#searchbox .search_button:hover {
    color: #000;
}

#searchbox .search_button[disabled] {
    visibility: hidden;
}

.highlight {
    background-color: #FCEA81;
}

.highlight_text_inserted {
    background-color: #E6EDFF;
}

.highlight_text_deleted {
    background-color: #FFE6E6;
}

.highlight_text_replaced {
    background-color: #F5E6FF;
}

#search_arrows {
    margin-bottom: 5px;

    /* Bootstrap wants font-size: 0 to eliminate space between
       the buttons.  We need to inherit the font size, so we
       remove the button gap by adjusting "letter" spacing. */
    font-size: 90%;
    letter-spacing: -.3em;
}

#search_arrows input {
    /* Chrome and Firefox do this already via default browser stylesheet;
       but Opera needs this to avoid smushed letters in the search box. */
    letter-spacing: normal;
}

div.floating_recipient {
    border-collapse: separate;
    width: 100%;
    position: relative;
}

#floating_recipient_bar {
    top: 50px;
}

.message-header-contents {
    background: #e2e2e2;
}

.recipient_row.sticky {
    margin-top: 22px;
}

.sticky .message_header {
    position: fixed;
    z-index: 99;
    top: 50px;
    width: 100%;
    left: 0px;
}

.sticky .message-header-wrapper {
    max-width: 1400px;
    margin: auto;
}

.sticky .message-header-contents {
    margin-left: 250px;
    margin-right: 251px;
}

#bottom_whitespace {
  display: block;
  height: 300px;
 -webkit-touch-callout: none;
 -webkit-user-select: none;
 -khtml-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
  user-select: none;
}

#home-error {
    display: none;
}

.loading_indicator_spinner {
    /* If you change these, make sure to adjust the constants in
     * make_loading_indicator as well */
    height: 38px;
    width: 38px;
    float: left;
}

.loading_indicator_text {
    /* If you change these, make sure to adjust the constants in
     * make_loading_indicator as well */
    margin-left: 20px;
    font-size:   33px;
    font-weight: bold;
    line-height: 38px;
}

.settings-section .loading_indicator_text {
    font-size: 12px;
    font-weight: 400;
    vertical-align: middle;
    line-height: 20px;
    display: inline-block;
    float: none;
}

.settings-section .loading_indicator_spinner {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    display: inline-block;
}


.twitter-image, .message_inline_image {
    margin-bottom: 5px;
    margin-left: 5px;
    height: 100px;
    display: block !important;
    border: none !important;
}

.twitter-image img, .message_inline_image img {
    height: auto;
    max-height: 100%;
}

.popover {
    width: auto;
}

.popover-title {
    overflow-x: hidden;
    text-overflow: ellipsis;
    text-align: center;

    font-size:   inherit;
    line-height: inherit;
}

.popover-title:empty {
    display: none;
}

.popover_info {
    text-align: center;
}

.popover hr {
    margin-top:    5px;
    margin-bottom: 5px;
}

.popover-left, .popover-right {
    max-width: 175px;
}

.hotkeys_table {
    width: 245px;
    margin-right: 10px;
    font-size: 90%;
    display: inline-block;
    vertical-align: top;
}

.hotkeys_table th {
    width: 245px;
}

.hotkeys_table .hotkey {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    text-align: right;
    font-weight: bold;
    font-size: 90%;
    white-space: nowrap;
}

.operator_value {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    color: maroon;
}
.operator {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

#loading_more_messages_indicator {
    margin: 10px;
}

#loading_more_messages_indicator_box_container {
    position: absolute;
    left: 50%;
}

#loading_more_messages_indicator_box {
    position: relative;
    left: -50%;
    top: 25px;
    border: 1px rgb(100, 100, 100) solid;
    background-color: rgba(230, 230, 230, 0.8);
    z-index: 1;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

#page_loading_indicator {
    margin: 10px auto;
}

#subs_page_loading_indicator {
    margin: 10px auto;
}

.subscriber_list_loading_indicator {
    margin: 10px auto;
}

.table-striped thead th {
    background-color: #444;
    color: white;
}


#fmt_help_table {
    table-layout: fixed;
}

.subscription-email-hint-image {
    float: right;
    width: 80px;
    padding-right: 60px;
}

.subscription_header.collapsed {
    background-color: inherit;
}

.subscription_settings,
.subscription_header,
.subscription_header.active {
    background-color: #fefefe;
}

.color_swatch {
    display: inline-block;
    height: 18px;
    width: 18px;
    border-radius: 36px;
    padding: 0;
    margin: 0 0 0 10px;
    vertical-align: middle;
}

.subscriptions {
    margin-top: 55px;
    padding-left: 15px;
}

#subscriptions_table .subscription_block {
    padding-left: 0.5em;
    vertical-align: middle;
    display: inline-block;
}

#stream_filters .subscription_block {
    padding-bottom: 3px;
    line-height: 12px;
    padding-top: 4px;
    margin-right: 15px;
    padding-left: 33px;
}

#stream_filters .subscription_block.stream-with-count {
    margin-right: 38px;
}

.subscription_name,
.subscription_description {
    line-height: 1em;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stream_filters .subscription_name {
    display: inline-block;
}

.subscription-name-row,
.subscription-description-row {
    line-height: 47px;
}

.subscription-description-row {
    font-weight: 300;
}

#add_new_subscription {
    text-align: center;
}

.subject-name {
    display: block;
    line-height: 1.3em;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscription_header {
    min-height: 47px;
}

.subscription_header .subscription_name {
    width: auto;
}

.subscription_header .subscription_lock {
    font-size: 23px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    margin-right: 1px;
}

.subscription_settings {
    width: 100%;
    position: relative;
    top: -1px;
}

.subscription_settings form {
    text-align: center;
}

.subscription_settings ul {
    list-style-type: none;
}

.subscription-type {
    text-align: center;
    padding: 5px;
    width: 80%;
    margin: auto;
    font-weight: 300;
}

.stream-email {
    width: 80%;
    margin: auto;
    margin-top: 5px;
    text-align: center;
    padding: 5px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}


.subscription-control-label {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    padding: 5px;
}

.sp-replacer,
.sp-preview,
.sp-preview-inner {
    border-radius: 20px;
}

.sp-preview {
    width: 20px;
    border: none;
    box-shadow: 0px 0px 1px rgba(0,0,0,1);
}

.sp-replacer {
    margin-right: 12px;
    border: none;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.8);
}

.subscription-config {
    width: 270px;<commit_msg>Squarify swatches on streams page.<commit_after>body,
html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

#css-loading {
    display: none !important; /* We are now loaded, by definition. */
}

body {
    font-family: 'Humbug', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Common background color */
body,
#tab_bar_underpadding,
.compose-content {
    background-color: #ffffff;
   -webkit-transition: background-color 200ms linear;
   -moz-transition: background-color 200ms linear;
   -o-transition: background-color 200ms linear;
   -ms-transition: background-color 200ms linear;
   transition: background-color 200ms linear;
}

input,
button,
select,
textarea {
    font-family: 'Humbug', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: normal;
}

blockquote p {
    font-weight: normal;
}

a {
    cursor: pointer;
}

.ztable_comp_col1 {
    width: 10px;
}

.header {
    position: fixed;
    z-index: 101;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #dadada;
    height: 40px;
}

.app {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    z-index: 99;
}

.app-main,
.header-main {
    width: 100%;
    max-width: 1400px;
    min-width: 950px;
    margin: 0px auto;
    padding: 0px;
    position: relative;
}

.app-main {
    height: 100%;
    min-height: 100%;
}

.fixed-app {
    width: 100%;
    position: fixed;
    z-index: 98;
    left: 0px;
}

.column-left,
.column-right {
    width: 250px;
    max-width: 250px;
}

.column-left {
    position: absolute;
    left: 0px;
    top: 0px;
}

.column-right {
    position: absolute;
    right: 0px;
    top: 0px;
}

.app-main .column-left .left-sidebar,
.app-main .column-right .right-sidebar {
    position: fixed;
    margin-top: 50px;
    z-index:100;
}

.app-main .column-left .left-sidebar {
    width: 242px;
    padding-left: 0px;
}

.app-main .column-right .right-sidebar {
    padding-left: 15px;
    width: 235px;
}

.app-main .column-middle {
    min-height: 100%;
    background-color: #ffffff;
}

.column-middle {
    margin-right: 250px;
    margin-left: 250px;
    position: relative;
}

textarea,
input {
    font-family: 'Humbug', Helvetica, Arial, sans-serif;
}


/* Override Bootstrap's fixed sizes for various elements */

textarea,
label {
    font-size:   inherit;
    line-height: inherit;
}

/* List of text-like input types taken from Bootstrap */
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"]
{
    font-size: inherit;
    height:    1.4em;
}

li,
.table th,
.table td {
    line-height: inherit;
}

.btn {
    font-size:  inherit;
    height:     auto;
    line-height: 100%;
}

.btn-large {
    font-size: 115%;
}

.header-main .logo {
    display: inline-block;
    font-size: 120%;
    font-weight: 900;
    text-shadow: none;
    color: #ffffff;
    font-variant: small-caps;
    letter-spacing: 2px;
    line-height: 18px;
    text-decoration: none;
    position: relative;
 }

 .header-main .logoimage {
    height: 40px;
    width: auto;
}

 #user-settings-avatar {
    width: 100px;
    height: 100px;
    margin-top: 10px;
    border-radius: 50px;
 }

/* Classes for hiding and showing controls */

.notdisplayed {
    display: none !important;
}

.notvisible {
    visibility: hidden !important;
    width: 0px !important;
    min-width: 0px !important;
    min-height: 0px !important;
    height: 0px !important;
    overflow: hidden !important;
    position: absolute !important;
}

/* Relative positioning */

.position-relative {
    position: relative;
}


/* Lighter strong */

strong {
    font-weight: 600;
}


/* Inline and block code */

code {
    /* 12/14 em, so bootstrap's default 12 px,
       when body is the default 14 px */
    font-size: 0.857em;
}

.codehilite {
    display: block !important;
    border: none !important;
    background: none !important;
}

pre {
    /* 12/14 em, so bootstrap's default 12 px,
       when body is the default 14 px */
    font-size: 0.857em;
    line-height: inherit;
    white-space: pre;
    overflow-x: auto;
    word-wrap: normal;
    /* Bootstrap's default here is top: 0px, bottom: 10px */
    margin-top: 5px;
    margin-bottom: 5px;
}

pre code {
    white-space: pre;
}

/* Style inline code inside a link
   to look more like a normal link */
a code {
    color:        #08C;
    border-color: #08C;
}

a:hover code {
    color:        #005580;
    border-color: #005580;
}

.preserve_spaces {
    white-space: pre-wrap;
}

.sidebar-nav {
    padding: 0px 10px 20px 0px;
    margin-top: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    /* This is a little hacky, but for whatever reason, span2 in a row-fluid
       doesn't consistently take on the right width when it's in an affix, so
       we need to specify a max size. */
    max-width: 250px;
}

#left-sidebar .brand {
    display: table-row;
}

#left-sidebar #user-list,
#left-sidebar #group-pm-list {
    padding-left: 10px;
}

.edit-profile {
    font-weight: 300;
    font-size: 12px;
}


.logout {
    white-space: nowrap;
}

.new_message_button {
    padding-top: 1.1em;
}

.sidebar-title, .share-the-love-title {
    font-size: 11px;
    font-weight: normal;
    display: inline;
}


#streams_list:hover #streams_inline_cog {
   visibility: visible;
   opacity: 0.5;
}

#streams_list #streams_inline_cog:hover {
   opacity: 1.0;
}

#streams_inline_cog {
    float: right;
    color: #000;
    text-decoration: none;
    visibility: hidden;
    font-size: 13px;
    margin-top: 3px;
}

.tooltip {
    max-width: 10em;
}

#stream_filters {
    overflow-x: hidden;
    overflow-y: visible;
    margin: 2px 0px 2px 0px;
    padding: 0;
    font-weight: normal;
}

#stream-filters-container {
    overflow-y: hidden;
    position: relative;
}

#stream-filters-container .ps-scrollbar-y-rail {
    right: 0px !important;
    width: 4px !important;
}

#stream-filters-container .ps-scrollbar-y {
    width: 4px !important;
}

.narrow-filter {
    display: block;
    position: relative;
}

#stream_filters li:hover {
    background-color: #e2e8dd;
}

#stream_filters li.active-subject-filter:hover {
    background-color: #ccd6cc;
}

#user_presences, #group-pms {
    list-style-position: inside; /* Draw the bullets inside our box */
    margin-left: 0;
    overflow-y:  hidden;
}
#user_presences:hover, #group-pms:hover {
    overflow-y: auto;
}

#user_presences li:hover, #group-pms li:hover {
    background-color: #e2e8dd;
}

#user_presences .user_sidebar_entry:hover, #group-pms .group-pms-sidebar-entry:hover {
    cursor: pointer;
}

#user_presences li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user_sidebar_entry .count, .group-pms-sidebar-entry .count {
    display: none;
}

#user_presences li, #group-pms li {
    list-style-type: none;
}

.user-status-indicator, .group-pm-status-indicator {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid;
    float: left;
    position: relative;
    top: 5px;
    margin-right: 0.5em;
}

.user_active .user-status-indicator, .group-pm-status-indicator {
    background-color: #44C21D;
    border-color: #44C21D;
}

.user_idle .user-status-indicator {
    border-color: #EC7E18;
    background-color: #EC7E18;

    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 50%, rgba(236,126,24,1) 50%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,rgba(255,255,255,0)), color-stop(50%,rgba(236,126,24,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 50%,rgba(236,126,24,1) 50%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ec7e18',GradientType=0 ); /* IE6-9 */
}

.user_offline .user-status-indicator {
    background-color: none;
    border-color: gray;
}

#user_presences a, #group-pms a {
    color: #333;
}

#invite-user-link i {
    text-decoration: none;
    margin-right: 5px;
}

ul.filters {
    list-style-type: none;
}

.message_header_stream a.message_label_clickable,
ul.filters a {
    color: #333;
}

ul.filters hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

li.active-filter,
li.active-subject-filter {
    font-weight: 600;
    background: #ddedf6;
    position: relative;
}

li.hidden-filter {
    visibility: hidden;
    display: none;
}

ul.filters {
    margin-left: 0px;
}

.filter-icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin-right: 5px;
}

#global_filters .global-filter {
    position: relative;
    padding: 1px 10px;
    font-size: 16px;
    font-weight: 300;
}

#global_filters .global-filter i {
    font-size: 14px;
}

.user_sidebar_entry .selectable_sidebar_block,
.group-pms-sidebar-entry .selectable_sidebar_block {
    width: 170px;
    display: block;
}

.group-pm-link {
    margin-left: 17px;
    display: block;
}

.user_sidebar_entry .selectable_sidebar_block {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user_sidebar_entry.user-with-count .selectable_sidebar_block {
    width: 150px;
}

.user_sidebar_entry.user-with-count .count {
    display: inherit;
}

.group-pms-sidebar-entry.group-with-count .selectable_sidebar_block {
    width: 170px;
}

.user_sidebar_entry .count,
.group-pms-sidebar-entry .count,
#global_filters .count,
#stream_filters .count {
    position: absolute;
    right: 20px;
    top: 4px;
    padding: 2px 3px 1px 3px;
    background: #80837f;
    border-radius: 0px;
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.6px;
}

.group-pms-sidebar-entry .count {
    right: 2px;
}

#stream_filters .count,
#global_filters .count {
    margin-left: 0.5em;
    display: none;
}

.user_sidebar_entry .count,
.group-pms-sidebar-entry .count,
#global_filters .count
{
    line-height: 13px;
    top: 3px;
}

.subject_count {
    display: block;
    position: absolute;
    line-height: 1em;
    right: 20px;
    top: 2px;
    padding: 2px 3px 0px 3px;
    background: #a6ada4;
    color: #ffffff;
    border-radius: 1px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.6px;
}

ul.filters i {
    padding-right: 0.25em;
    /* Make filter icons the same width so labels line up. */
    display: inline-block;
    width: 13px;
}

li.actual-dropdown-menu i {
    /* In gear menu, make icons the same width so labels line up. */
    display: inline-block;
    width: 14px;
}

ul.filters .arrow {
    position: absolute;
    right: 0px;
    top: 2px;
    font-size: 0.8em;
    display: none;
}

ul.filters li:hover .arrow {
    display: inline;
    cursor: pointer;
    color: #888;
}

ul.filters li .arrow:hover {
    display: inline;
    cursor: pointer;
    color: #000;
}

ul.filters .topic-sidebar-arrow {
    font-size: 0.7em;
    top: 1px;
    display: none !important;
}

ul.filters li.expanded_subject:hover .topic-sidebar-arrow {
    display: inline !important;
    cursor: pointer;
    color: #888;
}

ul.filters li.expanded_subject .topic-sidebar-arrow:hover {
    display: inline;
    cursor: pointer;
    color: #000;
}

ul.filters li.muted_topic,
ul.filters li.out_of_home_view {
    opacity: 0.25;
}

.message_list {
}

.message_area_padder {
    /* The height of the header and the tabbar plus a small gap */
    margin-top: 68px;
    /* This is needed for the floating recipient bar
     in Firefox only, for some reason; otherwise it gets
     a scrollbar */
    overflow: visible;
}


.message_comp {
    display: none;
    padding: 10px 10px 8px 5px;
}

#compose_buttons {
    text-align: center;
}

td.pointer {
    vertical-align: top;
    padding-top: 10px;
    background-color: #fff;
}

.new_messages {
    background-color: lightblue;
}

.new_messages,
.new_messages_fadeout {
    -webkit-transition: all 3s ease-in-out;
    -moz-transition: all 3s ease-in-out;
    -o-transition: all 3s ease-in-out;
    transition: all 3s ease-in-out;
}

.include-sender .message_edit_notice {
    display: inline-block;
    vertical-align: top;
    line-height: 14px;
    margin-left: 0px;
    position: static;
    padding: 0px;
    width: auto;
}

.message_edit_notice {
    font-size: 10px;
    color: #a1a1a1;
    font-weight: 300;
    line-height: 0px;
    text-align: right;
    width: 45px;
    position: relative;
    right: 11px;
    padding-bottom: 10px;
}

.include-sender .message_edit_notice:before {
    content: "(";
}

.include-sender .message_edit_notice:after {
    content: ")";
}

.include-sender .message_time {
    position: relative;
    left: 2px;
    line-height: 14px;
    vertical-align: top;
    text-align: left;
    width: auto;
    top: -1px;
}

.message_time {
    display: inline-block;
    font-size: 11px;
    color: #aaa;
    vertical-align: middle;
    padding: 1px;
    font-weight: 300;
    position: absolute;
    width: 50px;
    left: -16px;
    line-height: 12px;
    text-align: right;
    top: 5px;
    -webkit-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    -moz-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    -o-transition: background-color 2.7s ease-in, color 2.7s ease-in;
    transition: background-color 2.7s ease-in, color 2.7s ease-in;
}

.message_time.status-time {
    line-height: 14px;
    top: 10px;
}

.message_controls {
    display: inline-block;
    position: absolute;
    top: 2px;
    right: -50px;
}

.include-sender .message_controls {
    top: -2px;
}

.message_data {
    vertical-align: top;
    text-align: left;
    padding: 0px;
    background-color: #fff;
    position: relative;
}

.message_header {
    vertical-align: middle;
    text-align:     left;
    /* We can overflow-y if the font size gets big */
    overflow:       hidden;
    text-overflow:  ellipsis;
    white-space:    nowrap;
    font-weight:    600;
    line-height:    14px;
    position: relative;
    z-index: 0;
}

 .message_list .recipient_row {
    background: #f1f1f1;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 10px;
}

.stream_label {
    display: inline-block;
    padding: 3px 4px 2px 4px;
    font-weight: normal;
    height: 17px;
    line-height: 17px;
    border-top-color: rgba(0, 0, 0, 0);
    border-right-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
    background-color: #e2e2e2;
    border-left-color: #e2e2e2;
    border-width: 0px;
    position: relative;
    text-decoration: none;
}

.stream_label .invite-stream-icon {
    font-size: 12px;
    line-height: 17px;
}

.message_list .stream_label {
    margin-left: 0px;
}

.stream_label:hover {
    color: inherit !important;
    text-decoration: none;
}

.stream_label:after {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width: 0px;
   position: absolute;
   pointer-events: none;
   margin-top: -11px;
   border-style: solid;
   border-width: 11px 0 11px 5px;
   border-color: inherit;
   z-index: 2;
   -moz-transform: scale(.9999);
}

.stream_label:before {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -14px;
   border-style: solid;
   border-width: 14px 0 14px 6px;
   border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ffffff;
   z-index: 1;
   -moz-transform: scale(.9999);
}

.stream_topic {
    display: inline-block;
    padding: 3px 6px 2px 12px;
    margin-left: -5px;
    height: 17px;
    line-height: 17px;
}

.summary_row .message_header{
    padding: 5px 0px 4px 5px;
}

.summary_row .message_header {
    border-radius: 0;
}

.bookend_tr + .summary_row .message_header {
    border-top-right-radius: 3px;
}

.bookend_tr + .summary_row .summary_colorblock {
    border-top-left-radius: 3px;
}

.summary_row.last_message .message_header {
    border-bottom-right-radius: 3px;
    box-shadow: inset 0px 2px 1px -2px #333, inset -2px 0px 1px -2px #333, inset 0px -2px 1px -2px #333;
}

.summary_row.last_message .summary_colorblock {
    border-bottom-left-radius: 3px;
}

.message_header .icon-vector-narrow {
    font-size: 0.6em;
    position: relative;
    top: -1px;
}

.copy-paste-text {
    /* Hide the text that we want copy paste to capture */
    position: absolute;
    text-indent: -99999px;
    float: left;
    width: 0px;
}

.message_header_colorblock {
    border-radius: 3px 0px 0px 0px;
    /* box-shadow: 0px 2px 3px #ccc; */
    box-shadow: inset 0px 2px 1px -2px #333, inset 2px 0px 1px -2px #333 !important;
}

.summary_row_private_message .summary_colorblock {
    background: #000;
}

.messages-expand,
.messages-collapse {
  cursor: pointer;
}

/*
We can't collapse the floating recipient bar yet, so this is
just a temporary hack.
*/
.floating_recipient .messages-collapse {
    display: none;
}

.message_failed .rotating {
    display: inline-block;

    -webkit-animation: rotate 1s infinite linear;
    -moz-animation: rotate 1s infinite linear;
    -ms-animation: rotate 1s infinite linear;
    -o-animation: rotate 1s infinite linear;
    animation: rotate 1s infinite linear;
}

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

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

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

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

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

.compose_table .message_header_colorblock, .compose_table .message_header {
    box-shadow: none;
    background: none;
}

.compose_table .message_header_colorblock {
    border-radius: 3px 0px 0px 3px;
    border-bottom: 0px;
}

.compose_table .message_header_colorblock.message_header_private_message {
    border-radius: 3px 0px 0px 3px;
    border-bottom: 0px;
}

.compose_table .message_header_colorblock.message_header_private_message {
    background: #444;
}

.compose_table .right_part {
    padding: 0px;
}

.compose_table .right_part .icon-vector-narrow {
    font-size: 0.6em;
    position: relative;
}

.compose_table .compose_checkbox_label {
    display: inline-block;
}

.compose_table .pm_recipient {
    position: relative;
    margin-right: 30px;
    height: 25px;
}

.compose_table #private-message .you_text {
    position: absolute;
    height: 25px;
    line-height: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
    width: 4em;
    background: #444444;
    color: #ffffff;
}

.compose_table .pm_recipient #private_message_recipient {
    margin-left: 4em;
    border-left: none;
    border-radius: 0px 3px 3px 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    height: 23px;
    line-height: 23px;
}

.compose_table #private-message .right_part {
    padding-right: 4em;
}

.compose_table #compose-lock-icon {
    position: relative;
    width: 0px;
}

.compose_table #compose-lock-icon i {
    position: absolute;
    left: 5px;
    top: 3px;
}

.messagebox-bottom {
    height: 3px;
    background-color: #fff;
    border-radius: 0px 0px 3px 0px;
    /* box-shadow: 0px 2px 2px -1px #ccc; */
    border: 1px solid #c1dbd5;
    border-top: none;
    border-left: none;
}

.messagebox-bottom-colorblock {
    border-radius: 0px 0px 0px 3px;
    /* box-shadow: 0px 2px 2px -1px #ccc; */
    border: 1px solid #c1dbd5;
    border-top: none;
    border-right: none;
}

.floating_recipient .message_header_private_message {
    border: 1px solid #e2e2e2;
    border-bottom: 0px;
    border-left: 0px;
}

.message_header_private_message .message_label_clickable {
    background-color: #444444;
    display: inline-block;
    padding: 3px 4px 2px 4px;
    font-weight: normal;
    font-size: 14px;
    height: 17px;
    line-height: 17px;
}

.compose_table .message_header {
    background: none;
    background-color: #ececec;
    border: none;
    border-radius: 0px;
    box-shadow: none !important;
}

/* Base color backgrounds for messageboxes,
   private messages, mentions, and unread messages */

.compose_table .messagebox {
   box-shadow: none !important;
}

.messagebox {
    background-color: #ffffff;
    position: relative;
}

.private-message .messagebox,
.message_header_private_message .message-header-contents {
    background-color: #feffe0;
}

.message_header_private_message .message-header-contents {
    border-right: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
}

.mention .messagebox-content {
    background-color: #ffe4e0;
}

.messagebox .message_top_line {
    position: relative;
}

.recipient_row .message_row:first-child .unread_marker {
    top: 0px;
}

.unread_marker {
    display: block;
    position: absolute;
    left: 2px;
    top: 0px;
    padding-bottom: 2px;
    opacity: 0;
    z-index: 1;
    height: 100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.unread-marker-fill {
    background: #2b8213;
    width: 3px;
    height: 100%;
    box-shadow: inset 0px -1px 0px 0px #ffffff;
}

.last_message .unread-marker-fill {
    box-shadow: none;
}

.unread .unread_marker {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 1;
}

.unread_marker.slow_fade {
    -webkit-transition: all 2s ease-out;
    -moz-transition: all 2s ease-out;
    -o-transition: all 2s ease-out;
    transition: all 2s ease-out;
}

.unread_marker.fast_fade {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.selected_message .messagebox {
    z-index: 1;
}

.selected_message .messagebox-content {
    box-shadow: inset 0px 0px 0px 2px #4577bc,
                     -1px -1px 0px 0px #4577bc,
                      1px 1px 0px 0px #4577bc,
                     -1px 1px 0px 0px #4577bc,
                      1px -1px 0px 0px #4577bc;
}

.message_sender {
    height: 0px;
    vertical-align: top;
    position: relative;
}

.sender_name {
    color: #333;
    display: inline-block;
    font-weight: 700;
    vertical-align: top;
    line-height: 12px;
    font-size: 14px;
}

.sender-status {
    display: inline-block;
    padding-bottom: 22px;
    vertical-align: top;
    height: 35px;
    line-height: 35px;
    font-size: 13px;
    position: relative;
}

.sender-status .sender_name {
    font-weight: bold;
    position: static;
    vertical-align: top;
    line-height: 35px;
    margin-right: 3px;
    font-size: 13px;
}

.sender_name_hovered .sender_name {
    color: #0088CC;
}

.sender_name_hovered .inline_profile_picture {
    border-color: #0088CC;
}

.actions_hover:hover {
    color: #0088CC;
}

.message_failed,
.message_local {
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
}

.message_failed {
    font-weight: bold;
    color: red;
    padding: 0px 1px 0px 1px;
}

.message_failed i {
    margin-left: 2px;
    margin-right: 2px;
}

a.message_label_clickable:hover {
    cursor: pointer;
    color: #08C;
}

.on_hover_topic_edit {
    opacity: .1;
}

.always_visible_topic_edit {
    opacity: .7;
}

.on_hover_topic_edit:hover,.always_visible_topic_edit:hover {
    cursor: pointer;
    opacity: 1.0;
}

.edit_content {
    opacity: .4;
    width: 0px;
    height: 0px;
    display: inline-block;
    position: relative;
}

.edit_content i {
    position: absolute;
    display: block;
    background: #ffffff;
    top: -0.9em;
    left: 0.4em;
    border-radius: 1px;
    padding: 1px 2px;
    border: 1px dotted #ccc;
}

.edit_content:hover {
    cursor: pointer;
    opacity: 1.0;
}

/* Brighten text because of the dark background */
.dark_background a,
.dark_background a:hover,
a.dark_background:hover,
.dark_background {
    color: #ffffff !important;
}

.dark_background a.message_label_clickable:hover {
    color: #3BF;
}

.message_top_line {
    position: relative;
}

.include-sender .message_top_line {
    margin-top: 6px;
}

.message-right {
    float: right;
}

.small {
    font-size: 80%;
}

.tiny {
    font-size: 60%;
}

.actions_hovered .message_time,
.actions_hovered .info {
    color: #0088CC;
    cursor: pointer;
}

.message_hovered .info,
.message_hovered .empty-star {
    visibility: visible;
}

.actions_hovered .actions_link {
    text-decoration: underline;
}

div.message_table {
    border-collapse: separate;
    margin-left: auto;
    display: none;
    width: 100%;
}

.message_row {
    position: relative;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
}

.message_row.selected_message {
    z-index: 2;
}

table.compose_table {
    table-layout: fixed;
    margin-left: auto;
    width: 100%;
}

div.focused_table {
    display: block;
}

.include-sender .message_content {
    margin-top: -16px;
}

.message_content {
    line-height: 17px;
    font-size: 14px;
    padding-left: 46px;
    display: block;
    position: relative;
}
.message_edit_content {
    line-height: 18px;
}

.topic_edit {
    display: none;
    line-height: 22px;
}

#message_edit_topic {
    height: 20px;
    margin-top: -1px;
    line-height: 0px;
    font-size: 14px;
    display: inline-block;
    padding: 0px;
    border-radius: 0px;
    border: 1px solid #afbfca;
    padding-left: 3px;
    padding-right: 3px;
}

#message_edit_topic:focus {
    box-shadow: none;
    outline: none;
    border-color: #727d84;
}

.message_edit_topic_propagate{
    display: inline-block;
    width: 400px;
}

.message_content.condensed {
    max-height: 8.5em;
    overflow: hidden;
}
.message_content.collapsed {
    max-height: 0em;
    overflow: hidden;
}

.message_length_controller {
    display: none;
    text-align: center;
    color: #0088CC;

    /* to match .message_content */
    margin-left: 5px;
    margin-right: 35px;
}

.message_length_controller:hover {
    text-decoration: underline;
}

div.message_content table {
    padding-right: 10px;
    margin: 5px 5px 5px 5px;
    width: 99%;
}

div.message_content thead {
    background-color: #EFEFEF;
}

div.message_content div {
    display: table-row;
    vertical-align: inherit;
}

div.message_content div {
    border: 1px solid #cccccc;
    padding: 4px;
    text-align: left;
}

div.message_content div {
    border: 1px solid #cccccc;
    padding: 4px;
}

blockquote {
    margin-bottom: 6px;
}

blockquote p {
    line-height: inherit;
    font-size:   inherit;
}

.messagebox {
    word-wrap: break-word;
    cursor: pointer;
    vertical-align: top;
    border: none;
}

.messagebox-content {
    padding: 4px 55px 1px 10px;
}

.last_message .messagebox-content {
    padding-bottom: 1px;
}

.messagebox p {
    margin: 3px 0px 3px 0px;
}

.messagebox blockquote {
    padding-left: 5px;
    margin-left: 10px;
    border-left-color: #ddd;
}

#send_message_form {
    margin: 0px;
}

#send_message_form .messagebox {
    /* normally 5px 14px; pull in the right and bottom a bit */
    cursor: default;
    padding: 0px;
    background: none;
    box-shadow: none;
    border: none;
}

#enter-sends-label {
    margin-bottom: 0px;
    margin-top: 2px;
}

#send_message_form .message_content {
    margin-right: 0px;
}

#compose-send-button {
    height: 31px; /* Same as height of compose textarea. */
}

#below-compose-content {
    width: 100%;
    margin-top: 6px;
}

.bookend {
    padding-top: 10px;
    background-color: transparent;
}

.prev_is_same_sender.messagebox {
    padding-top: 0px;
}

.prev_is_same_sender.message_data {
    padding-top: 0px;
}

.next_is_same_sender {
    border-bottom: 0px;
    padding-bottom: 0px;
}

.profile_picture {
    display: block;
    float: right;
    margin-top: 5px;
    max-height: 15px;
    width:  15px;
    height: 15px;
    cursor: pointer;
    border-radius: 30px;
   -moz-box-shadow:     1px 1px 1px #777 inset;
   -webkit-box-shadow:  1px 1px 1px #777 inset;
    box-shadow:         1px 1px 1px #777 inset;
    background-size: 15px 15px;
}

.inline_profile_picture {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 11px;
    background-size: 35px 35px;
    vertical-align: top;
}

#compose {
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    width: 100%;
}

#compose-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.compose-content {
    border-top: 1px solid #dadada;
    border-left: 1px solid #dadada;
    border-right: 1px solid #dadada;
    padding: 8px 15px 8px 10px;
    margin-left: 250px;
    margin-right: 250px;
    position: relative;
}

#compose_close {
    display: none;
    position: absolute;
    right: -4px;
    top: 5px;
}

#compose_invite_users {
    /* Don't overlap into the compose_close × */
    margin-right: 10px;
}

.compose_invite_user {
    padding: 4px 0px 4px 0px;
}

.compose_invite_close {
    display: inline;
    margin-top: 4px;

    width: 10px;
}

.compose_invite_user_controls {
    float: right;
}

.compose_invite_link {
    height: 20px;
    margin-bottom: 3px;
}

.compose_invite_user_error {
    margin-right: 10px;

    padding: 3px 8px 3px 8px;
}

/* Like .nav-tabs > li > a */
#send-status {
    width: 90%;
    padding: 8px 14px 8px 14px;
    line-height: 20px;
    display: none;
}

/* Like .alert .close */
.send-status-close {
    font-size:   17px;
    font-weight: bold;
    color:       black;
    text-shadow: 0 1px 0 white;
    opacity:     .2;
    filter:      alpha(opacity=20);
    float:       right;
}

.send-status-close:hover {
    cursor:  pointer;
    opacity: .4;
    filter:  alpha(opacity=40);
}

#out-of-view-notification {
    background: #9bff8b;
    background: rgba(163,211,147,0.95);
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-radius: 0px 0px 2px 2px;
    font-weight: 400;
    font-size: 12px;
    display: inline-block;
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.5);
    position: relative;
    top: -8px;
    width: 100%;
    padding-right: 5px;
}

.compose-notifications-content {
    padding: 4px 10px 4px 10px;
    text-align: center;
}

.composition-area {
    position: relative;
}

#out-of-view-notification .close {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size:   17px;
    font-weight: bold;
    color:       black;
    text-shadow: 0 1px 0 white;
    opacity:     .2;
    filter:      alpha(opacity=20);
}

.home-error-bar {
    margin-top: 5px;
    display: none;
}

#connection-error {
    font-size: 13px;
}

.streamname {
    font-weight: bold;
}

.home-error-bar .alert {
    margin-bottom: auto;
}

textarea.new_message_textarea {
    display: table-cell;
    width: 99%;
    height: 1.5em;
    max-height: 22em;
    margin-bottom: 0px;
    resize: none;
    margin-top: 6px;
}

input.recipient_box {
    margin: 0px;
    height: 1.1em;
    border-radius: 3px;
}

#stream.recipient_box {
    width: 20%;
    border-radius: 0px 3px 3px 0px;
    border-left: 0px;
    min-width: 120px;
}

#subject.recipient_box {
    width: 25%;
    min-width: 140px;
}

#stream.recipient_box.lock-padding {
    padding-left: 18px;
}

#private_message_recipient.recipient_box {
    width: 100%;
}

#left-of-compose {
    vertical-align: top;
    padding-top: 3px;
}

#send_controls {
    float: right;
    position: relative;
    right: -7px;
    font-size: 0.8em;
    height: 2.2em;
}

#send_controls .compose_checkbox_label {
    margin-right: 2px;
}

#send_controls .compose_checkbox_label input {
    position: relative;
    top: -3px;
}

#send_controls #compose-send-button {
    font-weight: 600;
    height: 2.2em;
    background-image: -moz-linear-gradient(top, rgba(14,70,67,1) 0%, rgba(14,83,68,1) 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,70,67,1)), color-stop(100%,rgba(14,83,68,1))); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* IE10+ */
    background-image: linear-gradient(to bottom, rgba(14,70,67,1) 0%,rgba(14,83,68,1) 100%); /* W3C */
}

#send_controls #compose-send-button:hover {
    font-weight: 600;
    height: 2.2em;
    background: #fff;
    background-image: -moz-linear-gradient(top, rgba(14,70,67,0.6) 0%, rgba(14,83,68,0.6) 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(14,70,67,0.6)), color-stop(100%,rgba(14,83,68,1))); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* Opera 11.10+ */
    background-image: -ms-linear-gradient(top, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* IE10+ */
    background-image: linear-gradient(to bottom, rgba(14,70,67,0.6) 0%,rgba(14,83,68,0.6) 100%); /* W3C */
}


#navbar-spacer {
    /* A spacer that is exactly a navbar size, so that all content
    gets pushed unerneath it */
    width: 100%;
    height: 40px;
}

.brand.skinny-user-gravatar {
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    white-space: nowrap;
}

#searchbox {
    width: 100%;
    height: 40px;
}

#tab_bar {
    z-index: 2;
    padding-top: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    float:left;
    letter-spacing: normal;
    height: 40px;
}

#tab_list {
    list-style: none;
    margin: 0px 0px 0px 0px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    border: none;
    white-space: nowrap;
}

#tab_list li {
   white-space: nowrap;
   list-style-type: none;
   display: inline-block;
   position: relative;
   font-weight: 300;
   background-color: #f9f9f9;
   margin: 0px;
   padding: 0px;
   text-overflow: ellipsis;
   height: 40px;
}

#tab_list li.inactive {
   border-top-color: rgba(0, 0, 0, 0);
   border-right-color: rgba(0, 0, 0, 0);
   border-bottom-color: rgba(0, 0, 0, 0);
   background-color: #e2e2e2;
   border-left-color: #e2e2e2;
   border-width: 0px;
}

#tab_list li.private_message a {
   color: #ffffff;
}

#tab_list li.inactive:after {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -25px;
   border-style: solid;
   border-width: 25px 0 25px 12px;
   border-color: inherit;
   z-index: 2;
   -moz-transform: scale(.9999);
}

#tab_list li.inactive:before {
   left: 100%;
   top: 50%;
   content: " ";
   height: 0px;
   width:  0px;
   position: absolute;
   pointer-events: none;
   margin-top: -28px;
   border-style: solid;
   border-width: 28px 0 28px 14px;
   border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ffffff;
   z-index: 1;
   -moz-transform: scale(.9999);
}

#tab_list a {
    text-decoration: none;
    color: inherit;
    border-color: inherit;
    width: 100%;
    display: inline-block;
    padding: 0px 8px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tab_list li.active {
    padding-left: 17px;
    padding-right: 10px;
    background-color: #e2e2e2;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tab_list li.active.root {
    padding-left: 10px;
}

#tab_list li.private_message {
   border-top-color: rgba(0, 0, 0, 0);
   border-right-color: rgba(0, 0, 0, 0);
   border-bottom-color: rgba(0, 0, 0, 0);
   background-color: #111111;
   border-left-color: #111111;
   color: #ffffff;
   border-width: 0px;
}

#tab_list .root {
    border-color: #e2e2e2;
    background-color: #e2e2e2;
    margin: 0px;
}

#tab_list li.stream a,
#tab_list li.private_message a {
    padding-left: 17px;
    padding-right: 4px;
}

#tab_list li.root a {
    color: #858585;
    padding-right: 2px;
}


#tab_list .root a:hover {
    color: #000000;
}

#tab_bar_underpadding {
    position: absolute;
    width: 100%;
    top: 40px;
    height: 20px;
    z-index:99;
}


#navbar-buttons {
    white-space: nowrap;
    margin-left: 15px;
    margin-top: 7px;
    display: inline-block;
    float: right;
}

#navbar-buttons ul.nav {
    margin: 0px;
}

#streamlist-toggle {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    text-align: center;
    vertical-align: middle;
    border-right: 2px solid #afbfca;
}

#streamlist-toggle-button {
    text-decoration: none;
    color: #858585;
    display: block;
    position: relative;
    background-color: #e4e4e4;
    width: 40px;
    height: 19px;
    padding-top: 12px;
    padding-bottom: 9px;
}

#streamlist-toggle-unreadcount, #userlist-toggle-unreadcount {
    position: absolute;
    display: none;
    height: 12px;
    min-width: 12px;
    line-height: 12px;
    background: #670000;
    top: 4px;
    right: 4px;
    border: 1px solid #eee;
    box-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1px 1px 1px 1px;
    font-size: 9px;
    z-index: 15;
    font-weight: normal;
    color: #ffffff;
}

#userlist-toggle {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: center;
    vertical-align: middle;
    border-left: 2px solid #afbfca;
}

#userlist-toggle-button {
    text-decoration: none;
    background-color: #e4e4e4;
    color: #858585;
    display: block;
    width: 40px;
    height: 19px;
    padding-top: 12px;
    padding-bottom: 9px;
}

.nav .dropdown-menu {
    left: auto;
    right: 0px;
    top: 30px;
    min-width: 180px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.nav .dropdown-menu:after {
    position: absolute;
    width: 0px;
    height: 0px;
    top: -7px;
    right: 10px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #aaa;
    border-left: 7px solid transparent;
    content: '';
    z-index: 10;
}


#navbar-buttons ul.nav .dropdown-toggle,
#navbar-buttons ul.nav li.active .dropdown-toggle {
    font-size: 20px;
    color: #858585;
    text-shadow: none;
    padding-left: 0px !important;
    background-color: inherit;
    box-shadow: inherit;
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    display: block;
    position: absolute;
    right: 0px;
    top: 3px;
}

#navbar-buttons ul.nav .dropdown-toggle,
#navbar-buttons ul.nav li.active .dropdown-toggle:hover {
    color: #111111;
}

#navbar-buttons ul.nav li.dropdown.open .dropdown-toggle {
    background: none;
    color: #111111;
    text-shadow: none;
}

#searchbox .input-append {
    position: relative;
    width: 100%;
}

#searchbox .input-append .icon-vector-search {
    padding: 0px;
    font-size: 20px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 5;
}

.navbar-search {
    margin-top: 0px;
    width: auto;
    float: none;
    overflow: hidden;
    border-right: 1px solid #dadada;
    height: 40px;
}

#search_query {
    width: 100%;
    font-size: 18px;
    height: 40px;
    padding: 0px;
    color: #222;
    box-shadow: inset 2px 0px 0px 0px #afbfca;
    padding-left: 35px;
    padding-right: 20px;
    background: rgb(255,255,255); /* Old browsers */
    border: none;
    border-radius: 0px;
    font-family: 'Humbug';
    font-weight: 300;
    line-height: 27px;
}


#search_query:focus {
     box-shadow: inset 0px 0px 0px 2px #afbfca;
}

#searchbox .search_button,
#searchbox .search_button[disabled]:hover {
    position: absolute;
    right: 2px;
    top: 6px;
    background: none;
    border-radius: 0px;
    border: none;
    height: 30px;
    text-align: center;
    padding: 4px;
    color: #ccc;
    font-size:18px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    text-shadow: none;
    z-index:5;
}

#searchbox .search_button:hover {
    color: #000;
}

#searchbox .search_button[disabled] {
    visibility: hidden;
}

.highlight {
    background-color: #FCEA81;
}

.highlight_text_inserted {
    background-color: #E6EDFF;
}

.highlight_text_deleted {
    background-color: #FFE6E6;
}

.highlight_text_replaced {
    background-color: #F5E6FF;
}

#search_arrows {
    margin-bottom: 5px;

    /* Bootstrap wants font-size: 0 to eliminate space between
       the buttons.  We need to inherit the font size, so we
       remove the button gap by adjusting "letter" spacing. */
    font-size: 90%;
    letter-spacing: -.3em;
}

#search_arrows input {
    /* Chrome and Firefox do this already via default browser stylesheet;
       but Opera needs this to avoid smushed letters in the search box. */
    letter-spacing: normal;
}

div.floating_recipient {
    border-collapse: separate;
    width: 100%;
    position: relative;
}

#floating_recipient_bar {
    top: 50px;
}

.message-header-contents {
    background: #e2e2e2;
}

.recipient_row.sticky {
    margin-top: 22px;
}

.sticky .message_header {
    position: fixed;
    z-index: 99;
    top: 50px;
    width: 100%;
    left: 0px;
}

.sticky .message-header-wrapper {
    max-width: 1400px;
    margin: auto;
}

.sticky .message-header-contents {
    margin-left: 250px;
    margin-right: 251px;
}

#bottom_whitespace {
  display: block;
  height: 300px;
 -webkit-touch-callout: none;
 -webkit-user-select: none;
 -khtml-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
  user-select: none;
}

#home-error {
    display: none;
}

.loading_indicator_spinner {
    /* If you change these, make sure to adjust the constants in
     * make_loading_indicator as well */
    height: 38px;
    width: 38px;
    float: left;
}

.loading_indicator_text {
    /* If you change these, make sure to adjust the constants in
     * make_loading_indicator as well */
    margin-left: 20px;
    font-size:   33px;
    font-weight: bold;
    line-height: 38px;
}

.settings-section .loading_indicator_text {
    font-size: 12px;
    font-weight: 400;
    vertical-align: middle;
    line-height: 20px;
    display: inline-block;
    float: none;
}

.settings-section .loading_indicator_spinner {
    width: 12px;
    height: 12px;
    vertical-align: middle;
    display: inline-block;
}


.twitter-image, .message_inline_image {
    margin-bottom: 5px;
    margin-left: 5px;
    height: 100px;
    display: block !important;
    border: none !important;
}

.twitter-image img, .message_inline_image img {
    height: auto;
    max-height: 100%;
}

.popover {
    width: auto;
}

.popover-title {
    overflow-x: hidden;
    text-overflow: ellipsis;
    text-align: center;

    font-size:   inherit;
    line-height: inherit;
}

.popover-title:empty {
    display: none;
}

.popover_info {
    text-align: center;
}

.popover hr {
    margin-top:    5px;
    margin-bottom: 5px;
}

.popover-left, .popover-right {
    max-width: 175px;
}

.hotkeys_table {
    width: 245px;
    margin-right: 10px;
    font-size: 90%;
    display: inline-block;
    vertical-align: top;
}

.hotkeys_table th {
    width: 245px;
}

.hotkeys_table .hotkey {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    text-align: right;
    font-weight: bold;
    font-size: 90%;
    white-space: nowrap;
}

.operator_value {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    color: maroon;
}
.operator {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

#loading_more_messages_indicator {
    margin: 10px;
}

#loading_more_messages_indicator_box_container {
    position: absolute;
    left: 50%;
}

#loading_more_messages_indicator_box {
    position: relative;
    left: -50%;
    top: 25px;
    border: 1px rgb(100, 100, 100) solid;
    background-color: rgba(230, 230, 230, 0.8);
    z-index: 1;
    -webkit-border-radius: 6px;
       -moz-border-radius: 6px;
            border-radius: 6px;
}

#page_loading_indicator {
    margin: 10px auto;
}

#subs_page_loading_indicator {
    margin: 10px auto;
}

.subscriber_list_loading_indicator {
    margin: 10px auto;
}

.table-striped thead th {
    background-color: #444;
    color: white;
}


#fmt_help_table {
    table-layout: fixed;
}

.subscription-email-hint-image {
    float: right;
    width: 80px;
    padding-right: 60px;
}

.subscription_header.collapsed {
    background-color: inherit;
}

.subscription_settings,
.subscription_header,
.subscription_header.active {
    background-color: #fefefe;
}

.color_swatch {
    display: inline-block;
    height: 18px;
    width: 18px;
    padding: 0;
    margin: 0 0 0 10px;
    vertical-align: middle;
}

.subscriptions {
    margin-top: 55px;
    padding-left: 15px;
}

#subscriptions_table .subscription_block {
    padding-left: 0.5em;
    vertical-align: middle;
    display: inline-block;
}

#stream_filters .subscription_block {
    padding-bottom: 3px;
    line-height: 12px;
    padding-top: 4px;
    margin-right: 15px;
    padding-left: 33px;
}

#stream_filters .subscription_block.stream-with-count {
    margin-right: 38px;
}

.subscription_name,
.subscription_description {
    line-height: 1em;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#stream_filters .subscription_name {
    display: inline-block;
}

.subscription-name-row,
.subscription-description-row {
    line-height: 47px;
}

.subscription-description-row {
    font-weight: 300;
}

#add_new_subscription {
    text-align: center;
}

.subject-name {
    display: block;
    line-height: 1.3em;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscription_header {
    min-height: 47px;
}

.subscription_header .subscription_name {
    width: auto;
}

.subscription_header .subscription_lock {
    font-size: 23px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    margin-right: 1px;
}

.subscription_settings {
    width: 100%;
    position: relative;
    top: -1px;
}

.subscription_settings form {
    text-align: center;
}

.subscription_settings ul {
    list-style-type: none;
}

.subscription-type {
    text-align: center;
    padding: 5px;
    width: 80%;
    margin: auto;
    font-weight: 300;
}

.stream-email {
    width: 80%;
    margin: auto;
    margin-top: 5px;
    text-align: center;
    padding: 5px;
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}


.subscription-control-label {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
    padding: 5px;
}

.sp-preview {
    width: 20px;
    border: none;
    box-shadow: 0px 0px 1px rgba(0,0,0,1);
}

.sp-replacer {
    margin-right: 12px;
    border: none;
    box-shadow: 0px 0px 2px rgba(0,0,0,0.8);
}

.subscription-config {
    width: 270px;
{'fraction_non_alphanumeric': 0.13449663027010084, 'fraction_numerical': 0.04691499921634188, 'mean_word_length': 2.827168392850002, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5770340', 'n_tokens_mistral': 39835, 'n_tokens_neox': 35781, 'n_words': 8182}