/*--------------------------------------------------------------
Navigation
--------------------------------------------------------------*/
#buddypress div.pagination {
    background: transparent;
    border: none;
    color: #888;
    font-size: 90%;
    margin: 0;
    position: relative;
    display: block;
    float: left;
    width: 100%;
    padding: 10px 0;
}
#member-dir-count-top { display: none; }
#buddypress div.pagination .pag-count {
    float: left;
    margin-left: 10px;
}
#buddypress div.pagination .pagination-links {
    float: right;
    margin-right: 10px;
}
#buddypress div.pagination .pagination-links span,
#buddypress div.pagination .pagination-links a {
    font-size: 90%;
    padding: 0 5px;
}
#buddypress div.pagination .pagination-links a:hover {  }
#buddypress noscript div.pagination { margin-bottom: 15px; }
#buddypress #nav-above { display: none; }
#buddypress .paged #nav-above { display: block; }
/*--------------------------------------------------------------
Images
--------------------------------------------------------------*/
#buddypress img.wp-smiley {
    border: none !important;
    clear: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#buddypress .clear { clear: left; }
/*--------------------------------------------------------------
Activity
--------------------------------------------------------------*/
#buddypress #activity-stream { margin-top: -5px; }
#buddypress #activity-stream p { margin: 5px 0; }
#buddypress #item-body form#whats-new-form {
    margin: 0;
    padding: 0;
}
#buddypress .home-page form#whats-new-form {
    border-bottom: none;
    padding-bottom: 0;
}
#buddypress form#whats-new-form #whats-new-avatar { float: left; }
#buddypress form#whats-new-form #whats-new-content {
    margin-left: 55px;
    padding: 0 0 20px 20px;
}
#buddypress form#whats-new-form p.activity-greeting {
    line-height: 0.5em;
    padding-top: 3px;
    margin-bottom: 5px;
    margin-left: 75px;
}
#buddypress form#whats-new-form { padding: 20px 0 15px; }
#buddypress form#whats-new-form textarea { height: 37px !important; }
#buddypress form#whats-new-form textarea:focus { height: 70px !important; }
body.no-js #buddypress form#whats-new-form textarea { height: 50px !important; }
#buddypress form#whats-new-form #whats-new-options select {
    max-width: 200px;
    margin-bottom: 0;
}
#buddypress form#whats-new-form #whats-new-submit { float: right; }
#buddypress #whats-new-options {
    overflow: auto;
    height: 0;
}
body.no-js #buddypress #whats-new-options { height: auto; }
/*--------------------------------------------------------------
Activity Listing
--------------------------------------------------------------*/
#buddypress ul.activity-list li {
    overflow: hidden;
    padding: 15px 0 0;
    list-style: none;
}
#buddypress .activity-list .activity-avatar { float: left; }
#buddypress ul.item-list.activity-list li.has-comments { padding-bottom: 15px; }
body.activity-permalink #buddypress ul.activity-list li.has-comments { padding-bottom: 0; }
#buddypress .activity-list li.mini {
    position: relative;
    padding: 5px 0;
}
#buddypress .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic {
    margin-top: 10px;
    height: 20px;
    width: 20px;
}
#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic {
    height: auto;
    margin-left: 0;
    width: auto;
}
#buddypress .activity-list li.mini .activity-content { margin-left: 25px; }
body.activity-permalink #buddypress .activity-list > li:first-child { padding-top: 0; }
#buddypress .activity-list li .activity-content { position: relative; }
#buddypress .activity-list li.mini .activity-content p { margin: 0; }
#buddypress .activity-list li.mini .activity-comments {
    clear: both;
    font-size: 120%;
}
body.activity-permalink #buddypress li.mini .activity-meta { margin-top: 4px; }
#buddypress .activity-list li .activity-inreplyto {
    color: #888;
    font-size: 80%;
}
#buddypress .activity-list li .activity-inreplyto > p {
    margin: 0;
    display: inline;
}
#buddypress .activity-list li .activity-inreplyto blockquote,
#buddypress .activity-list li .activity-inreplyto div.activity-inner {
    background: none;
    border: none;
    display: inline;
    margin: 0;
    overflow: hidden;
    padding: 0;
}
#buddypress .activity-list .activity-content { margin: 0 0 0 70px; }
body.activity-permalink #buddypress .activity-list li .activity-content {
    border: none;
    font-size: 100%;
    line-height: 150%;
    margin-left: 170px;
    margin-right: 0;
    padding: 0;
}
body.activity-permalink #buddypress .activity-list li .activity-header > p {
    margin: 0;
    padding: 5px 0 0 0;
}
#buddypress .activity-list .activity-content .activity-header,
#buddypress .activity-list .activity-content .comment-header {
    color: #888;
    line-height: 220%;
}
#buddypress .activity-header { margin-right: 20px; }
#buddypress .activity-header a,
#buddypress .comment-meta a,
#buddypress .acomment-meta a { text-decoration: none; }
#buddypress .activity-list .activity-content .activity-header img.avatar {
    float: none !important;
    margin: 0 3px !important;
}
#buddypress a.bp-secondary-action,
#buddypress span.highlight {
    border: 1px #e8e8e8 solid;
    color: #c9c9c9;
    font-size: 10pt;
    font-weight: 700;
    padding: 2px 7px;
    margin-right: 5px;
    text-decoration: none;
    line-height: 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
#buddypress span.highlight {
    background: #FFE7B8;
    color: #CE5810;
    border: none;
}
#buddypress .activity-list .activity-content .activity-inner,
#buddypress .activity-list .activity-content blockquote {
    margin: 10px 10px 5px 0;
    overflow: hidden;
}
#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
    border: 2px solid #EAEAEA;
    border-width: 0 0 0 2px;
    margin-left: 5px;
    padding-left: 10px;
}
body.activity-permalink #buddypress .activity-content .activity-inner,
body.activity-permalink #buddypress .activity-content blockquote {
    margin-left: 0;
    margin-top: 5px;
}
#buddypress .activity-inner > p { word-wrap: break-word; }
#buddypress .activity-inner > .activity-inner { margin: 0; }
#buddypress .activity-inner > blockquote { margin: 0; }
#buddypress .activity-list .activity-content img.thumbnail {
    border: 2px solid #eee;
    float: left;
    margin: 0 10px 5px 0;
}
#buddypress .activity-read-more {
    margin-left: 1em;
    white-space: nowrap;
}
#buddypress .activity-list li.load-more,
#buddypress .activity-list li.load-newest {
    background: #f0f0f0;
    font-size: 110%;
    margin: 15px 0;
    padding: 10px 15px;
    text-align: center;
}
#buddypress .activity-list li.load-more a,
#buddypress .activity-list li.load-newest a { color: #4D4D4D; }
/*--------------------------------------------------------------
Activity Comments
--------------------------------------------------------------*/
body.activity-permalink #buddypress div.activity-meta { margin-bottom: 6px; }
#buddypress div.activity-meta { text-align: right; }
#buddypress div.activity-meta a,
#buddypress div.activity-meta a:hover {
    background: transparent !important;
    padding: 0;
    line-height: 15px;
    color: inherit;
    font-size: 85%;
}
#buddypress div.activity-meta a:hover { text-decoration: none; color: #c9c9c9 }
#buddypress a.activity-time-since {
    color: #aaa;
    text-decoration: none;
}
#buddypress a.activity-time-since:hover {
    color: #888;
    text-decoration: underline;
}
#buddypress a.bp-primary-action,
#buddypress #reply-title small a {
    font-size: 90%;
    margin-right: 5px;
    text-decoration: none;
}
#buddypress a.bp-primary-action span,
#buddypress #reply-title small a span {
    background: #999;
    color: #fff;
    font-size: 90%;
    padding: 1px 5px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}
