/**
* Static Colors:
* main txt color - #1f1f1f
* dark txt color - #8b8a8a
* light txt color - #a4a4a4
* light bg clr -  #f7f7f7
* dark bg clr -  #000
* border color - #ececec
**/

/**
 * 1.0 - Containers
 */
.buddypress #main {
    margin-top: 0;
}

.buddypress .advertisement,
.buddypress .bb-featured-strip,
.buddypress .bb-featured-menu,
.buddypress .featured-carousel,
.buddypress .bb-featured-area,
.buddypress .bb-page-header,
.buddypress .quads-location,
.buddypress .bb-top-badge-list,
.buddypress .mashsb-container,
.buddypress .mashsb-main {
    display: none !important;
}

#buddypress {
    font-size: 16px;
    padding-bottom: 40px;
}

#buddypress .bbp-padder {
    padding-top: 80px;
    padding-bottom: 40px;
}

#buddypress .bbp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}
@media (min-width: 701px) {
    #buddypress .bbp-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/**
 * 5.0 - Helpers
 */
#buddypress .item-list {
    clear: both;
}
#buddypress .item-list,
#buddypress .item-list-tabs ul,
#buddypress .activity-comments ul,
#buddypress ul.button-nav,
#buddypress #invite-list ul,
#buddypress #item-actions ul,
#buddypress .field-visibility-settings .radio {
    margin: 0;
    padding: 0;
    list-style: none;
}

#buddypress .item-list-tabs ul:before,
#buddypress .item-list-tabs ul:after,
#buddypress .invite:before,
#buddypress .invite:after {
    content: " ";
    display: table;
}

#buddypress .item-list-tabs ul:after,
#buddypress .invite:after {
    clear: both;
}

#buddypress .invite .pagination {
    clear: none;
}

#buddypress .bp-screen-reader-text {
    display: none !important;
}

/**
 * Avatar
 */
#buddypress img.avatar {
    border-radius: 50%;
    display: inline-block;
}

#buddypress .acomment-avatar img,
#buddypress .activity-avatar img,
#buddypress .activity-header img {
    border-radius: 50%;
}

.moxie-shim.moxie-shim-html5 {
    top: 82px !important;
    left: 50% !important;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 12em;
}

.drag-drop .moxie-shim.moxie-shim-html5 {
    top: 104px !important;
}

/**
 * 2.0 - Tables
 */
#buddypress table {
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-width: 0;
    margin: 0;
    width: 100%;
}
#buddypress table td *:last-of-type, #buddypress table th *:last-of-type {
    margin: 0;
}
#buddypress table th {
    text-transform: uppercase;
    color: #8b8a8a;
    font-size: 12px;
    line-height: 26px;
}
#buddypress table th, #buddypress table td {
    /* be careful when changing this padding as different tables' styling is based on this */
    padding: 10px 15px;
    vertical-align: middle;
}
#buddypress table caption, #buddypress table th, #buddypress table td {
    font-weight: normal;
    text-align: left;
}
#buddypress table caption a, #buddypress table a {
    color: #1f1f1f;
}
#buddypress table th {
    font-weight: 600;
}
#buddypress table td {
    font-size: 14px;
    line-height: 20px;
    color: inherit;
    font-weight: 400;
}

/* Table with Scroll */
.bbp-table-scroll, .gfy-bp-component .table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 0 0 25px 0;
}
.bbp-table-scroll thead th, .gfy-bp-component .table-responsive thead th {
    white-space: nowrap;
}
.bbp-table-scroll table, #buddypress .gfy-bp-component .table-responsive table, .gfy-bp-component .table-responsive table {
    min-width: 500px;
    margin: 0;
}

/* Table Responsive */
@media (max-width: 767px) {
    #buddypress .bbp-table-responsive tr,
    #buddypress .bbp-table-responsive td,
    #buddypress .bbp-table-responsive th {
        width: 100% !important;
    }

    #buddypress .bbp-table-responsive th {
        display: none;
    }

    #buddypress .bbp-table-responsive tr,
    #buddypress .bbp-table-responsive td {
        display: block;
        padding: 7px 20px;
    }

    #buddypress .bbp-table-responsive td.bulk-select-check {
        padding: 9px 0 9px 15px;
    }

    #buddypress .bbp-table-responsive th,
    #buddypress .bbp-table-responsive td {
        border: none !important;
    }

    #buddypress .bbp-table-responsive tr {
        padding: 12px 0;
    }
}

/**
 * 3.0 - Forms / XProfile
 */
#buddypress select,
#buddypress textarea,
#buddypress input[type='tel'],
#buddypress input[type='url'],
#buddypress input[type='text'],
#buddypress input[type='date'],
#buddypress input[type='time'],
#buddypress input[type='email'],
#buddypress input[type='search'],
#buddypress input[type='number'],
#buddypress input[type='password'] {
    text-align: left;
    border-width: 2px;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}
#buddypress select[multiple="multiple"] {
    height: 90px;
}

#buddypress select option {
    color: #494949;
}

#buddypress ::-webkit-input-placeholder {
    color: #494949;
}

#buddypress ::-moz-placeholder {
    color: #494949;
}

#buddypress :-ms-input-placeholder {
    color: #494949;
}

#buddypress :-moz-placeholder {
    color: #494949;
}

#buddypress .standard-form .submit {
    clear: both;
    float: left;
    width: 100%;
    text-align: right;
    padding: 20px 0;
    border-bottom: 2px solid #ececec;
}

#buddypress .standard-form .submit input[type="button"],
#buddypress .standard-form .submit input[type="submit"] {
    margin: 5px 0;
}

#buddypress .standard-form label,
#buddypress .standard-form legend,
#buddypress .standard-form span.label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    margin: 25px 0 10px;
    display: block;
    width: auto;
}
#buddypress .standard-form fieldset > legend {
    padding: 25px 0 10px;
    margin: 0;
}
#buddypress .standard-form

/* XProfile */
#buddypress #pass-strength-result,
#buddypress .field-visibility-settings,
#buddypress .field-visibility-settings-toggle,
#buddypress .field-visibility-settings-notoggle {
    color: #8b8a8a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
    margin: 5px 0;
}

#buddypress .field-visibility-settings {
    padding: 15px 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    display: none;
    position: relative;
}

#buddypress .field-visibility-settings li {
    margin: 0;
    display: block;
    width: 100%;
}

#buddypress .field-visibility-settings label {
    font-weight: 500;
}

#buddypress .field-visibility-settings legend {
    color: #8b8a8a;
    font-style: italic;
    margin: 0 0 5px 0;
}

#buddypress .field-visibility-settings-close {
    color: #8b8a8a;
    display: inline-block;
    margin: 5px 0 0;
    position: absolute;
    top: 5px;
    right: 10px;
    font-weight: normal;
    font-size: 0;
    padding: 0;
    background: transparent;
}

#buddypress .field-visibility-settings-toggle > span {
    vertical-align: middle;
}
#buddypress .visibility-toggle-link {
    background: transparent;
    color: red;
    text-transform: none;
    padding: 5px;
    margin: 0;
    font-weight: normal;
    font-size: 13px;
}

#buddypress .visibility-toggle-link:hover,
#buddypress .field-visibility-settings-close:hover {
    box-shadow: none;
}

/* XProfile: Textarea */
#buddypress .wp-editor-tabs button {
    color: #555d66;
    font-size: 12px;
    font-weight: 600;
    font-family: verdana, sans-serif;
    padding: 5px 15px;
    background: #f7f7f7;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#buddypress .html-active button.switch-html,
#buddypress .tmce-active button.switch-tmce {
    background: #f7f7f7;
}

#buddypress .mce-btn button,
#buddypress .quicktags-toolbar .button {
    font-family: verdana, sans-serif;
    line-height: 20px;
    text-transform: none;
    min-width: 26px;
    padding: 2px 8px;
    -webkit-appearance: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#buddypress .mce-btn button {
    color: #333;
    font-size: 14px;
    background: transparent;
}

#buddypress .quicktags-toolbar .button {
    color: #555d66;
    font-size: 12px;
    font-weight: normal;
    background: #fff;
    border: 1px solid #bbb;
}

#buddypress div.mce-statusbar {
    background: #f7f7f7;
}

#buddypress .wp-editor-container {
    border: 1px solid #ececec;
}

/* XProfile Fields */
#buddypress .standard-form p.description {
    color: #a3a3a3;
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    margin: 5px 0;
}

#buddypress .clear-value {
    font-size: 13px;
    font-weight: 700;
}

/* Date */
#buddypress .standard-form .field_date-selector select {
    width: 32.5%;
    display: inline-block;
}
#buddypress .datebox-selects {
    text-align: justify;
    font-size: 0px;
}
#buddypress .datebox-selects:after {
    content: '';
    display: inline-block;
    width: auto;
}
#buddypress .datebox-selects select {
    margin: 0 0 10px 0;
}
#buddypress .datebox-selects select[name*='year'] {
    margin: 0;
}
#buddypress .datebox-selects .xprofile-field-label {
    display: none;
}

/* Radio & Checkbox */
#buddypress .radio,
#buddypress .checkbox {
    line-height: 1;
}
#buddypress input[type=radio], #buddypress input[type=checkbox] {
    margin: 0 5px 2px 0;
    vertical-align: middle;
}

#buddypress .radio label, #buddypress .radio-button-options label,
#buddypress .checkbox label, #buddypress .checkbox-options label {
    font-size: 15px;
    line-height: 22px;
    margin: 5px 0;
}

#buddypress .bbp-radio,
#buddypress .bbp-checkbox {
    padding-left: 25px;
    position: relative;
    line-height: 17px;
    min-width: 17px;
    min-height: 17px;
    cursor: pointer;
}

#buddypress .bbp-radio:hover .bbp-radio-check,
#buddypress .bbp-checkbox:hover .bbp-checkbox-check {
    background-color: #f7f7f7;
}

#buddypress .bbp-radio-check,
#buddypress .bbp-checkbox-check,
#buddypress .bbp-radio input[type="radio"],
#buddypress .bbp-checkbox input[type="checkbox"] {
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    position: absolute;
}

#buddypress .bbp-radio input[type="radio"],
#buddypress .bbp-checkbox input[type="checkbox"] {
    visibility: hidden;
}

#buddypress .bbp-radio-check,
#buddypress .bbp-checkbox-check {
    width: 17px;
    height: 17px;
    display: block;
    border-width: 2px;
    border-style: solid;
}

#buddypress .bbp-radio-check,
#buddypress .bbp-radio-check:before {
    border-radius: 50%;
}

#buddypress .bbp-radio-check:before {
    content: '';
    top: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
    position: absolute;
    background: transparent;
}

#buddypress .bbp-radio input[type="radio"]:checked + .bbp-radio-check:before {
    background: #8b8a8a;
}

#buddypress .bbp-checkbox-check:before {
    content: '';
    color: #8b8a8a;
    font-size: 13px;
    font-family: 'ui-icomoon';
    left: -2px;
    top: -2px;
    width: 17px;
    height: 17px;
    line-height: 17px;
    position: absolute;
    text-align: center;
    background: transparent;
}

#buddypress .bbp-checkbox input[type="checkbox"]:checked + .bbp-checkbox-check:before {
    content: "\f00c";
}

@media (max-width: 479px) {
    #buddypress .standard-form .submit input[type="button"],
    #buddypress .standard-form .submit input[type="submit"] {
        display: block;
        width: 100%;
    }
}
/* Date */
@media(min-width: 480px){
    #buddypress .datebox-selects {
        text-align: center;
    }
    #buddypress .datebox-selects select {
        display: inline-block;
        width: 32%;
        margin: 5px 0;
    }
    #buddypress .datebox-selects select[name*='day']  {
        margin: 0 5px 0 0;
        float: left;
    }
    #buddypress .datebox-selects select[name*='year'] {
        margin: 0 0 0 5px;
        float: right;
    }
    #buddypress .datebox-selects select[name*='month'] {
        margin: 0;
    }
}

/**
 * 4.0 - Buttons
 */
#buddypress button,
#buddypress input[type=button],
#buddypress input[type=reset],
#buddypress input[type=submit],
#buddypress ul.button-nav li a,
#buddypress a.bp-title-button,
#buddypress .comment-reply-link,
#buddypress .activity-list .load-more a,
#buddypress .activity-list .load-newest a {
    color: #fff;
    border: none;
    height: auto;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 25px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#buddypress .radio input[type=radio] {
    position: relative;
}

#buddypress .bbp-btn,
#buddypress .bbp-item-buttons a {
    padding: 6px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    line-height: 20px;
    text-transform: uppercase;
    vertical-align: middle;
    display: inline-block;
    border: 1px solid transparent;
    cursor: pointer;
    color: #fff;
    background-color: #000;
    border-radius: 5px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

#buddypress .bbp-btn:hover,
#buddypress .bbp-item-buttons a:hover {
   opacity: 0.8;
}

