/*
Theme Name: Sweetdate Child
Description: This is a child theme of Sweetdate.
Author: <a href="http://themeforest.net/user/SeventhQueen">SeventhQueen</a>
Template: sweetdate
Version: 4.0.1
*/


/* =========================================================
   PADELCUPID - BUDDYPRESS MEMBER NAVIGATION
========================================================= */

#buddypress #object-nav {
    width: 100%;
    margin: 0;
    padding: 12px 0;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #eceff1;
}

#buddypress #object-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;

    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    list-style: none;
}


/* Individual menu items */

#buddypress #object-nav > ul > li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}


/* Links */

#buddypress #object-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 0 15px !important;

    border: 0 !important;
    border-radius: 50px;

    background: transparent !important;
    color: #657078 !important;

    font-size: 15px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Hover */

#buddypress #object-nav > ul > li > a:hover {
    background: #f5f6f8 !important;
    color: #102631 !important;
}


/* Active tab */

#buddypress #object-nav > ul > li.current > a,
#buddypress #object-nav > ul > li.selected > a,
#buddypress #object-nav > ul > li.active > a {
    background: #fff0f1 !important;
    color: #ef1b24 !important;
    font-weight: 700 !important;
}


/* Remove SweetDate black underline and triangle */

#buddypress #object-nav li.current a:after,
#buddypress #object-nav li.selected a:after,
#buddypress #object-nav li.active a:after,
#buddypress #object-nav li.current:after,
#buddypress #object-nav li.selected:after,
#buddypress #object-nav li.active:after {
    display: none !important;
    content: none !important;
}


/* Notification counters */

#buddypress #object-nav .count,
#buddypress #object-nav span.count,
#buddypress #object-nav .no-count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    margin: 0 !important;
    padding: 0 6px !important;

    border: 0 !important;
    border-radius: 50px !important;

    background: #ef1b24 !important;
    color: #ffffff !important;

    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    #buddypress #object-nav {
        overflow: hidden;
        padding: 10px 0;
    }

    #buddypress #object-nav > ul {
        justify-content: flex-start;
        flex-wrap: nowrap;

        width: 100%;
        max-width: none;

        padding: 0 16px;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #buddypress #object-nav > ul::-webkit-scrollbar {
        display: none;
    }

    #buddypress #object-nav > ul > li {
        flex: 0 0 auto;
    }

    #buddypress #object-nav > ul > li > a {
        min-height: 40px;
        padding: 0 14px !important;

        font-size: 14px;
        white-space: nowrap;
    }
}