#buddypress a.bp-primary-action:hover span,
#buddypress #reply-title small a:hover span {
    background: #555;
    color: #fff;
}
#buddypress div.activity-comments {
    margin: 0 0 0 70px;
    overflow: hidden; /* IE fix */
    position: relative;
    width: auto;
    clear: both;
}
body.activity-permalink #buddypress div.activity-comments {
    background: none;
    margin-left: 170px;
    width: auto;
}
#buddypress div.activity-comments > ul { padding: 0 0 0 10px; }
#buddypress div.activity-comments ul,
#buddypress div.activity-comments ul li {
    border: none;
    list-style: none;
}
#buddypress div.activity-comments ul {
    clear: both;
    margin: 0;
}
#buddypress div.activity-comments ul li {
    border-top: 1px solid #eee;
    padding: 10px 0 0;
}
body.activity-permalink #buddypress .activity-list li.mini .activity-comments {
    clear: none;
    margin-top: 0;
}
body.activity-permalink #buddypress div.activity-comments ul li {
    border-width: 1px;
    padding: 10px 0 0 0;
}
#buddypress div.activity-comments > ul > li:first-child { border-top: none; }
#buddypress div.activity-comments ul li:last-child { margin-bottom: 0; }
#buddypress div.activity-comments ul li > ul {
    margin-left: 30px;
    margin-top: 0;
    padding-left: 10px;
}
body.activity-permalink #buddypress div.activity-comments ul li > ul { margin-top: 10px; }
body.activity-permalink #buddypress div.activity-comments > ul { padding: 0 10px 0 15px; }
#buddypress div.activity-comments div.acomment-avatar img {
    border-width: 1px;
    float: left;
    height: 25px;
    margin-right: 10px;
    width: 25px;
}
#buddypress div.activity-comments div.acomment-content {
    font-size: 80%;
    margin: 5px 0 0 40px;
}
#buddypress div.acomment-content .time-since,
#buddypress div.acomment-content .activity-delete-link,
#buddypress div.acomment-content .comment-header { display: none; }
body.activity-permalink #buddypress div.activity-comments div.acomment-content { font-size: 90%; }
#buddypress div.activity-comments div.acomment-meta {
    color: #888;
    font-size: 80%;
}
#buddypress div.activity-comments form.ac-form {
    display: none;
    padding: 10px;
}
#buddypress div.activity-comments li form.ac-form {
    margin-right: 15px;
    clear: both;
}
#buddypress div.activity-comments form.root { margin-left: 0; }
#buddypress div.activity-comments div#message {
    margin-top: 15px;
    margin-bottom: 0;
}
#buddypress div.activity-comments form .ac-textarea {
    background: #fff;
    border: 1px inset #ccc;
    margin-bottom: 10px;
    padding: 8px;
}
#buddypress div.activity-comments form textarea {
    border: none;
    background: transparent;
    box-shadow: none;
    outline: none;
    color: #555;
    font-family: inherit;
    font-size: 100%;
    height: 60px;
    padding: 0;
    margin: 0;
    width: 100%;
}
#buddypress div.activity-comments form input { margin-top: 5px; }
#buddypress div.activity-comments form div.ac-reply-avatar { float: left; }
#buddypress div.ac-reply-avatar img { border: 1px solid #eee; }
#buddypress div.activity-comments form div.ac-reply-content {
    color: #888;
    margin-left: 50px;
    padding-left: 15px;
}
#buddypress div.activity-comments form div.ac-reply-content a { text-decoration: none; }
#buddypress .acomment-options {
    float: left;
    margin: 5px 0 5px 40px;
}
#buddypress .acomment-options a { color: #999; }
#buddypress .acomment-options a:hover { color: inherit; }
/*--------------------------------------------------------------
Directories - Members, Groups, Blogs, Forums
--------------------------------------------------------------*/
#buddypress div.dir-search {
    float: right;
    margin: -55px 0 0 0;
}
#buddypress .dir-form { clear: both; }
/*--------------------------------------------------------------
Errors / Success Messages
--------------------------------------------------------------*/
#buddypress div#message {
    clear: both;
    margin: 0 0 15px;
}
#buddypress #message.info { margin-bottom: 0; }
#buddypress div#message.updated { clear: both; }
#buddypress div#message p,
#sitewide-notice p {
    font-size: 90%;
    display: block;
    padding: 10px 15px;
}
#buddypress div#message.error p {
    background-color: #fdc;
    border: none !important;
    clear: left;
    color: #800;
}
#buddypress div#message.updated p {
    background-color: #efc;
    border: none !important;
    color: #250;
}
#buddypress #pass-strength-result {
    background-color: #eee;
    border-color: #ddd;
    border-style: solid;
    border-width: 1px;
    display: none;
    margin: 5px 5px 5px 0;
    padding: 5px;
    text-align: center;
    width: 150px;
}
#buddypress .standard-form #basic-details-section #pass-strength-result { width: 90%; }
#buddypress #pass-strength-result.error,
#buddypress #pass-strength-result.bad {
    background-color: #ffb78c;
    border-color: #ff853c !important;
    display: block;
}
#buddypress #pass-strength-result.good {
    background-color: #ffec8b;
    border-color: #fc0 !important;
    display: block;
}
#buddypress #pass-strength-result.short {
    background-color: #ffa0a0;
    border-color: #f04040 !important;
    display: block;
}
#buddypress #pass-strength-result.strong {
    background-color: #c3ff88;
    border-color: #8dff1c !important;
    display: block;
}
#buddypress .standard-form#signup_form div div.error {
    background: #faa;
    color: #a00;
    margin: 0 0 10px 0;
    padding: 6px;
    width: 90%;
}
#buddypress div.accept,
#buddypress div.reject {
    float: left;
    margin-left: 10px;
}
#buddypress ul.button-nav li {
    float: left;
    margin: 0 10px 10px 0;
    list-style: none;
}
#buddypress ul.button-nav li.current a {  }
#sitewide-notice #message {
    left: 2%;
    position: fixed;
    top: 1em;
    width: 96%;
    z-index: 9999;
}
#sitewide-notice.admin-bar-on #message { top: 3.3em; }
#sitewide-notice strong {
    display: block;
    margin-bottom: -1em;
}
/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
#buddypress .standard-form label,
#buddypress .standard-form span.label {
    display: block;
    
    margin: 15px 0 5px 0;
    width: auto;
}
#buddypress .standard-form div.checkbox label:nth-child(n+2),
#buddypress .standard-form div.radio div label {
    color: #888;
    font-size: 100%;
    font-weight: normal;
    margin: 5px 0 0 0;
}
#buddypress .standard-form#sidebar-login-form label { margin-top: 5px; }
#buddypress .standard-form input[type=text] { width: 75%; }
#buddypress .standard-form#sidebar-login-form input[type=text],
#buddypress .standard-form#sidebar-login-form input[type=password] {
    padding: 4px;
    width: 95%;
}
#buddypress .standard-form#signup_form input[type=text],
#buddypress .standard-form#signup_form input[type=password],
#buddypress .standard-form#signup_form textarea,
#buddypress .form-allowed-tags,
#buddypress #commentform input[type=text],
#buddypress #commentform textarea { width: 90%; }
#buddypress .standard-form#signup_form div.submit { float: right; }
#buddypress div#signup-avatar img { margin: 0 15px 10px 0; }
#buddypress .standard-form textarea {
    width: 75%;
    height: 120px;
}
#buddypress .standard-form textarea#message_content { height: 200px; }
#buddypress .standard-form#send-reply textarea { width: 97.5%; }
#buddypress .standard-form p.description {
    color: #888;
    font-size: 80%;
    margin: 5px 0;
}
#buddypress .standard-form div.submit {
    clear: both;
    padding: 15px 0 0 0;
}
#buddypress .standard-form p.submit {
    margin-bottom: 0;
    padding: 15px 0 0 0;
}
#buddypress #group-creation-previous { float: left; }
#buddypress #group-creation-next,
#buddypress #group-creation-finish { float: right; }
#buddypress .standard-form div.radio ul {
    margin: 10px 0 15px 38px;
    list-style: disc;
}
#buddypress .standard-form div.radio ul li { margin-bottom: 5px; }
#buddypress .standard-form a.clear-value {
    display: block;
    margin-top: 5px;
    outline: none;
}
#buddypress .standard-form #basic-details-section,
#buddypress .standard-form #blog-details-section,
#buddypress .standard-form #profile-details-section {
    float: left;
    width: 48%;
}
#buddypress .standard-form #profile-details-section { float: right; }
#buddypress .standard-form #blog-details-section { clear: left; }
#buddypress .standard-form input:focus,
#buddypress .standard-form textarea:focus,
#buddypress .standard-form select:focus {
    background: #fafafa;
    color: #555;
}
#buddypress form#send-invite-form { margin-top: 20px; }
#buddypress div#invite-list {
    background: #f5f5f5;
    height: 400px;
    margin: 0 0 10px;
    overflow: auto;
    padding: 5px;
    width: 160px;
}
#buddypress form.standard-form .left-menu { float: left; }
#buddypress form.standard-form .left-menu #invite-list ul {
    margin: 1%;
    list-style: none;
}
#buddypress form.standard-form .left-menu #invite-list ul li { margin: 0 0 0 1%; }
#buddypress form.standard-form .main-column { margin-left: 190px; }
#buddypress form.standard-form .main-column ul#friend-list {
    clear: none;
    float: left;
}
#buddypress form.standard-form .main-column ul#friend-list h4 { clear: none; }
/* Overrides for embedded WP editors */
#buddypress .wp-editor-wrap a.button,
#buddypress .wp-editor-wrap button,
#buddypress .wp-editor-wrap input[type=submit],
#buddypress .wp-editor-wrap input[type=button],
#buddypress .wp-editor-wrap input[type=reset] { padding: 0 10px 1px; }
/*--------------------------------------------------------------
Ajax Loading
--------------------------------------------------------------*/
#buddypress a.loading,
#buddypress input.loading {
    -webkit-animation: loader-pulsate .5s infinite ease-in-out alternate;
    -moz-animation: loader-pulsate .5s infinite ease-in-out alternate;
    border-color: #aaa;
}
@-webkit-keyframes loader-pulsate {
    from {
        border-color: #aaa;
        -webkit-box-shadow: 0 0 6px #ccc;
        box-shadow: 0 0 6px #ccc;
    }
    to {
        border-color: #ccc;
        -webkit-box-shadow: 0 0 6px #f8f8f8;
        box-shadow: 0 0 6px #f8f8f8;
    }
}
@-moz-keyframes loader-pulsate {
    from {
        border-color: #aaa;
        -moz-box-shadow: 0 0 6px #ccc;
        box-shadow: 0 0 6px #ccc;
    }
    to {
        border-color: #ccc;
        -moz-box-shadow: 0 0 6px #f8f8f8;
        box-shadow: 0 0 6px #f8f8f8;
    }
}
#buddypress a.loading:hover,
#buddypress input.loading:hover { color: #777; }
#buddypress input[type="submit"].pending,
#buddypress input[type="button"].pending,
#buddypress input[type="reset"].pending,
#buddypress input[type="submit"].disabled,
#buddypress input[type="button"].disabled,
#buddypress input[type="reset"].disabled,
#buddypress button.pending,
#buddypress button.disabled,
#buddypress div.pending a,
#buddypress a.disabled {
    border-color: #eee;
    color: #bbb;
    cursor: default;
}
#buddypress input[type="submit"]:hover.pending,
#buddypress input[type="button"]:hover.pending,
#buddypress input[type="reset"]:hover.pending,
#buddypress input[type="submit"]:hover.disabled,
#buddypress input[type="button"]:hover.disabled,
#buddypress input[type="reset"]:hover.disabled,
#buddypress button.pending:hover,
#buddypress button.disabled:hover,
#buddypress div.pending a:hover,
#buddypress a.disabled:hover {
    border-color: #eee;
    color: #bbb;
}
/*--------------------------------------------------------------
Forums, Tables and Topics
--------------------------------------------------------------*/
#buddypress ul#topic-post-list {
    margin: 0;
    width: auto;
}
#buddypress ul#topic-post-list li {
    padding: 15px;
    position: relative;
}
#buddypress ul#topic-post-list li.alt { background: #f5f5f5; }
#buddypress ul#topic-post-list li div.poster-meta {
    color: #888;
    margin-bottom: 10px;
}
#buddypress ul#topic-post-list li div.post-content { margin-left: 54px; }
#buddypress div.topic-tags { font-size: 80%; }
#buddypress div.admin-links {
    color: #888;
    font-size: 80%;
    position: absolute;
    top: 15px;
    right: 25px;
}
#buddypress div#topic-meta {
    margin: 0;
    padding: 5px 19px 30px;
    position: relative;
}
#buddypress div#topic-meta div.admin-links {
    right: 19px;
    top: -36px;
}
#buddypress div#topic-meta h3 { margin: 5px 0; }
#buddypress div#new-topic-post {
    display: none;
    margin: 20px 0 0 0;
    padding: 1px 0 0 0;
}
#buddypress table.notifications,
#buddypress table.notifications-settings,
#buddypress table.profile-settings,
#buddypress table.profile-fields,
#buddypress table.wp-profile-fields,
#buddypress table.messages-notices,
#buddypress table.forum { width: 100%; }
#buddypress table.notifications thead tr,
#buddypress table.notifications-settings thead tr,
#buddypress table.profile-settings thead tr,
#buddypress table.profile-fields thead tr,
#buddypress table.wp-profile-fields thead tr,
#buddypress table.messages-notices thead tr,
#buddypress table.forum thead tr { background: #eaeaea; }
#buddypress table#message-threads {
    clear: both;
    margin: 0;
    width: auto;
}
#buddypress table.profile-fields { margin-bottom: 20px; }
#buddypress table.profile-fields:last-child { margin-bottom: 0; }
#buddypress table.profile-fields p { margin: 0; }
#buddypress table.profile-fields p:last-child { margin-top: 0; }
#buddypress table.notifications tr td,
#buddypress table.notifications-settings tr td,
#buddypress table.profile-settings tr td,
#buddypress table.profile-fields tr td,
#buddypress table.wp-profile-fields tr td,
#buddypress table.messages-notices tr td,
#buddypress table.forum tr td,
#buddypress table.notifications tr th,
#buddypress table.notifications-settings tr th,
#buddypress table.profile-fields tr th,
#buddypress table.wp-profile-fields tr th,
#buddypress table.messages-notices tr th,
#buddypress table.forum tr th {
    padding: 8px;
    vertical-align: middle;
}
#buddypress table.notifications tr td.label,
#buddypress table.notifications-settings tr td.label,
#buddypress table.profile-fields tr td.label,
#buddypress table.wp-profile-fields tr td.label,
#buddypress table.messages-notices tr td.label,
#buddypress table.forum tr td.label {
    border-right: 1px solid #eaeaea;
    
    width: 25%;
}
#buddypress table tr td.thread-info p { margin: 0; }
#buddypress table tr td.thread-info p.thread-excerpt {
    color: #888;
    font-size: 80%;
    margin-top: 3px;
}
#buddypress table.forum td { text-align: center; }
#buddypress table.notifications tr.alt td,
#buddypress table.notifications-settings tr.alt td,
#buddypress table.profile-settings tr.alt td,
#buddypress table.profile-fields tr.alt td,
#buddypress table.wp-profile-fields tr.alt td,
#buddypress table.messages-notices tr.alt td,
#buddypress table.forum tr.alt td { background: #f5f5f5; }
#buddypress table.notification-settings {
    margin-bottom: 20px;
    text-align: left;
}
#buddypress #groups-notification-settings { margin-bottom: 0; }
#buddypress table.notifications th.icon,
#buddypress table.notifications td:first-child,
#buddypress table.notification-settings th.icon,
#buddypress table.notification-settings td:first-child { display: none; }
#buddypress table.notification-settings th.title,
#buddypress table.profile-settings th.title { width: 80%; }
#buddypress table.notification-settings .yes,
#buddypress table.notification-settings .no {
    text-align: center;
    width: 40px;
}
#buddypress table.forum {
    margin: 0;
    width: auto;
    clear: both;
}
#buddypress table.forum tr.sticky td {
    font-size: 110%;
    background: #fff9db;
    border-top: 1px solid #ffe8c4;
    border-bottom: 1px solid #ffe8c4;
}
#buddypress table.forum tr.closed td.td-title { padding-left: 35px; }
#buddypress table.forum td p.topic-text {
    color: #888;
    font-size: 100%;
}
#buddypress table.forum tr > td:first-child,
#buddypress table.forum tr > th:first-child { padding-left: 15px; }
#buddypress table.forum tr > td:last-child,
#buddypress table.forum tr > th:last-child { padding-right: 15px; }
#buddypress table.forum tr th#th-title,
#buddypress table.forum tr th#th-poster,
#buddypress table.forum tr th#th-group,
#buddypress table.forum td.td-poster,
#buddypress table.forum td.td-group,
#buddypress table.forum td.td-title { text-align: left; }
#buddypress table.forum tr td.td-title a.topic-title { font-size: 110%; }
#buddypress table.forum td.td-freshness { white-space: nowrap; }
#buddypress table.forum td.td-freshness span.time-since {
    font-size: 80%;
    color: #888;
}
#buddypress table.forum td img.avatar {
    float: none;
    margin: 0 5px -8px 0;
}
#buddypress table.forum td.td-poster,
#buddypress table.forum td.td-group { min-width: 140px; }
#buddypress table.forum th#th-title { width: 80%; }
#buddypress table.forum th#th-freshness { width: 25%; }
#buddypress table.forum th#th-postcount { width: 15%; }
#buddypress table.forum p.topic-meta {
    font-size: 80%;
    margin: 5px 0 0 0;
}
/*-------------------------------------------------------------------------
Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles
-------------------------------------------------------------------------*/
#buddypress .item-body { margin: 20px 10px; }
#buddypress .item-body h4,
#buddypress #item-body h4 { font-size: 20pt; }
#buddypress span.activity {
    display: inline-block;
    font-size: 80%;
    opacity: 0.8;
    padding: 0;
}
#buddypress span.user-nicename {
    color: #777;
    display: inline-block;
    font-size: 120%;
    
}
#buddypress div#message p,
#sitewide-notice p {
    color: #666;
    background: #F7F7F7;
    padding: .5em 1.618em;
    margin-bottom: 2.618em;
    border-color: #e6db55;
    border-style: solid;
    border-width: 0 0 0 5px;
    margin-left: 0;
    clear: both;
}
#buddypress div#item-header { overflow: hidden; }
#buddypress div#item-header div#item-header-content { margin-left: 0; }
#buddypress div#item-header h2 {
    line-height: 120%;
    margin: 0 0 15px 0;
}
#buddypress div#item-header h2 a {
    color: #777;
    text-decoration: none;
}
#buddypress div#item-header img.avatar {
    float: left;
    margin: 0 15px 19px 0;
    width: 128px;
    height: auto;
}
#buddypress div#item-header h2 { margin-bottom: 5px; }
#buddypress div#item-header h2 span.highlight {
    font-size: 60%;
    font-weight: normal;
    line-height: 170%;
    vertical-align: middle;
    display: inline-block;
}
#buddypress div#item-header h2 span.highlight span {
    background: #a1dcfa;
    color: #fff;
    cursor: pointer;
    
    font-size: 80%;
    margin-bottom: 2px;
    padding: 1px 4px;
    position: relative;
    right: -2px;
    top: -2px;
    vertical-align: middle;
}
#buddypress div#item-header div#item-meta {
    font-size: 90%;
    overflow: hidden;
    margin: 15px 0 5px 0;
    padding-bottom: 10px;
}
#buddypress div#item-header div#item-actions {
    float: right;
    margin: 0 0 15px 15px;
    text-align: right;
    width: 20%;
}
#buddypress div#item-header div#item-actions h3 {
    margin: 0 0 5px 0;
    
    font-size: inherit;
}
#buddypress div#item-header ul {
    margin-bottom: 15px;
    overflow: hidden;
}
#buddypress div#item-header ul h5,
#buddypress div#item-header ul span,
#buddypress div#item-header ul hr { display: none; }
#buddypress div#item-header ul li {
    float: right;
    list-style: none;
}
#buddypress div#item-header ul img.avatar,
#buddypress div#item-header ul.avatars img.avatar {
    height: 30px;
    margin: 2px;
    width: 30px;
}
#buddypress div#item-header div.generic-button,
#buddypress div#item-header a.button {
    float: left;
    margin: 10px 10px 0 0;
}
#buddypress div#item-header div#message.info { line-height: 80%; }
#buddypress ul.item-list {
    border-top: 1px solid #eaeaea;
    width: 100%;
    list-style: none;
    clear: both;
    margin: 0;
    padding: 0;
}
body.activity-permalink #buddypress ul.item-list,
body.activity-permalink #buddypress ul.item-list li.activity-item { border: none; }
#buddypress ul.item-list li {
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
    margin: 0;
    position: relative;
    list-style: none;
}
#buddypress ul.single-line li { border: none; }
#buddypress ul.item-list h5 { margin-top: 0; }
#buddypress ul.item-list li img.avatar {
    float: left;
    margin: 0 20px 0 0;
}
#buddypress ul.item-list li div.item-title,
#buddypress ul.item-list li h4 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}
#buddypress ul.item-list li div.item-title span {
    color: #999;
    font-weight: normal;
    font-size: 10pt;
}
#buddypress ul.item-list li div.item-desc {
    color: #888;
    font-size: 90%;
    margin: 10px 0 0 70px;
    width: 90%;
}
#buddypress ul.item-list li div.action {
    position: absolute;
    top: 15px;
    right: 0;
    text-align: right;
}
#buddypress ul.item-list li div.meta {
    color: #888;
    font-size: 80%;
    margin-top: 10px;
}
#buddypress ul.item-list li h5 span.small {
    float: right;
    font-size: 80%;
    font-weight: normal;
}
#buddypress div.item-list-tabs {
    background: transparent;
    overflow: hidden;
    padding-bottom: 10px;
}
#buddypress div.item-list-tabs.activity-type-tabs,
#buddypress div.item-list-tabs#object-nav { border-bottom: 1px solid #eee; }
#buddypress div.item-list-tabs .feed a {
    padding: 2px 5px;
    font-size: 10pt;
    background: orange !important;
    color: #FFF;
    line-height: 15px;
}
#crumbs a.bp-title-button { display: none; }
a.bp-title-button {
    vertical-align: middle;
    padding: 2px 5px;
    font-size: 10pt;
    margin-left: 10px;
    line-height: 19px;
}
#buddypress div.item-list-tabs ul {
    margin: 0;
    padding: 0;
}
#buddypress div.item-list-tabs ul li {
    float: left;
    margin: 0;
    list-style: none;
    display: block;
    max-height: 35px;
}
#buddypress div.item-list-tabs#subnav ul li { margin-top: 0; }
#buddypress div.item-list-tabs ul li.last {
    float: right;
    margin: 7px 0 0;
}
#buddypress div.item-list-tabs#subnav ul li.last { margin-top: 0px; }
#buddypress div.item-list-tabs ul li.last select {
    max-width: 175px;
    padding: 3px;
}
#buddypress div.item-list-tabs ul li a,
#buddypress div.item-list-tabs ul li span,
#members-list-options a,
#groups-list-options a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    background-color: #eee;
    color: #888;
    margin-right: 3px;
    margin-bottom: 3px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
}
#buddypress div.item-list-tabs ul li a:hover,
#members-list-options a:hover,
#groups-list-options a:hover { opacity: 1; }
#buddypress div.item-list-tabs ul li a span,
#buddypress #members-directory-form div.item-list-tabs ul li.selected span {
    background: #393939;
    border-radius: 50%;
    color: #FFF;
    display: inline;
    font-size: 70%;
    margin-left: 2px;
    margin-right: 0;
    padding: 3px 6px;
    text-align: center;
    vertical-align: middle;
}
#buddypress div.item-list-tabs ul li.selected a span,
#buddypress div.item-list-tabs ul li.current a span,
body.dark-skin #buddypress div.item-list-tabs ul li.selected a span,
body.dark-skin #buddypress div.item-list-tabs ul li.current a span {
    background: #FFF;
    color: #777;
}
#buddypress div.item-list-tabs ul li.selected a,
#buddypress div.item-list-tabs ul li.current a,
#members-list-options a.selected,
#groups-list-options a.selected {
    background: #202121;
    color: #FFF;
}
#buddypress #members-directory-form div.item-list-tabs ul li.selected a {
    background: transparent;
    padding: 8px 0;
    color: inherit;
    vertical-align: bottom;
}
#buddypress div#item-nav ul li.loading a { background-position: 88% 50%; }
#buddypress div.item-list-tabs#object-nav { margin-top: 0; }
#buddypress div.item-list-tabs#subnav {
    padding: 20px 0 15px;
    background: transparent;
    overflow: hidden;
}
#buddypress #members-directory-form div.item-list-tabs#subnav {
    margin-top: -40px;
    padding: 0;
}
#buddypress #admins-list li,
#buddypress #mods-list li,
#buddypress #members-list li {
    overflow: auto;
    list-style: none;
}
/*--------------------------------------------------------------
Private Messaging Threads
--------------------------------------------------------------*/
#buddypress table#message-threads tr.unread td {
    background: #fff9db;
    border-top: 1px solid #ffe8c4;
    border-bottom: 1px solid #ffe8c4;
    
}
#buddypress li span.unread-count,
#buddypress tr.unread span.unread-count {
    background: #dd0000;
    color: #fff;
    
    padding: 2px 8px;
}
#buddypress div.item-list-tabs ul li a span.unread-count {
    padding: 1px 6px;
    color: #fff;
}
#buddypress div.messages-options-nav {
    background: #eee;
    font-size: 80%;
    margin: 0;
    padding: 5px 15px;
    text-align: right;
}
#buddypress div#message-thread div.message-box {
    margin: 0;
    padding: 15px;
}
#buddypress div#message-thread div.alt { background: #f4f4f4; }
#buddypress div#message-thread p#message-recipients { margin: 10px 0 20px 0; }
#buddypress div#message-thread img.avatar {
    float: left;
    margin: 0 10px 0 0;
    vertical-align: middle;
}
#buddypress div#message-thread strong {
    font-size: 100%;
    margin: 0;
}
#buddypress div#message-thread strong a { text-decoration: none; }
#buddypress div#message-thread strong span.activity { margin-top: 4px; }
#buddypress div#message-thread div.message-metadata { overflow: hidden; }
#buddypress div#message-thread div.message-content { margin-left: 45px; }
#buddypress div#message-thread div.message-options { text-align: right; }
#buddypress #message-threads img.avatar { max-width: none; }
#buddypress div.message-search {
    float: right;
    margin: 0 20px;
}
/*--------------------------------------------------------------
Extended Profiles
--------------------------------------------------------------*/
#buddypress div.profile h4 {
    margin-bottom: auto;
    margin-top: 15px;
}
#buddypress #profile-edit-form ul.button-nav { margin-top: 15px; }
body.no-js #buddypress .field-visibility-settings-toggle,
body.no-js #buddypress .field-visibility-settings-close { display: none; }
#buddypress .field-visibility-settings {
    display: none;
    margin-top: 10px;
}
body.no-js #buddypress .field-visibility-settings { display: block; }
#buddypress .current-visibility-level {
    
    font-style: normal;
}
#buddypress .field-visibility-settings,
#buddypress .field-visibility-settings-toggle,
#buddypress .field-visibility-settings-notoggle { color: #888; }
#buddypress .field-visibility-settings-toggle a,
#buddypress .field-visibility-settings a { font-size: 80%; }
body.register #buddypress div.page ul { list-style: none; }
#buddypress .standard-form .field-visibility-settings label {
    margin: 0;
    font-weight: normal;
}
#buddypress .field-visibility-settings legend,
#buddypress .field-visibility-settings-toggle { font-style: italic; }
#buddypress .field-visibility-settings .radio {
    list-style: none;
    margin-bottom: 0;
}
#buddypress .field-visibility select { margin: 0; }
/*--------------------------------------------------------------
3.11 - Widgets
--------------------------------------------------------------*/
.widget.buddypress div.item-avatar img.avatar {
    width: 16%;
    float: left;
    margin: 2%;
    height: auto;
    max-width: 50px;
}
.widget.buddypress .item-list {
    padding: 0;
    border: 0 none;
}
.widget.buddypress .item-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
}
#members-list-options,
#groups-list-options {
    padding: 0 0 10px;
    font-size: 0;
    text-align: center;
}
#members-list-options a,
#groups-list-options a {
    display: inline-block;
    font-size: 10pt;
}
#members-list-options a.loading:after,
#groups-list-options a.loading:after {
    font-family: 'FontAwesome';
    display: inline-block;
    font-size: 100%;
    margin-left: .618em;
    font-weight: normal;
    line-height: 1em;
    width: 1em;
    text-align: right;
    content: "\f110";
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}
#members-list-options a:last-child,
#groups-list-options a:last-child { margin: 0; }
.widget.buddypress span.activity {
    display: inline-block;
    font-size: 80%;
    opacity: 0.8;
    padding: 0;
}
.widget.buddypress div.item-options {
    font-size: 90%;
    margin: 0 0 1em 0;
    padding: 1em 0;
}
.widget.buddypress div.item-meta,
.widget.buddypress div.item-content {
    font-size: 11px;
    margin-left: 38px;
}
.widget.buddypress ul.item-list img.avatar {
    height: auto;
    margin: 0;
    margin-right: 10px;
    width: 40px;
}
.widget.buddypress div.item-avatar img {
    height: 40px;
    margin: 1px;
    width: 40px;
}
.widget.buddypress div.avatar-block { overflow: hidden; }
#bp-login-widget-form { overflow: hidden; }
.bbp-login-form fieldset legend { display: none; }
.bbp-login-form label {
    width: 140px;
    display: inline-block;
}
.widget.buddypress #bp-login-widget-form label {
    width: 27%;
    display: inline-block;
}
#sidebar #bp-login-widget-user-login,
#sidebar #bp-login-widget-user-pass { width: 70%; }
.widget.buddypress #bp-login-widget-form .forgetmenot {
    float: left;
    margin-top: 10px;
}
.widget.buddypress #bp-login-widget-form .forgetmenot label { width: auto; }
.bp-login-widget-register-link {
    display: block;
    clear: both;
    padding: 5px 0;
}
.widget.buddypress #bp-login-widget-form #bp-login-widget-submit {
    float: right;
    clear: none;
    margin-top: 5px;
    margin-right: 2%;
}
.widget.buddypress .bp-login-widget-user-avatar {
    float: left;
    width: 60px;
}
.widget.buddypress .bp-login-widget-user-links > div { padding-left: 60px; }
.widget.buddypress .bp-login-widget-user-links > div { margin-bottom: .5rem; }
.widget.buddypress .bp-login-widget-user-links > div.bp-login-widget-user-link a {  }

