/* 
 * Aardvark/GhostPool BuddyPress customisations
 */

/* Header profile image */
@media only screen and (min-width: 768px) {
    #gp-buddypress-header #item-header-avatar {
        margin-right: 90px;
    }
}

#gp-buddypress-header #item-header-avatar .avatar {
    border: 4px solid #fff;
}

/* Header profile text */
#gp-buddypress-header #item-header-content,
#gp-buddypress-header #item-header-content a
{
    color: #000;
}

#gp-buddypress-header .gp-bp-header-title {
    letter-spacing: 0;
    margin-bottom: 15px;
}

#gp-buddypress-header .gp-bp-header-highlight {
    font-size: 20px;
    letter-spacing: 0;
}

#gp-buddypress-header .gp-bp-header-desc {
    font-size: 14px;
}

/* Member header social icons */
#gp-buddypress-header #gp-author-social-icons a {
    text-decoration: none;
    color: #000 !important;
    background: none !important;
    width: 20px;
    height: 20px;
}

/* BuddyPress profile navigation (below profile header) */
.gp-theme #buddypress #object-nav li.selected a:before {
    color: #000;
}

@media only screen and (min-width: 768px) {
    .gp-theme #buddypress #object-nav li {
        margin-right: 40px;
    }

    .gp-theme #buddypress #object-nav li a:before {
        font-size: 28px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .gp-theme #buddypress #object-nav li {
        margin-right: 25px;
    }
}

.gp-theme #buddypress div.item-list-tabs {
    border: 0;
}

.fwc-body.gp-theme #buddypress .item-list-tabs ul li a {
    opacity: 1;
    color: #979797;
}

.fwc-body.gp-theme #buddypress .item-list-tabs ul li.current a {
    color: #000;
}

.fwc-body.gp-theme #buddypress .item-list-tabs ul li a span {
    vertical-align: initial;
    color: #ef5848;
}

.fwc-body.gp-theme #buddypress .item-list-tabs ul li a span.no-count {
    display: none;
}

/* User Profile sub-nav (Activity, Profile, Notifications, etc) */
.gp-theme #gp-page-wrapper #buddypress #subnav {
    border: solid #000;
    border-width: 1px 0;
    margin: 10px 0 32px 0;
    padding: 0;
}

.gp-theme #buddypress .item-list-tabs#subnav ul li {
    margin: 17px 32px 17px 0;
}

.gp-theme #buddypress #subnav ul li a {
    font-size: 16px;
}

.gp-theme #buddypress #subnav li.selected a {
    color: #ef5848;
}

.fwc-body.gp-theme #buddypress .item-list-tabs#subnav ul li#activity-filter-select,
.fwc-body.gp-theme #buddypress .item-list-tabs#subnav ul li#members-order-select,
.fwc-body.gp-theme #buddypress .item-list-tabs#subnav ul li#groups-order-select
{
    margin-top: 10px;
}

.fwc-body.gp-theme #buddypress #activity-filter-select select,
.fwc-body.gp-theme #buddypress #members-order-select select,
.fwc-body.gp-theme #buddypress #groups-order-select select,
.fwc-body.gp-theme #buddypress #whats-new-form #whats-new-options select
{
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 5px 30px 5px 13px;
    line-height: 17px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gYPAyIGDOyokwAAAL9JREFUKM/V0sErxFEUxfHPGbOVv0EWkpLRNDtFWYoi/5Es/CHzfymURJFheS3m0c80U2Iht+7mvvM973XeTVX5afX8ov4QTrKc5DzJ6DtAkkGSyyQrsI5H3GCAVJVuf3DYwhVesA1LOGqDB+xiFoQh7jDBCfpd0SGemsFZJ4/gGPft/PSTmXneBp7xhv0Gj9ptEwy/6GfgYA/XzWCMV9zSP0BvIdwx2WzB1BS0M1e3AA5WcYG1eT9QVdPh/1vPd0+zoOMud1/MAAAAAElFTkSuQmCC);
    background-position: calc(100% - 10px) 50%;
}

.gp-theme #buddypress .activity-list .activity-content .activity-inner {
    color: #000;
    font-size: 20px;
    margin: 15px 0;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .gp-theme #gp-page-wrapper #buddypress .item-list-tabs#subnav li.last {
        width: 100%;
        text-align: left;
    }
}

/* Edit user profile > Messages > Inbox subnav */
.fwc-body.gp-theme #buddypress .item-list-tabs .message-search {
    margin-top: 15px;
    margin-bottom: 17px;
}