#buddypress .activity-meta a,
#buddypress .acomment-options a,
#buddypress .item-list .item-action a {
    color: #8b8a8a;
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
    padding: 3px 7px;
    margin: 3px 0;
    border-radius: 5px;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    text-transform: none;
    background: transparent;
    border-width: 1px;
    border-style: solid;
    letter-spacing: 0.03em;
}

#buddypress .activity-meta a:hover,
#buddypress .acomment-options a:hover,
#buddypress .item-list .item-action a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.18);
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.18);
}

#buddypress #messages-bulk-manage, #buddypress #notification-bulk-manage {
    padding: 10px 25px;
}

/**
 * Messages
 */
#sitewide-notice {
    display: none !important;
}

#buddypress #message p,
#buddypress p.warning,
#buddypress div.bp-avatar-status p.success,
#buddypress div.bp-cover-image-status p.success {
    font-size: 16px;
    line-height: 1.3em;
    display: block;
    position: relative;
    padding: 14px 30px 14px 40px;
    margin: 20px 0;
    border-radius: 5px;
}

#buddypress #message a,
#buddypress p.warning a,
#buddypress div.bp-avatar-status p.success a,
#buddypress div.bp-cover-image-status p.success a {
    color: inherit;
    text-decoration: underline;
}

#buddypress #message a:hover,
#buddypress p.warning a:hover,
#buddypress div.bp-avatar-status p.success a:hover,
#buddypress div.bp-cover-image-status p.success a:hover {
    text-decoration: none;
}

#buddypress #message.info p:before,
#buddypress #message.error p:before,
#buddypress #message.updated p:before,
#buddypress p.warning:before,
#buddypress div.bp-avatar-status p.success:before,
#buddypress div.bp-cover-image-status p.success:before {
    font-family: 'ui-icomoon';
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    left: 12px;
    top: 13px;
    display: block;
}

#buddypress #message.info p {
    color: rgb(77, 202, 221);
    border-color: rgb(219, 244, 248);
    background-color: rgb(219, 244, 248);
}

#buddypress #message.error p {
    color: #a94442;
    border-color: #f2dede;
    background-color: #f2dede;
}

#buddypress p.warning {
    color: #8a6d3b;
    border-color: #f7eebd;
    background-color: #f7eebd;
}

#buddypress #message.updated p,
#buddypress div.bp-avatar-status p.success,
#buddypress div.bp-cover-image-status p.success {
    color: #67ab6a;
    border-color: #d7f1d9;
    background-color: #d7f1d9;
}

#buddypress p.warning:before,
#buddypress #message.info p:before {
    content: "\e95d";
}

#buddypress #message.error p:before {
    content: "\f071";
}

#buddypress #message.updated p:before,
#buddypress div.bp-avatar-status p.success:before,
#buddypress div.bp-cover-image-status p.success:before {
    content: "\f058";
}

/**
 * Pagination
 */
#buddypress .pagination {
    font-family: arial, sans-serif;
    margin: 20px 0;
    text-align: center;
}
#buddypress .pagination .pag-count {
    font-size: 14px;
    line-height: 1.1;
    padding: 5px 0;
}
#buddypress .pagination li {
    list-style: none;
    float: left;
    margin: 0.125rem;
}

#buddypress .pagination-links a,
#buddypress .pagination-links span,
/* Mycred, Zombify & WP default */
#buddypress .pagination a,
#buddypress .pagination span,
/* Gamify */
.gfy-bp-component .pagination a,
.gfy-bp-component .pagination span {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 21px !important;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    min-width: 20px;
    height: 23px;
    padding: 0 8px !important;
}
#buddypress .pagination-links a,
#buddypress .pagination-links span.current,
/* Mycred, Zombify & WP default */
#buddypress .pagination a,
#buddypress .pagination span.current,
/* Gamify */
.gfy-bp-component .pagination a,
.gfy-bp-component .pagination span.current {
    border: 1px solid #ececec;
}
#buddypress .pagination-links a.next.page-numbers,
#buddypress .pagination-links a.prev.page-numbers,
/* Mycred */
#buddypress .pagination li a.first-page,
#buddypress .pagination li a.last-page,
#buddypress .pagination li a.next-page,
#buddypress .pagination li a.prev-page,
/* Zombify & WP default */
#buddypress .pagination .dots.page-numbers,
#buddypress .pagination a.prev.page-numbers,
#buddypress .pagination a.next.page-numbers,
/* Gamify */
.gfy-bp-component .pagination .dots.page-numbers,
.gfy-bp-component .pagination a.prev.page-numbers,
.gfy-bp-component .pagination a.next.page-numbers {
    border: 1px solid transparent;
    background-color: transparent!important;
}
#buddypress .pagination-links a.next.page-numbers, #buddypress .pagination-links a.prev.page-numbers,
/* Mycred */
#buddypress .pagination a.next-page, #buddypress .pagination a.prev-page,
#buddypress .pagination a.first-page, #buddypress .pagination a.last-page,
/* Zombify & WP default */
#buddypress .pagination a.next.page-numbers, #buddypress .pagination a.prev.page-numbers,
/* Gamify */
.gfy-bp-component .pagination a.next.page-numbers, .gfy-bp-component .pagination a.prev.page-numbers {
    font-size: 0;
}
#buddypress .pagination-links a.next.page-numbers:before, #buddypress .pagination-links a.prev.page-numbers:before,
/* Mycred */
#buddypress .pagination a.next-page:before, #buddypress .pagination a.prev-page:before,
#buddypress .pagination a.first-page:before, #buddypress .pagination a.last-page:before,
/* Zombify & WP default */
#buddypress .pagination a.next.page-numbers:before, #buddypress .pagination a.prev.page-numbers:before,
/* Gamify */
.gfy-bp-component .pagination a.next.page-numbers:before, .gfy-bp-component .pagination a.prev.page-numbers:before {
    font-family: 'ui-icomoon';
    font-size: 14px;
}
#buddypress .pagination-links a.next.page-numbers:before,
/* Mycred */
#buddypress .pagination a.next-page:before,
/* Zombify & WP default */
#buddypress .pagination a.next.page-numbers:before,
/* Gamify */
.gfy-bp-component .pagination a.next.page-numbers:before {
    position: relative;
    left: auto;
    right: auto;
    font-weight: normal;
    content: "\e966";
}
#buddypress .pagination-links a.prev.page-numbers:before,
/* Mycred */
#buddypress .pagination a.prev-page:before,
/* Zombify & WP default */
#buddypress .pagination a.prev.page-numbers:before,
/* Gamify */
.gfy-bp-component .pagination a.prev.page-numbers:before {
    position: relative;
    left: auto;
    right: auto;
    font-weight: normal;
    content: "\e965";
}
#buddypress .pagination a.first-page:before {
    font-weight: normal;
    content: "\e95a";
}
#buddypress .pagination a.last-page:before {
    font-weight: normal;
    content: "\e95b";
}

#buddypress .pagination span[aria-hidden=true] {
    display: none;
}

#buddypress .pagination-links a,
#buddypress .pagination a {
    text-decoration: none;
}

#buddypress .pagination-links a:hover,
#buddypress .pagination-links span.current,
/* Zombify, Mycred & WP default */
#buddypress .pagination a:hover,
#buddypress .pagination span.current,
/* Gamify */
.gfy-bp-component .pagination a:hover,
.gfy-bp-component .pagination span.current {
    background-color: #f7f7f7!important;
    border-radius: 50%;
}
#buddypress .pagination-links a,
#buddypress .pagination a,
.gfy-bp-component .pagination a {
   border-radius: 50%;
}
#buddypress .pagination.navigation .prev:hover, #buddypress .pagination.navigation .next:hover {
    box-shadow: none;
}

@media (min-width: 768px) {
    #buddypress .pagination .pag-count {
        float: left;
    }
    #buddypress .pagination-links {
        float: right;
    }
    #buddypress #pag-bottom, #buddypress #pag-top {
        float: left;
        width: 100%;
    }
}

/**
 * Image Uploading
 */
#buddypress .bp-avatar-nav a {
    font-weight: 700;
    color: inherit;
}

#buddypress .bp-uploader-window #drag-drop-area {
    border: 2px dashed #8b8a8a;
}

#buddypress .bp-uploader-window .drag-drop-buttons p {
    color: #7f7f7f;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 5px 0;
}

#buddypress .bp-uploader-window #bp-browse-button {
    background: #8b8a8a;
    color: #fff;
    min-width: 180px;
}

#buddypress #avatar-crop-pane {
    border-radius: 50%;
}

#buddypress #bp-delete-avatar,
#buddypress #bp-delete-cover-image {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 3px 15px;
    border-radius: 20px;
    background-color: #ec434b;
}

/**
 * Header
 */
#buddypress #header-cover-image {
    width: 100%;
    height: 265px;
    display: block;
    background-color: #d8d3d8;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#buddypress.bbp-no-cover-img #item-header {
    display: none !important;
}
#buddypress.bbp-no-cover-img #item-header-avatar {
    margin-top: 20px;
}

#buddypress .bbp-header {
    margin-bottom: 40px;
}

#buddypress .bbp-header h3 {
    margin: 0;
    font-size: 40px;
}

#buddypress .bbp-header .bbp-btn {
    float: right;
}

@media (max-width: 479px) {
    #buddypress .bbp-header {
        text-align: center;
    }

    #buddypress .bbp-header .bbp-btn {
        float: none;
        width: 100%;
        margin-top: 15px;
    }
}

/**
 * Sidebar
 */
/* */
#buddypress .bbp-item-sidebar .bbp-user-report, #buddypress .bbp-item-sidebar .bbp-social {
    margin-bottom: 30px;
}

#buddypress #item-header {
    position: relative;
    z-index: 1;
}

#buddypress #item-header-avatar {
    margin-top: -99px;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
}

#buddypress .item-header-avatar-link {
    width: 196px;
    height: 196px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    border: 5px solid #ececec;
    background-color: #c5c5c5;
    border-radius: 50%;
}

#buddypress #item-header-avatar img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

#buddypress #item-header-content .group-name,
#buddypress #item-header-content .member-name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin: 3px 0;
    padding: 0;
    display: block;
}

#buddypress #item-header-content .group-activity,
#buddypress #item-header-content .member-activity {
    font-size: 12px;
    line-height: 1.1;
    margin: 0 0 0 3px;
    display: block;
}

#buddypress #item-header-content .group-highlight,
#buddypress #item-header-content .user-nicename {
    color: #8b8a8a;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    margin: 10px 0 0 0;
}

#buddypress #item-header-content .group-highlight span {
    display: inline-block;
    vertical-align: top;
    margin-right: 7px;
}

#buddypress .bbp-item-info {
    text-align: center;
    margin-bottom: 30px;
}

#buddypress .bbp-item-desc {
    margin: 13px 0;
    border-bottom: 1px solid #ececec;
}

#buddypress .bbp-item-desc {
    padding: 0 30px 13px;
}

#buddypress .bbp-item-desc p:last-child {
    margin-bottom: 0;
}

#buddypress #latest-update {
    margin: 13px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    background: #f7f7f7;
    color: #1f1f1f;
    padding: 10px 15px;
    border-radius: 5px;
}

#buddypress #latest-update a {
    color: #8b8a8a;
    font-size: 80%;
    font-weight: 400;
    text-decoration: underline;
    margin-left: 10px;
}

#buddypress #latest-update a:hover {
    text-decoration: none;
}

/*  Totals Block */
#buddypress .bbp-user-report {
    border-top: 1px solid #ececec;
    padding-top: 10px;
}
#buddypress .bbp-user-report .user-registered, #buddypress .bbp-user-report .col {
    font-size: 14px;
}
#buddypress .bbp-user-report .user-registered {
    color: #a3a3a3;
    margin-bottom: 10px;
}
#buddypress .bbp-user-report .user-totals {
    margin: auto auto;
    width: auto;
    display: table;
}
#buddypress .bbp-user-report .row {
    display: table-row;
}
#buddypress .bbp-user-report .col {
    line-height: 25px;
    font-weight: 600;
    border: none;
    display: table-cell;
}
#buddypress .bbp-user-report .total-count {
    padding: 0;
}
#buddypress .bbp-user-report .total-label {
    padding: 0 5px 0 0;
}

#buddypress .bbp-item-buttons {
    text-align: center;
    padding: 0;
    margin: 15px 0;
}

#buddypress .bbp-item-buttons a {
    margin: 5px;
}

#buddypress .bbp-item-buttons .generic-button {
    display: inline-block;
}

#buddypress #item-actions {
    margin-top: 30px;
}

#buddypress #item-actions h3 {
    margin: 15px 0;
    font-size: 17px;
    font-weight: 700;
    color: #8b8a8a;
}

#buddypress #item-actions ul {
    margin: 0 -5px;
}

#buddypress #item-actions a,
#buddypress #item-actions li,
#buddypress #item-actions img {
    display: inline-block;
    vertical-align: middle;
}

#buddypress #item-actions li {
    margin: 5px;
}

#buddypress #item-actions img {
    border-radius: 50%;
}

