.pnc-shell {

    position: fixed;

    top: 42px;
    right: 430px;

    z-index: 999999;

    font-family: Arial, sans-serif;
}

.pnc-open-button {

    background: #3ea0ea;
    color: #fff;

    border: 0;

    border-radius: 14px;

    padding: 10px 18px;

    min-height: 44px;

    cursor: pointer;

    font-weight: 700;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.pnc-panel {
    position: fixed;
    top: 85px;
    right: 20px;
    width: 420px;
    max-height: 82vh;
    overflow-y: auto;
    background: #f4f4f4;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    display: none;
}

.pnc-panel.active {
    display: block;
}

.pnc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #081327;
    color: #fff;
    padding: 16px 18px;
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
}

.pnc-close-button {
    background: #3ea0ea;
    border: 0;
    color: #fff;
    border-radius: 18px;
    padding: 10px 18px;
    cursor: pointer;
}

.pnc-body {
    padding: 16px;
}

.pnc-group {
    margin-bottom: 24px;
}

.pnc-group-title {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pnc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pnc-item {
    margin-bottom: 8px;
}

.pnc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
}

.pnc-link {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 600;
}

.pnc-toggle {
    background: none;
    border: 0;
    font-size: 14px;
    cursor: pointer;
    color: #666;
}

.pnc-children {
    display: none;
    padding-left: 12px;
    margin-top: 6px;
}

.pnc-children.active {
    display: block;
}

@media(max-width:768px) {

    .pnc-panel {
        width: 92vw;
        right: 4vw;
        top: 75px;
        max-height: 85vh;
    }
}

/* =========================================================
   LOGISTICS COMPANY THEME
   Logged-In Operational Shell Refinement
   ========================================================= */

/*
|--------------------------------------------------------------------------
| Hide ORIGINAL theme navigation for logged-in users only
|--------------------------------------------------------------------------
*/

body.logged-in nav.menu_main_nav_area,
body.logged-in #menu_main {

    display: none !important;
}

/*
|--------------------------------------------------------------------------
| Collapse leftover menu spacing
|--------------------------------------------------------------------------
*/

body.logged-in .top_panel_middle .menu_main_wrap,
body.logged-in .menu_main_wrap {

    min-height: 0 !important;

    padding: 0 !important;
    margin: 0 !important;
}

/*
|--------------------------------------------------------------------------
| Compress oversized theme header spacing
|--------------------------------------------------------------------------
*/

body.logged-in .top_panel_middle {

    padding-top: 8px !important;
    padding-bottom: 8px !important;

    min-height: auto !important;
}

/*
|--------------------------------------------------------------------------
| Tighten title/logo spacing
|--------------------------------------------------------------------------
*/

body.logged-in .logo,
body.logged-in .logo_main,
body.logged-in .top_panel_middle .logo {

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/*
|--------------------------------------------------------------------------
| Reduce operational shell header height
|--------------------------------------------------------------------------
*/

body.logged-in .logo_text {

    font-size: 22px !important;
    line-height: 1.05 !important;
}

body.logged-in .logo_slogan {

    font-size: 12px !important;
    line-height: 1.1 !important;

    margin-top: 2px !important;
}

/*
|--------------------------------------------------------------------------
| Prevent stray theme borders/shadows
|--------------------------------------------------------------------------
*/

body.logged-in .top_panel_middle,
body.logged-in header {

    border-top: none !important;
    box-shadow: none !important;
}

/* =========================================================
   Operational Header Alignment Refinement
   ========================================================= */

/*
|--------------------------------------------------------------------------
| Convert compressed theme header into operational flex row
|--------------------------------------------------------------------------
*/

@media(min-width:769px) {

    body.logged-in .top_panel_middle .content_wrap {

        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 58px;
    }

}

/*
|--------------------------------------------------------------------------
| Keep branding vertically centered
|--------------------------------------------------------------------------
*/

body.logged-in .top_panel_middle .logo {

    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0 !important;
}

/*
|--------------------------------------------------------------------------
| Remove leftover spacing under branding
|--------------------------------------------------------------------------
*/

body.logged-in .logo_text,
body.logged-in .logo_slogan {

    margin: 0 !important;
    padding: 0 !important;
}

/*
|--------------------------------------------------------------------------
| Prevent portal button from floating against viewport
|--------------------------------------------------------------------------
*/

body.logged-in .top_panel_middle {

    position: relative;
}

@media(max-width:768px) {

    /*
    |--------------------------------------------------------------------------
    | Mobile portal positioning
    |--------------------------------------------------------------------------
    */

    .pnc-shell {

        top: 12px !important;
        right: 14px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Mobile portal button sizing
    |--------------------------------------------------------------------------
    */

    .pnc-open-button {

        padding: 8px 14px !important;
        border-radius: 12px !important;
        font-size: 14px !important;
        min-height: 40px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Mobile panel sizing
    |--------------------------------------------------------------------------
    */

    .pnc-panel {

        width: 94vw !important;
        right: 3vw !important;
        top: 92px !important;
        max-height: 82vh !important;
    }

}

/* =========================================================
   MOBILE PORTAL POSITION FIX
   ========================================================= */

@media(max-width:768px) {

    .pnc-shell {

        top: 12px !important;

        right: 14px !important;
    }

}

@media(max-width:768px) {

    body.logged-in .menu_mobile_button {

        display: none !important;
    }

}