.fwc-body.gp-theme #buddypress .item-list-tabs .message-search form input[type="text"] {
    color: #000;
}

.fwc-body.gp-theme #buddypress .item-list-tabs .message-search form input[type="submit"] {
    padding: 10px 24px;
    position: relative;
    top: -1px;
}

/* Edit user profile > Settings > Email */
.fwc-body.gp-theme #buddypress #groups-notification-settings {
    margin-bottom: 20px;
}

/* Groups/Members sidebar widget */
.gp-theme .gp-sidebar .widget.buddypress {
    margin-bottom: 40px;
}

.gp-theme .gp-sidebar .widget.buddypress .widgettitle {
    font-size: 20px;
    line-height: 1;
}

.gp-theme .gp-sidebar .widget.buddypress .item-options a {
    color: #b2b2b2;
    opacity: 1;
    font-size: 14px;
}
.gp-theme .gp-sidebar .widget.buddypress #groups-list li:first-child,
.gp-theme .gp-sidebar .widget.buddypress #members-list li:first-child
{
    border-top-color: #000;
}

.gp-theme .gp-sidebar .widget.buddypress .item-options a.selected {
    color: #000;
}

.gp-theme .gp-sidebar .widget.buddypress .item-title {
    font-family: "miller-text", serif;
    font-size: 18px;
}

#alphabetical-groups {
    display: none;
}

/* Profile / View */
.gp-theme.bp-user #buddypress .profile .bp-widget {
    border: none;
    text-align: left;
    padding: 0;
}

.gp-theme.bp-user #buddypress .profile .bp-widget h2 {
    display: block;
    position: static;
    padding: 0;
    margin-bottom: 20px;
    font-family: "miller-text", serif;
    font-size: 26px;
}

.gp-theme #buddypress table.profile-fields {
    margin-bottom: 80px;;
}

.gp-theme #buddypress table.profile-fields td {
    font-size: 20px;
}

.gp-theme #buddypress table.profile-fields td:first-child {
    color: #979797;
}

/* Profile / Edit */
.gp-theme #buddypress #profile-edit-form ul.button-nav {
    margin-top: 30px;
    margin-bottom: 50px;
}

.gp-theme #buddypress #profile-edit-form ul.button-nav:after {
    content: '';
    display: block;
    clear: both;
}

.gp-theme #buddypress #profile-edit-form ul.button-nav li {
    padding-right: 16px;
}

.gp-theme #buddypress #profile-edit-form ul.button-nav li a {
    background: #fff;
    color: #faccc8;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    padding: 0;
}

.gp-theme #buddypress #profile-edit-form ul.button-nav li.current a {
    color: #ef5848;
}

.gp-theme #buddypress .current-visibility-level {
    padding-left: 35px;
    background: url('../../images/icon/eye.png') no-repeat;
    background-size: contain;
}

.gp-theme #buddypress .standard-form fieldset {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .gp-theme #buddypress .standard-form input[type=text], 
    .gp-theme #buddypress .standard-form input[type=email],
    .gp-theme #buddypress .standard-form input[type=password] {
        width: 30em;
    }
}

.fwc-body.gp-theme #buddypress .field-visibility-settings-toggle,
.fwc-body.gp-theme #buddypress .field-visibility-settings-notoggle
{
    margin-top: -10px;
}

.fwc-body.gp-theme #buddypress .field_type_checkbox .field-visibility-settings-toggle,
.fwc-body.gp-theme #buddypress .field_type_checkbox .field-visibility-settings-notoggle
{
    margin-top: 13px;
}

.fwc-body.gp-theme #buddypress button.visibility-toggle-link {
    border: 0;
    padding: 0;
}

.fwc-body.gp-theme #buddypress button.visibility-toggle-link:hover {
    background: none;
    color: #ef5848;
}

.fwc-body.gp-theme #buddypress .field-visibility-settings fieldset {
    margin-top: 13px;
}

.fwc-body.gp-theme #buddypress .field-visibility-settings fieldset {
    margin-bottom: 0;
}

.fwc-body.gp-theme #buddypress .field-visibility-settings fieldset label {
    cursor: pointer;
}

.fwc-body.gp-theme #buddypress .field-visibility-settings-close {
    padding: 0;
    border: 0;
    text-transform: uppercase;
    color: #ef5848;
    letter-spacing: 0.5px;
    font-weight: bold;
}