#buddypress #item-actions .avatar {
    width: 50px;
    height: 50px;
}

#buddypress .bbp-social {
    margin: 0 -3px;
    padding: 0;
    list-style: none;
    text-align: center;
}

#buddypress .bbp-social li {
    display: inline-block;
    margin: 3px;
}

#buddypress .bbp-social a {
    font-size: 20px;
    line-height: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
}

#buddypress .bbp-social .bb-ui-icon-facebook {
    color: #2d5f9a;
}
#buddypress .bbp-social .bb-ui-icon-twitter {
    color: #00c3f3;
}
#buddypress .bbp-social .bb-ui-icon-pinterest {
    color: #be1e2d;
}
#buddypress .bbp-social .bb-ui-icon-instagram {
    color: #bc2a8d;
}
#buddypress .bbp-social .bb-ui-icon-tumblr {
    color: #32506d;
}
#buddypress .bbp-social .bb-ui-icon-linkedin {
    color: #007bb5;
}
#buddypress .bbp-social .bb-ui-icon-google-plus {
    color: #dd4b39;
}
#buddypress .bbp-social .bb-ui-icon-vimeo {
    color: #aad450;
}
#buddypress .bbp-social .bb-ui-icon-youtube {
    color: #bb0000;
}
#buddypress .bbp-social .bb-ui-icon-envelope {
    color: #bb0000;
}
#buddypress .bbp-social .bb-ui-icon-behance {
    color: #1769ff;
}
#buddypress .bbp-social .bb-ui-icon-delicious {
    color: #0076e8;
}
#buddypress .bbp-social .bb-ui-icon-deviantart {
    color: #05cc47;
}
#buddypress .bbp-social .bb-ui-icon-dribbble {
    color: #ea4c89;
}
#buddypress .bbp-social .bb-ui-icon-flickr {
    color: #ff0084;
}
#buddypress .bbp-social .bb-ui-icon-foursquare {
    color: #0072b1;
}
#buddypress .bbp-social .bb-ui-icon-jsfiddle {
    color: #2F99F3;
}
#buddypress .bbp-social .bb-ui-icon-lastfm {
    color: #B90000;
}
#buddypress .bbp-social .bb-ui-icon-reddit {
    color: #FF4500;
}
#buddypress .bbp-social .bb-ui-icon-slideshare {
    color: #0377B5;
}
#buddypress .bbp-social .bb-ui-icon-stack-overflow {
    color: #F48024;
}
#buddypress .bbp-social .bb-ui-icon-stumbleupon {
    color: #EB4924;
}
#buddypress .bbp-social .bb-ui-icon-vine {
    color: #00bf8f;
}
#buddypress .bbp-social .bb-ui-icon-xing {
    color: #D4D600;
}
#buddypress .bbp-social .bb-ui-icon-yelp {
    color: #C41200;
}
#buddypress .bbp-social .bb-ui-icon-vk {
    color: #4c75a3;
}
#buddypress .bbp-social .bb-ui-icon-odnoklassniki {
    color: #f58220;
}
#buddypress .bbp-social .bb-ui-icon-snapchat-ghost,
#buddypress .bbp-social .bb-ui-icon-snapchat,
#buddypress .bbp-social .bb-ui-icon-snapchat-square,
#buddypress .bbp-social .bb-ui-icon-github,
#buddypress .bbp-social .bb-ui-icon-codepen,
#buddypress .bbp-social .bb-ui-icon-digg {
    color: #000;
}
#buddypress .bbp-social .bb-ui-icon-twitch {
    color: #6441A4;
}
#buddypress .bbp-social .bb-ui-icon-telegram {
    color: #0088cc;
}
#buddypress .bbp-social .bb-ui-icon-soundcloud {
    color: #ff3a00;
}
#buddypress .bbp-social .bb-ui-icon-mixcloud {
    color: #1d2d3b;
}
#buddypress .bbp-social .bb-ui-icon-quora {
    color: #a82400;
}

@media (min-width: 600px) and (max-width: 992px) {
    #buddypress .bbp-item-sidebar {
        width: 65%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 992px) {
    #buddypress .bbp-item-sidebar {
        width: 28%;
        float: right;
        padding-left: 20px;
    }

    #buddypress .bbp-item-content {
        width: 72%;
        float: left;
        padding-right: 20px;
    }

    #buddypress .bbp-item-buttons a {
        min-width: 250px;
    }
}

/**
 * Filters
 */
#buddypress .bbp-filters {
    border-radius: 5px;
    padding: 10px 25px;
    margin: 20px 0;
    background-color: rgba(0,0,0,.04);
}

#buddypress .bbp-filter,
#buddypress .bbp-search {
    margin: 10px 0;
}

#buddypress .bbp-filter label {
    display: none;
}

#buddypress .bbp-search {
    position: relative;
    z-index: 0;
}

#buddypress .bbp-search:before {
    content: '\e973';
    font-size: 19px;
    font-family: "ui-icomoon";
    width: 48px;
    height: 48px;
    color: #ccc;
    line-height: 48px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

#buddypress .bbp-search label {
    position: relative;
    z-index: 1;
}

#buddypress .bbp-search input[type="text"] {
    text-align: left;
}

#buddypress .bbp-search input[type="submit"] {
    width: 48px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    text-indent: -9999px;
    border-radius: 0 5px 5px 0;
    background: transparent;
    padding: 0;
    z-index: 3;
}

#buddypress .bbp-search input[type="submit"]:hover {
    box-shadow: none;
}

@media (min-width: 768px) {
    #buddypress .notifications-options-nav,
    #buddypress .messages-options-nav {
        width: 100%;
        max-width: 450px;
        padding-right: 155px;
        position: relative;
        margin: 5px 0;
    }

    #buddypress .notifications-options-nav select,
    #buddypress .messages-options-nav select {
        height: 42px;
        padding: 5px 24px 5px 10px;
    }

    #buddypress .notifications-options-nav .button,
    #buddypress .messages-options-nav .button {
        position: absolute;
        right: 0;
        top: 1px;
        width: 140px;
    }
}

@media (max-width: 767px) {
    #buddypress .notifications-options-nav .button,
    #buddypress .messages-options-nav .button {
        width: 100%;
        display: block;
        margin-top: 15px;
    }
}

@media (max-width: 479px) {
    #buddypress .bbp-filters {
        padding: 2px 10px;
    }

    #buddypress .notifications-options-nav,
    #buddypress .messages-options-nav {
        margin: 10px 0;
    }
}

/**
 * Navigations
 */

/* *** Main Navigation *** */
/* General */
#buddypress #object-nav {
    margin: 20px -3px 35px;
}
#buddypress .bbp-main-nav {
    margin: 20px -3px;
}
#buddypress #object-nav, #buddypress .bbp-main-nav {
    text-align: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#buddypress #object-nav > ul, #buddypress .bbp-main-nav > ul,
#buddypress #object-nav .nav-sub-menu > ul,
#buddypress .bbp-main-nav .nav-sub-menu > ul {
    white-space: nowrap;
}
#buddypress #object-nav > ul > li,
#buddypress .bbp-main-nav > ul >li {
    border-bottom: 2px solid #ececec;
}
#buddypress #object-nav a, #buddypress .bbp-main-nav a,
#buddypress #object-nav span, #buddypress .bbp-main-nav span {
    color: #a4a4a4;
}
#buddypress #object-nav li,
#buddypress .bbp-main-nav li {
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 15px 13px;
    background: transparent;
    text-align: center;
    white-space: nowrap;
}
#buddypress #object-nav ul li,
#buddypress .bbp-main-nav ul li {
    position: relative;
}

/* Menu scrollbar styling for desktop */
.no-touchevents #buddypress #object-nav::-webkit-scrollbar-track,
.no-touchevents #buddypress .bbp-main-nav::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: transparent;
}
.no-touchevents #buddypress #object-nav::-webkit-scrollbar,
.no-touchevents #buddypress .bbp-main-nav::-webkit-scrollbar
{
    height: 7px;
    background-color: transparent;
}

.no-touchevents #buddypress #object-nav::-webkit-scrollbar-thumb,
.no-touchevents #buddypress .bbp-main-nav::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #c1c1c1;
}

/* Sub Menu */
#buddypress #object-nav li.nav-has-child,
#buddypress .bbp-main-nav li.nav-has-child {
    padding: 0;
}
#buddypress #object-nav .nav-has-child .more-menu,
#buddypress .bbp-main-nav .nav-has-child .more-menu {
    display: none;
}

/* Hover Effect */
#buddypress #object-nav li > a,
#buddypress .bbp-main-nav li > a {
    -webkit-transition: color 0.3s;
       -moz-transition: color 0.3s;
            transition: color 0.3s;
}
#buddypress #object-nav li:hover > a,
#buddypress #object-nav li:hover > span,
#buddypress #object-nav li.current > a,
#buddypress #object-nav li.selected > a,
#buddypress .bbp-main-nav li:hover > a,
#buddypress .bbp-main-nav li:hover > span,
#buddypress .bbp-main-nav li.current > a,
#buddypress .bbp-main-nav li.selected > a {
    color: #000;
}
#buddypress #object-nav ul li:before,
#buddypress .bbp-main-nav ul li:before {
    content:'';
    position: absolute;
    left: 0;
    top: 100%;
    display: inline-block;
    height: 2px;
    background-color: #000;
    width: 0;

}
.no-touchevents #buddypress #object-nav ul li:before,
.no-touchevents #buddypress .bbp-main-nav ul li:before {
    -webkit-transition: all 0.3s ease;
       -moz-transition: all 0.3s ease;
            transition: all 0.3s ease;
}
#buddypress #object-nav ul li.current:before,
#buddypress #object-nav ul li.selected:before,
.no-touchevents #buddypress #object-nav ul li:hover:before,
#buddypress .bbp-main-nav ul li.current:before,
#buddypress .bbp-main-nav ul li.selected:before,
.no-touchevents #buddypress .bbp-main-nav ul li:hover:before {
    width: 100%;
}
#buddypress #object-nav ul li.nav-has-child:hover:before,
#buddypress .bbp-main-nav ul li.nav-has-child:hover:before {
    width: 0
}

/* Menu Icons */
#buddypress #object-nav a:before,
#buddypress .bbp-main-nav a:before {
    color: inherit;
    font-family: 'ui-icomoon';
    font-size: 16px;
    line-height: 1;
    display: inline-block;
    vertical-align: top;
    margin: 0px 6px 0 0;
    font-weight: normal;
}

/* Menu Badges */
.user-box .menu a > span,
#buddypress #object-nav a > span,
#buddypress .bbp-main-nav a > span,
#buddypress #subnav li > a > span,
#buddypress .messages-notices .thread-count {
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    min-width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: top;
    background-color: #ec434b;
    border-radius: 10px;
    text-align: center;
    padding: 0 3px;
    font-weight: 400;
    margin-left: 3px;
}

