*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

html:not(.js) .js-only {
    display: none !important;
}

.file-label {
    display: none !important;
}

.file-hidden {
    display: inline;
    width: auto;
    max-width: 180px;
    font-size: 10px;
}

html.modern-file .file-label {
    display: inline-block !important;
}

html.modern-file .file-hidden {
    display: none !important;
}

html.modern-file .avatar-upload-form .file-label {
    display: block !important;
}

.legacy-http-notice {
    position: relative;
    background: #fff9d7;
    border-color: #e2c822;
    color: #5a4a00;
    padding-right: 24px;
}

.legacy-notice-dismiss {
    position: absolute;
    top: 4px;
    right: 6px;
    background: none;
    border: none;
    font-size: 14px;
    line-height: 1;
    font-weight: bold;
    color: #8c7600;
    cursor: pointer;
    padding: 0 4px;
}

.legacy-notice-dismiss:hover {
    color: #333333;
}

html.no-flex .brand-band {
    display: block;
    height: 80px;
    min-height: 80px;
}

html.no-flex .brand-banner-link {
    height: 80px;
}

html.no-flex .brand-banner {
    height: 80px;
    width: auto;
}

html.no-flex .comment-actions {
    display: block;
    margin-top: 3px;
}

html.no-flex .comment-actions>* {
    display: inline;
    margin-right: 6px;
}

html.no-flex .brand-left {
    height: 0;
    width: auto;
}

html.no-flex .brand-right {
    display: block;
    text-align: right;
    padding: 14px 10px 10px;
    min-height: 80px;
}

html.no-flex .menu-links {
    display: block;
    text-align: right;
}

html.no-flex .menu-links a {
    display: inline;
}

