/* -------------------
Hello, this is the BuddyPress Legacy stylesheet.

----------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Navigation
	1.1 - Pagination
2.0 - WordPress
	2.1 - Images
3.0 - BuddyPress
	3.1 - Activity
		3.1.1 - Activity Listing
		3.1.2 - Activity Comments
	3.2 - Toolbar
	3.3 - Directories - Members, Groups, Blogs, Forums
	3.4 - Error / Success Messages
	3.5 - Forms
	3.6 - Ajax Loading
	3.7 - Topics and Tables - Forums and General
	3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
	3.9 - Private Messaging Threads
	3.10 - Extended Profiles
	3.11 - Widgets
4.0 - Media Queries
	4.1 - Smartphones Landscape
	4.2 - Smartphones Portrait
	4.3 - Smartphones - smaller screen sizes
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1 - Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.1 - Pagination
--------------------------------------------------------------*/

#buddypress div.pagination .pag-count {
    float: right;
}

#buddypress div.pagination .pagination-links {
    float: left;
    margin-left: 10px;
    margin-right: auto;
}

/*--------------------------------------------------------------
2 - WordPress
--------------------------------------------------------------*/
/*--------------------------------------------------------------
2.1 - Images
--------------------------------------------------------------*/

/*--------------------------------------------------------------
3.0 - BuddyPress
--------------------------------------------------------------*/
/*--------------------------------------------------------------
3.1 - Activity
--------------------------------------------------------------*/

#buddypress form#whats-new-form #whats-new-avatar {
    float: right;
}

#buddypress form#whats-new-form p.activity-greeting {
    margin: 0 35px 25px 10px;
}

#buddypress form#whats-new-form #whats-new-submit {
    float: left;
}

#rtMedia-queue-list {
    /*border-right: 1px solid #e5e5e5;
    */
    border-right-style: solid;
    border-right-width: 1px;
}

.rtmedia-container #rtMedia-queue-list tr td:first-child:before {
    margin-left: 20px;
    margin-right: auto;
}

.rtmedia-container #rtMedia-queue-list tr td {
    border-right: none;
    border-left: none;
}

.rtmedia-container #rtMedia-queue-list tr td.plupload_file_size {
    border-left: none !important;
    border-right: none;
}

/*--------------------------------------------------------------
3.1.1 - Activity Listing
--------------------------------------------------------------*/
#buddypress ul.activity-list li {
    overflow: visible;
}
#buddypress .activity-list .activity-avatar {
    float: right;
    margin-right: 10px;
    margin-left: auto;
}

#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic {
    margin-right: 0;
    margin-left: auto;
}

#buddypress .activity-list .activity-content {
    margin: 0 90px 0 0;
}

body.activity-permalink #buddypress .activity-list li .activity-content {
    margin-right: 90px;
    margin-left: 0;
}

#buddypress .activity-header {
    margin-left: 20px;
    margin-right: auto;
}

#buddypress .activity-header p a:last-child {
    margin-left: 50%;
    margin-right: auto;
}

#buddypress .activity-list .activity-content .activity-header img.avatar {
    margin: 0 0 -8px 5px !important;
}

#buddypress a.bp-secondary-action,
#buddypress span.highlight {
    margin-left: 5px;
    margin-right: auto;
}

#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
    border-right: 2px solid #EAEAEA;
    margin-right: 5px;
    padding-right: 10px;
    padding-left: 0;
    margin-left: auto;
    border-left: none;
}

body.activity-permalink #buddypress .activity-content .activity-inner,
body.activity-permalink #buddypress .activity-content blockquote {
    margin-right: 0;
    margin-left: auto;
}

#buddypress .activity-list .activity-content img.thumbnail {
    float: right;
    margin: 0 0 5px 10px;
}

#buddypress .activity-list li.load-more a:before,
#buddypress .activity-list li.load-newest a:before {
    margin-left: 5px;
    margin-right: auto;
}

#buddypress .activity-timeline {
    border-right-style: solid;
    border-right-width: 1px;
    right: 40px;
    left: auto;
}

#buddypress .friends ul#members-list .item-avatar .kleo-online-status,
#buddypress ul#member-list .item-avatar .kleo-online-status,
#buddypress #members-dir-list ul#members-list .item-avatar .kleo-online-status {
    left: 0;
    left: -5px;
    right: auto;
}