@media (min-width: 992px) {
    /* General */
    #buddypress #object-nav li, #buddypress .bbp-main-nav li {
        float: left;
    }
    #buddypress #object-nav > ul, #buddypress .bbp-main-nav > ul,
    #buddypress #object-nav .nav-sub-menu > ul,
    #buddypress .bbp-main-nav .nav-sub-menu > ul,
    #buddypress #object-nav li,
    #buddypress .bbp-main-nav li {
        display: block;
    }
    #buddypress #object-nav, #buddypress .bbp-main-nav {
        overflow: visible;
        border-bottom: 2px solid #ececec;
    }
    #buddypress #object-nav > ul > li,
    #buddypress .bbp-main-nav > ul >li {
        border: none;
    }

    /* Sub Menu */
    #buddypress #object-nav .nav-sub-menu li, #buddypress .bbp-main-nav .nav-sub-menu li {
        text-align: left;
        width:100%;
    }
    #buddypress #object-nav li.nav-has-child,
    #buddypress .bbp-main-nav li.nav-has-child {
        position: relative;
        padding: 15px 13px;
        height: 48px;
        width: 38px;
    }
    #buddypress #object-nav .nav-has-child .more-menu,
    #buddypress .bbp-main-nav .nav-has-child .more-menu {
        position: relative;
        margin-right: 15px;
        cursor: pointer;
        display: none;
    }
    #buddypress #object-nav .menu-toggle,
    #buddypress .bbp-main-nav .menu-toggle {
        cursor: pointer;
        line-height: 12px;
        vertical-align: middle;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
           -moz-transform: translateY(-50%);
                transform: translateY(-50%);
        right: 6px;
    }
    #buddypress #object-nav .menu-toggle:before,
    #buddypress .bbp-main-nav .menu-toggle:before {
        content: "\e96a";
        font-family: 'ui-icomoon';
        font-weight: normal;
        line-height: 28px;
        font-size: 28px;
    }
    #buddypress #object-nav .nav-has-child:hover .nav-sub-menu,
    #buddypress .bbp-main-nav .nav-has-child:hover .nav-sub-menu {
        visibility: visible;
        opacity: 1;
    }
    #buddypress #object-nav .nav-sub-menu,
    #buddypress .bbp-main-nav .nav-sub-menu {
        width: 200px;
        position: absolute;
        z-index: 200;
        top: 100%;
        right: 0;
        -webkit-transition: opacity 0.3s ease;
           -moz-transition: opacity 0.3s ease;
                transition: opacity 0.3s ease;
        visibility: hidden;
        opacity: 0;
    }
    #buddypress #object-nav .sub-menu-inner,
    #buddypress .bbp-main-nav .sub-menu-inner {
        margin-top: 10px;
        background-color: #fff;
        -webkit-border-radius: 3px;
           -moz-border-radius: 3px;
                border-radius: 3px;
        -webkit-box-shadow: 0 0 1px 0 rgba(0,0,0,0.1),0 2px 1px 0 rgba(0,0,0,0.19);
           -moz-box-shadow: 0 0 1px 0 rgba(0,0,0,0.1),0 2px 1px 0 rgba(0,0,0,0.19);
                box-shadow: 0 0 1px 0 rgba(0,0,0,0.1),0 2px 1px 0 rgba(0,0,0,0.19);
    }
    /* Hover Effect */
    /*#buddypress #object-nav ul li.nav-has-child:hover:before,*/
    /*#buddypress .bbp-main-nav ul li.nav-has-child:hover:before {*/
        /*width: 100%;*/
    /*}*/
    #buddypress #object-nav ul li.nav-has-child li:hover:before,
    #buddypress .bbp-main-nav ul li.nav-has-child li:hover:before,
    #buddypress #object-nav li.nav-has-child li.current:before,
    #buddypress #object-nav li.nav-has-child li.selected:before,
    #buddypress .bbp-main-nav li.nav-has-child li.current:before,
    #buddypress .bbp-main-nav li.nav-has-child li.selected:before {
        width: 0
    }
    #buddypress #object-nav li.nav-has-child li:hover > a,
    #buddypress #object-nav li.nav-has-child li:hover > span,
    #buddypress #object-nav li.nav-has-child li.current > a,
    #buddypress #object-nav li.nav-has-child li.selected > a,
    #buddypress .bbp-main-nav li.nav-has-child li:hover > a,
    #buddypress .bbp-main-nav li.nav-has-child li:hover > span,
    #buddypress .bbp-main-nav li.nav-has-child li.current > a,
    #buddypress .bbp-main-nav li.nav-has-child li.selected > a {
        color: #000;
    }
}

/* Main Nav Icons */
#buddypress #object-nav #user-activity:before {
    content: "\e904";
}
#buddypress #object-nav #user-xprofile:before {
    content: "\f007";
}
#buddypress #object-nav #user-posts:before {
    content: "\e97f";
}
#buddypress #object-nav #user-openlist:before {
    content: "\e97e";
}
#buddypress #object-nav #user-notifications:before {
    content: "\f0f3";
}
#buddypress #object-nav #user-messages:before {
    content: "\f0e0";
}
#buddypress #object-nav #user-friends:before {
    content: "\f234";
}
#buddypress #object-nav #user-groups:before {
    content: "\f0c0";
}
#buddypress #object-nav #user-settings:before {
    content: "\f013";
}

#buddypress #object-nav #home-groups-li a:before {
    content: "\e96e";
}
#buddypress #object-nav #members-groups-li a:before {
    content: "\f0c0";
}
#buddypress #object-nav #invite-groups-li a:before {
    content: "\f234";
}
#buddypress #object-nav #admin-groups-li a:before {
    content: "\e97d";
}
#buddypress #object-nav #submissions-personal-li a:before {
    content: "\e969";
}
#buddypress #object-nav #achievements-personal-li a:before {
    content: "\f091";
}
#buddypress #object-nav #history-personal-li a:before {
    content: "\f1da";
}
#buddypress #object-nav #leaderboard-personal-li a:before {
    content: "\f0c0";
}
#buddypress #object-nav #forums-personal-li a:before {
    content: "\f086";
}

/* *** Sub Navigation *** */
#buddypress #subnav {
    margin: 20px 0;
    text-align: center;
}

#buddypress #subnav ul {
    margin: 0;
    padding-top: 5px;
}

#buddypress #subnav li {
    display: inline-block;
    margin-left: 2px;
    padding-top: 15px;
}

#buddypress #subnav li:first-child {
    margin-left: 0;
}

#buddypress #subnav li > a {
    color: #000;
    font-size: 16px;
    line-height: 1.1;
    padding: 8px 18px;
    border-radius: 5px;
    display: block;
    text-decoration: none;
    text-transform: none;
    background: transparent;
}

#buddypress #subnav li > a:hover,
#buddypress #subnav li.current > a,
#buddypress #subnav li.selected > a {
    color: #fff;
}
#buddypress #subnav li.current > a, #buddypress #subnav li > a:hover {
    background-color: #000;
}

#buddypress #subnav li.last {
    padding-top: 20px;
    display: block;
    margin-left: 0;
}

#buddypress #subnav li.last label {
    display: none;
}

#buddypress #subnav li.last select {
    width: 100%;
    height: 42px;
    padding: 5px 24px 5px 10px;
}

#buddypress #subnav li.feed a:before {
    content: "\f09e";
    font-family: "ui-icomoon";
    display: inline-block;
    margin-right: 5px;
    color: #ff9900;
}

@media (min-width: 480px) {
    #buddypress #subnav {
        text-align: left;
    }
    #buddypress #subnav li.last select {
        width: 255px;
    }
}
@media (min-width: 480px) and (max-width: 767px) {
    #buddypress #subnav li.last {
        display: block;
        clear: both;
    }
}
@media (min-width: 768px) {
    #buddypress #subnav li.last {
        float: right;
        padding-top: 12px;
    }
}

/**
 * Item Lists
 */
#buddypress .item-cell {
    margin: 10px 0;
}

#buddypress .item-desc,
#buddypress .item-avatar,
#buddypress .item-header,
#buddypress .item-action {
    text-align: center;
}

#buddypress .item-bubble {
    text-align: left;
}

#buddypress .item-avatar a {
    display: inline-block;
    vertical-align: middle;
}

#buddypress .item-avatar img {
    width: 66px;
    height: 66px;
}

#buddypress .item-header {
    color: #888888;
    font-size: 14px;
    line-height: 1.3;
}

#buddypress .item-header a,
#buddypress .item-header h5,
#buddypress .item-header h4,
#buddypress .item-header span {
    color: inherit;
    font-size: inherit;
    display: inline-block;
}

#buddypress .item-header a {
    text-decoration: none;
}

#buddypress .item-header a:hover {
    color: #8b8a8a;
}

#buddypress .item-header h4,
#buddypress .item-header h5,
#buddypress .item-header .item-title {
    font-weight: 700;
    margin: 0 5px 0 0;
    padding: 0;
}

#buddypress .item-bubble,
#buddypress .activity-bubble,
#buddypress .acomment-bubble {
    font-size: 16px;
    line-height: 1.5;
    padding: 6px 15px;
    background-color: #f7f7f7;
    border-radius: 5px;
    display: inline-block;
    max-width: 100%;
}

#buddypress .item-desc {
    margin: 10px 0;
}

#buddypress .item-action {
    color: #8b8a8a;
    font-size: 13px;
    font-weight: 400;
}

#buddypress .item-bubble > p:last-child,
#buddypress .item-desc > p:last-child,
#buddypress .activity-bubble > p:last-child,
#buddypress .acomment-bubble > p:last-child {
    margin-bottom: 0;
}

#buddypress .item-follow {
    color: #888888;
    font-size: 14px;
    line-height: 1.3;
    font-style: italic;
    margin-top: 15px;
}

#buddypress .item-follow .count {
    background-color: #8b8a8a;
    min-width: 25px;
    line-height: 25px;
    text-align: center;
    padding: 0 3px;
    color: #fff;
    border-radius: 15px;
    margin: 0 4px;
    display: inline-block;
    font-style: normal;
    font-weight: 600;
}

#buddypress #blogs-list,
#buddypress #groups-list,
#buddypress #member-list,
#buddypress #friend-list,
#buddypress #admins-list,
#buddypress #mods-list,
#buddypress #members-list,
#buddypress #request-list,
#buddypress #group-list {
    border-top-width: 1px;
    border-top-style: solid;
}

#buddypress #blogs-list li,
#buddypress #groups-list li,
#buddypress #member-list li,
#buddypress #friend-list li,
#buddypress #admins-list li,
#buddypress #mods-list li,
#buddypress #members-list li,
#buddypress #request-list li,
#buddypress #group-list li {
    margin: 0;
    padding: 15px 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

@media (min-width: 768px) {
    #buddypress .item-table {
        display: table;
        width: 100%;
    }

    #buddypress .item-cell {
        display: table-cell;
        vertical-align: middle;
        margin: 0;
    }

    #buddypress .item-desc,
    #buddypress .item-avatar,
    #buddypress .item-header,
    #buddypress .item-action {
        text-align: left;
    }

    #buddypress .item-avatar.item-cell {
        width: 80px;
    }

    #buddypress .item-action.item-cell {
        width: 170px;
        padding-left: 30px;
        text-align: right;
    }
}

/* Members List */
#buddypress #members-list .item-title {
    font-size: 16px;
    margin: 0 0 3px 0;
}

/* Friend List */
#buddypress #friend-list .activity {
    display: block;
}

/* Groups List */
#buddypress #groups-list {
    clear: both;
}
#buddypress #groups-list .is-admin.hidden {
    display: block !important;
}
#buddypress #groups-list li {
    padding: 20px 0;
}
#buddypress #groups-list .item-title {
    font-size: 20px;
    margin-bottom: 2px;
}
#buddypress #groups-list .item-activity {
    margin-bottom: 5px;
}
#buddypress #groups-list .item-meta {
    color: #888888;
    font-size: 14px;
    line-height: 1.3;
    font-style: italic;
    margin-top: 15px;
}

#buddypress #groups-list .item-avatar .avatar {
    width: 100px;
    height: 100px;
}

@media (min-width: 768px) {
    #buddypress #groups-list .item-action {
        width: 130px;
        padding-left: 30px;
        text-align: right;
    }

    #buddypress #groups-list .item-avatar {
        width: 130px;
        vertical-align: top;
    }
}

/* Group List */
#buddypress #group-list .item-action {
    width: 200px;
}

/* Members List */
#buddypress #admins-list .item-action,
#buddypress #mods-list .item-action,
#buddypress #members-list .item-action {
    /*margin: 10px -3px 0;*/
}

#buddypress #admins-list .item-action a,
#buddypress #mods-list .item-action a,
#buddypress #members-list .item-action a {
    margin: 3px;
}

#buddypress #members-list .activity-read-more a {
    color: inherit;
    text-decoration: underline;
    margin-left: 7px;
}

#buddypress #members-list .activity-read-more a:hover {
    text-decoration: none;
}

/* Requests List */
#buddypress #request-list .item-action .accept,
#buddypress #request-list .item-action .reject {
    display: inline-block;
}

#buddypress #request-list .item-action {
    margin-top: 10px;
}

@media (min-width: 768px) {
    #buddypress #request-list li {
        padding-bottom: 2px;
    }
}

/**
 * Create New Group
 */
#buddypress #group-create-tabs ul {
    margin: 0 -3px 40px -3px;
    width: 100%;
}

#buddypress #group-create-tabs li {
    padding: 3px;
}

#buddypress #group-create-tabs li a,
#buddypress #group-create-tabs li span {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    padding: 15px 14px;
    background: #f7f7f7;
    border-radius: 5px;
}

#buddypress #group-create-tabs li a {
    color: #494949;
}

#buddypress #group-create-tabs li span {
    color: #b2b2b2;
}

#buddypress #group-create-tabs li.current a,
#buddypress #group-create-tabs li a:hover {
    color: #fff;
    background-color: #000;
}

#buddypress .bbp-create-group-avatar {
    margin: 20px 0 40px;
}

#buddypress .bbp-create-group-avatar .avatar {
    border-radius: 50%;
}

#buddypress .bbp-create-group-avatar .main-column {
    padding-left: 20px;
    padding-right: 20px;
}

#buddypress .bbp-create-group-avatar .main-column p {
    margin: 15px 0;
}

#buddypress #create-group-form #header-cover-image {
    background-color: #eaeaea;
    margin: 20px 0 40px;
}

/* Step:5 Invite Members */
#buddypress #invite-list {
    background-color: #f7f7f7;
    border-radius: 7px;
    padding: 20px;
    margin: 20px 0;
}

#buddypress #invite-list h4 {
    color: #4a4a4a;
    font-size: 18px;
    margin-bottom: 30px;
}

#buddypress #invite-list h4,
#buddypress #invite-list li {
    margin-left: 10px;
    margin-right: 10px;
}

#buddypress #invite-list ul {
    width: 100%;
    height: 290px;
    overflow-y: auto;
}

#buddypress #invite-list li {
    padding: 10px 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