/* Style checkboxes - see theme-init__customise-buddypress.php checkbox_custom() */
.fwc-body.gp-theme #buddypress .field_type_checkbox .checkbox-options {
    columns: 2;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox {
    margin-bottom: 6px;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox label {
    display: inline-block;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
    color: #000;
    line-height: 1;
    position: relative;
    padding-left: 36px;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox label span {
    position: relative;
    top: 2px;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox label:before {
    /* the checkbox */
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    border: 1px solid #979797;
    margin: 0 20px 0 0;
    position: absolute;
    left: 0;
    top: 0;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox label:after {
    /* the check mark */
    content: '';
    display: inline-block;
    height: 4px;
    width: 10px;
    border-left: 2px solid #ef5848;
    border-bottom: 2px solid #ef5848;
    position: absolute;
    left: 5px;
    top: 6px;
    transform: rotate(-50deg);
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox input[type="checkbox"] + label:after {
    /* don't show check mark */
    content: none;
}

.fwc-body.gp-theme #buddypress .standard-form .checkbox input[type="checkbox"]:checked + label:after {
    /* show check mark */
    content: '';
}

/* style selects */
.fwc-body.gp-theme #buddypress .standard-form select,
.fwc-body.gp-theme #buddypress .standard-form select:not([multiple]),
.fwc-body.gp-theme #buddypress #whats-new-form #whats-new-options select
{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gYPAyIGDOyokwAAAL9JREFUKM/V0sErxFEUxfHPGbOVv0EWkpLRNDtFWYoi/5Es/CHzfymURJFheS3m0c80U2Iht+7mvvM973XeTVX5afX8ov4QTrKc5DzJ6DtAkkGSyyQrsI5H3GCAVJVuf3DYwhVesA1LOGqDB+xiFoQh7jDBCfpd0SGemsFZJ4/gGPft/PSTmXneBp7xhv0Gj9ptEwy/6GfgYA/XzWCMV9zSP0BvIdwx2WzB1BS0M1e3AA5WcYG1eT9QVdPh/1vPd0+zoOMud1/MAAAAAElFTkSuQmCC);
    background-position: calc(100% - 10px) 50%;
}


/* Group pages */
#gp-buddypress-header #item-header-content .generic-button a {
    background: none;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    color: #ef5848;
    font-size: 16px;
    font-weight: bold;
}

#gp-buddypress-header .gp-bp-header-members-title {
    color: #000;
    opacity: 0.5;
    font-size: 14px;
    text-transform: none;
}

#gp-buddypress-header .gp-bp-header-members .avatar {
    height: 24px;
    width: 24px;
}

.fwc-body.gp-theme #buddypress #whats-new-form textarea {
    color: #000;
}

.gp-theme #buddypress #whats-new-submit #aw-whats-new-submit {
    font-size: 16px;
    text-transform: uppercase;
    padding: 14px 32px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

#gp-buddypress-header .fwc-group-header .gp-bp-header-title {
    margin-bottom: 7px;
}

#gp-buddypress-header .fwc-group-header .gp-header-desc {
    margin-top: 14px;
}

#gp-buddypress-header #template-notices {
    margin-top: 0;
}

/* 
 * FW Groups page (Members page uses this too)
 **/

/* groups nav (in dir-search-form.php) */
.gp-theme #buddypress .item-list-tabs.fwc {
    display: inline-block;
    padding: 0;
    margin-top: 4px;
    overflow: visible;
}

.gp-theme #buddypress .item-list-tabs.fwc ul {
    display: inline-block;
}

.gp-theme #buddypress .item-list-tabs.fwc ul li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
}

.gp-theme #buddypress .item-list-tabs.fwc ul li.selected {
    color: #000;
}

.gp-theme #buddypress .item-list-tabs.fwc ul li a {
    font-size: 16px;
}

/* search box */
.gp-theme.directory #buddypress .dir-search.fwc {
    margin-bottom: 15px;
}

/* order by */
.gp-theme #buddypress #groups-order-select,
.gp-theme #buddypress .item-list-tabs#subnav ul li#members-order-select {
    margin-top: -6px;
}

.gp-theme #buddypress #groups-order-select select,
.gp-theme #buddypress #members-order-select select
{
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 5px 13px;
    line-height: 17px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4gYPAyIGDOyokwAAAL9JREFUKM/V0sErxFEUxfHPGbOVv0EWkpLRNDtFWYoi/5Es/CHzfymURJFheS3m0c80U2Iht+7mvvM973XeTVX5afX8ov4QTrKc5DzJ6DtAkkGSyyQrsI5H3GCAVJVuf3DYwhVesA1LOGqDB+xiFoQh7jDBCfpd0SGemsFZJ4/gGPft/PSTmXneBp7xhv0Gj9ptEwy/6GfgYA/XzWCMV9zSP0BvIdwx2WzB1BS0M1e3AA5WcYG1eT9QVdPh/1vPd0+zoOMud1/MAAAAAElFTkSuQmCC);
    background-position: calc(100% - 10px) 50%;
}