/* Small fix when rtMedia is deactivated */
#buddypress .activity-list .rtmedia_update .activity-content .activity-inner p a {
    float: right;
}

/*--------------------------------------------------------------
3.1.2 - Activity Comments
--------------------------------------------------------------*/
#buddypress div.activity-meta {
    margin: 18px 0 -1px -30px;
}

#buddypress a.bp-primary-action,
#buddypress #reply-title small a {
    margin-left: 5px;
    margin-right: auto;
}

/* Add style for activity
   custom plugins buttons */

#buddypress .activity-meta a.button.like:before,
#buddypress .activity-meta a.button.unlike:before {
    margin-left: 5px;
    margin-right: auto;
}

/* End custom plugins buttons */

#buddypress a.bp-primary-action span,
#buddypress #reply-title small a span {
    margin-right: 2px;
    margin-left: auto;
}

#buddypress div.activity-comments {
    margin: 0 70px 0 0;
}

body.activity-permalink #buddypress div.activity-comments {
    margin-right: 70px;
    margin-left: auto;
}

#buddypress div.activity-comments > ul {
    padding: 0 10px 0 0;
}

#buddypress div.activity-comments ul li > ul {
    padding-right: 0;
    padding-left: 0;
}

body.activity-permalink #buddypress div.activity-comments > ul {
    padding: 0 15px 0 10px;
}

#buddypress div.activity-comments div.acomment-avatar {
    float: right;
    margin-left: 10px;
    margin-right: auto;
}

#buddypress div.activity-comments li form.ac-form {
    margin-left: 15px;
    margin-right: auto;
}

#buddypress div.activity-comments form.root {
    margin-right: 0;
    margin-left: auto;
}

#buddypress div.activity-comments form div.ac-reply-avatar {
    float: right;
}

#buddypress div.activity-comments form div.ac-reply-content {
    margin-right: 50px;
    padding-right: 15px;
    padding-left: 0;
    margin-left: auto;
}

#buddypress .acomment-options {
    float: right;
}

/*--------------------------------------------------------------
3.3 - Directories - Members, Groups, Blogs, Forums
--------------------------------------------------------------*/
#buddypress div.dir-search {
    float: left;
}

#search-members-form,
#search-groups-form {
    margin-right: auto;
    margin-left: auto;
    text-align: right;
}

#buddypress #groups-list li {
    right: auto;
    left: auto;
}

#buddypress #groups-list .item-avatar .member-count {
    left: 0;
    right: auto;
}

#buddypress #group-list .item-avatar.rounded img {
    margin-left: 10px;
    margin-right: auto;
}

#buddypress ul#member-list .member-list-content {
    margin-right: 90px;
    margin-left: auto;
}

/* Temporary fix */

#buddypress #friend-list li div.item-avatar,
#buddypress #member-list li div.item-avatar,
#buddypress #members-list li div.item-avatar {
    float: right;
    margin: 0 10px 10px 20px;
}

#buddypress #friend-list .item-title,
#buddypress #member-list h5,
#buddypress #members-list .item-title {
    margin-right: 90px;
    margin-left: auto;
}

#buddypress #friend-list .item-meta,
#buddypress #member-list .item-meta,
#buddypress #members-list .item-meta {
    margin-right: 90px;
    margin-left: auto;
}

#buddypress #friend-list div.action,
#buddypress #member-list div.action,
#buddypress #members-list div.action {
    left: inherit;
    right: auto;
}

#buddypress .kleo-online-status {
    left: 0;
    right: auto;
}

#buddypress .kleo-members-carousel .kleo-online-status {
    left: 7%;
    right: auto;
}

.manage-members #buddypress #admins-list img.avatar,
.manage-members #buddypress #members-list img.avatar,
.manage-members #buddypress #mods-list img.avatar {
    margin-left: 20px;
    margin-right: auto;
}

.manage-members #buddypress .member-options {
    float: left;
    text-align: left;
}

/*--------------------------------------------------------------
3.4 - Errors / Success Messages
--------------------------------------------------------------*/

#buddypress div#message.error p {
    border-right: 3px solid #EBCCD1;
    clear: right;
    border-left: none;
}