#buddypress #invite-list li:first-child {
    border-top-width: 1px;
    border-bottom-style: solid;
}

#buddypress #invite-list label {
    font-size: 15px;
    font-weight: 400;
    margin: 0;
}

@media (min-width: 768px) {
    #buddypress #group-create-tabs li {
        float: left;
        padding: 3px;
        width: 20%;
        text-align: center;
    }

    #buddypress .bbp-create-group-avatar {
        display: table;
        width: 100%;
    }

    #buddypress .bbp-create-group-avatar .left-menu,
    #buddypress .bbp-create-group-avatar .main-column {
        display: table-cell;
        vertical-align: middle;
    }

    #buddypress .bbp-create-group-avatar .left-menu {
        width: 186px;
    }

    #buddypress .left-menu {
        width: 320px;
        float: left;
    }

    #buddypress .main-column {
        margin-left: 350px;
    }
}

@media (max-width: 767px) {
    #buddypress .bbp-create-group-avatar .left-menu {
        text-align: center;
    }
}

/* Manage Group */
#buddypress .bp-widget {
    margin: 35px 0;
}

#buddypress .bp-widget h4 {
    font-size: 15px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

/**
 * Activity
 */
#buddypress .activity-list li {
    padding-top: 25px;
    padding-bottom: 2px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

#buddypress .activity-comments li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

#buddypress .activity-comments ul {
    padding-left: 10px;
}

#buddypress .activity-wrap,
#buddypress .acomment-wrap {
    display: table;
    table-layout: fixed;
    width: 100%;
}

#buddypress .activity-avatar,
#buddypress .acomment-avatar,
#buddypress .activity-content,
#buddypress .acomment-content {
    display: table-cell;
}

#buddypress .activity-avatar,
#buddypress .acomment-avatar {
    vertical-align: top;
}

#buddypress .activity-avatar {
    width: 86px;
}

#buddypress .acomment-avatar {
    width: 45px;
}

#buddypress .activity-content,
#buddypress .acomment-content {
    vertical-align: middle;
}

#buddypress .activity-avatar img {
    width: 66px;
    height: 66px;
}

#buddypress .acomment-avatar img {
    width: 30px;
    height: 30px;
}

#buddypress .activity-header,
#buddypress .acomment-header {
    color: #888888;
    line-height: 1.3;
}

#buddypress .activity-header {
    font-size: 16px;
    padding: 10px 0;
}

#buddypress .acomment-header {
    font-size: 13px;
    padding: 6px 0;
}

#buddypress .activity-header p,
#buddypress .acomment-header p {
    margin: 0;
}

#buddypress .activity-header a:hover,
#buddypress .acomment-header a:hover {
    text-decoration: underline;
}

#buddypress .activity-header img,
#buddypress .acomment-header img {
    margin: 0 3px 0 7px;
}

#buddypress a.activity-time-since {
    color: inherit;
}

#buddypress #activity-stream .activity-inner,
#buddypress #activity-stream .acomment-inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

#buddypress #activity-stream .activity-inner img,
#buddypress #activity-stream .acomment-inner img {
    display: block;
    margin: 9px auto;
}

#buddypress .activity-meta,
#buddypress .acomment-options {
    margin-top: 10px;
}

#buddypress .activity-meta a span,
#buddypress .acomment-options a span {
    background-color: #8b8a8a;
    min-width: 15px;
    text-align: center;
    padding: 0 3px;
    color: #fff;
    border-radius: 7px;
    margin-left: 4px;
    display: inline-block;
}

#buddypress .activity-list .load-more,
#buddypress .activity-list .load-newest {
    padding: 20px 0;
    text-align: center;
}

#buddypress .activity-list .load-more {
    border: 0;
}

/* Reply */
#buddypress .ac-form {
    display: none;
}

#buddypress .ac-reply-content {
    padding: 10px 0 5px;
}

#buddypress .ac-textarea {
    padding-bottom: 10px;
}

#buddypress .ac-textarea textarea {
    height: 100px;
    resize: vertical;
}

#buddypress .ac-reply-cancel {
    color: #1f1f1f;
}

/* Whats New Form */
#buddypress #whats-new-form {
    background: rgba(0,0,0,.04);
    border-radius: 5px;
    padding: 20px 25px;
    margin-bottom: 40px;
}

#buddypress #whats-new-form .activity-greeting {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}

#buddypress #whats-new-textarea textarea {
    height: 52px !important;
    min-height: 52px !important;
    padding-top: 13px;
    padding-bottom: 13px;
}

#buddypress #whats-new-submit {
    padding: 10px 0;
}

#buddypress #whats-new-post-in-box {
    padding: 10px 0;
}

@media (min-width: 992px) {
    #buddypress .activity-comments > ul {
        padding-left: 85px;
    }

    #buddypress .activity-comments ul {
        padding-left: 45px;
    }
}

@media (min-width: 480px) {
    #buddypress .activity-comments ul {
        padding-left: 20px;
    }
}

@media (max-width: 479px) {
    #buddypress .activity-wrap,
    #buddypress .activity-avatar,
    #buddypress .activity-content {
        display: block;
        width: 100%;
    }

    #buddypress .activity-avatar {
        text-align: center;
        margin-bottom: 10px;
    }
}

/**
 * Member Profile
 */
#buddypress .profile {
    margin: 35px 0;
}

#buddypress .profile h4 {
    font-size: 17px;
    text-transform: uppercase;
}
#buddypress .profile-fields {
    table-layout: fixed;
}
#buddypress .profile-fields td, #buddypress .profile-fields th {
    font-size: 16px;
}
#buddypress .profile-fields td:first-child, #buddypress .profile-fields th:first-child {
    font-weight: 700;
}

#buddypress .profile-fields td p {
    margin: 0;
}

#buddypress .profile .button-nav {
    margin-left: -3px;
    margin-right: -3px;
}

#buddypress .profile .button-nav li {
    display: inline-block;
    margin: 3px;
}

#buddypress .profile .bp-widget {
    width: 100%;
}

#buddypress .profile td.label {
    width: 35%;
}
#buddypress .profile td.data a {
    word-break: break-all;
}
@media screen and (min-width: 768px) {
    #buddypress .profile td.label {
        width: 40%;
    }
}

/**
 * Member Notifications
 */
#buddypress .notifications a:hover {
    text-decoration: underline;
}
.notifications #buddypress .pagination {
    text-align: right;
}

#buddypress .notification-actions,
#buddypress .notification-actions a {
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
    color: #8b8a8a;
}

#buddypress .notifications .bbp-checkbox {
    margin: 0;
}

@media (min-width: 768px) {
    #buddypress .notifications td {
        vertical-align: top;
    }

    #buddypress .notification-description {
        max-width: 385px;
    }
}

@media (max-width: 767px) {
    #buddypress .notification-actions,
    #buddypress .notification-actions a {
        margin: 0;
    }

    #buddypress .notifications .bulk-select-all {
        display: block;
    }

    #buddypress .notifications .bulk-select-all .bp-screen-reader-text {
        display: inline-block !important;
    }

    #buddypress .notifications tbody tr {
        padding-left: 27px;
        position: relative;
    }

    #buddypress .notifications .bulk-select-check {
        top: 13px;
        left: 0;
        width: auto !important;
        position: absolute;
        margin: 0;
    }

    #buddypress .notifications .notification-description {
        margin: 0;
    }
}

/* Member Messages */
#buddypress .messages-notices {
    font-size: 12px;
}
#buddypress .messages .pagination {
    text-align: right;
}
#buddypress .messages-notices a:hover {
    text-decoration: underline;
}
#buddypress .messages-notices .bbp-checkbox {
    margin: 0;
    padding-left: 0;
}
#buddypress .messages-notices .thread-from .activity {
    display: block;
}
#buddypress .messages-notices .thread-info a {
    font-weight: 700;
}
#buddypress .messages-notices .thread-info p {
    margin-bottom: 6px;
}
#buddypress .messages-notices .thread-avatar div {
    display: inline-block;
    position: relative;
}
#buddypress .messages-notices .thread-count {
    position: absolute;
    top: -5px;
    right: -5px;
}
#buddypress .messages-notices .thread-info p:last-child {
    margin-bottom: 0;
}
#buddypress .messages-notices .thread-star a,
#buddypress .messages-notices .thread-star a:hover {
    text-decoration: none;
}

#buddypress .messages-notices .message-action-star .icon,
#buddypress .messages-notices .message-action-unstar .icon {
    font-family: 'ui-icomoon';
    font-size: 20px;
    color: #ff9900;
    display: inline-block;
    vertical-align: top;
}
#buddypress .messages-notices .message-action-star .icon:before {
    content: "\e95e";
}
#buddypress .messages-notices .message-action-unstar .icon:before {
    content: "\e90d";
}

#buddypress .messages-notices .thread-options,
#buddypress .messages-notices .thread-options a {
    color: #8b8a8a;
}
#buddypress .messages-notices .thread-options a {
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
}

#buddypress .messages-notices .bulk-select-check,
#buddypress .messages-notices .thread-checkbox,
#buddypress .messages-notices .thread-star {
    min-width: 27px;
}
#buddypress .messages-notices .thread-star {
    padding-left: 5px;
    padding-right: 5px;
}
#buddypress .messages-notices .thread-avatar,
#buddypress .messages-notices .thread-options {
    min-width: 75px;
}
#buddypress .messages-notices .thread-options {
    min-width: 100px;
}
#buddypress .messages-notices .thread-info,
#buddypress .messages-notices .thread-from {
    min-width: 155px;
}
@media (min-width: 1200px) {
    #buddypress .messages-notices .thread-from .activity {
        white-space: nowrap;
    }
    #buddypress .messages-notices .thread-options {
        min-width: 155px;
    }
}

/* Settings */
#buddypress table.notification-settings .no,
#buddypress table.notification-settings .yes {
    text-align: center;
    width: 65px;
    min-width: 65px;
}

#buddypress table.notification-settings .bbp-radio {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Compose Dropdown */
.ac_results {
    border: 1px solid #ececec !important;
}

.ac_results li {
    line-height: 1.2 !important;
    min-height: 52px;
    position: relative;
    padding: 10px 10px 10px 50px !important;
}

.ac_results li img {
    width: 30px !important;
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 50%;
}

.ac_results li.ac_over {
    background: #8b8a8a;
}

/* Send Messages */
#buddypress .message-metadata {
    color: #888888;
    font-size: 14px;
    line-height: 1.3;
    margin: 30px 0 15px;
}

#buddypress .message-metadata a {
    color: #1f1f1f;
}

#buddypress .message-metadata .avatar {
    margin-right: 7px;
}

#buddypress .message-content p {
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.5;
    padding: 6px 15px;
    background-color: #f7f7f7;
    border-radius: 5px;
    display: inline-block;
}

/**
 * Send Message Form
 */
#buddypress #send_message_form  ul.acfb-holder li.friend-tab {
    border: none;
    background: transparent;
    padding-left: 0;
}
#buddypress #send_message_form  ul.acfb-holder li.friend-tab img {
    width: 40px;
    margin-right: 7px;
}
#buddypress #send_message_form  ul.acfb-holder li.friend-tab a:hover {
    text-decoration: underline;
}

/**
 * Registration and Activation
 */
/* General */
#buddypress #register-page h1, #buddypress #register-page h3, #buddypress #activate-page h3 {
    font-weight: 400;
    text-align: center;
}

/* Registation Page */
#buddypress .register-section {
    margin: 30px 0;
}
#buddypress #register-page h1, #buddypress #register-page h3 {
    font-weight: 400;
    text-align: center;
}
#buddypress #register-page h1 {
    margin: 0 0 15px 0;
    font-size: 32px;
}
#buddypress #register-page h3 {
    margin: 0 0 25px 0;
    font-size: 18px;
}
#buddypress #register-page h2 {
    font-size: 22px;
}
#buddypress #register-page .standard-form .submit {
    border-top: 2px solid #ececec;
    border-bottom: none;
    padding: 0;
    margin: 0 0 35px 0;
}
#buddypress #register-page .bbp-editfield > label {
    display: none;
}
#buddypress #register-page .standard-form p.description:last-child {
    margin-bottom: 0;
}
#buddypress #register-page select[multiple] {
    height: 70px;
}

#buddypress  #register-page .error {
    font-size: 13px;
}
#buddypress #register-page .clear-value {
    font-weight: normal;
}

/* Activation Page */
#buddypress #activate-page {
    width: 100%;
    padding: 0;
    margin: auto auto;
}
#buddypress #activate-page h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
}
#buddypress #activate-page .button {
    width: 100%;
}

/* Social Widget */
#buddypress #register-page .wp-social-login-connect-with {
    text-transform: uppercase;
    font-size: 14px;
}
#buddypress #register-page .wp-social-login-connect-with, #buddypress #register-page .wp-social-login-provider-list {
    width: 300px;
    max-width: 100%;
    display: block;
    margin: auto auto;
    text-align: center;
}