/*--------------------------------------------------------------
Media Queries
--------------------------------------------------------------*/

/* Smartphones - landscape */
@media only screen and (max-width: 480px ) {
    #buddypress div.dir-search {
        float: right;
        margin-top: -50px;
        text-align: right;
    }
    #buddypress div.dir-search input[type="text"] {
        margin-bottom: 1em;
        width: 50%;
    }
    a.bp-title-button { margin-left: 10px; }
    #buddypress form.standard-form .main-column div.action {
        position: relative;
        margin-bottom: 1em;
    }
    #buddypress form.standard-form .main-column ul#friend-list h4 { width: 100%; }
}

/* Smartphones - portrait */
@media only screen and (max-width: 320px) {
    #buddypress div.dir-search {
        clear: left;
        float: left;
        margin-top: 0;
        text-align: left;
    }
    #buddypress li#groups-order-select {
        clear: left;
        float: left;
    }
    #buddypress ul.item-list li div.action {
        clear: left;
        float: left;
        margin-top: 0;
        margin-left: 70px;
        position: relative;
        top: 0;
        right: 0;
        text-align: left;
    }
    #buddypress ul.item-list li div.item-desc {
        clear: left;
        float: left;
        margin: 10px 0 0;
        width: auto;
    }
    #buddypress li div.item {
        margin-left: 70px;
        width: auto;
    }
    #buddypress ul.item-list li div.meta { margin-top: 0; }
    #buddypress .item-desc p { margin: 0 0 10px; }
    #buddypress div.pagination .pag-count { margin-left: 0; }
}