#buddypress div#message.updated p {
    border-right: 3px solid #81c839;
    border-left: none;
}

#buddypress div.accept,
#buddypress div.reject {
    float: right;
    margin-right: 10px;
    margin-left: auto;
}

#buddypress ul.button-nav li {
    float: right;
    margin: 0 0 10px 10px;
}

#sitewide-notice #message {
    right: 2%;
    left: auto;
}

/*--------------------------------------------------------------
3.5 - Forms
--------------------------------------------------------------*/

#buddypress .profile .standard-form div.checkbox label:first-child,
#buddypress #register-page .standard-form div.checkbox label:first-child,
#buddypress .profile .standard-form div.radio > label:first-child,
#buddypress #register-page .standard-form div.radio > label:first-child {
    margin-right: -20px;
    margin-left: auto;
}

#buddypress .standard-form#signup_form div.submit {
    float: left;
}

#buddypress div#signup-avatar img {
    margin: 0 0 10px 15px;
}

#buddypress .standard-form div.submit input {
    margin-left: 15px;
    margin-right: auto;
}

#buddypress .standard-form div.radio ul {
    margin: 10px 38px 15px 0;
}

#buddypress .standard-form #blog-details-section {
    clear: right;
}

/*a.bp-title-button */

a.bp-title-button:before {
    margin-left: 5px;
    margin-right: auto;
}

.page-title a.button:before {
    margin-left: 5px;
    margin-right: auto;
}

#buddypress a.button.fav,
#buddypress a.button.unfav {
    left: 0;
    right: auto;
}

#buddypress form.standard-form .right-menu {
    float: right;
}

#buddypress form.standard-form div#invite-list ul {
    padding-right: 0;
    padding-left: 0;
}

#buddypress form.standard-form div#invite-list div.item-avatar {
    float: right;
}

#buddypress form.standard-form div#invite-list div.item-avatar img.avatar {
    margin: 0 0 0 10px;
}

#buddypress form.standard-form div#invite-list .invite-list-content {
    margin-right: 120px;
    margin-left: auto;
}

#buddypress form.standard-form .main-column {
    margin-right: 190px;
    margin-left: auto;
}

#buddypress form.standard-form .main-column ul#friend-list .item-avatar,
#buddypress form.standard-form div#invite-list .item-avatar {
    float: right;
}

/* Overrides for embedded WP editors */

/*--------------------------------------------------------------
3.6 - Ajax Loading
--------------------------------------------------------------*/

/*--------------------------------------------------------------
3.7 - Forums, Tables and Topics
--------------------------------------------------------------*/

#buddypress ul#topic-post-list li div.post-content {
    margin-right: 54px;
    margin-left: auto;
}

#buddypress div.admin-links {
    left: 25px;
    right: auto;
}

#buddypress div#topic-meta div.admin-links {
    left: 19px;
    right: auto;
}

#buddypress table.notification-settings {
    text-align: right;
}

#buddypress table.forum tr.closed td.td-title {
    padding-right: 35px;
    padding-left: 0;
}

#buddypress table.forum tr > td:first-child,
#buddypress table.forum tr > th:first-child {
    padding-right: 15px;
    padding-left: 0;
}

#buddypress table.forum tr > td:last-child,
#buddypress table.forum tr > th:last-child {
    padding-left: 15px;
    padding-right: 0;
}

#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: right;
}

#buddypress table.forum td img.avatar {
    margin: 0 0 -8px 5px;
}

/*-------------------------------------------------------------------------
3.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles
-------------------------------------------------------------------------*/

#buddypress div#message p,
#sitewide-notice p {
    border-right: 3px solid #FAEBCC;
    border-left: none;
}

#buddypress div#item-header .toggle-header {
    padding-right: 10px;
    left: 0;
    right: auto;
    padding-left: 0;
}

#buddypress div#item-header div#item-header-content span.activity {
    margin-right: 10px;
    margin-left: auto;
}

#buddypress .bp-header-small #item-header img.avatar {
    margin-right:0;
    margin-left: auto;
}

#buddypress div#item-header h2 span.highlight span {
    left: -2px;
    right: auto;
}

#buddypress div#item-header div.group-admins {
    text-align: left;
}