@media (min-width: 480px) {
    /* Registation Page */
    #buddypress #register-page .wp-social-login-connect-with, #buddypress #register-page .wp-social-login-provider-list {
        width: 386px;
    }
}
@media (min-width: 600px) {
    /* Activation Page */
    #buddypress #activate-page {
        width: 500px;
    }
}
@media (min-width: 768px) {
    /* Registation Page */
    #buddypress .standard-form #basic-details-section,
    #buddypress .standard-form #blog-details-section,
    #buddypress .standard-form #profile-details-section {
        width: 48%;
        float: left;
    }

    #buddypress .standard-form #profile-details-section {
        float: right;
    }
}


/**
 * Widgets
 */
.buddypress.widget {
    line-height: 1.1;
}

.buddypress.widget label {
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: center;
}

.buddypress.widget .avatar {
    border-radius: 50%;
    display: inline-block;
}

.buddypress.widget .item-title {
    color: #1f1f1f;
    font-size: 17px;
}

.buddypress.widget .item-meta {
    font-size: 13px;
    color: #8a8c8e;
}

.buddypress.widget .item-title,
.buddypress.widget .item-meta {
    margin: 5px 0;
}

.buddypress.widget .item-title a {
    color: inherit;
}

.buddypress.widget .item-list li {
    padding-top: 9px;
    padding-bottom: 9px;
    display: table;
    width: 100%;
}

.buddypress.widget .item-list .item,
.buddypress.widget .item-list .item-avatar {
    display: table-cell;
    vertical-align: middle;
}

.buddypress.widget .item-list .item-avatar {
    width: 80px;
}

.buddypress.widget .avatar-block {
    margin-left: -3px;
    margin-right: -3px;
}

.buddypress.widget .avatar-block .item-avatar {
    display: inline-block;
    vertical-align: middle;
    margin: 3px;
}

.buddypress.widget .avatar-block .avatar {
    width: 50px;
    height: 50px;
}

.buddypress.widget .item-options {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ececec;
}

.buddypress.widget .item-options a {
    color: #8a8c8e;
    font-size: 13px;
    text-transform: uppercase;
}

.buddypress.widget .item-options a:hover,
.buddypress.widget .item-options a.selected {
    color: #1f1f1f;
}

.buddypress.widget .item-options .bp-separator {
    color: transparent;
}

/* Login Widget */
.widget_bp_core_login_widget .forgetmenot label {
    text-align: left;
    margin: 15px 0;
}

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

.bp-login-widget-user-links {
    margin-left: 60px;
    padding: 7px 0px;
}

.bp-login-widget-user-link a {
    font-size: 18px;
    color: #1f1f1f;
}

.bp-login-widget-user-logout a {
    font-size: 13px;
    font-weight: 700;
}

.bp-login-widget-register-link {
    display: block;
    margin-top: 15px;
    text-align: center;
}

/**
 * Header User Notifications
 */
.user-notifications:hover .notifications-list {
    text-align: left;
    opacity: 1;
    visibility: visible;
    display: block !important;
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    transform: translate(0, 0);
}
.bb-header .notifications-list.menu ul {
    margin: 0;
}
.bb-header .notifications-list.menu ul li {
    font-size: 13px;
    line-height: 17px;
    font-weight: 700;
    padding: 5px 15px;
}

.bb-header .notifications-list.menu ul li a {
    padding: 0;
    display: inline;
    text-transform: none;
}

.notifications-more {
    margin: 0 15px;
    font-size: 13px;
}

/**
 * Header Profile Menu
 */
.user-box .menu .sub-menu {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 100%;
    margin: 0;
    padding: 12px 0;
    width: 210px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    -webkit-box-shadow: 0 0 4px #c0c0c0;
    -moz-box-shadow: 0 0 4px #c0c0c0;
    box-shadow: 0 0 4px #c0c0c0;

    display: block;
    opacity: 0;
    visibility: hidden;

    -webkit-transform: translate(0, 20px);
    -moz-transform: translate(0, 20px);
    transform: translate(0, 20px);

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.user-box .menu li:hover > .sub-menu {
    opacity: 1;
    display: block;
    visibility: visible;

    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    transform: translate(0, 0);
}

.user-box .menu li a {
    padding-right: 40px !important;
}

.user-box .menu li a > span {
    position: absolute;
    right: 10px;
    top: 10px;
}

.user-box .bp-menu.bp-logout-nav:last-child {
    text-align: left;
    padding-top: 10px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.user-box .bp-menu.bp-logout-nav:last-child a {
    display: inline-block !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap;
    background: #8b8a8a;
    border-radius: 5px;
    color: #fff !important;
    margin: 0 16px;
}

/**
 * Plugin rtMedia
 */

/* Activity Page */
#buddypress #whats-new-options .rtmedia-container {
    padding: 10px 0;
}

#buddypress .rtm-activity-media-list li {
    text-align: center;
    margin: 0 0 5px 0;
    padding: 0;
}

#buddypress .rtm-activity-media-list .rtmedia-item-thumbnail {
    display: inline-block;
}

#buddypress .rtmedia-activity-text {
    margin-bottom: 5px;
}

/* Media Tab */
.rtm-gallery-title {
    font-size: 25px;
}

.rtm-media-options {
    font-size: 14px;
}

.rtmedia-no-media-found {
    font-size: 16px;
    line-height: 1.3em;
    display: block;
    position: relative;
    padding: 14px 30px 14px 40px;
    margin: 20px 0;
    border-radius: 5px;
}

.rtmedia-no-media-found a {
    color: inherit;
    text-decoration: underline;
}

.rtmedia-no-media-found a:hover {
    text-decoration: none;
}

.rtmedia-no-media-found:before {
    font-family: 'ui-icomoon';
    font-size: 20px;
    line-height: 20px;
    position: absolute;
    left: 12px;
    top: 13px;
    display: block;
}

.rtmedia-no-media-found {
    color: #8a6d3b;
    border-color: #f7eebd;
    background-color: #f7eebd;
}

.rtmedia-no-media-found:before {
    content: "\e95d";
}

#buddypress .rtmedia-uploader .drag-drop {
    border-width: 2px;
}

/* Media Edit */
.rtm-tabs a {
    color: inherit;
    font-size: 15px;
}

.rtmedia-editor-buttons {
    margin-top: 15px;
}

.rtmedia-image-editor label,
.rtmedia-image-editor input[type="text"] {
    display: inline-block;
}

.rtmedia-image-editor input[type="text"] {
    min-width: 80px;
}

/**
 * Plugin Gamify
 * @requires - modernizr - for detecting touch screen
               icommon icon fonts - for icons being available
 */
/* *** General *** */
/* Avatar */
.gfy-bp-component img.avatar {
    border-radius: 50%;
    display: inline-block;
}
/* Badge Size */
.gfy-bp-component .gfy-rank-item img,
#mycred-users-badges img,
.gfy-bp-leaderboard table .user-rank img,
.single .post.single .gfy-bp-leaderboard-shortcode table .user-rank img {
    width: 56px;
}
.gfy-unearned-badge, .gfy-icon-btn.icon-lg {
    width: 56px;
    height: 56px;
}
.gfy-icon-btn.icon-lg:before,
.gfy-badge-more-func .more-badge .more-badge-icon {
    line-height: 54px;
}
.gfy-bp-component.gfy-bp-my-ranks .gfy-rank-item img {
    width: 70px;
}

/* *** Progress Bar *** */
.gfy-progress-bar {
    position: relative;
}
.gfy-progress-bar .progress-bar-bg, .gfy-progress-bar .progress {
    width: 100%;
    height: 6px;
    border-radius: 30px;

}
.gfy-progress-bar .progress-bar-bg {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}
.gfy-progress-bar .progress {
    opacity: 1;
}

/* *** Gfy Badge More Functionality *** */
.touchevents .gfy-badge-more-func[data-execute=mobile] {
    display: none;
}
.gfy-badge-more-func, .gfy-badge-more-func .menu-item {
    -webkit-transition: opacity 0.3s linear;
       -moz-transition: opacity 0.3s linear;
            transition: opacity 0.3s linear;
    opacity: 0;
}
.gfy-badge-more-func.item-show, .gfy-badge-more-func[data-execute=mobile].item-show {
    display: block;
}
.gfy-badge-more-func .item-hide {
    display: none!important;
}
.gfy-badge-more-func .item-fade, .gfy-badge-more-func.item-fade {
    opacity: 1;
}
.gfy-badge-more-func .more-badge {
    cursor: pointer;
    vertical-align: middle;
}
.gfy-badge-more-func .more-badge .more-badge-icon {
    font-size: 17px;
}
.gfy-badge-more-func .more-badge .more-badge-txt {
    font-size: 25px;
    line-height: 25px;
    margin-left: 2px;
    font-weight: 600;
}

/* *** Tooltip Plugin Styles *** */
.gfy-toggle-tooltip {
    position: relative;
    display: inline-block;
    /*cursor: pointer;*/
    -webkit-backface-visibility: hidden;
}
.gfy-toggle-tooltip .gfy-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1500;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    -webkit-transition: opacity 0.15s linear;
       -moz-transition: opacity 0.15s linear;
            transition: opacity 0.15s linear;
}
.gfy-toggle-tooltip .gfy-tooltip .tooltip-inner {
    position: relative;
    width: 220px;
    border-radius: 3px;
    padding: 30px 24px;
    background-color: #fff;
    color: #000;
}
.gfy-toggle-tooltip .gfy-tooltip .tooltip-arrow {
    position: absolute;
    width: 7px;
    box-sizing: border-box;
    border: 7px solid #fff;
    /* Please do not delete this commented styling.
    It will help when we need arrow to have color different from tooltip content */
    /*border-color: transparent transparent #fff #fff;*/
    -webkit-transform-origin: 0 0;
       -moz-transform-origin: 0 0;
            transform-origin: 0 0;
}
.no-touchevents .gfy-toggle-tooltip:not(.close-on-content-hover):hover .gfy-tooltip, .gfy-toggle-tooltip:not(.close-on-content-hover).active .gfy-tooltip, .touchevents .gfy-toggle-tooltip:not(.close-on-content-hover):focus .gfy-tooltip {
    visibility: visible;
    opacity: 1;
}
.gfy-tooltip-visible.gfy-tooltip {
    visibility: visible;
    opacity: 1;
}
/* Active class is set on  .gfy-toggle-tooltip in case of click event. It is set from buddypress.js tooltip plugin styles.
   Currently modernizer for detecting touch devices can't be used in buddypress.js because of being loaded after buddypress.js instead of being loaded before it.
   Therefore, currently click event and active class exist also on none touch devices.
   As below code should work only on hover, that's why it contains part which prevents hover of tooltip inside active class (tooltip opened on click)
 */
/*.no-touchevents .gfy-toggle-tooltip.close-on-content-hover .gfy-tooltip:hover {*/
    /*visibility: hidden;*/
    /*opacity: 0;*/
/*}*/

/* Tooltip Top */
.gfy-toggle-tooltip .gfy-tooltip.tooltip-top {
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
       -moz-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-top .tooltip-inner {
    margin-bottom: 20px;
    -webkit-box-shadow: 0 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: 0 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
            box-shadow: 0 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-top .tooltip-arrow {
    top: 100%;
    left: 50%;
    margin-left: -10px;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
            box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
}

/* Tooltip Bottom */
.gfy-toggle-tooltip .gfy-tooltip.tooltip-bottom {
    top: 100%;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
       -moz-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);

}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-bottom .tooltip-inner {
    margin-top: 20px;
    -webkit-box-shadow: -1px -2px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: -1px -2px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);
            box-shadow: -1px -2px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);

}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: 10px;
    -webkit-transform: rotate(-225deg);
       -moz-transform: rotate(-225deg);
            transform: rotate(-225deg);
    -webkit-box-shadow: -2px 1px 0 0 rgba(0,0,0,.07), -1px 2px 0 0 rgba(0,0,0,.07);
       -moz-box-shadow: -2px 1px 0 0 rgba(0,0,0,.07), -1px 2px 0 0 rgba(0,0,0,.07);
            box-shadow: -2px 1px 0 0 rgba(0,0,0,.07), -1px 2px 0 0 rgba(0,0,0,.07);
}