/* Smartphones - smaller screen sizes */
@media only screen and (max-width: 240px) {
    #buddypress div.dir-search {
        float: left;
        margin: 0;
    }
    #buddypress div.dir-search input[type="text"] { width: 50%; }
    #buddypress li#groups-order-select { float: left; }
    #buddypress ul.item-list li img.avatar {
        width: 30px;
        height: auto;
    }
    #buddypress ul.item-list li div.action,
    #buddypress li div.item { margin-left: 45px; }
    h1 a.bp-title-button {
        clear: left;
        float: left;
        margin: 10px 0 20px;
    }
}
/*--------------------------------------------------------------
Dark Skin
--------------------------------------------------------------*/
body.dark-skin #buddypress ul.item-list li,
body.dark-skin #buddypress ul.item-list,
body.dark-skin .widget.buddypress .item-list li,
body.dark-skin #buddypress div.item-list-tabs.activity-type-tabs,
body.dark-skin #buddypress div.item-list-tabs#object-nav,
body.dark-skin .activity-list li.bbp_topic_create .activity-content .activity-inner,
body.dark-skin .activity-list li.bbp_reply_create .activity-content .activity-inner { border-color: #474747; }
body.dark-skin #buddypress div.item-list-tabs ul li a,
body.dark-skin #buddypress div.item-list-tabs ul li span,
body.dark-skin #members-list-options a,
body.dark-skin #groups-list-options a { background-color: #2F2F2F; }
/*--------------------------------------------------------------
RTL
--------------------------------------------------------------*/
body.rtl #buddypress div.pagination,
body.rtl #buddypress form#whats-new-form #whats-new-avatar,
body.rtl #buddypress .activity-list .activity-avatar,
body.rtl #buddypress #group-creation-previous,
body.rtl #buddypress .standard-form #basic-details-section,
body.rtl #buddypress .standard-form #blog-details-section,
body.rtl #buddypress .standard-form #profile-details-section,
body.rtl #buddypress form.standard-form .left-menu,
body.rtl #buddypress form.standard-form .main-column ul#friend-list,
body.rtl #buddypress div#item-header div.generic-button,
body.rtl #buddypress div#item-header a.button,
body.rtl #buddypress div.item-list-tabs ul li,
body.rtl .widget.buddypress div.item-avatar img.avatar,
body.rtl .widget.buddypress #bp-login-widget-form .forgetmenot,
body.rtl .widget.buddypress .bp-login-widget-user-avatar { float: right; }
body.rtl #buddypress form#whats-new-form #whats-new-submit,
body.rtl #buddypress div.dir-search,
body.rtl #buddypress .standard-form#signup_form div.submit,
body.rtl #buddypress #group-creation-next,
body.rtl #buddypress #group-creation-finish,
body.rtl #buddypress .standard-form #profile-details-section,
body.rtl #buddypress div#item-header ul li,
body.rtl #buddypress ul.item-list li h5 span.small,
body.rtl #buddypress div.message-search,
body.rtl #buddypress div.item-list-tabs ul li.last { float: left; }
body.rtl #buddypress div.pagination .pag-count {
    float: right;
    margin-right: 10px;
    margin-left: 0;
}
body.rtl #buddypress div.pagination .pagination-links {
    float: left;
    margin-left: 10px;
    margin-right: 0;
}
body.rtl #buddypress .clear { clear: right; }
body.rtl #buddypress form#whats-new-form #whats-new-content {
    margin-right: 55px;
    margin-left: 0;
    padding: 0 20px 20px 0;
}
body.rtl #buddypress form#whats-new-form p.activity-greeting {
    margin-right: 75px;
    margin-left: 0;
}
body.rtl #buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar,
body.rtl #buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic { margin-right: 0; }
body.rtl #buddypress .activity-list li.mini .activity-content {
    margin-right: 25px;
    margin-left: 0;
}
body.rtl #buddypress .activity-list .activity-content { margin: 0 70px 0 0; }
body.rtl body.activity-permalink #buddypress .activity-list li .activity-content {
    margin-left: 0;
    margin-right: 170px;
}
body.rtl #buddypress .activity-header {
    margin-right: 0;
    margin-left: 20px;
}
body.rtl #buddypress a.bp-secondary-action,
body.rtl #buddypress span.highlight {
    margin-right: 5px;
    margin-left: 0;
}
body.rtl #buddypress .activity-list .activity-content .activity-inner,
body.rtl #buddypress .activity-list .activity-content blockquote {
    margin: 10px 0 5px 10px;
    overflow: hidden;
}
body.rtl #buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
body.rtl #buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
    border-width: 0 2px 0 0;
    margin-left: 0;
    margin-right: 5px;
    padding-left: 0;
    padding-right: 10px;
}
body.rtl body.activity-permalink #buddypress .activity-content .activity-inner,
body.rtl body.activity-permalink #buddypress .activity-content blockquote { margin-right: 0; }
body.rtl #buddypress .activity-list .activity-content img.thumbnail {
    float: right;
    margin: 0 0 5px 10px;
}
body.rtl #buddypress .activity-read-more {
    margin-right: 1em;
    margin-left: 0;
}
body.rtl #buddypress div.activity-meta,
body.rtl #buddypress div.messages-options-nav,
body.rtl #buddypress div#message-thread div.message-options { text-align: left; }
body.rtl #buddypress a.bp-primary-action,
body.rtl #buddypress #reply-title small a {
    margin-left: 5px;
    margin-right: 0;
}
body.rtl #buddypress div.activity-comments { margin: 0 70px 0 0; }
body.rtl.activity-permalink #buddypress div.activity-comments {
    margin-right: 170px;
    margin-left: 0;
}
body.rtl #buddypress div.activity-comments > ul { padding: 0 10px 0 0; }
body.rtl #buddypress div.activity-comments ul li > ul {
    margin-right: 30px;
    margin-left: 0;
    padding-right: 10px;
    padding-left: 0;
}
body.rtl.activity-permalink #buddypress div.activity-comments > ul { padding: 0 15px 0 10px; }
body.rtl #buddypress div.activity-comments div.acomment-avatar img {
    float: right;
    margin-left: 10px;
    margin-right: 0;
}
body.rtl #buddypress div.activity-comments div.acomment-content { margin: 5px 40px 0 0; }
body.rtl #buddypress div.activity-comments li form.ac-form {
    margin-right: 0;
    margin-left: 15px;
}
body.rtl #buddypress div.activity-comments form.root { margin-right: 0; }
body.rtl #buddypress div.activity-comments form div.ac-reply-avatar { float: right; }
body.rtl #buddypress div.activity-comments form div.ac-reply-content {
    margin-right: 50px;
    margin-left: 0;
    padding-right: 15px;
    padding-left: 0;
}
body.rtl #buddypress .acomment-options { margin: 5px 40px 5px 0; }
body.rtl #buddypress div#message.error p,
body.rtl #buddypress .standard-form #blog-details-section { clear: right; }
body.rtl #buddypress #pass-strength-result { margin: 5px 0 5px 5px; }
body.rtl #buddypress div.accept,
body.rtl #buddypress div.reject {
    float: right;
    margin-right: 10px;
    margin-left: 0;
}
body.rtl #buddypress ul.button-nav li {
    float: right;
    margin: 0 0 10px 10px;
}
body.rtl #buddypress div#signup-avatar img { margin: 0 0 10px 15px; }
body.rtl #buddypress .standard-form div.radio ul { margin: 10px 38px 15px 0; }
body.rtl #buddypress form.standard-form .left-menu #invite-list ul li { margin: 0 1% 0 0; }
body.rtl #buddypress form.standard-form .main-column {
    margin-left: 0;
    margin-right: 190px;
}
body.rtl #buddypress .wp-editor-wrap a.button,
body.rtl #buddypress .wp-editor-wrap button,
body.rtl #buddypress .wp-editor-wrap input[type=submit],
body.rtl #buddypress .wp-editor-wrap input[type=button],
body.rtl #buddypress .wp-editor-wrap input[type=reset] { padding: 1px 10px 0; }
body.rtl #buddypress ul#topic-post-list li div.post-content {
    margin-right: 54px;
    margin-left: 0;
}
body.rtl #buddypress div.admin-links {
    left: 25px;
    right: auto;
}
body.rtl #buddypress div#topic-meta div.admin-links {
    left: 19px;
    right: auto;
}
body.rtl #buddypress table.notification-settings { text-align: right; }
body.rtl #buddypress table.forum tr.closed td.td-title {
    padding-left: 0;
    padding-right: 35px;
}
body.rtl #buddypress table.forum tr > td:first-child,
body.rtl #buddypress table.forum tr > th:first-child {
    padding-left: 0;
    padding-right: 15px;
}
body.rtl #buddypress table.forum tr > td:last-child,
body.rtl #buddypress table.forum tr > th:last-child {
    padding-right: 0;
    padding-left: 15px;
}
body.rtl #buddypress table.forum tr th#th-title,
body.rtl #buddypress table.forum tr th#th-poster,
body.rtl #buddypress table.forum tr th#th-group,
body.rtl #buddypress table.forum td.td-poster,
body.rtl #buddypress table.forum td.td-group,
body.rtl #buddypress table.forum td.td-title { text-align: right; }
body.rtl #buddypress table.forum td img.avatar { margin: 0 0 -8px 5px; }
body.rtl #buddypress div#message p,
body.rtl #sitewide-notice p {
    border-width: 0 5px 0 0;
    margin-right: 0;
}
body.rtl #buddypress div#item-header div#item-header-content { margin-right: 0; }
body.rtl #buddypress div#item-header img.avatar {
    float: right;
    margin: 0 0 19px 15px;
}
body.rtl #buddypress div#item-header h2 span.highlight span {
    right: auto;
    left: -2px;
}
body.rtl #buddypress div#item-header div#item-actions {
    float: left;
    margin: 0 15px 15px 0;
    text-align: left;
}
body.rtl #buddypress ul.item-list li img.avatar {
    float: right;
    margin: 0 0 0 20px;
}
body.rtl #buddypress ul.item-list li div.item-desc { margin: 10px 70px 0 0; }
body.rtl #buddypress ul.item-list li div.action {
    right: auto;
    left: 0;
    text-align: left;
}
body.rtl a.bp-title-button {
    margin-left: 0;
    margin-right: 10px;
}
body.rtl #buddypress div.item-list-tabs ul li a,
body.rtl #buddypress div.item-list-tabs ul li span,
body.rtl #members-list-options a,
body.rtl #groups-list-options a {
    margin-right: 0;
    margin-left: 3px;
}
body.rtl #buddypress div.item-list-tabs ul li a span,
body.rtl #buddypress #members-directory-form div.item-list-tabs ul li.selected span {
    margin-left: 0;
    margin-right: 2px;
}
body.rtl #buddypress div#message-thread img.avatar {
    float: right;
    margin: 0 0 0 10px;
}
body.rtl #buddypress div#message-thread div.message-content {
    margin-right: 45px;
    margin-left: 0;
}
body.rtl #members-list-options a.loading:after,
body.rtl #groups-list-options a.loading:after {
    margin-right: .618em;
    margin-left: 0;
    text-align: left;
}
body.rtl .widget.buddypress div.item-meta,
body.rtl .widget.buddypress div.item-content {
    margin-right: 38px;
    margin-left: 0;
}
body.rtl .widget.buddypress ul.item-list img.avatar {
    margin-left: 10px;
    margin-right: 0;
}
body.rtl .widget.buddypress #bp-login-widget-form #bp-login-widget-submit {
    float: left;
    margin-left: 2%;
    margin-right: 0;
}
body.rtl .widget.buddypress .bp-login-widget-user-links > div {
    padding-right: 60px;
    padding-left: 0;
}