#buddypress div#item-header div.group-mods {
    text-align: right;
}

#buddypress div#item-header div.group-mods h3 {
    float: right;
}

#buddypress div#item-header ul#group-admins {
    float: left;
    padding-right: 10px;
    padding-left: 0;
}

#buddypress div#item-header ul#group-mods {
    float: right;
    padding-right: 10px;
    padding-left: 0;
}

#buddypress div#item-header ul li {
    float: left;
}

#buddypress div#item-nav .tabdrop .dropdown-menu li {
    text-align: right;
}

#buddypress div#item-nav .tabdrop .dropdown-menu li a:before {
    float: right;
    margin-left: 10px;
    margin-right: auto;
}

#buddypress div#item-nav .tabdrop .dropdown-menu li a span {
    right: inherit;
    left: 10px;
}

#buddypress div#item-nav li:last-child {
    border-left: none;
    border-right: none;
}

#buddypress div#item-nav ul li a span {
    right: 52%;
    left: auto;
}

#buddypress ul.item-list li img.avatar {
    float: right;
}

#buddypress ul.item-list li div.item-title,
#buddypress ul.item-list li h4 {
    margin-left: 20px;
    margin-right: auto;
}

#buddypress ul.item-list li div.action {
    left: 0;
    text-align: left;
    right: auto;
}

#buddypress ul.item-list li h5 span.small {
    float: left;
}

#buddypress div.item-list-tabs {
    clear: right;
}

/* TO DO - Webkit rendering fix */

#buddypress div.item-list-tabs ul li.dropdown.pull-right.tabdrop.open {
    left: 15px !important;
    right: auto !important;
}

@media screen and (max-width: 480px) {
    #buddypress div.item-list-tabs ul li.dropdown.pull-right.tabdrop.open {
        left: inherit !important;
        right: auto;
    }
}


#buddypress div.item-list-tabs ul li {
    float: right;
}

#buddypress div.item-list-tabs ul li.last {
    float: left;
}

#buddypress div.item-list-tabs#subnav ul li.last label {
    margin-left: 10px;
    margin-right: auto;
}

#buddypress div.item-list-tabs#subnav ul li a span {
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
}

#buddypress div.item-list-tabs ul li a span {
    margin-right: 4px;
    margin-left: auto;
}

/* Create Group */

/*--------------------------------------------------------------
3.9 - Private Messaging Threads
--------------------------------------------------------------*/
.mark-item {
    float: right;
    padding: 10px 5px 10px 20px;
}

.checkbox-mark:before {
    right: 50%;
    margin: -4px -5px 0 0;
    left: auto;
}

/*** END TASK LIST ***/

#buddypress li.friend-tab:nth-child(2) img.avatar {
    margin-left: 6px;
    margin-right: auto;
}

#buddypress div.messages .thread-avatar {
    float: right;
}

#buddypress div.messages .thread-avatar img.avatar {
    margin: 0 0 0 10px;
}

#buddypress li span.unread-count {
    right: 52px;
    margin-right: 35px;
    left: auto;
    margin-left: auto;
}

#buddypress span.thread-post-date {
    float: left;
}

#buddypress div.thread-from {
    margin-right: 120px;
    margin-left: auto;
}

#buddypress div.thread-info {
    margin-right: 120px;
    margin-left: auto;
}

#buddypress #message-threads .button.confirm {
    margin-right: 120px;
    margin-left: auto;
}

#buddypress div.messages-options-nav {
    text-align: left;
}

#buddypress div#message-thread div.message-box {
    clear: right;
}

#buddypress div#message-thread div.message-metadata img.avatar {
    float: right;
}

#buddypress div#message-thread #message-subject {
    float: right;
    margin: 20px 0 20px 20px;
}

#buddypress div#message-thread #message-recipients {
    float: right;
}

#buddypress div#message-thread div.message-header {
    margin-right: 90px;
    margin-left: auto;
}

#buddypress div#message-thread div.message-content {
    margin-right: 90px;
    margin-left: auto;
}

#buddypress div#message-thread #send-reply img.avatar {
    float: right;
}

#buddypress div#message-thread #send-reply .send-reply {
    margin: 5px 10px 10px 0;
}