/* Tooltip Right */
.gfy-toggle-tooltip .gfy-tooltip.tooltip-right {
    top: 50%;
    left: 100%;
    -webkit-transform: translate3d(0, -50%, 0);
       -moz-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-right .tooltip-inner {
    margin-left: 20px;
    -webkit-box-shadow: -1px 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: -1px 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
            box-shadow: -1px 0 1px 0 rgba(0,0,0,.1), 0 2px 1px 0 rgba(0,0,0,.19);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -7px;
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-box-shadow: -2px 1px 0px 0 rgba(0,0,0,.07), -1px 2px 0px 0 rgba(0,0,0,.07);
       -moz-box-shadow: -2px 1px 0px 0 rgba(0,0,0,.07), -1px 2px 0px 0 rgba(0,0,0,.07);
            box-shadow: -2px 1px 0px 0 rgba(0,0,0,.07), -1px 2px 0px 0 rgba(0,0,0,.07);
}

/* Tooltip Left */
.gfy-toggle-tooltip .gfy-tooltip.tooltip-left {
    top: 50%;
    right: 100%;
    -webkit-transform: translate3d(0, -50%, 0);
       -moz-transform: translate3d(0, -50%, 0);
            transform: translate3d(0, -50%, 0);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-left .tooltip-inner {
    margin-right: 20px;
    -webkit-box-shadow: 2px 1px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: 2px 1px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);
            box-shadow: 2px 1px 1px 0 rgba(0,0,0,.1), 0 0 1px 0 rgba(0,0,0,.19);
}
.gfy-toggle-tooltip .gfy-tooltip.tooltip-left .tooltip-arrow {
    top: 50%;
    left: 100%;
    margin-top: 11px;
    -webkit-transform: rotate(225deg);
       -moz-transform: rotate(225deg);
            transform: rotate(225deg);
    -webkit-box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
       -moz-box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
            box-shadow: -2px 1px 1px 0 rgba(0,0,0,.19);
}

/* *** Tooltip Specific Styles for Gamify *** */
/* Tooltip Icon Style */
.gfy-toggle-tooltip.tooltip-icon-style {
    margin-left: 7px;
}
/* Tooltip Icon Style */
.gfy-toggle-tooltip.tooltip-unearned-badge {
    margin-left: 0;
}

/* Tooltip Progress Bar */
.gfy-toggle-tooltip.tooltip-progress-bar {
    display: block;
}
.gfy-toggle-tooltip.tooltip-progress-bar .progress-bar {
    -webkit-transition: opacity 0.15s linear;
       -moz-transition: opacity 0.15s linear;
            transition: opacity 0.15s linear;
}
.gfy-toggle-tooltip.tooltip-progress-bar:hover .progress-bar {
    opacity: 0.7;
}
.gfy-toggle-tooltip.tooltip-progress-bar .gfy-tooltip,
.gfy-toggle-tooltip.tooltip-progress-bar .tooltip-inner {
    width: 100%;
}
.gfy-toggle-tooltip.tooltip-progress-bar .tooltip-inner {
    padding: 15px;
    font-size: 14px;
}

/* *** Gfy featured author widget *** */
.gfy-featured-author-content {
    text-align: center;
    background-color: #ececec;
    padding-bottom: 15px;
    overflow: hidden;
}
.widget_gfy-featured-author .gfy-cover {
    height: 100px;
    background-color: #000;
    background-size: cover;
    background-position: center;
}
.widget_gfy-featured-author .gfy-avatar {
    position: relative;
    width: 130px;
    height: 130px;
    margin: -65px auto 20px;
    overflow: visible;
}
.widget_gfy-featured-author .gfy-avatar img {
    box-shadow: -1px 2px 2px rgba(0,0,0,.18);
}
.widget_gfy-featured-author .gfy-avatar .gfy-badge img {
    box-shadow: none;
}
.widget_gfy-featured-author .gfy-avatar .gfy-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 40px;
    height: 40px;
}
.widget_gfy-featured-author .gfy-author-info {
   margin-bottom: 25px;
}
.widget_gfy-featured-author .gfy-name {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-size: 26px;
    line-height: 1.2em;
    font-weight: 700;
}
.widget_gfy-featured-author .gfy-description {
    display: block;
    padding: 0 15px;
    color: #8e8e8e;
    font-size: 15px;
    line-height: 1.2em;
}
.widget_gfy-featured-author .gfy-social,
.widget_gfy-featured-author .gfy-badge-list {
    display: block;
    margin-bottom: 15px;
    list-style: none;
}
.widget_gfy-featured-author .gfy-social li,
.widget_gfy-featured-author .gfy-badge-list li {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0 8px;
}
.widget_gfy-featured-author .gfy-social a {
    font-size: 18px;
    color: inherit;
}
.widget_gfy-featured-author .gfy-badge-list img {
    width: 50px;
}
.widget_gfy-featured-author .gfy-count-list {
    padding: 0 10px;
    overflow: hidden;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item {
    width: 33.33%;
    float: left;
    background-color: #ffffff;
    padding: 15px 5px;
    line-height: 1em;
    border-radius: inherit;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item:first-child + .gfy-item {
    width: 33%;
    width: calc(33.33% - 2px);
    margin: 0 1px;
    border-radius: 0;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item:first-child{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item:last-child{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item .gfy-count{
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 700;
    color: #000;
}
.widget_gfy-featured-author .gfy-count-list .gfy-item .gfy-count-name {
    font-size: 12px;
    line-height: 1em;
    color: #a3a3a3;
}

/* *** Gfy Popup *** */
.gfy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow: hidden;
}
.gfy-popup-body {
    position: absolute;
    top:50%;
    left: 50%;
    width: 500px;
    max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
    text-align: center;
    padding: 40px 0;
    border-radius: 5px;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.gfy-popup-body .gfy-body {
    padding: 35px 0 20px;
}
.gfy-popup-body .gfy-badge-wrapper {
    display: block;
    height: 120px;
    margin-bottom: 25px;
}
.gfy-popup-body .gfy-earned-badge {
    display: inline-block;
    width: 120px;
    height: 120px;
    background-position: center;
    position: relative;
    animation: bounce 6s infinite linear;
}

.gfy-popup-body  .gfy-earned-badge img {
    width: 100%;
    height: 100%;
    animation: image_rotation 6s infinite linear;
}

.gfy-popup-body .gfy-earned-badge:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    background-color: #c4c4c4;
    opacity: 0;
    animation: wave 6s infinite linear;
}
.gfy-popup-body .gfy-footer {
    padding: 30px 0 0;
}
.gfy-popup-body .gfy-footer .gfy-share {
    display: inline-block;
    border-radius: 3px;
    padding: 11px 15px;
    min-width: 190px;
    color: #fff;
    font-size: 17px;
    line-height: 1em;
}
.gfy-popup-body .gfy-footer .gfy-share:hover {
    box-shadow: -3px 3px 8px 0 rgba(21,21,24,.34);
}
.gfy-popup-body .gfy-footer .gfy-share.gfy-share-facebook {
    background-color: #2f5f98;
}
.gfy-popup-body .gfy-footer .gfy-share.gfy-share-twitter {
    background-color: #12c3f0;
}
.gfy-popup-body .gfy-footer .gfy-share + .gfy-share {
    margin-left: 10px;
}
.gfy-popup-body .gfy-close {
    position: absolute;
    top: 7px;
    right: 17px;
    font-size: 18px;
    color: inherit;
}
.gfy-popup-body .gfy-head {
    margin: 0 0 25px;
}
.gfy-popup-body .gfy-title {
    margin: 0;
    font-size: 26px;
    line-height: 1em;
    font-weight: 700;
}
.gfy-popup-body .gfy-sub-title {
    margin: 0 0 10px;
    font-size: 25px;
    font-weight: 300;
    text-transform: uppercase;
}
.gfy-popup-body .gfy-badge-title {
    display: inline-block;
    margin: 0;
    padding: 10px 30px;
    background-color: #ffffff;
    border-radius: 3px;
    font-weight: 400;
}
@media screen and (max-width: 480px) {
    .gfy-popup-body {
        border-radius: 0;
    }
    .gfy-popup-body .gfy-footer .gfy-share {
        margin: 0 10px 10px;
    }
    .gfy-popup-body .gfy-footer .gfy-share:last-child {
        margin-bottom: 0;
    }
}
@keyframes bounce {

    0% {
        height: 120px;
        transform: translate(0, 0);
    }

    80% {
        height: 120px;
        transform: translate(0, 0);
    }

    82% {
        /*margin-top: 20px;*/
        height: 100px;
        transform: translate(0, 20px);
    }

    85% {
        height: 120px;
        transform: translate(0, -50px);
        /*margin-bottom: 50px;*/
    }

    87% {
        height: 120px;
        transform: translate(0, 0);
    }

    88% {
        height: 120px;
        transform: translate(0, -20px);
        /*margin-bottom: 20px;*/
    }

    90% {
        height: 120px;
        transform: translate(0, 0);
    }

    100% {
        height: 120px;
        transform: translate(0, 0);
    }

}

@keyframes wave {
    0% {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-left: -50px;
        opacity: 0;
    }

    49.9999% {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-left: -50px;
        opacity: 0;
    }

    50% {
        width: 100px;
        height: 100px;
        margin-top: -50px;
        margin-left: -50px;
        opacity: 1;
    }

    55% {
        width: 180px;
        height: 180px;
        margin-top: -90px;
        margin-left: -90px;
        opacity: 0;
    }

    100% {
        width: 180px;
        height: 180px;
        margin-top: -90px;
        margin-left: -90px;
        opacity: 0;
    }
}

@keyframes image_rotation {
    0% {
        transform: rotateY(0deg);
    }

    10% {
        transform: rotateY(100deg);
    }

    20% {
        transform: rotateY(200deg);
    }

    30% {
        transform: rotateY(600deg);
    }

    40% {
        transform: rotateY(1200deg);
    }

    50% {
        transform: rotateY(1820deg);
    }

    60% {
        transform: rotateY(1800deg);
    }

    70% {
        transform: rotateY(1800deg);
    }

    90% {
        transform: rotateY(1800deg);
    }

    100% {
        transform: rotateY(1800deg);
    }
}

/* *** Gamify Tabs *** */
.gfy-tabs ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
.gfy-tabs .tabs-menu li {
    list-style: none;
    display: inline-block;
}
.gfy-tabs .tabs-content {
    clear: both;
}
.gfy-tabs .tab-menu-item {
    padding: 4px;
    line-height: 1.3;
    font-weight: 600;
    font-size: 14px;
    margin: 0 10px 10px;
}
.gfy-tabs.tabs-md .tab-menu-item {
    font-size: 16px;
}
.gfy-tabs .tab-menu-item.active {
    border-bottom: 2px solid #49c793;
}
.gfy-tabs .tab-menu-item.active a {
    cursor: default;
}
.gfy-tabs .tab-content-item {
    display: none;
    animation: fadeEffect 1s;
}
.gfy-tabs .tab-content-item.active {
    display: block;
}
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}
@media screen and (min-width: 768px) {
    .gfy-tabs.tabs-md .tabs-menu {
        margin-bottom: 10px;
    }
    .gfy-tabs.tabs-md ul {
        text-align: left;
    }
    .gfy-tabs.tabs-md .tab-menu-item:first-child {
        margin-left: 0;
    }
}

/* *** Gamify Icons *** */
[class^="gfy-icon"] {
    font-family: 'ui-icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}
.gfy-icon-btn {
    border-radius: 50%;
    border: 1px solid #ececec;
    vertical-align: middle;
    text-align: center;
}
.gfy-icon-btn.icon-xs {
    width: 22px;
    height: 22px;
}
.gfy-icon-btn.icon-xs:before {
    font-size: 16px;
    line-height: 20px;
}
.gfy-icon-btn.icon-lg:before {
    font-size: 30px;
}

/* Icons */
.gfy-icon-question:before {
    content: "\e90a";
}
.gfy-icon-info:before {
    content: "\e96c";
}
.gfy-icon-plus:before {
    content: "\e944";
}
.gfy-icon-close:before {
    content: "\f00d";
}

/* *** Gamify Avatar *** */
.gfy-avatar {
    width: 48px;
    height: 48px;
    overflow: hidden;
}
.gfy-avatar img {
    -webkit-border-radius: 50%;
       -moz-border-radius: 50%;
            border-radius: 50%;
}

/* *** Gamify Badges *** */
.gfy-badge-list, .gfy-badge {
    display: inline-block;
}
.gfy-badge img {
    width: 40px;
    height: auto;
}
.gfy-badge.badge-xs img {
    width: 24px;
}

/* *** Unearned Badge Block *** */
.gfy-unearned-badge {
    position: relative;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
}
.gfy-unearned-badge .badge-overlay {
    position: absolute;
    left: 0;
    top: 0;
}
.gfy-unearned-badge .gfy-icon-btn:before {
    opacity: 0.3;
}

/* *** Rank Block *** */
.gfy-bp-component .gfy-rank-item {
    padding: 24px 16px 15px;
    text-align: center;
}
.gfy-bp-component .gfy-rank-item .rank-level {
    margin: 0;
    display: inline;
}
.gfy-bp-component .gfy-rank-item .title-block {
    margin-bottom: 7px;
}
.gfy-bp-component .gfy-rank-item .rank-level {
    font-size: 14px;
}
.gfy-bp-component .gfy-rank-item .rank-desc {
    font-size: 12px;
    line-height: 1.4;
}
.gfy-bp-component .gfy-rank-item :last-child {
    margin-bottom: 0;
}
.gfy-bp-component .gfy-rank-item img, .gfy-bp-component .gfy-rank-item .unearned-badge-wrapper, .gfy-bp-component .gfy-rank-item .progress-bar-wrapper {
    margin-bottom: 15px;
}
.gfy-bp-component .gfy-rank-item .unearned-badge-wrapper img {
    margin: 0;
}
.gfy-bp-component .gfy-rank-item .progress-bar-wrapper {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

/* *** Mycred Title *** */
.gfy-title {
    display: inline;
    margin: 0;
    font-weight: bold;
}
.gfy-title.title-sm {
    font-size: 16px;
}

/* *** User Badges *** */
/* #mycred-users-badges in Profile section should be wrapped under gfy container */
.gfy-user-achievements, .gfy-user-achievements #mycred-users-badges {
    text-align: center;
}
#mycred-users-badges .the-badge {
    display: inline-block;
    padding: 10px;
}
#mycred-users-badges {
    width: 95%;
    display: inline-block;
}
.gfy-user-achievements .header-block {
    margin-bottom: 20px;
}

/* User Badges in Profile Fields */
#buddypress #mycred-users-badges > div {
    padding: 0;
}
#buddypress .profile-fields #mycred-users-badges {
    text-align: left;
}
#buddypress .profile-fields #mycred-users-badges .the-badge {
    padding: 10px 20px 10px 0;
}