/* top - pagination / order by */
.gp-theme #gp-page-wrapper #buddypress #subnav.fwc-groups-pagination {
    margin: 0;
    padding: 24px 0 30px;
    border-bottom: 0;
}

/* bottom - pagination links */
#buddypress .pagination .fwc.pagination-links {
    color: #000;
}

.gp-theme #buddypress .pagination .fwc.pagination-links {
    margin-right: 0;
    font-size: 14px;
}

/* the group/member 'card' */
.gp-bp-wrapper.fwc .gp-bp-col-cover-overlay {
    background: none;
    color: #000;
}
    
.gp-bp-wrapper.fwc .gp-bp-col-avatar {
    margin-bottom: 15px;
}

.gp-bp-wrapper.fwc .gp-bp-col-avatar img.avatar {
    border-width: 0;
} 

.gp-user-online,
.gp-user-offline {
    right: 5px;
    bottom: 8px;
}

.gp-user-offline {
    display: none;
}

.gp-bp-wrapper.fwc .gp-loop-title a {
    font-family: "miller-text", serif;
    font-size: 20px;
    line-height: 1.35;
}

#buddypress .gp-bp-wrapper.fwc .activity {
    font-size: 14px;
}

.gp-bp-wrapper.fwc .gp-loop-text {
    color: #000;
}

.gp-bp-wrapper.fwc .gp-bp-col-group-type {
    color: #b1b1b1;
}

/* Group / Member buttons */
.gp-bp-wrapper.fwc .gp-bp-col-action .generic-button {
    display: block;
}

#buddypress .gp-bp-wrapper.fwc .gp-bp-col-action .generic-button a {
    border: 0 !important;
    text-transform: uppercase;
    font-weight: bold !important;
    color: #ef5848 !important;
    background: none !important;
    font-size: 16px !important;
    opacity: 1 !important;
}

/* Friendship buttons */
#buddypress .gp-bp-wrapper.fwc .gp-bp-col-action .pending_friend a,
#buddypress .gp-bp-wrapper.fwc .gp-bp-col-action .awaiting_response_friend a {
    color: #faccc8 !important;
}

/* messages/notifications */
.gp-theme #buddypress div#message p {
    background-color: rgba(209, 175, 154, 0.2);
    border-color: transparent;
    color: #000;
    font-size: 18px;
    padding: 20px 30px;
}

/* User activity */
.gp-theme #buddypress ul.activity-list > li div.activity-meta a {
    margin-top: 15px;
}

.gp-theme #buddypress div.activity-meta a.fav:hover:before,
.gp-theme #buddypress div.activity-meta a.unfav:before
{
    color: #ef5848;
}

/* User Profile */
.gp-theme #buddypress table.profile-fields tr.alt td {
    color: inherit;
}

.gp-theme #buddypress table.profile-fields tr td:first-child {
    color: #979797;
}

/* Edit FW Profile */
#buddypress .datebox-selects select {
    margin-right: 1em;
}

/* User Settings - Email */
#buddypress table.notification-settings {
    margin-bottom: 30px;
}

#buddypress table.notification-settings th, 
#buddypress table.notification-settings td
{
    border-width: 0;
    padding: 5px 10px;
}

#buddypress table.notification-settings th:nth-child(2) {
    font-size: 20px;
}

#buddypress table.notification-settings tr:hover td {
    background-color: #eee;
}

/* User Settings - Profile Visibility */
#buddypress table.profile-settings {
    margin-bottom: 30px;
}

#buddypress table.profile-settings thead tr {
    background: none;
}

#buddypress table.profile-settings th {
    border: 0;
    padding: 0;
}

#buddypress table.profile-settings td,
#buddypress table.profile-settings th
{
    border: 0;
    padding: 10px;
    color: #000;
}

#buddypress table.profile-settings th.title:first-child {
    width: 50%;
    font-size: 20px;
}

#buddypress table.profile-settings tr.alt td {
    background: none;
    color: #000;
}

#buddypress table.profile-settings td .field-visibility-settings-notoggle {
    color: #000;
    padding-left: 10px;
    height: 32px;
    line-height: 32px;
}

#buddypress .standard-form table.profile-settings td select {
    margin-bottom: 0;
}

#buddypress table.profile-settings tr:hover td {
    background-color: #eee;
}