#buddypress div#message-thread #send-reply div.message-box {
    margin-right: 90px;
    margin-left: auto;
}

#buddypress div.message-search {
    float: left;
    padding: 0 10px 0 5px;
}

#buddypress div.message-search input[type=submit],
#buddypress div.dir-search input[type=submit] {
    float: left;
}

/*--------------------------------------------------------------
3.10 - Extended Profiles
--------------------------------------------------------------*/

#buddypress div.profile .dl-horizontal dd {
    margin-right: 150px;
    margin-left: auto;
}

#buddypress #profile-edit-form ul.button-nav {
    padding-right: 0;
    padding-left: 0;
}

/*--------------------------------------------------------------
3.11 - Widgets
--------------------------------------------------------------*/

.widget.buddypress div.item-avatar {
    float: right;
}

.widget.buddypress div.item-avatar img.avatar {
    float: right;
    margin: 0 0 15px 8px;
}

.widget.buddypress div.item {
    margin-right: 50px;
    margin-left: auto;
}

.widget.buddypress ul.item-list img.avatar {
    margin-left: 10px;
    margin-right: auto;
}

#bp-login-widget-submit {
    margin-left: 10px;
    margin-right: auto;
}

.bp-login-widget-user-avatar {
    float: right;
}

.bp-login-widget-user-links > div {
    padding-right: 70px;
    padding-left: 0;
}

.widget_display_stats dt {
    margin-left: 30px;
    float: right;
    margin-right: auto;
}

/*
User avatar in menu
*/




/*--------------------------------------------------------------
4.0 - Media Queries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
4.1 - Smartphones - landscape
--------------------------------------------------------------*/
@media screen and (max-device-width: 480px), screen and (-webkit-min-device-pixel-ratio: 2) {
    /*-webkit-text-size-adjust: none;*/
}
@media screen and (max-width: 767px) {
    .rtmedia-container .rtmedia-list .rtmedia-list-item {
        margin: 4px 0 40px 14px !important;
    }

    #buddypress div.profile .dl-horizontal dt {
        float: right;
        text-align: left;
    }

    #buddypress div.profile .dl-horizontal dd {
        margin-right: 130px;
        margin-left: auto;
    }
}
@media only screen and (max-width: 480px ){
    #buddypress div.dir-search {
        float: left;
        text-align: left;
    }

    /*a.bp-title-button {
        margin-right: 10px;
        margin-left: auto;
    }

    /* Custom added */

    #buddypress .activity-header {
        margin: 0 80px 20px 20px !important;
    }

    #buddypress .activity-list .activity-avatar {
        margin-right: 0;
        margin-left: auto;
    }

    .no-js #buddypress .responsive-tabs li {
        margin-left: -1px;
        margin-right: auto;
    }

    #buddypress div.profile .dl-horizontal dt,
    #buddypress div.profile .dl-horizontal dd {
        margin-right: 0;
        text-align: right;
        margin-left: auto;
    }

    /* rtMedia Plugin */
}
/*--------------------------------------------------------------
4.2 - Smartphones - portrait
--------------------------------------------------------------*/
@media only screen and (max-width: 320px) {
    #buddypress div.dir-search {
        clear: left;
        float: left;
        text-align: left;
    }

    #buddypress li#groups-order-select {
        clear: left;
        float: left;
    }

    #buddypress ul.item-list li div.action {
        clear: left;
        float: left;
        margin-left: 70px;
        right: 0;
        text-align: left;
        left: auto;
        margin-right: auto;
    }

    #buddypress ul.item-list li div.item-desc {
        clear: left;
        float: left;
    }

    #buddypress li div.item {
        margin-left: 70px;
        margin-right: auto;
    }

    #buddypress div.pagination .pag-count {
        margin-left: 0;
        margin-right: auto;
    }
}
/*--------------------------------------------------------------
4.2 - Smartphones - smaller screen sizes
--------------------------------------------------------------*/
@media only screen and (max-width: 240px) {
    #buddypress div.dir-search {
        float: right;
    }

    #buddypress li#groups-order-select {
        float: right;
    }

    #buddypress ul.item-list li div.action,
    #buddypress li div.item {
        margin-right: 45px;
        margin-left: auto;
    }
}