/* Media Queries */
@media only screen and (max-width: 480px ) {
    body.rtl #buddypress div.dir-search {
        float: left;
        text-align: left;
    }
    body.rtl a.bp-title-button {
        margin-left: 0;
        margin-right: 10px;
    }
}

@media only screen and (max-width: 320px) {
    body.rtl #buddypress div.dir-search {
        clear: right;
        float: right;
        text-align: right;
    }
    body.rtl #buddypress li#groups-order-select,
    body.rtl #buddypress ul.item-list li div.item-desc {
        clear: right;
        float: right;
    }
    body.rtl #buddypress ul.item-list li div.action {
        clear: right;
        float: right;
        margin-left: 0;
        margin-right: 70px;
        right: auto;
        left: 0;
        text-align: right;
    }
    body.rtl #buddypress li div.item {
        margin-right: 70px;
        margin-left: 0;
    }
    body.rtl #buddypress div.pagination .pag-count { margin-right: 0; }
}

@media only screen and (max-width: 240px) {
    body.rtl #buddypress div.dir-search,
    body.rtl #buddypress li#groups-order-select { float: right; }
    body.rtl #buddypress ul.item-list li div.action,
    body.rtl #buddypress li div.item {
        margin-right: 45px;
        margin-left: 0;
    }
    body.rtl h1 a.bp-title-button {
        clear: right;
        float: right;
    }
}