/* *** Tables *** */
/* General */
.gfy-bp-history table td.column-time, .gfy-bp-history table td.column-time,
.gfy-bp-leaderboard table td.user-position, #buddypress .gfy-bp-leaderboard table td.user-position  {
    font-weight: bold;
}

/* History */
.gfy-bp-history table tfoot {
    display: none;
}

/* Leaderboard */
#buddypress .gfy-bp-leaderboard table td, #buddypress .gfy-bp-leaderboard table th {
    padding: 10px 20px;
}
.gfy-bp-leaderboard table .user-name a {
    font-size: 16px;
}
.gfy-bp-leaderboard table a:hover {
    text-decoration: underline;
}
.gfy-bp-leaderboard table .user-name {
    width: 110px;
}
.gfy-bp-leaderboard table .user-position {
    width: 1px;
    white-space: nowrap;
}
.gfy-bp-leaderboard table {
    margin: 0 0 25px 0;
}

#buddypress .gfy-bp-leaderboard table td.user-position, .gfy-bp-leaderboard-shortcode table td.user-position {
    font-size: 18px;
}
#buddypress .gfy-bp-leaderboard table td.user-name, #buddypress .gfy-bp-leaderboard table td.user-points,
.gfy-bp-leaderboard-shortcode table td.user-name, .gfy-bp-leaderboard-shortcode table td.user-points {
    font-weight: 700;
}
#buddypress .gfy-bp-leaderboard table td.user-rank, #buddypress .gfy-bp-leaderboard table th.user-rank,
#buddypress .gfy-bp-leaderboard table td.user-avatar, #buddypress .gfy-bp-leaderboard table th.user-avatar,
.gfy-bp-leaderboard-shortcode table .user-rank, .gfy-bp-leaderboard-shortcode table .user-avatar {
    max-width: 100px;
    text-align: center;
}
.gfy-bp-leaderboard-shortcode table {
    table-layout: auto;
}
.gfy-bp-leaderboard-shortcode .pagination-wrapper {
    float: left;
    width: 100%;
}
.gfy-bp-leaderboard-shortcode .pagination {
    margin: 0 0 20px 0;
}
.gfy-bp-leaderboard-shortcode .filter-area select {
    display: inline;
    width: 255px;
    max-width: 100%;
}
.gfy-bp-leaderboard-shortcode .filter-area {
    text-align: center;
    margin-bottom: 20px;
}

@media screen and (min-width: 701px) {
    .gfy-bp-leaderboard table .user-name, .gfy-bp-leaderboard table .user-position {
        width: auto;
    }
}
@media screen and (min-width: 768px) {
    .gfy-bp-leaderboard-shortcode .filter-area {
        float: right;
        text-align: right;
    }
    .gfy-bp-leaderboard-shortcode .tabs-menu {
        float: left;
    }
    .gfy-bp-leaderboard-shortcode .tab-menu-item {
       margin-top: 8px;
    }
}

/* *** Pagination *** */
.gfy-bp-component .pagination {
    float: right;
}
#buddypress .gfy-bp-component .pagination {
    margin: 10px 0;
}

/* *** My Ranks *** */
.gfy-bp-component.gfy-bp-my-ranks .gfy-rank-item {
    padding: 0 45px;
}
.gfy-bp-component.gfy-bp-my-ranks .gfy-bp-my-rank, #buddypress #item-header-content > #mycred-my-ranks {
    margin-bottom: 20px;
}
.gfy-bp-component.gfy-bp-my-ranks .gfy-bp-my-rank:last-child {
    margin-bottom: 0;
}
#buddypress .mycred-balance + #mycred-my-ranks .gfy-bp-my-ranks {
    padding-top: 24px;
}

/* *** Achievements *** */
.gfy-bp-achievements .achievements-wrapper {
    margin: 0;
}
.gfy-bp-achievements .achievements-wrapper li {
    margin: 0;
    list-style: none;
}
.gfy-bp-achievements .achievements-wrapper .col {
    margin: 10px 0;
}
.gfy-bp-achievements .achievements-wrapper .gfy-rank-item {
    height: 100%;
    border-radius: 3px;
}
.gfy-bp-achievements .achievements-wrapper {
    margin-left: -7px;
    margin-right: -7px;
    text-align: left;
}
.gfy-bp-achievements .achievements-wrapper .gfy-toggle-tooltip.tooltip-icon-style {
    margin-left: 3px;
}
@media (min-width: 480px) {
    .gfy-bp-achievements .achievements-wrapper {
        font-size: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
        margin: 0 -10px;
    }
    .gfy-bp-achievements .achievements-wrapper .col {
        margin: 10px;
        display: inline-block;
        vertical-align: top;
        font-size: 1rem;
        width: 48%;
        width: -webkit-calc(50% - 20px);
        width: -moz-calc(50% - 20px);
        width: calc(50% - 20px);
    }
}
@media (min-width: 601px) and (max-width: 767px) {
    .gfy-bp-achievements .achievements-wrapper .col {
        width: 31.33333%;
        width: -webkit-calc(33.33333% - 20px);
        width: -moz-calc(33.33333% - 20px);
        width: calc(33.33333% - 20px);
    }
}
@media (min-width: 768px) {
    .gfy-bp-achievements .achievements-wrapper .col {
        width: 23%;
        width: -webkit-calc(25% - 20px);
        width: -moz-calc(25% - 20px);
        width: calc(25% - 20px);
    }
}

/* *** Leaderboard Widget *** */
/* General */
.widget_gfy_leaderboard .leaderboard-item,
.widget_gfy_leaderboard ol {
    margin: 0;
    padding: 0;
}
.widget_gfy_leaderboard .leaderboard-item {
    margin-bottom: 4px;
    border-radius: 3px;
    padding: 18px 15px 15px 15px;
}
.widget_gfy_leaderboard .leaderboard-item:last-child {
    margin: 0;
}
.widget_gfy_leaderboard .leaderboard-item .item-content {
    display: table;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.widget_gfy_leaderboard .leaderboard-item .item-left,
.widget_gfy_leaderboard .leaderboard-item .item-left {
    display: table-cell;
}
.widget_gfy_leaderboard .leaderboard-item a,
.widget_gfy_leaderboard .leaderboard-item .item-title {
    -webkit-transition: all 0.3s;
       -moz-transition: all 0.3s;
            transition: all 0.3s;
}
.widget_gfy_leaderboard .leaderboard-item a:hover,
.widget_gfy_leaderboard .leaderboard-item .item-title:hover {
    opacity: 0.8;
}

/* item Left */
.widget_gfy_leaderboard .leaderboard-item .item-left {
    white-space: nowrap;
}
.widget_gfy_leaderboard .leaderboard-item .item-number,
.widget_gfy_leaderboard .leaderboard-item .item-avatar-block {
    display: inline-block;
    vertical-align: middle;
}
.widget_gfy_leaderboard .leaderboard-item .item-number {
    font-size: 40px;
    min-width: 25px;
    line-height: 40px;
    font-weight: bold;
    margin-right: 10px;
}
.widget_gfy_leaderboard .leaderboard-item .item-avatar-block {
    position: relative;
    margin-right: 20px;
}
.widget_gfy_leaderboard .leaderboard-item .item-badge {
    position: absolute;
    right: -10px;
    bottom: -6px;
}

/* item Right */
.widget_gfy_leaderboard .leaderboard-item .item-right {
    flex-grow: 2;
}
.widget_gfy_leaderboard .leaderboard-item .item-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 2px 0;
}
.widget_gfy_leaderboard .leaderboard-item .item-points {
    display: block;
    font-size: 13px;
    line-height: 16px;
}

/* *** Colors *** */
/* Bg Color */
.gfy-progress-bar .progress-bar-bg, .gfy-progress-bar .progress {
    background-color: #49c793;
}
#buddypress .gfy-bp-component table tr.current-user td, .gfy-bp-component table tr.current-user td {
    background-color: rgba(0,0,0,0.2);
}
.gfy-bp-achievements .achievements-wrapper .col, .gfy-icon-btn,
.widget_gfy_leaderboard .leaderboard-item {
    background-color: #f7f7f7;
}
.gfy-bp-achievements .gfy-icon-btn {
    background: #fff;
}
.gfy-popup-overlay {
    background-color: rgba(0,0,0,0.3);
}
.gfy-popup-body {
    background-color: #fff;
}
.gfy-popup-body .gfy-body {
    background-color: #f2f2f2;
}

/* Text Color */
.gfy-bp-leaderboard table td div:last-child b {
    color: #49c793;
}
.gfy-bp-achievements .achievements-wrapper .rank-level, .gfy-toggle-tooltip .gfy-icon-btn:hover,
.gfy-bp-component table td a,
.widget_gfy_leaderboard .leaderboard-item, .widget_gfy_leaderboard .leaderboard-item .item-title,
.gfy-tabs .tab-menu-item.active a {
    color: #1f1f1f;
}
.gfy-bp-component .gfy-rank-item .rank-desc,
.gfy-bp-leaderboard table td.user-position, #buddypress .gfy-bp-leaderboard table td.user-position,
.gfy-badge-more-func .more-badge,
.gfy-tabs .tab-menu-item a {
    color: #8b8a8a;
}
.gfy-icon-btn.icon-xs, .gfy-close .gfy-icon,
.widget_gfy_leaderboard .leaderboard-item .item-number, .widget_gfy_leaderboard .leaderboard-item .item-points {
    color: #a4a4a4;
}
.gfy-popup-body {
    color: #000;
}

/**
 * Plugin Mycred
 */
/* *** Global *** */
/* Tables */
.table-condensed.mycred-table tfoot th,
#buddypress .table-condensed.mycred-table tfoot th {
    text-transform: uppercase;
    color: #8b8a8a;
    font-size: 12px;
    line-height: 26px;
}
/* Table with Scroll */
#buddypress .table-responsive {
    overflow-x: auto;
    margin: 0 0 25px 0;
}
#buddypress .table-responsive thead th {
    white-space: nowrap;
}
#buddypress .table-responsive table {
    min-width: 500px;
    margin: 0;
}

/* *** Mycred Balance *** */
#buddypress .mycred-balance {
    font-weight: bold;
    text-align: center;
}
#buddypress .mycred-balance + .bbp-user-report {
    margin-top: 20px;
}

/* *** My History *** */
#mycred-sort-cred-history-form {
    float: left;
    width: 100%;
    margin-bottom: 25px;
}
#mycred-sort-cred-history-form select, #mycred-sort-cred-history-form input[type=submit] {
    float: left;
}
#mycred-sort-cred-history-form select {
    float: left;
    width: 200px;
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
    margin-right: 10px;
}
#mycred-sort-cred-history-form input[type=submit] {
    float: left;
    padding: 13px 25px;
    font-size: 15px;
    width: 70px;
}
.mycred-history #buddypress .tablenav.bottom {
    margin-top: 25px;
}
.mycred-history .displaying-num {
    margin-right: 10px;
}

/* Pagination */
#buddypress .pagination-links .next-page > span,
#buddypress .pagination-links .last-page > span,
#buddypress .pagination-links #table-paging > span,
#buddypress .pagination-links .paging-input > span {
    min-width: 0;
    padding: 0!important;
    line-height: 1.3!important;
    height: 21px;
}
#buddypress .pagination-links .paging-input,
#buddypress .pagination-links #table-paging {
    min-width: 0;
}
#buddypress .pagination-links .paging-input > .current-page {
    text-align: center;
    padding: 0;
    width: auto;
    height: auto;
    display: inline;
}
#buddypress .pagination-links span.tablenav-pages-navspan[aria-hidden="true"] {
    display: none;
}
#buddypress .pagination-links #table-paging {
    line-height: 23px!important;
}
@media screen and (min-width: 480px) {
    #mycred-sort-cred-history-form select {
        width: 255px;
    }
}