html.no-flex .layout-cols,
html.no-flex .guest-columns {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

html.no-flex .layout-cols>.sidebar,
html.no-flex .layout-cols>.sidebar-right,
html.no-flex .layout-cols>.feed-col,
html.no-flex .guest-columns>.guest-sidebar,
html.no-flex .guest-columns>.guest-main {
    display: table-cell;
    vertical-align: top;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

html.no-flex .layout-cols>.sidebar,
html.no-flex .layout-cols>.sidebar-right {
    width: 155px;
}

html.no-flex .guest-columns>.guest-sidebar {
    width: 160px;
}

html.no-flex .avatar-upload-form .file-hidden {
    width: 100%;
    max-width: 100%;
    font-size: 9px;
}

html.no-flex .layout-cols>.feed-col,
html.no-flex .guest-columns>.guest-main {
    width: auto;
    min-width: 0;
}

html.no-flex .layout-cols>*+*,
html.no-flex .guest-columns>*+* {
    padding-left: 8px;
}

html.no-flex .btn,
html.no-flex .inputsubmit,
html.no-flex .retro-button-link {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: 22px;
    line-height: 15px;
    padding: 2px 8px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html.no-flex button.btn,
html.no-flex input.inputsubmit {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 18px;
}

html.no-flex a.btn,
html.no-flex a.retro-button-link {
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 15px;
}

button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
    border: 0;
    padding: 0;
}

html.no-flex .compact-login-actions {
    display: block;
    overflow: hidden;
}

html.no-flex .compact-login-actions .inputsubmit,
html.no-flex .compact-login-actions .retro-button-link {
    display: block;
    float: left;
    width: 48%;
}

html.no-flex .compact-login-actions .retro-button-link {
    float: right;
}

html.no-flex .composer-footer {
    display: block;
    overflow: hidden;
}

html.no-flex .composer-footer>* {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

html.no-flex .composer-footer .btn-primary {
    float: right;
    margin-right: 0;
}

html.no-flex .post-header {
    display: block;
    overflow: hidden;
}

html.no-flex .post-header>.avatar-sm {
    float: left;
    margin-right: 6px;
}

html.no-flex .post-header>.post-actions {
    float: right;
    margin-left: 6px;
}

html.no-flex .post-header>.post-meta {
    overflow: hidden;
}

html.no-flex .post-footer {
    display: block;
}

html.no-flex .post-footer>* {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

html.no-flex .comment-item {
    display: block;
    overflow: hidden;
}

html.no-flex .comment-item>.avatar-xs {
    float: left;
    margin-right: 4px;
}

html.no-flex .comment-item>.comment-body {
    overflow: hidden;
}

html.no-flex .comment-form {
    display: block;
    margin-top: 4px;
}

html.no-flex .comment-form.is-replying {
    margin-left: 30px;
}

html.no-flex .comment-input-row {
    display: block;
}

html.no-flex .comment-form input[type=text] {
    width: 62%;
    vertical-align: middle;
}

html.no-flex .comment-form .char-counter {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
}

html.no-flex .sidebar-search,
html.no-flex .sidebar-search-row {
    display: block;
}

html.no-flex .sidebar-search input[type="text"] {
    width: 88px;
    vertical-align: middle;
}

html.no-flex .profile-title-bar {
    display: block;
    overflow: hidden;
}

html.no-flex .pull-right {
    float: right;
}

html.no-flex .profile-header.widget,
html.no-flex .group-header.widget {
    display: block;
    overflow: hidden;
}

html.no-flex .profile-header.widget>div,
html.no-flex .group-header.widget>div {
    overflow: hidden;
}

html.no-flex .profile-avatar-wrap,
html.no-flex .group-header.widget>img {
    float: left;
    margin-right: 8px;
}

html.no-flex .profile-actions {
    display: block;
}

html.no-flex .profile-actions>* {
    display: block;
    margin-bottom: 4px;
}

html.no-flex .friends-grid,
html.no-flex .friends-full-grid,
html.no-flex .groups-grid,
html.no-flex .profile-friends-grid {
    display: block;
}

html.no-flex .friends-grid>*,
html.no-flex .friends-full-grid>*,
html.no-flex .groups-grid>* {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px 6px 0;
}

html.no-flex .friend-card {
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

html.no-flex .profile-friends-grid>* {
    display: inline-block;
    vertical-align: top;
    width: 31%;
    margin: 0 1% 4px 0;
}

html.no-flex .profile-friends-grid .profile-friend-card a {
    display: block;
    text-align: center;
}

html.no-flex .profile-interest-picker {
    display: block;
}

html.no-flex .profile-interest-option {
    display: inline-block;
    width: 32%;
    vertical-align: top;
}

html.no-flex .profile-interest-list {
    display: block;
}

html.no-flex .profile-interest-list>* {
    margin: 0 4px 4px 0;
}

html.no-flex .profile-checkbox-row {
    display: block;
}

html.no-flex .friend-request-item,
html.no-flex .suggestion-item,
html.no-flex .notif-item,
html.no-flex .search-result-item {
    display: block;
    overflow: hidden;
}

html.no-flex .friend-request-item>img,
html.no-flex .suggestion-item>img,
html.no-flex .notif-item>img,
html.no-flex .search-result-item>img,
html.no-flex .friend-request-item>a:first-child,
html.no-flex .suggestion-item>a:first-child,
html.no-flex .notif-item>a:first-child,
html.no-flex .search-result-item>a:first-child {
    float: left;
    margin-right: 6px;
}

html.no-flex .search-result-item>div,
html.no-flex .notif-body {
    overflow: hidden;
}

html.no-flex .notif-actions,
html.no-flex .request-actions {
    display: block;
}

html.no-flex .notif-actions>*,
html.no-flex .request-actions>* {
    display: inline-block;
    margin-right: 4px;
}

html.no-flex .notifications-header {
    display: block;
    overflow: hidden;
}

html.no-flex .notifications-toolbar {
    display: block;
    text-align: right;
}

html.no-flex .pagination {
    display: block;
    text-align: center;
}

html.no-flex .pagination>* {
    display: inline-block;
    margin: 0 2px;
}

html.no-flex .convo-item a,
html.no-flex .convo-sidebar-link {
    display: block;
    overflow: hidden;
}

html.no-flex .convo-item a>img,
html.no-flex .convo-sidebar-link>img {
    float: left;
    margin-right: 4px;
}

html.no-flex .convo-preview {
    overflow: hidden;
}

html.no-flex .chat-widget {
    display: block;
    height: auto;
}

html.no-flex .chat-header {
    display: block;
    overflow: hidden;
    line-height: 36px;
}

html.no-flex .chat-header>img {
    float: left;
    margin-right: 6px;
}

html.no-flex .chat-messages {
    display: block;
    height: 330px;
    overflow: auto;
}

html.no-flex .message-item {
    position: relative;
    display: block;
    float: left;
    clear: both;
    max-width: 75%;
    padding-left: 30px;
    margin-bottom: 8px;
    overflow: visible;
}

html.no-flex .message-item.mine {
    float: right;
    padding-left: 0;
    padding-right: 30px;
}

html.no-flex .message-item>.avatar-xs {
    position: absolute;
    top: 0;
    left: 0;
    float: none;
    margin: 0;
}

html.no-flex .message-item.mine>.avatar-xs {
    left: auto;
    right: 0;
    float: none;
    margin: 0;
}

html.no-flex .message-item>.message-bubble {
    display: block;
    overflow: visible;
    max-width: none;
    width: auto;
    word-break: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

html.no-flex .message-meta {
    display: block;
    white-space: nowrap;
}

html.no-flex .message-meta>* {
    display: inline;
    margin-right: 6px;
}

html.no-flex .message-item.mine .message-meta {
    text-align: right;
}

html.no-flex .message-item.mine .message-meta>* {
    margin-right: 0;
    margin-left: 6px;
}


    html.no-flex .chat-form,
    html.no-flex .chat-reply-bar {
        display: block;
        overflow: hidden;
    }

    html.no-flex .chat-reply-bar-info {
        display: inline-block;
        vertical-align: middle;
        max-width: 90%;
    }

    html.no-flex .chat-reply-cancel {
        float: right;
    }

    html.no-flex .chat-input-row {
        display: block;
        overflow: hidden;
    }

    html.no-flex .chat-input-field {
        display: inline-block;
        vertical-align: top;
        width: 55%;
        margin-right: 4px;
    }

    html.no-flex .chat-input-row>.btn,
    html.no-flex .chat-input-row>button,
    html.no-flex .chat-input-row>label,
    html.no-flex .chat-input-row>input {
        vertical-align: top;
    }

    html.no-flex .chat-btn-send {
        float: right;
    }

    html.no-flex .chat-image-status {
        display: block;
        overflow: hidden;
    }

    html.no-flex .guest-sidebar .inputsubmit {
        white-space: normal;
        line-height: 13px;
    }

    html.no-flex .load-more-wrap {
        display: block;
        text-align: center;
    }

    html.no-flex .support-sublinks {
        display: block;
    }

    html.no-flex .support-sublinks a {
        display: block;
        margin-bottom: 2px;
    }

    html.no-flex .retro-upload-perks-bar {
        display: block;
    }

    html.no-flex .retro-upload-perks-bar label,
    html.no-flex .flip-phone-date-wrap {
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
    }

    html.no-flex .support-hero {
        display: block;
        overflow: hidden;
    }

    html.no-flex img.support-hero-icon {
        float: left;
        margin-right: 10px;
    }

    html.no-flex .perks-grid,
    html.no-flex .founders-wall-grid,
    html.no-flex .admin-grid-two {
        display: block;
    }

    html.no-flex .perk-card,
    html.no-flex .founder-wall-card {
        display: block;
        overflow: hidden;
        margin-bottom: 8px;
    }

    html.no-flex .founder-wall-card>a:first-child,
    html.no-flex .founder-wall-card>img:first-child {
        float: left;
        margin-right: 8px;
    }

    html.no-flex .tier-preset-row {
        display: block;
    }

    html.no-flex .tier-preset-btn {
        display: inline-block;
        margin: 0 4px 4px 0;
    }

    html.no-flex .profile-friends-widget h3 {
        display: block;
        overflow: hidden;
    }

    html.no-flex .profile-friends-widget .profile-friends-see-all {
        float: right;
    }

    html.no-flex .mention-dropdown-item {
        display: block;
        overflow: hidden;
    }

    html.no-flex .mention-dropdown-item>img {
        float: left;
        margin-right: 6px;
    }