/* This file is part of Moodle - http://moodle.org/
 *
 * Moodle is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Moodle is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Shared CSS styles for all PCL plugins.
 *
 * @package   local_pcl_core
 * @copyright 2024 PCL
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

/* PCL Common Styles */
.pcl-container {
    padding: 20px;
}

:root {
    --pcl-sidebar-content-gap: 1rem;
}

body.path-admin {
    --pcl-sidebar-width: 330px;
    --pcl-sidebar-collapsed-width: 84px;
    --pcl-navbar-height: 50px;
}

body.path-local {
    --pcl-sidebar-width: 285px;
    --pcl-sidebar-collapsed-width: 84px;
    --pcl-navbar-height: 64.5px;
}

body.path-admin #page-wrapper {
    margin-left: 0 !important;
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-admin #page {
    margin-top: 0 !important;
}

body.path-local #page-wrapper {
    margin-left: 0 !important;
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
    padding-top: var(--pcl-navbar-height);
}

body.path-local #page {
    margin-top: 0 !important;
}

body.path-local-pcl-questcollect #page-wrapper,
body.path-local-pcl_questcollect #page-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
}

body.path-local-pcl-questcollect #page,
body.path-local-pcl_questcollect #page {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-admin .drawer {
    top: var(--pcl-navbar-height) !important;
    height: calc(100vh - var(--pcl-navbar-height)) !important;
}

body.path-admin #page.drawers {
    position: relative;
    margin-left: var(--pcl-sidebar-collapsed-width) !important;
    width: calc(100vw - var(--pcl-sidebar-collapsed-width)) !important;
    max-width: none !important;
    min-width: 0 !important;
    align-items: stretch !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

/* If a page has both admin and local classes (unexpected), ensure admin gets no top padding */
body.path-admin.path-local #page-wrapper,
body.path-admin.path-local #page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.path-admin.drawer-open-index #page.drawers {
    margin-left: var(--pcl-sidebar-width) !important;
    width: calc(100vw - var(--pcl-sidebar-width)) !important;
}

body.path-admin.drawer-open-index #page.drawers .main-inner,
body.path-admin.drawer-open-index #page-content,
body.path-admin.drawer-open-index #page-content > .container,
body.path-admin.drawer-open-index #page-content > .container-fluid,
body.path-admin.drawer-open-index #region-main-box,
body.path-admin.drawer-open-index #region-main,
body.path-admin.drawer-open-index #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 2rem !important;
    box-sizing: border-box;
}

body.path-admin #page.drawers .main-inner,
body.path-admin #page-content,
body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #region-main-box,
body.path-admin #region-main,
body.path-admin #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-admin #page-content,
body.path-admin #region-main-box,
body.path-admin #region-main {
    overflow-x: hidden !important;
}

body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #region-main > div[role="main"] {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

body.path-admin #adminsettings .form-item.row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .form-item.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-setting,
body.path-admin #adminsettings .form-item.row > .col-sm-3,
body.path-admin #adminsettings .form-item.row > .col-sm-9,
body.path-admin #adminsettings .fitem.row > .col-sm-3,
body.path-admin #adminsettings .fitem.row > .col-sm-9,
body.path-admin #adminsettings .fitem.row > .col-md-3,
body.path-admin #adminsettings .fitem.row > .col-md-9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .form-control,
body.path-admin #adminsettings .custom-select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-admin #adminsettings .form-defaultinfo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.5rem !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page.drawers {
    margin-left: var(--pcl-sidebar-collapsed-width) !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page.drawers .main-inner,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content > .container,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content > .container-fluid,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main-box,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page.drawers .main-inner,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content > .container,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content > .container-fluid,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main-box,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main > div[role="main"] {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings fieldset,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .settingsform {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #page-content,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main-box,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main > div[role="main"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main-box,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #region-main > div[role="main"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-item.row > .form-label,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-item.row > .form-setting,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-item.row > .col-sm-3,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-item.row > .col-sm-9,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .fitem.row > .form-label,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .fitem.row > .form-setting,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .fitem.row > .col-sm-3,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .fitem.row > .col-sm-9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    text-align: left !important;
    align-items: flex-start !important;
}

body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-label,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-defaultinfo,
body.path-admin.drawer-open-index.pcl-sidebar-collapsed #adminsettings .form-description {
    text-align: left !important;
}

body.path-admin {
    --pcl-sidebar-width: 330px;
    --pcl-sidebar-collapsed-width: 84px;
}

body.path-admin #page-wrapper {
    margin-left: 0 !important;
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-admin #page.drawers {
    position: relative;
    margin-left: var(--pcl-sidebar-collapsed-width) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-admin.drawer-open-index #page.drawers {
    margin-left: var(--pcl-sidebar-width) !important;
}

body.path-admin.drawer-open-index #page.drawers .main-inner,
body.path-admin.drawer-open-index #page-content,
body.path-admin.drawer-open-index #page-content > .container,
body.path-admin.drawer-open-index #page-content > .container-fluid,
body.path-admin.drawer-open-index #region-main-box,
body.path-admin.drawer-open-index #region-main,
body.path-admin.drawer-open-index #region-main > div[role="main"] {
    width: calc(100% - var(--pcl-sidebar-width)) !important;
    max-width: calc(100% - var(--pcl-sidebar-width)) !important;
    min-width: 0 !important;
    margin-left: var(--pcl-sidebar-width) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 2rem !important;
    box-sizing: border-box;
}

body.path-admin #page.drawers .main-inner,
body.path-admin #page-content,
body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #region-main-box,
body.path-admin #region-main,
body.path-admin #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-admin #page-content,
body.path-admin #region-main-box,
body.path-admin #region-main {
    overflow-x: hidden !important;
}

body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #region-main > div[role="main"] {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

body.path-admin #adminsettings .form-item.row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .form-item.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .col-md-3,
body.path-admin #adminsettings .fitem.row > .col-md-9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .form-control,
body.path-admin #adminsettings .custom-select {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.path-admin #adminsettings .form-defaultinfo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.5rem !important;
}

/* Admin sidebar expanded state: push page past the 285px sidebar.
   The existing body.path-admin #page.drawers rule defaults to 84px (collapsed width),
   but drawer-open-index is never added on admin pages (no course-index drawer).
   We use pcl-sidebar-collapsed to detect sidebar state, matching frontpage.js. */
body.path-admin:not(.pcl-sidebar-collapsed) #page.drawers {
    margin-left: 285px !important;
    width: auto !important;
}
body.path-admin.pcl-sidebar-collapsed #page.drawers {
    margin-left: var(--pcl-sidebar-collapsed-width) !important;
    width: auto !important;
}

/* Landing page mobile width overrides to counter theme sidebar width rules */
@media screen and (max-width: 768px) {
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page.drawers,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page.drawers #topofscroll,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page-wrapper,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page-content,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main > div[role="main"],
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page.drawers,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page.drawers #topofscroll,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page-wrapper,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page-content,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main-box,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main > div[role="main"] {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-local.path-local-pcl_landing #portals.row.portals {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing #portals > .col-md-12.card-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing #portals > .col-md-12.card-main > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing #portals > .col-md-12.card-main > .row > .col-md-4.text-center {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing .card-selector {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    body.path-local.path-local-pcl_landing .card-selector .card-body,
    body.path-local.path-local-pcl_landing .card-selector .card-footer {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    body.path-local.path-local-pcl_landing .features,
    body.path-local.path-local-pcl_landing .sponsors,
    body.path-local.path-local-pcl_landing .subjects,
    body.path-local.path-local-pcl_landing .workbooks,
    body.path-local.path-local-pcl_landing #custom_footer {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

.pcl-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pcl-card-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.pcl-card-title {
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.pcl-card-subtitle {
    font-size: 0.9em;
    color: #666;
    margin: 5px 0 0 0;
}

/* PCL Buttons */
.pcl-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pcl-btn-primary {
    background-color: var(--pcl-primary, #30aed1);
    color: white;
}

.pcl-btn-primary:hover {
    background-color: var(--pcl-primary-dark, #258ab6);
    color: white;
}

.pcl-btn-secondary {
    background-color: #6c757d;
    color: white;
}

.pcl-btn-secondary:hover {
    background-color: #545b62;
    color: white;
}

.pcl-btn-success {
    background-color: #28a745;
    color: white;
}

.pcl-btn-success:hover {
    background-color: #1e7e34;
    color: white;
}

.pcl-btn-danger {
    background-color: #dc3545;
    color: white;
}

.pcl-btn-danger:hover {
    background-color: #c82333;
    color: white;
}

.pcl-btn-warning {
    background-color: #ffc107;
    color: #212529;
}

.pcl-btn-warning:hover {
    background-color: #e0a800;
    color: #212529;
}

.pcl-btn-info {
    background-color: #17a2b8;
    color: white;
}

.pcl-btn-info:hover {
    background-color: #138496;
    color: white;
}

.pcl-btn-light {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.pcl-btn-light:hover {
    background-color: #e2e6ea;
    color: #212529;
}

.pcl-btn-dark {
    background-color: #343a40;
    color: white;
}

.pcl-btn-dark:hover {
    background-color: #23272b;
    color: white;
}

.pcl-btn-sm {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 999px;
}

.pcl-btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 999px;
}

.pcl-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================
   Social settings page styling
   Keep the local_pcl_social admin settings screen visually
   aligned with the PCL card/button language.
   ========================================================== */
body#page-admin-setting-local_pcl_social #page-content,
body#page-admin-setting-local_pcl_social #region-main,
body#page-admin-setting-local_pcl_social #region-main > div[role="main"] {
    overflow-x: hidden !important;
}

body#page-admin-setting-local_pcl_social #adminsettings {
    max-width: 1280px;
    margin: 1.5rem auto 2.5rem;
}

body#page-admin-setting-local_pcl_social #adminsettings .form-item.row,
body#page-admin-setting-local_pcl_social #adminsettings .form-group,
body#page-admin-setting-local_pcl_social #adminsettings fieldset {
    background: #fff;
    border: 1px solid rgba(48, 174, 209, 0.22);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

body#page-admin-setting-local_pcl_social #adminsettings .form-item.row > .form-label,
body#page-admin-setting-local_pcl_social #adminsettings .form-item.row > .form-setting,
body#page-admin-setting-local_pcl_social #adminsettings .fitem.row > .form-label,
body#page-admin-setting-local_pcl_social #adminsettings .fitem.row > .form-setting {
    padding-left: 0;
    padding-right: 0;
}

body#page-admin-setting-local_pcl_social #adminsettings .form-control,
body#page-admin-setting-local_pcl_social #adminsettings .custom-select,
body#page-admin-setting-local_pcl_social #adminsettings select,
body#page-admin-setting-local_pcl_social #adminsettings textarea {
    border-radius: 12px;
    border-color: rgba(48, 174, 209, 0.35);
    box-shadow: none;
}

body#page-admin-setting-local_pcl_social #adminsettings .form-control:focus,
body#page-admin-setting-local_pcl_social #adminsettings .custom-select:focus,
body#page-admin-setting-local_pcl_social #adminsettings select:focus,
body#page-admin-setting-local_pcl_social #adminsettings textarea:focus {
    border-color: var(--pcl-primary, #30aed1);
    box-shadow: 0 0 0 0.25rem rgba(48, 174, 209, 0.16);
}

body#page-admin-setting-local_pcl_social #adminsettings .btn-primary {
    background-color: var(--pcl-primary, #30aed1) !important;
    border-color: var(--pcl-primary, #30aed1) !important;
    border-radius: 999px !important;
}

body#page-admin-setting-local_pcl_social #adminsettings .btn-primary:hover,
body#page-admin-setting-local_pcl_social #adminsettings .btn-primary:focus,
body#page-admin-setting-local_pcl_social #adminsettings .btn-primary:active {
    background-color: var(--pcl-primary-dark, #258ab6) !important;
    border-color: var(--pcl-primary-dark, #258ab6) !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 174, 209, 0.16) !important;
}

body#page-admin-setting-local_pcl_social .adminsettings h2,
body#page-admin-setting-local_pcl_social .adminsettings h3,
body#page-admin-setting-local_pcl_social .adminsettings h4 {
    color: #0f172a;
    font-weight: 700;
}

@media (min-width: 992px) {
    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header {
        padding-right: 2rem;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .d-flex.align-items-center {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.75rem 1rem;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .d-flex.align-items-center > * {
        min-width: 0;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .header-action,
    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .header-actions-container {
        min-width: 0;
        max-width: 100%;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .simplesearchform,
    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header form.mform.simplesearchform {
        flex-wrap: nowrap;
        align-items: center;
        width: min(100%, 340px);
        max-width: 340px;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .simplesearchform .input-group {
        flex-wrap: nowrap;
        width: 100%;
        max-width: 340px;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header input[type="search"],
    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header input[type="text"] {
        flex: 1 1 280px;
        width: 280px;
        max-width: 100%;
        min-width: 0;
    }

    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .input-group-append,
    body#page-admin-setting-local_pcl_social.pcl-sidebar-collapsed #page-header .search-icon {
        flex: 0 0 auto;
    }
}

/* PCL Forms */
.pcl-form-group {
    margin-bottom: 15px;
}

.pcl-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.pcl-form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.pcl-form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.pcl-form-control.is-invalid {
    border-color: #dc3545;
}

.pcl-form-control.is-valid {
    border-color: #28a745;
}

.pcl-form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.pcl-form-error {
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
}

/* PCL Tables */
.pcl-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pcl-table th,
.pcl-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pcl-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.pcl-table tbody tr:hover {
    background-color: #f8f9fa;
}

.pcl-table-striped tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.pcl-table-bordered {
    border: 1px solid #ddd;
}

.pcl-table-bordered th,
.pcl-table-bordered td {
    border: 1px solid #ddd;
}

/* PCL Alerts */
.pcl-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.pcl-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.pcl-alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.pcl-alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.pcl-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.pcl-alert-dismissible {
    padding-right: 35px;
}

.pcl-alert-dismissible .pcl-alert-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

/* PCL Loading */
.pcl-loading {
    text-align: center;
    padding: 40px;
}

.pcl-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: pcl-spin 1s linear infinite;
}

@keyframes pcl-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pcl-loading-text {
    margin-top: 15px;
    color: #666;
}

/* PCL Progress */
.pcl-progress {
    width: 100%;
    height: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.pcl-progress-bar {
    height: 100%;
    background-color: #007bff;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.pcl-progress-bar.bg-success {
    background-color: #28a745;
}

.pcl-progress-bar.bg-warning {
    background-color: #ffc107;
    color: #212529;
}

.pcl-progress-bar.bg-danger {
    background-color: #dc3545;
}

/* PCL Badges */
.pcl-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
}

.pcl-badge-primary {
    color: #fff;
    background-color: #007bff;
}

.pcl-badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.pcl-badge-success {
    color: #fff;
    background-color: #28a745;
}

.pcl-badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.pcl-badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.pcl-badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.pcl-badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.pcl-badge-dark {
    color: #fff;
    background-color: #343a40;
}

/* PCL Utilities */
.pcl-text-center {
    text-align: center;
}

.pcl-text-left {
    text-align: left;
}

.pcl-text-right {
    text-align: right;
}

.pcl-text-muted {
    color: #6c757d;
}

.pcl-text-primary {
    color: #007bff;
}

.pcl-text-success {
    color: #28a745;
}

.pcl-text-info {
    color: #17a2b8;
}

.pcl-text-warning {
    color: #ffc107;
}

.pcl-text-danger {
    color: #dc3545;
}

.pcl-text-light {
    color: #f8f9fa;
}

.pcl-text-dark {
    color: #343a40;
}

.pcl-mb-0 { margin-bottom: 0; }
.pcl-mb-1 { margin-bottom: 5px; }
.pcl-mb-2 { margin-bottom: 10px; }
.pcl-mb-3 { margin-bottom: 15px; }
.pcl-mb-4 { margin-bottom: 20px; }
.pcl-mb-5 { margin-bottom: 25px; }

.pcl-mt-0 { margin-top: 0; }
.pcl-mt-1 { margin-top: 5px; }
.pcl-mt-2 { margin-top: 10px; }
.pcl-mt-3 { margin-top: 15px; }
.pcl-mt-4 { margin-top: 20px; }
.pcl-mt-5 { margin-top: 25px; }

.pcl-p-0 { padding: 0; }
.pcl-p-1 { padding: 5px; }
.pcl-p-2 { padding: 10px; }
.pcl-p-3 { padding: 15px; }
.pcl-p-4 { padding: 20px; }
.pcl-p-5 { padding: 25px; }

.pcl-d-none { display: none; }
.pcl-d-inline { display: inline; }
.pcl-d-inline-block { display: inline-block; }
.pcl-d-block { display: block; }
.pcl-d-flex { display: flex; }

.pcl-justify-content-start { justify-content: flex-start; }
.pcl-justify-content-end { justify-content: flex-end; }
.pcl-justify-content-center { justify-content: center; }
.pcl-justify-content-between { justify-content: space-between; }
.pcl-justify-content-around { justify-content: space-around; }

.pcl-align-items-start { align-items: flex-start; }
.pcl-align-items-end { align-items: flex-end; }
.pcl-align-items-center { align-items: center; }
.pcl-align-items-baseline { align-items: baseline; }
.pcl-align-items-stretch { align-items: stretch; }

/* PCL Responsive */
@media (max-width: 768px) {
    .pcl-container {
        padding: 10px;
    }
    
    .pcl-card {
        padding: 15px;
    }
    
    .pcl-table {
        font-size: 12px;
    }
    
    .pcl-table th,
    .pcl-table td {
        padding: 8px;
    }
}

/* Pennacool sidebar shell */
body.pcl-sidebar-layout {
    --pcl-navbar-height: 64px;
    --pcl-sidebar-width: 285px;
    --pcl-sidebar-collapsed-width: 84px;
    --pcl-sidebar-accent: #ffffff;
    --pcl-sidebar-text: #ffffff;
    --pcl-sidebar-muted: rgba(255, 255, 255, 0.82);
    --pcl-sidebar-surface: #39b1d5;
    --pcl-sidebar-hover: rgba(255, 255, 255, 0.12);
    overflow-x: hidden;
}

body.path-local {
    --pcl-navbar-height: 58px;
}

body.pcl-sidebar-layout .navbar.fixed-top {
    min-height: var(--pcl-navbar-height);
    background: #39b1d5;
    border-bottom: 0;
    box-shadow: none;
    padding: 0.5rem 1rem;
}

body.pcl-sidebar-layout .navbar.fixed-top .navbar-brand {
    color: #fff;
    margin-left: 0.5rem;
}

body.pcl-sidebar-layout .navbar.fixed-top .navbar-brand img {
    max-height: 44px;
    width: auto;
}

body.pcl-sidebar-layout .navbar.fixed-top .navbar-toggler.d-block.d-md-none {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 0.4rem;
}

body.pcl-sidebar-layout .navbar.fixed-top .navbar-toggler-icon {
    filter: invert(1) brightness(200%);
}

body.pcl-sidebar-layout .navbar.fixed-top .pcl-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 0.4rem 0.55rem;
    border: 0;
    border-radius: 999px;
    margin-right: 0.35rem;
}

body.pcl-sidebar-layout .navbar.fixed-top .pcl-sidebar-toggle:hover,
body.pcl-sidebar-layout .navbar.fixed-top .pcl-sidebar-toggle:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (min-width: 769px) {
    .pcl-qc-navbar-streak,
    button.pcl-qc-navbar-streak {
        appearance: none;
        -webkit-appearance: none;
        font: inherit;
        cursor: pointer;
    }

    .pcl-qc-navbar-streak__popover[hidden] {
        display: none !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand,
    body.path-admin .pcl-navbar .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 4 !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand img,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand img,
    body.path-admin .pcl-navbar .navbar-brand img {
        display: block !important;
        height: 50px !important;
        max-height: none !important;
        width: auto !important;
    }

    body.path-admin nav.pcl-navbar .navbar-toggler,
    body.path-admin nav.navbar.pcl-navbar .navbar-toggler,
    body.path-admin .pcl-navbar .navbar-toggler,
    body.path-admin nav.pcl-navbar #usernavigation,
    body.path-admin nav.navbar.pcl-navbar #usernavigation,
    body.path-admin .pcl-navbar #usernavigation {
        position: relative !important;
        z-index: 5 !important;
    }

    body.path-local nav.pcl-navbar .navbar-brand,
    body.path-local nav.navbar.pcl-navbar .navbar-brand,
    body.path-local .pcl-navbar .navbar-brand,
    body.path-mod-hvp nav.pcl-navbar .navbar-brand,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-hvp .pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: auto !important;
        max-width: none !important;
        text-align: center !important;
        z-index: 4 !important;
    }

    body.path-local nav.pcl-navbar .navbar-brand img,
    body.path-local nav.navbar.pcl-navbar .navbar-brand img,
    body.path-local .pcl-navbar .navbar-brand img,
    body.path-mod-hvp nav.pcl-navbar .navbar-brand img,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-hvp .pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand img {
        display: block !important;
        height: 50px !important;
        max-height: none !important;
        width: auto !important;
    }

    body.path-local .pcl-user-menu,
    body.path-mod-hvp .pcl-user-menu,
    body.path-mod-h5pactivity .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        visibility: visible !important;
        grid-column: 3 !important;
        justify-self: end !important;
        position: relative !important;
        z-index: 5 !important;
    }

    body.path-local .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity .pcl-user-menu .pcl-user-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 12rem !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0.55rem 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        border-radius: 999px !important;
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    body.path-local .pcl-user-menu .pcl-user-button:hover,
    body.path-local .pcl-user-menu .pcl-user-button:focus,
    body.path-mod-hvp .pcl-user-menu .pcl-user-button:hover,
    body.path-mod-hvp .pcl-user-menu .pcl-user-button:focus,
    body.path-mod-h5pactivity .pcl-user-menu .pcl-user-button:hover,
    body.path-mod-h5pactivity .pcl-user-menu .pcl-user-button:focus {
        background: rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
    }

    body.path-local .pcl-user-menu .dropdown-menu,
    body.path-mod-hvp .pcl-user-menu .dropdown-menu,
    body.path-mod-h5pactivity .pcl-user-menu .dropdown-menu {
        margin-top: 0.35rem !important;
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 1rem) !important;
    }

body.path-local .pcl-books-order__book-picker--floating .pcl-books-order__book-results,
body.path-local .pcl-books-order__book-picker--dropup .pcl-books-order__book-results {
    overflow-y: auto;
}

body.path-local .pcl-books-order__book-picker--floating .pcl-books-order__book-option,
body.path-local .pcl-books-order__book-picker--dropup .pcl-books-order__book-option {
    align-items: center;
    gap: .35rem;
    padding: .16rem .28rem;
    min-height: 48px;
}

body.path-local .pcl-books-order__book-picker--floating .pcl-books-order__book-option-image,
body.path-local .pcl-books-order__book-picker--floating .pcl-books-order__book-option-fallback,
body.path-local .pcl-books-order__book-picker--dropup .pcl-books-order__book-option-image,
body.path-local .pcl-books-order__book-picker--dropup .pcl-books-order__book-option-fallback {
    display: inline-flex;
    width: 32px;
    height: 44px;
    flex: 0 0 32px;
}

body.path-local .pcl-books-order__book-picker--floating .pcl-books-order__book-option-title,
body.path-local .pcl-books-order__book-picker--dropup .pcl-books-order__book-option-title {
    font-size: .76rem;
    line-height: 1.12;
}

    body.path-local nav.pcl-navbar .navbar-toggler,
    body.path-local nav.navbar.pcl-navbar .navbar-toggler,
    body.path-local .pcl-navbar .navbar-toggler,
    body.path-local nav.pcl-navbar #usernavigation,
    body.path-local nav.navbar.pcl-navbar #usernavigation,
    body.path-local .pcl-navbar #usernavigation,
    body.path-mod-hvp nav.pcl-navbar .navbar-toggler,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-toggler,
    body.path-mod-hvp .pcl-navbar .navbar-toggler,
    body.path-mod-hvp nav.pcl-navbar #usernavigation,
    body.path-mod-hvp nav.navbar.pcl-navbar #usernavigation,
    body.path-mod-hvp .pcl-navbar #usernavigation,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity .pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity nav.pcl-navbar #usernavigation,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar #usernavigation,
    body.path-mod-h5pactivity .pcl-navbar #usernavigation {
        position: relative !important;
        z-index: 5 !important;
    }
}

body.path-admin nav.pcl-navbar .navbar-brand,
body.path-admin nav.navbar.pcl-navbar .navbar-brand,
body.path-admin .pcl-navbar .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 4 !important;
}

body.path-admin nav.pcl-navbar .navbar-brand img,
body.path-admin nav.navbar.pcl-navbar .navbar-brand img,
body.path-admin .pcl-navbar .navbar-brand img {
    display: block !important;
    height: clamp(32px, 4vw, 50px) !important;
    max-height: none !important;
    width: auto !important;
}

body.path-admin nav.pcl-navbar .navbar-toggler,
body.path-admin nav.navbar.pcl-navbar .navbar-toggler,
body.path-admin .pcl-navbar .navbar-toggler,
body.path-admin nav.pcl-navbar #usernavigation,
body.path-admin nav.navbar.pcl-navbar #usernavigation,
body.path-admin .pcl-navbar #usernavigation {
    position: relative !important;
    z-index: 5 !important;
}

body.path-admin nav.pcl-navbar a.pcl-logout-button,
body.path-admin nav.navbar.pcl-navbar a.pcl-logout-button,
body.path-admin .pcl-navbar a.pcl-logout-button {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

body.path-admin .pcl-user-menu {
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 5 !important;
}

body.path-admin .pcl-user-menu .pcl-user-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0.55rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.path-admin .pcl-user-menu .pcl-user-button:hover,
body.path-admin .pcl-user-menu .pcl-user-button:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

body.path-admin .pcl-user-menu .dropdown-menu {
    margin-top: 0.35rem !important;
}

@media (max-width: 768.98px) {
    body.path-admin nav.pcl-navbar > .container-fluid,
    body.path-admin nav.navbar.pcl-navbar > .container-fluid,
    body.path-admin .pcl-navbar > .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.path-admin nav.pcl-navbar .navbar-toggler,
    body.path-admin nav.navbar.pcl-navbar .navbar-toggler,
    body.path-admin .pcl-navbar .navbar-toggler {
        order: 0 !important;
        flex: 0 0 auto !important;
        margin-right: 0.5rem !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand,
    body.path-admin .pcl-navbar .navbar-brand {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        text-align: left !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand img,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand img,
    body.path-admin .pcl-navbar .navbar-brand img {
        display: block !important;
        height: 32px !important;
        max-height: 32px !important;
        width: auto !important;
    }

    body.path-admin nav.pcl-navbar #usernavigation,
    body.path-admin nav.navbar.pcl-navbar #usernavigation,
    body.path-admin .pcl-navbar #usernavigation {
        margin-left: auto !important;
        flex: 0 0 auto !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    body.path-admin .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
    }
}

@media (min-width: 769px) {
    body.path-admin nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-admin nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-admin .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-admin nav.pcl-navbar a.pcl-logout-button,
    body.path-admin nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-admin .pcl-navbar a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

@media (min-width: 769px) {
    body.path-local.path-local-pcl_landing .nav-sticky {
        position: fixed !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .container-fluid {
        width: 100% !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-brand img {
        display: block !important;
        max-height: 58px !important;
        width: auto !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-toggler,
    body.path-local.path-local-pcl_landing .nav-sticky .pcl-mobile-auth-button,
    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse {
        position: relative !important;
        z-index: 3 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .ms-auto {
        margin-left: auto !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .actionbtn {
        margin-top: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
    }
}

body.pcl-sidebar-layout #usernavigation {
    gap: 0.5rem;
}

body.pcl-sidebar-layout #usernavigation .btn,
body.pcl-sidebar-layout #usernavigation .dropdown-toggle,
body.pcl-sidebar-layout #usernavigation .usermenu > .dropdown > a.btn,
body.pcl-sidebar-layout #usernavigation .usermenu > .dropdown > button {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    background: transparent;
    color: #fff;
}

body.pcl-sidebar-layout #usernavigation .btn:hover,
body.pcl-sidebar-layout #usernavigation .dropdown-toggle:hover,
body.pcl-sidebar-layout #usernavigation .usermenu > .dropdown > a.btn:hover,
body.pcl-sidebar-layout #usernavigation .usermenu > .dropdown > button:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

body.pcl-sidebar-layout #usernavigation .usermenu .dropdown-menu a,
body.pcl-sidebar-layout #usernavigation .usermenu .dropdown-menu button {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
}

body.pcl-sidebar-layout #nav-drawer {
    position: fixed;
    top: var(--pcl-navbar-height);
    left: 0;
    bottom: 0;
    width: var(--pcl-sidebar-width);
    height: calc(100vh - var(--pcl-navbar-height));
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    background: var(--pcl-sidebar-surface);
    color: var(--pcl-sidebar-text);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 2px 0 14px rgba(6, 33, 51, 0.18);
    z-index: 1040;
}

@media (min-width: 769px) {
body.path-local nav.pcl-navbar a.pcl-logout-button,
body.path-local nav.navbar.pcl-navbar a.pcl-logout-button,
body.path-local .pcl-navbar a.pcl-logout-button,
body.path-mod-hvp nav.pcl-navbar a.pcl-logout-button,
body.path-mod-hvp nav.navbar.pcl-navbar a.pcl-logout-button,
body.path-mod-hvp .pcl-navbar a.pcl-logout-button,
body.path-mod-h5pactivity nav.pcl-navbar a.pcl-logout-button,
body.path-mod-h5pactivity nav.navbar.pcl-navbar a.pcl-logout-button,
body.path-mod-h5pactivity .pcl-navbar a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }
}

body.pcl-landing-page .pcl-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.pcl-landing-page .pcl-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.pcl-sidebar-layout #nav-drawer.closed {
    transform: none;
}

body.pcl-sidebar-layout #nav-drawer::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.pcl-sidebar-layout #nav-drawer::-webkit-scrollbar-thumb {
    background: transparent;
}

.pcl-sidebar {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.path-local .pcl-sidebar {
    top: var(--pcl-navbar-height) !important;
    height: calc(100vh - var(--pcl-navbar-height)) !important;
}

body.path-admin .pcl-sidebar {
    top: 58px !important;
    height: calc(100vh - 58px) !important;
}

.pcl-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.pcl-sidebar-layout #page-wrapper {
    margin-left: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

body.pcl-sidebar-layout #page.drawers {
    position: relative;
    margin-left: 0;
    padding-left: var(--pcl-sidebar-width);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #page.drawers {
    margin-left: 0;
    padding-left: var(--pcl-sidebar-collapsed-width);
    width: 100%;
    max-width: 100%;
}

body.pcl-sidebar-layout #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page.drawers .main-inner > .container,
body.pcl-sidebar-layout #page.drawers .main-inner > .container-fluid,
body.pcl-sidebar-layout #page-content,
body.pcl-sidebar-layout #page-content > .container,
body.pcl-sidebar-layout #page-content > .container-fluid,
body.pcl-sidebar-layout #region-main-box,
body.pcl-sidebar-layout #region-main,
body.pcl-sidebar-layout #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page-content,
body.pcl-sidebar-layout #region-main-box,
body.pcl-sidebar-layout #region-main {
    overflow-x: hidden !important;
}

body.pcl-sidebar-layout #page-content .container,
body.pcl-sidebar-layout #page-content .container-fluid,
body.pcl-sidebar-layout #region-main .container,
body.pcl-sidebar-layout #region-main .container-fluid,
body.pcl-sidebar-layout #region-main-box .container,
body.pcl-sidebar-layout #region-main-box .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local #page.drawers .main-inner,
body.path-local #page-content,
body.path-local #page-content > .container,
body.path-local #page-content > .container-fluid,
body.path-local #region-main-box,
body.path-local #region-main,
body.path-local #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local #page.drawers .main-inner {
    padding-left: 0 !important;
}

body.path-local:not(.pcl-sidebar-collapsed) #topofscroll {
    margin-left: calc(var(--pcl-sidebar-width, 285px) + var(--pcl-sidebar-content-gap, 1rem)) !important;
    width: calc(100vw - var(--pcl-sidebar-width, 285px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
    max-width: calc(100vw - var(--pcl-sidebar-width, 285px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
}

/* pcl_dashboard renders its own in-page sidebar and hides the global PCL one
   (frontpage.css: `body.pcl-dashboard-active .pcl-sidebar { display: none }`),
   so the offset above must not apply there.

   frontpage.css already zeroes it, but that rule is
   `body.pcl-dashboard-active #topofscroll` — specificity (1,1,1) — while the
   rule above is (1,2,1) because of the `:not()`. Both carry !important, so the
   offset won and the dashboard was pushed 301px right (285px + 1rem) with dead
   space on the left. The width clamp did NOT apply at the same time, so content
   was displaced without being narrowed and the right-hand column was clipped
   rather than merely shifted.

   Matching the offset's own specificity here keeps the fix next to the rule it
   corrects, instead of escalating !important in frontpage.css. */
body.path-local.pcl-dashboard-active:not(.pcl-sidebar-collapsed) #topofscroll,
body.path-local.pcl-dashboard-active.pcl-sidebar-collapsed #topofscroll {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.path-local.pcl-sidebar-collapsed #topofscroll {
    margin-left: calc(var(--pcl-sidebar-collapsed-width, 84px) + var(--pcl-sidebar-content-gap, 1rem)) !important;
    width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
    max-width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
}

body.path-local {
    --pcl-sidebar-width: 285px;
    --pcl-sidebar-collapsed-width: 84px;
}

body.path-admin {
    --pcl-sidebar-width: 330px;
    --pcl-sidebar-collapsed-width: 84px;
}

body.path-local #nav-drawer,
body.path-local #nav-drawer .drawercontent {
    background: #39b1d5 !important;
    color: #ffffff !important;
}

body.path-local .drawer.bg-white,
body.path-local .drawer.bg-white.hidden,
body.path-local .drawer,
body.path-local .drawer .drawercontent {
    background: #39b1d5 !important;
    color: #ffffff !important;
}

body.path-local .drawer .drawercontent {
    border-right: 0 !important;
}

body.path-local .drawer .list-group-item,
body.path-local .drawer .menu-link,
body.path-local .drawer .list-group-item > div,
body.path-local .drawer .media-body {
    color: #ffffff !important;
}

body.path-local .drawer .list-group-item:hover,
body.path-local .drawer .list-group-item:focus,
body.path-local .drawer .list-group-item.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

body.path-local #nav-drawer .drawercontent {
    border-right: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto;
    min-height: 0;
    padding-top: var(--pcl-navbar-height) !important;
    margin-top: 0 !important;
}

body.path-local #nav-drawer .list-group {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.path-local .drawer,
body.path-local #nav-drawer {
    top: 0 !important;
    height: 100vh !important;
}

body.path-local #nav-drawer {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

body.path-local #nav-drawer .list-group-item,
body.path-local #nav-drawer .menu-link,
body.path-local #nav-drawer .list-group-item > div,
body.path-local #nav-drawer .media-body {
    color: #ffffff !important;
}

body.path-local .pcl-sidebar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.path-local .pcl-sidebar > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.path-local .pcl-sidebar-items {
    padding-top: 0 !important;
}

body.path-local .pcl-sidebar-item:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 767.98px) {
    body.path-local .pcl-sidebar-items {
        padding-top: 0 !important;
    }

    body.path-local .pcl-sidebar-item:first-child {
        margin-top: 0 !important;
    }
}

body.path-admin .pcl-sidebar > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.path-local #nav-drawer .list-group-item:hover,
body.path-local #nav-drawer .list-group-item:focus,
body.path-local #nav-drawer .list-group-item.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

body.path-local #page-wrapper {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    box-sizing: border-box;
    padding-top: var(--pcl-navbar-height);
}

body.path-local #page {
    margin-top: 0 !important;
}

body.path-local nav.pcl-navbar,
body.path-local nav.navbar.pcl-navbar,
body.path-local .pcl-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    min-height: var(--pcl-navbar-height) !important;
    width: 100% !important;
    z-index: 2005 !important;
}

/* Keep Bootstrap-style popups above the fixed local navbar on every local page. */
body.path-local .modal {
    z-index: 3000 !important;
}

body.path-local .modal-backdrop {
    z-index: 2990 !important;
}

body.path-local .modal-dialog {
    margin-top: calc(var(--pcl-navbar-height, 64px) + 1rem);
}

@media (max-width: 767.98px) {
    body.path-local .modal-dialog {
        margin-top: calc(var(--pcl-navbar-height, 64px) + 0.5rem);
    }
}

body.path-local #page.drawers {
    position: relative;
    margin-left: var(--pcl-sidebar-width);
    width: auto;
    max-width: none;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-local.pcl-sidebar-collapsed #page.drawers {
    margin-left: var(--pcl-sidebar-collapsed-width);
    width: auto;
    max-width: none;
    padding-left: 0 !important;
}

body.path-local.drawer-open-left #page.drawers {
    margin-left: var(--pcl-sidebar-width);
    width: auto;
    max-width: none;
    padding-left: 0 !important;
}

body.path-local.drawer-open-left #page.drawers .main-inner,
body.path-local.drawer-open-left #page-content,
body.path-local.drawer-open-left #page-content > .container,
body.path-local.drawer-open-left #page-content > .container-fluid,
body.path-local.drawer-open-left #region-main-box,
body.path-local.drawer-open-left #region-main,
body.path-local.drawer-open-left #region-main > div[role="main"] {
    width: calc(100% - var(--pcl-sidebar-width)) !important;
    max-width: calc(100% - var(--pcl-sidebar-width)) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-local #page-wrapper #page,
body.path-local #page-wrapper #page #page-content,
body.path-local #page-wrapper #page #region-main-box,
body.path-local #page-wrapper #page #region-main,
body.path-local #page-wrapper #page #page-content > .container,
body.path-local #page-wrapper #page #page-content > .container-fluid,
body.path-local #page-wrapper #page #region-main > div[role="main"] {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
    padding-left: 0 !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
}

body.path-local #topofscroll {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body.path-local #topofscroll,
    body.path-local:not(.pcl-sidebar-collapsed) #topofscroll,
    body.path-local.pcl-sidebar-collapsed #topofscroll,
    body.path-local #page.drawers #topofscroll,
    body.path-local #page-content,
    body.path-local #region-main-box,
    body.path-local #region-main,
    body.path-local #region-main > div[role="main"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-admin.path-local #page-header,
    body.path-admin.path-local #page-content,
    body.path-admin.path-local #region-main-box,
    body.path-admin.path-local #region-main,
    body.path-admin.path-local #region-main > div[role="main"] {
        padding-left: 0.5rem !important;
        box-sizing: border-box !important;
    }

    body.path-local #page.drawers {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

body.path-local.path-local-pcl_badges #page.drawers {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

body.path-local.path-local-pcl_badges.pcl-sidebar-collapsed.pcl-sidebar-collapsed #page.drawers {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

body.path-local.path-local-pcl_badges #page-wrapper {
    width: 100% !important;
    max-width: none !important;
}

body.path-local.path-local-pcl_badges {
    width: 100% !important;
    max-width: none !important;
}

body.path-local #page-content .container,
body.path-local #page-content .container-fluid,
body.path-local #region-main .container,
body.path-local #region-main .container-fluid,
body.path-local #region-main-box .container,
body.path-local #region-main-box .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 1rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
}

body.path-local #region-main > div[role="main"] {
    padding-left: 1rem !important;
    padding-right: 0.5rem !important;
}

body.path-local .simplesearchform,
body.path-admin .simplesearchform {
    max-width: calc(100% - 2rem) !important;
    margin-right: 2rem !important;
}

body.pcl-sidebar-layout #page-admin-search .container,
body.path-local #page-admin-search .container,
body.path-admin #page-admin-search .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-right: 1rem !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page-admin-search .simplesearchform,
body.path-local #page-admin-search .simplesearchform,
body.path-admin #page-admin-search .simplesearchform {
    width: 100% !important;
    max-width: calc(100% - 2rem) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page-admin-search .simplesearchform .collapse.show,
body.pcl-sidebar-layout #page-admin-search .simplesearchform .collapsing,
body.path-local #page-admin-search .simplesearchform .collapse.show,
body.path-local #page-admin-search .simplesearchform .collapsing,
body.path-admin #page-admin-search .simplesearchform .collapse.show,
body.path-admin #page-admin-search .simplesearchform .collapsing {
    position: static !important;
    width: 100% !important;
    height: auto !important;
}

body.pcl-sidebar-layout #page-admin-search .simplesearchform .form-inline,
body.path-local #page-admin-search .simplesearchform .form-inline,
body.path-admin #page-admin-search .simplesearchform .form-inline {
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap;
}

body.pcl-sidebar-layout #page-admin-search .simplesearchform input,
body.path-local #page-admin-search .simplesearchform input,
body.path-admin #page-admin-search .simplesearchform input {
    max-width: 100% !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page-admin-search #adminsettings,
body.path-local #page-admin-search #adminsettings,
body.path-admin #page-admin-search #adminsettings,
body.pcl-sidebar-layout #page-admin-search .settingsform,
body.path-local #page-admin-search .settingsform,
body.path-admin #page-admin-search .settingsform {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.pcl-sidebar-layout #page-admin-search #adminsettings .row,
body.path-local #page-admin-search #adminsettings .row,
body.pcl-sidebar-layout #page-admin-search .settingsform .row,
body.path-local #page-admin-search .settingsform .row,
body.path-admin #page-admin-search #adminsettings .row,
body.path-admin #page-admin-search .settingsform .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.pcl-sidebar-layout #page-admin-search #adminsettings .form-item,
body.path-local #page-admin-search #adminsettings .form-item,
body.pcl-sidebar-layout #page-admin-search #adminsettings .form-setting,
body.path-local #page-admin-search #adminsettings .form-setting,
body.pcl-sidebar-layout #page-admin-search .settingsform .form-item,
body.path-local #page-admin-search .settingsform .form-item,
body.pcl-sidebar-layout #page-admin-search .settingsform .form-setting,
body.path-local #page-admin-search .settingsform .form-setting,
body.path-admin #page-admin-search #adminsettings .form-item,
body.path-admin #page-admin-search #adminsettings .form-setting,
body.path-admin #page-admin-search .settingsform .form-item,
body.path-admin #page-admin-search .settingsform .form-setting {
    min-width: 0 !important;
}

body.pcl-sidebar-layout #page-admin-search #adminsettings .form-description,
body.path-local #page-admin-search #adminsettings .form-description,
body.pcl-sidebar-layout #page-admin-search .settingsform .form-description,
body.path-local #page-admin-search .settingsform .form-description,
body.path-admin #page-admin-search #adminsettings .form-description,
body.path-admin #page-admin-search .settingsform .form-description {
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.path-admin #adminsettings .form-item.row,
body.path-admin #adminsettings .fitem.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .form-item.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .col-md-3,
body.path-admin #adminsettings .fitem.row > .col-md-9 {
    flex: 1 1 100%;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .fitem.row > .col-md-3 {
    margin-bottom: 0.5rem;
}

body.path-admin #adminsettings .form-item.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .col-md-9 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-admin #adminsettings .form-item .form-description,
body.path-admin #adminsettings .fitem .form-description,
body.path-admin #adminsettings .settingsform .form-description {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.path-admin:not(.pcl-sidebar-collapsed) #page.drawers .main-inner,
body.path-admin:not(.pcl-sidebar-collapsed) #page-content,
body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container,
body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container-fluid,
body.path-admin:not(.pcl-sidebar-collapsed) #region-main-box,
body.path-admin:not(.pcl-sidebar-collapsed) #region-main,
body.path-admin:not(.pcl-sidebar-collapsed) #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-admin.pcl-sidebar-collapsed #page.drawers .main-inner,
body.path-admin.pcl-sidebar-collapsed #page-content,
body.path-admin.pcl-sidebar-collapsed #page-content > .container,
body.path-admin.pcl-sidebar-collapsed #page-content > .container-fluid,
body.path-admin.pcl-sidebar-collapsed #region-main-box,
body.path-admin.pcl-sidebar-collapsed #region-main,
body.path-admin.pcl-sidebar-collapsed #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-local #page-content .row,
body.path-local #region-main-box .row,
body.path-local #region-main .row {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.pcl-landing-page #page {
    overflow-x: hidden;
}

body.pcl-landing-page #portals,
body.pcl-landing-page #custom_footer {
    box-sizing: border-box;
    min-width: 0;
    flex: 0 0 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transition: none !important;
}

body.pcl-landing-page.pcl-sidebar-transitioning #portals,
body.pcl-landing-page.pcl-sidebar-transitioning #custom_footer,
body.pcl-landing-page.pcl-sidebar-transitioning .pcl-auth-frontpage-main,
body.pcl-landing-page.pcl-sidebar-transitioning #portals > .card-main,
body.pcl-landing-page.pcl-sidebar-transitioning #portals > .card-main > .row {
    transition: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.pcl-landing-page.drawer-open-left #portals,
body.pcl-landing-page.drawer-open-left #custom_footer {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.pcl-landing-page.pcl-sidebar-collapsed #portals,
body.pcl-landing-page.pcl-sidebar-collapsed #custom_footer {
    margin-left: 0 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
}

body.pcl-landing-page #portals > .card-main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

body.path-local-pcl-portals:not(.pcl-sidebar-collapsed) #page.drawers .main-inner,
body.path-local-pcl_portals:not(.pcl-sidebar-collapsed) #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
}

body.path-local-pcl-portals.pcl-sidebar-collapsed #page.drawers .main-inner,
body.path-local-pcl_portals.pcl-sidebar-collapsed #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
}

body.path-local-pcl_portals .pcl-p123-page,
body.path-local-pcl-portals .pcl-p123-page,
body.path-local-pcl_portals .pcl-p123-hero,
body.path-local-pcl-portals .pcl-p123-hero,
body.path-local-pcl_portals .pcl-p123-card-grid,
body.path-local-pcl-portals .pcl-p123-card-grid,
body.path-local-pcl_portals .pcl-p123-about-page__story,
body.path-local-pcl-portals .pcl-p123-about-page__story,
body.path-local-pcl_portals .pcl-p123-about-page__actions,
body.path-local-pcl-portals .pcl-p123-about-page__actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local:not(.pcl-sidebar-collapsed) #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-local.pcl-sidebar-collapsed #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-local.pcl-sidebar-collapsed #page.drawers {
    padding-left: calc(var(--pcl-sidebar-collapsed-width) + 1rem) !important;
}

body.path-local .pcl-sponsor-banner,
body.path-local .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: var(--pcl-sidebar-width, 285px);
    margin-right: 0;
    width: calc(100% - var(--pcl-sidebar-width, 285px));
    max-width: calc(100% - var(--pcl-sidebar-width, 285px));
    overflow: hidden;
    border-radius: 0;
}

body.path-local .pcl-sponsor-banner > img,
body.path-local .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-local.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-local.pcl-sidebar-collapsed .pcl-category-footer-banner {
    margin-left: var(--pcl-sidebar-collapsed-width, 84px);
    width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
    max-width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
}

@media (max-width: 768px) {
    body.path-local .pcl-sponsor-banner,
    body.path-local .pcl-category-footer-banner {
        margin-left: 0;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
    }

    body.path-local .pcl-sponsor-banner > a,
    body.path-local .pcl-category-footer-banner > a {
        display: block;
        width: 100%;
    }

    body.path-local .pcl-sponsor-banner > a > img,
    body.path-local .pcl-category-footer-banner-image {
        display: block;
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        margin: 0 !important;
    }
}

body.path-local-pcl_books.pcl-sidebar-layout #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local-pcl_books.pcl-sidebar-layout #page.drawers .main-inner > .container,
body.path-local-pcl_books.pcl-sidebar-layout #page.drawers .main-inner > .container-fluid,
body.path-local-pcl_books.pcl-sidebar-layout #page-content,
body.path-local-pcl_books.pcl-sidebar-layout #region-main-box,
body.path-local-pcl_books.pcl-sidebar-layout #region-main,
body.path-local-pcl_books.pcl-sidebar-layout #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local-pcl_books.pcl-sidebar-layout #page-content,
body.path-local-pcl_books.pcl-sidebar-layout #region-main-box,
body.path-local-pcl_books.pcl-sidebar-layout #region-main {
    overflow-x: hidden !important;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout #page.drawers .main-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout #page.drawers .main-inner > .container,
body.path-local-pcl_questcollect.pcl-sidebar-layout #page.drawers .main-inner > .container-fluid,
body.path-local-pcl_questcollect.pcl-sidebar-layout #page-content,
body.path-local-pcl_questcollect.pcl-sidebar-layout #region-main-box,
body.path-local-pcl_questcollect.pcl-sidebar-layout #region-main,
body.path-local-pcl_questcollect.pcl-sidebar-layout #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout #page-content,
body.path-local-pcl_questcollect.pcl-sidebar-layout #region-main-box,
body.path-local-pcl_questcollect.pcl-sidebar-layout #region-main {
    overflow-x: hidden !important;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-questcollect-page,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body.path-local-pcl-questcollect .pcl-questcollect-page,
body.path-local-pcl_questcollect .pcl-questcollect-page {
    padding-left: 20px !important;
    padding-right: 0 !important;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-hero-section-split,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-grid,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-grid-2,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-grid-3,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-grid-4,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-avatar-showcase,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-avatar-modal {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-hero-copy,
body.path-local-pcl_questcollect.pcl-sidebar-layout .pcl-hero-streak-panel {
    min-width: 0;
}

@media (min-width: 992px) {
    body.path-local-pcl-questcollect.pcl-sidebar-layout #topofscroll,
    body.path-local-pcl_questcollect.pcl-sidebar-layout #topofscroll {
        margin-left: calc(var(--pcl-sidebar-width, 285px) + var(--pcl-sidebar-content-gap, 1rem)) !important;
        width: calc(100vw - var(--pcl-sidebar-width, 285px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
        max-width: calc(100vw - var(--pcl-sidebar-width, 285px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
        padding-left: 0 !important;
        padding-right: calc(var(--pcl-sidebar-content-gap, 1rem) + 0.35rem) !important;
        box-sizing: border-box !important;
    }

    body.path-local-pcl-questcollect.pcl-sidebar-collapsed #topofscroll,
    body.path-local-pcl_questcollect.pcl-sidebar-collapsed #topofscroll {
        margin-left: calc(var(--pcl-sidebar-collapsed-width, 84px) + var(--pcl-sidebar-content-gap, 1rem)) !important;
        width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
        max-width: calc(100vw - var(--pcl-sidebar-collapsed-width, 84px) - var(--pcl-sidebar-content-gap, 1rem)) !important;
    }
}

@media (max-width: 768px) {
    body.path-local-pcl-questcollect,
    body.path-local-pcl_questcollect {
        --pcl-mobile-shell-gutter: 12px;
    }

    body.path-local-pcl-questcollect #page-wrapper,
    body.path-local-pcl_questcollect #page-wrapper,
    body.path-local-pcl-questcollect #page.drawers,
    body.path-local-pcl_questcollect #page.drawers,
    body.path-local-pcl-questcollect #topofscroll,
    body.path-local-pcl_questcollect #topofscroll,
    body.path-local-pcl-questcollect #page-content,
    body.path-local-pcl_questcollect #page-content,
    body.path-local-pcl-questcollect #region-main-box,
    body.path-local-pcl_questcollect #region-main-box,
    body.path-local-pcl-questcollect #region-main,
    body.path-local-pcl_questcollect #region-main,
    body.path-local-pcl-questcollect #region-main > div[role="main"],
    body.path-local-pcl_questcollect #region-main > div[role="main"] {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-local-pcl-questcollect #page-wrapper,
    body.path-local-pcl_questcollect #page-wrapper,
    body.path-local-pcl-questcollect #page.drawers,
    body.path-local-pcl_questcollect #page.drawers {
        overflow-x: hidden !important;
        scrollbar-gutter: auto !important;
    }

    body.path-local-pcl-questcollect .pcl-questcollect-page,
    body.path-local-pcl_questcollect .pcl-questcollect-page {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-local-pcl-questcollect .pcl-sponsor-banner,
    body.path-local-pcl_questcollect .pcl-sponsor-banner,
    body.path-local-pcl-questcollect .pcl-category-footer-banner,
    body.path-local-pcl_questcollect .pcl-category-footer-banner {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.path-local-pcl-questcollect .pcl-sponsor-banner > img,
    body.path-local-pcl_questcollect .pcl-sponsor-banner > img,
    body.path-local-pcl-questcollect .pcl-category-footer-banner-image,
    body.path-local-pcl_questcollect .pcl-category-footer-banner-image {
        width: 100% !important;
        max-width: 100% !important;
    }
}

body.pcl-sidebar-layout .pcl-sponsor-banner,
body.pcl-sidebar-layout .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: var(--pcl-sidebar-width);
    margin-right: 0;
    width: calc(100% - var(--pcl-sidebar-width));
    max-width: calc(100% - var(--pcl-sidebar-width));
    overflow: hidden;
    border-radius: 0;
}

body.pcl-sidebar-layout .pcl-sponsor-banner > img,
body.pcl-sidebar-layout .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-course {
    --pcl-navbar-height: 58.09375px;
    --pcl-sidebar-width: 285px;
    --pcl-sidebar-collapsed-width: 84px;
    --pcl-course-sidebar-top: 58.09375px;
}

body.path-course .pcl-sidebar {
    top: var(--pcl-course-sidebar-top, 74px) !important;
    height: calc(100vh - var(--pcl-course-sidebar-top, 74px)) !important;
}

/* Course management pages already inherit the shell gutter via #topofscroll.
   Do not add a second left margin to the main content area or a white strip
   appears between the sidebar and the page body. */
body.path-course.pagelayout-admin #region-main,
body.path-course.pagelayout-admin #region-main-box,
body.path-course.pagelayout-admin #page-content,
body.path-course.pagelayout-admin #page-content > .container,
body.path-course.pagelayout-admin #page-content > .container-fluid {
    margin-left: 0 !important;
    padding-left: 16px !important;
}

/* Course category pages do not use #topofscroll, so they need the sidebar
   gutter applied at the page-content layer to keep the sub-navigation clear
   of the fixed left sidebar. */
body.path-course.pagelayout-coursecategory #page-content,
body.path-course.pagelayout-coursecategory #page-content > .container,
body.path-course.pagelayout-coursecategory #page-content > .container-fluid {
    margin-left: 285px !important;
    padding-left: 16px !important;
    box-sizing: border-box !important;
}

body.path-course.pagelayout-coursecategory #page-content {
    width: calc(100% - 285px) !important;
    max-width: calc(100% - 285px) !important;
}

body.path-course.pagelayout-coursecategory #region-main-box,
body.path-course.pagelayout-coursecategory #region-main {
    margin-left: 0 !important;
}

body.path-course.pagelayout-coursecategory .secondary-navigation {
    margin-left: 285px !important;
    width: calc(100% - 285px) !important;
    max-width: calc(100% - 285px) !important;
}

body.path-course.pagelayout-coursecategory #page-header {
    margin-top: 0.5rem !important;
}

body.path-mod-hvp,
body.path-mod-h5pactivity {
    --pcl-navbar-height: 58.09375px;
    --pcl-sidebar-width: 285px;
    --pcl-sidebar-collapsed-width: 84px;
}

body.path-mod-hvp #page-wrapper,
body.path-mod-h5pactivity #page-wrapper {
    padding-top: calc(var(--pcl-navbar-height, 58.09375px) + 0.5rem);
    padding-left: calc(var(--pcl-sidebar-width) + var(--pcl-sidebar-content-gap, 1rem)) !important;
    padding-right: var(--pcl-sidebar-content-gap, 1rem) !important;
    box-sizing: border-box !important;
}

body.path-mod-hvp.pcl-sidebar-collapsed #page-wrapper,
body.path-mod-h5pactivity.pcl-sidebar-collapsed #page-wrapper {
    padding-left: calc(var(--pcl-sidebar-collapsed-width) + var(--pcl-sidebar-content-gap, 1rem)) !important;
    padding-right: var(--pcl-sidebar-content-gap, 1rem) !important;
}

body.path-course #page {
    margin-top: 0 !important;
}

body.path-mod-hvp #page,
body.path-mod-h5pactivity #page {
    margin-top: 0 !important;
}

body.path-mod-hvp #page.drawers,
body.path-mod-h5pactivity #page.drawers {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-mod-hvp #page.drawers .main-inner,
body.path-mod-h5pactivity #page.drawers .main-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.path-mod-hvp #page.drawers div[role="main"],
body.path-mod-h5pactivity #page.drawers div[role="main"] {
    padding-top: 0 !important;
}

body.path-mod-hvp #topofscroll,
body.path-mod-h5pactivity #topofscroll {
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
    padding-left: var(--pcl-sidebar-content-gap, 1rem) !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.path-mod-hvp.pcl-sidebar-collapsed #topofscroll,
body.path-mod-h5pactivity.pcl-sidebar-collapsed #topofscroll {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-inline-start: 0 !important;
}

@media (max-width: 768px) {
    body.path-mod-hvp,
    body.path-mod-h5pactivity {
        --pcl-mobile-shell-gutter: 12px;
    }

    body.path-mod-hvp #page-wrapper,
    body.path-mod-h5pactivity #page-wrapper {
        padding-top: calc(var(--pcl-navbar-height, 58.09375px) + 0.5rem) !important;
        padding-left: var(--pcl-mobile-shell-gutter, 12px) !important;
        padding-right: var(--pcl-mobile-shell-gutter, 12px) !important;
    }

    body.path-mod-hvp #page,
    body.path-mod-h5pactivity #page,
    body.path-mod-hvp #page.drawers,
    body.path-mod-h5pactivity #page.drawers,
    body.path-mod-hvp #topofscroll,
    body.path-mod-h5pactivity #topofscroll,
    body.path-mod-hvp #page.drawers .main-inner,
    body.path-mod-h5pactivity #page.drawers .main-inner,
    body.path-mod-hvp #page.drawers div[role="main"],
    body.path-mod-h5pactivity #page.drawers div[role="main"],
    body.path-mod-hvp #region-main-box,
    body.path-mod-h5pactivity #region-main-box,
    body.path-mod-hvp #region-main,
    body.path-mod-h5pactivity #region-main,
    body.path-mod-hvp #region-main > div[role="main"],
    body.path-mod-h5pactivity #region-main > div[role="main"] {
            margin-left: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            padding-left: var(--pcl-mobile-shell-gutter, 12px) !important;
            padding-right: var(--pcl-mobile-shell-gutter, 12px) !important;
            box-sizing: border-box !important;
        }

        body.path-mod-hvp #topofscroll,
        body.path-mod-h5pactivity #topofscroll {
            margin-top: 0.5rem !important;
        }

        body.path-mod-hvp .pcl-sponsor-banner,
        body.path-mod-hvp .pcl-category-footer-banner,
        body.path-mod-h5pactivity .pcl-sponsor-banner,
        body.path-mod-h5pactivity .pcl-category-footer-banner {
            margin-left: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

body.path-mod-hvp .pcl-sidebar,
body.path-mod-h5pactivity .pcl-sidebar,
body.path-mod-hvp #nav-drawer,
body.path-mod-h5pactivity #nav-drawer {
    top: calc(var(--pcl-navbar-height) + 0.5rem) !important;
    height: calc(100vh - var(--pcl-navbar-height) - 0.5rem) !important;
}

body.pcl-sidebar-layout .pcl-sidebar > *:first-child,
body.path-local .pcl-sidebar > *:first-child,
body.path-admin .pcl-sidebar > *:first-child,
body.path-course .pcl-sidebar > *:first-child,
body.path-mod-hvp .pcl-sidebar > *:first-child,
body.path-mod-h5pactivity .pcl-sidebar > *:first-child {
    margin-top: 0.5rem !important;
}

body.pcl-sidebar-layout .pcl-sidebar-items,
body.path-local .pcl-sidebar-items,
body.path-admin .pcl-sidebar-items,
body.path-course .pcl-sidebar-items,
body.path-mod-hvp .pcl-sidebar-items,
body.path-mod-h5pactivity .pcl-sidebar-items {
    padding-top: 0.5rem !important;
}

body.pcl-sidebar-layout .pcl-sidebar-item:first-child,
body.path-local .pcl-sidebar-item:first-child,
body.path-admin .pcl-sidebar-item:first-child,
body.path-course .pcl-sidebar-item:first-child,
body.path-mod-hvp .pcl-sidebar-item:first-child,
body.path-mod-h5pactivity .pcl-sidebar-item:first-child {
    margin-top: 0.25rem !important;
}

body.path-course nav.pcl-navbar,
body.path-course nav.navbar.pcl-navbar,
body.path-course .pcl-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2005 !important;
}

body.path-course nav.pcl-navbar > .container-fluid,
body.path-course nav.navbar.pcl-navbar > .container-fluid,
body.path-course .pcl-navbar > .container-fluid {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    min-height: calc(var(--pcl-navbar-height) - 16px) !important;
    min-width: 0 !important;
}

body.path-course nav.pcl-navbar .navbar-toggler,
body.path-course nav.navbar.pcl-navbar .navbar-toggler,
body.path-course .pcl-navbar .navbar-toggler,
body.path-course nav.pcl-navbar #usernavigation,
body.path-course nav.navbar.pcl-navbar #usernavigation,
body.path-course .pcl-navbar #usernavigation {
    position: relative !important;
    z-index: 5 !important;
}

body.path-course nav.pcl-navbar .navbar-brand,
body.path-course nav.navbar.pcl-navbar .navbar-brand,
body.path-course .pcl-navbar .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, calc(-50% - 6px)) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    z-index: 4 !important;
}

body.path-course nav.pcl-navbar .navbar-brand img,
body.path-course nav.navbar.pcl-navbar .navbar-brand img,
body.path-course .pcl-navbar .navbar-brand img {
    display: block !important;
    height: 50px !important;
    max-height: none !important;
    width: auto !important;
}

body.path-course nav.pcl-navbar .pcl-user-menu,
body.path-course nav.navbar.pcl-navbar .pcl-user-menu,
body.path-course .pcl-navbar .pcl-user-menu {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 5 !important;
}

body.path-course nav.pcl-navbar .pcl-user-menu .pcl-user-button,
body.path-course nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
body.path-course .pcl-navbar .pcl-user-menu .pcl-user-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.path-course nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
body.path-course nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
body.path-course .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
body.path-course nav.pcl-navbar a.pcl-logout-button,
body.path-course nav.navbar.pcl-navbar a.pcl-logout-button,
body.path-course .pcl-navbar a.pcl-logout-button {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    body nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body nav.pcl-navbar a.pcl-logout-button,
    body nav.navbar.pcl-navbar a.pcl-logout-button,
    body .pcl-navbar a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar,
    body.path-admin nav.pcl-navbar,
    body.path-admin nav.navbar.pcl-navbar,
    body.path-admin .pcl-navbar,
    body.path-course nav.pcl-navbar,
    body.path-course nav.navbar.pcl-navbar,
    body.path-course .pcl-navbar,
    body.path-my nav.pcl-navbar,
    body.path-my nav.navbar.pcl-navbar,
    body.path-my .pcl-navbar,
    body.path-mod-hvp nav.pcl-navbar,
    body.path-mod-hvp nav.navbar.pcl-navbar,
    body.path-mod-hvp .pcl-navbar,
    body.path-mod-h5pactivity nav.pcl-navbar,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar,
    body.path-mod-h5pactivity .pcl-navbar {
        min-height: 58px !important;
        padding: 0.35rem 0.75rem !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar > .container-fluid,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar > .container-fluid,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar > .container-fluid,
    body.path-admin nav.pcl-navbar > .container-fluid,
    body.path-admin nav.navbar.pcl-navbar > .container-fluid,
    body.path-admin .pcl-navbar > .container-fluid,
    body.path-course nav.pcl-navbar > .container-fluid,
    body.path-course nav.navbar.pcl-navbar > .container-fluid,
    body.path-course .pcl-navbar > .container-fluid,
    body.path-my nav.pcl-navbar > .container-fluid,
    body.path-my nav.navbar.pcl-navbar > .container-fluid,
    body.path-my .pcl-navbar > .container-fluid,
    body.path-mod-hvp nav.pcl-navbar > .container-fluid,
    body.path-mod-hvp nav.navbar.pcl-navbar > .container-fluid,
    body.path-mod-hvp .pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity nav.pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity .pcl-navbar > .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
        min-height: 58px !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .navbar-toggler,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .navbar-toggler,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .navbar-toggler,
    body.path-admin nav.pcl-navbar .navbar-toggler,
    body.path-admin nav.navbar.pcl-navbar .navbar-toggler,
    body.path-admin .pcl-navbar .navbar-toggler,
    body.path-course nav.pcl-navbar .navbar-toggler,
    body.path-course nav.navbar.pcl-navbar .navbar-toggler,
    body.path-course .pcl-navbar .navbar-toggler,
    body.path-my nav.pcl-navbar .navbar-toggler,
    body.path-my nav.navbar.pcl-navbar .navbar-toggler,
    body.path-my .pcl-navbar .navbar-toggler,
    body.path-mod-hvp nav.pcl-navbar .navbar-toggler,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-toggler,
    body.path-mod-hvp .pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-toggler,
    body.path-mod-h5pactivity .pcl-navbar .navbar-toggler {
        flex: 0 0 auto !important;
        margin-right: 0 !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .navbar-brand,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .navbar-brand,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .navbar-brand,
    body.path-admin nav.pcl-navbar .navbar-brand,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand,
    body.path-admin .pcl-navbar .navbar-brand,
    body.path-course nav.pcl-navbar .navbar-brand,
    body.path-course nav.navbar.pcl-navbar .navbar-brand,
    body.path-course .pcl-navbar .navbar-brand,
    body.path-my nav.pcl-navbar .navbar-brand,
    body.path-my nav.navbar.pcl-navbar .navbar-brand,
    body.path-my .pcl-navbar .navbar-brand,
    body.path-mod-hvp nav.pcl-navbar .navbar-brand,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-hvp .pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: min(42vw, 140px) !important;
        white-space: nowrap !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .navbar-brand img,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .navbar-brand img,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .navbar-brand img,
    body.path-admin nav.pcl-navbar .navbar-brand img,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand img,
    body.path-admin .pcl-navbar .navbar-brand img,
    body.path-course nav.pcl-navbar .navbar-brand img,
    body.path-course nav.navbar.pcl-navbar .navbar-brand img,
    body.path-course .pcl-navbar .navbar-brand img,
    body.path-my nav.pcl-navbar .navbar-brand img,
    body.path-my nav.navbar.pcl-navbar .navbar-brand img,
    body.path-my .pcl-navbar .navbar-brand img,
    body.path-mod-hvp nav.pcl-navbar .navbar-brand img,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-hvp .pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand img {
        display: block !important;
        width: auto !important;
        height: 34px !important;
        max-height: 34px !important;
        max-width: min(42vw, 140px) !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .pcl-qc-navbar-streak,
    body.path-admin nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-admin nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-admin .pcl-navbar .pcl-qc-navbar-streak,
    body.path-course nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-course nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-course .pcl-navbar .pcl-qc-navbar-streak,
    body.path-my nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-my nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-my .pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-hvp nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-hvp nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-hvp .pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-h5pactivity nav.pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .pcl-qc-navbar-streak,
    body.path-mod-h5pactivity .pcl-navbar .pcl-qc-navbar-streak {
        margin-right: 0.35rem !important;
        flex: 0 0 auto !important;
        padding: 0.25rem 0.55rem 0.25rem 0.36rem !important;
        gap: 0.28rem !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-admin nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-admin nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-admin .pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-course nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-course nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-course .pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-my nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-my nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-my .pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-hvp nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-hvp nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-hvp .pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-h5pactivity nav.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .pcl-qc-navbar-streak__flame,
    body.path-mod-h5pactivity .pcl-navbar .pcl-qc-navbar-streak__flame {
        width: 1.35rem !important;
        height: 1.5rem !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-admin nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-admin nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-admin .pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-course nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-course nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-course .pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-my nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-my nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-my .pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-hvp nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-hvp nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-hvp .pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-h5pactivity nav.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .pcl-qc-navbar-streak__number,
    body.path-mod-h5pactivity .pcl-navbar .pcl-qc-navbar-streak__number {
        min-width: 1.15rem !important;
        font-size: 0.88rem !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .pcl-user-menu,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .pcl-user-menu,
    body.path-admin nav.pcl-navbar .pcl-user-menu,
    body.path-admin nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-admin .pcl-navbar .pcl-user-menu,
    body.path-course nav.pcl-navbar .pcl-user-menu,
    body.path-course nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-course .pcl-navbar .pcl-user-menu,
    body.path-my nav.pcl-navbar .pcl-user-menu,
    body.path-my nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-my .pcl-navbar .pcl-user-menu,
    body.path-mod-hvp nav.pcl-navbar .pcl-user-menu,
    body.path-mod-hvp nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-mod-hvp .pcl-navbar .pcl-user-menu,
    body.path-mod-h5pactivity nav.pcl-navbar .pcl-user-menu,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .pcl-user-menu,
    body.path-mod-h5pactivity .pcl-navbar .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
    }

    body.path-local:not(.path-local-pcl_landing) nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-local:not(.path-local-pcl_landing) nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-local:not(.path-local-pcl_landing) .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-admin nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-admin nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-admin .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-course nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-course nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-course .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-my nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-my nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-my .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity nav.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity .pcl-navbar .pcl-user-menu .pcl-user-button {
        height: 32px !important;
        padding: 0 0.8rem !important;
        font-size: 0.95rem !important;
    }

    body.path-course nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course nav.pcl-navbar a.pcl-logout-button,
    body.path-course nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-course .pcl-navbar a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }
}

body.path-mod-hvp nav.pcl-navbar,
body.path-mod-hvp nav.navbar.pcl-navbar,
body.path-mod-hvp .pcl-navbar,
body.path-mod-h5pactivity nav.pcl-navbar,
body.path-mod-h5pactivity nav.navbar.pcl-navbar,
body.path-mod-h5pactivity .pcl-navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 2005 !important;
}

body.path-mod-hvp .navbar.fixed-top,
body.path-mod-h5pactivity .navbar.fixed-top {
    min-height: var(--pcl-navbar-height, 84.5px);
    background: #39b1d5;
    border-bottom: 0;
    box-shadow: none;
    padding: 0.5rem 1rem;
}

body.path-mod-hvp .navbar.fixed-top > .container-fluid,
body.path-mod-h5pactivity .navbar.fixed-top > .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
}

body.path-mod-hvp nav.pcl-navbar > .container-fluid,
body.path-mod-hvp nav.navbar.pcl-navbar > .container-fluid,
body.path-mod-hvp .pcl-navbar > .container-fluid,
body.path-mod-h5pactivity nav.pcl-navbar > .container-fluid,
body.path-mod-h5pactivity nav.navbar.pcl-navbar > .container-fluid,
body.path-mod-h5pactivity .pcl-navbar > .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
}

body.path-mod-hvp .navbar.fixed-top .navbar-brand,
body.path-mod-h5pactivity .navbar.fixed-top .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
    z-index: 4 !important;
}

body.path-mod-hvp .navbar.fixed-top .navbar-brand img,
body.path-mod-h5pactivity .navbar.fixed-top .navbar-brand img {
    display: block !important;
    height: 50px !important;
    max-height: none !important;
    width: auto !important;
}

body.path-mod-hvp nav.pcl-navbar .navbar-brand,
body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand,
body.path-mod-hvp .pcl-navbar .navbar-brand,
body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand,
body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand,
body.path-mod-h5pactivity .pcl-navbar .navbar-brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    text-align: center !important;
    z-index: 4 !important;
    white-space: nowrap !important;
}

body.path-mod-hvp nav.pcl-navbar .navbar-brand img,
body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand img,
body.path-mod-hvp .pcl-navbar .navbar-brand img,
body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand img,
body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand img,
body.path-mod-h5pactivity .pcl-navbar .navbar-brand img {
    display: block !important;
    height: 50px !important;
    max-height: none !important;
    width: auto !important;
}

body.path-mod-hvp .navbar.fixed-top .navbar-toggler,
body.path-mod-hvp .navbar.fixed-top #usernavigation,
body.path-mod-h5pactivity .navbar.fixed-top .navbar-toggler,
body.path-mod-h5pactivity .navbar.fixed-top #usernavigation {
    position: relative !important;
    z-index: 5 !important;
}

body.path-mod-hvp .navbar.fixed-top .pcl-user-menu,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu {
    display: inline-flex !important;
    align-items: center !important;
    visibility: visible !important;
    margin-left: auto !important;
}

body.path-mod-hvp .navbar.fixed-top .pcl-user-menu .pcl-user-button,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu .pcl-user-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0.55rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.path-mod-hvp .navbar.fixed-top .pcl-user-menu .pcl-user-button:hover,
body.path-mod-hvp .navbar.fixed-top .pcl-user-menu .pcl-user-button:focus,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu .pcl-user-button:hover,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu .pcl-user-button:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

body.path-mod-hvp .navbar.fixed-top .pcl-user-menu .dropdown-menu,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu .dropdown-menu {
    margin-top: 0.35rem !important;
}

@media (max-width: 768px) {
    body.path-mod-hvp .navbar.fixed-top > .container-fluid,
    body.path-mod-h5pactivity .navbar.fixed-top > .container-fluid {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
    }

    body.path-mod-hvp nav.pcl-navbar > .container-fluid,
    body.path-mod-hvp nav.navbar.pcl-navbar > .container-fluid,
    body.path-mod-hvp .pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity nav.pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar > .container-fluid,
    body.path-mod-h5pactivity .pcl-navbar > .container-fluid {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
    }

    body.path-mod-hvp .navbar.fixed-top .navbar-brand,
    body.path-mod-h5pactivity .navbar.fixed-top .navbar-brand {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex: 0 1 auto !important;
        max-width: 104px !important;
        z-index: 4 !important;
    }

    body.path-mod-hvp nav.pcl-navbar .navbar-brand,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-hvp .pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex: 0 1 auto !important;
        max-width: 104px !important;
        z-index: 4 !important;
    }

    body.path-mod-hvp .navbar.fixed-top .navbar-brand img,
    body.path-mod-h5pactivity .navbar.fixed-top .navbar-brand img {
        height: 34px !important;
        max-width: 104px !important;
    }

    body.path-mod-hvp nav.pcl-navbar .navbar-brand img,
    body.path-mod-hvp nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-hvp .pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar .navbar-brand img,
    body.path-mod-h5pactivity .pcl-navbar .navbar-brand img {
        height: 34px !important;
        max-width: 104px !important;
    }

    body.path-mod-hvp .navbar.fixed-top .pcl-user-menu,
    body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu {
        margin-left: 0 !important;
        flex: 0 0 auto !important;
    }

    body.path-mod-hvp .pcl-navbar .pcl-user-menu,
    body.path-mod-h5pactivity .pcl-navbar .pcl-user-menu {
        margin-left: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    body.path-mod-hvp .navbar.fixed-top .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity .navbar.fixed-top .pcl-user-menu .pcl-user-button {
        padding: 0.4rem 0.75rem !important;
        white-space: nowrap !important;
    }

    body.path-mod-hvp .pcl-navbar .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity .pcl-navbar .pcl-user-menu .pcl-user-button {
        padding: 0.4rem 0.75rem !important;
        white-space: nowrap !important;
    }
}

body.path-mod-hvp .navbar.fixed-top .pcl-logout-button,
body.path-mod-h5pactivity .navbar.fixed-top .pcl-logout-button {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

body.path-course .pcl-sponsor-banner,
body.path-course .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: var(--pcl-sidebar-width, 285px);
    margin-right: 0;
    width: calc(100% - var(--pcl-sidebar-width, 285px));
    max-width: calc(100% - var(--pcl-sidebar-width, 285px));
    overflow: hidden;
    border-radius: 0;
}

body.path-course .pcl-sponsor-banner > img,
body.path-course .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-course.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-course.pcl-sidebar-collapsed .pcl-category-footer-banner {
    margin-left: var(--pcl-sidebar-collapsed-width, 84px);
    width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
    max-width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
}

body.path-my .pcl-sponsor-banner,
body.path-my .pcl-category-footer-banner,
body.page-mycourses .pcl-sponsor-banner,
body.page-mycourses .pcl-category-footer-banner,
body.path-my.pagelayout-mycourses .pcl-sponsor-banner,
body.path-my.pagelayout-mycourses .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: var(--pcl-sidebar-width, 285px);
    margin-right: 0;
    width: calc(100% - var(--pcl-sidebar-width, 285px));
    max-width: calc(100% - var(--pcl-sidebar-width, 285px));
    overflow: hidden;
    border-radius: 0;
}

body.path-my .pcl-sponsor-banner > img,
body.path-my .pcl-category-footer-banner-image,
body.page-mycourses .pcl-sponsor-banner > img,
body.page-mycourses .pcl-category-footer-banner-image,
body.path-my.pagelayout-mycourses .pcl-sponsor-banner > img,
body.path-my.pagelayout-mycourses .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-my.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-my.pcl-sidebar-collapsed .pcl-category-footer-banner,
body.page-mycourses.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.page-mycourses.pcl-sidebar-collapsed .pcl-category-footer-banner,
body.path-my.pagelayout-mycourses.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-my.pagelayout-mycourses.pcl-sidebar-collapsed .pcl-category-footer-banner {
    margin-left: var(--pcl-sidebar-collapsed-width, 84px);
    width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
    max-width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px));
}

body.path-mod-hvp .pcl-sponsor-banner,
body.path-mod-hvp .pcl-category-footer-banner,
body.path-mod-h5pactivity .pcl-sponsor-banner,
body.path-mod-h5pactivity .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: 0 !important;
    margin-right: 0;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0;
}

body.path-mod-hvp .pcl-sponsor-banner > img,
body.path-mod-hvp .pcl-category-footer-banner-image,
body.path-mod-h5pactivity .pcl-sponsor-banner > img,
body.path-mod-h5pactivity .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-mod-hvp.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-mod-hvp.pcl-sidebar-collapsed .pcl-category-footer-banner,
body.path-mod-h5pactivity.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-mod-h5pactivity.pcl-sidebar-collapsed .pcl-category-footer-banner {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

body.path-local.path-local-pcl_winners .pcl-sponsor-banner,
body.path-local.path-local-pcl_winners .pcl-category-footer-banner {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: var(--pcl-sidebar-width, 285px) !important;
    margin-right: 0;
    width: calc(100% - var(--pcl-sidebar-width, 285px)) !important;
    max-width: calc(100% - var(--pcl-sidebar-width, 285px)) !important;
    overflow: hidden;
    border-radius: 0;
}

body.path-local.path-local-pcl_winners .pcl-sponsor-banner > img,
body.path-local.path-local-pcl_winners .pcl-category-footer-banner-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.path-local.path-local-pcl_winners.pcl-sidebar-collapsed .pcl-sponsor-banner,
body.path-local.path-local-pcl_winners.pcl-sidebar-collapsed .pcl-category-footer-banner {
    margin-left: var(--pcl-sidebar-collapsed-width, 84px) !important;
    width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px)) !important;
    max-width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px)) !important;
}

@media (max-width: 768px) {
    body.path-local.path-local-pcl_winners .pcl-sponsor-banner,
    body.path-local.path-local-pcl_winners .pcl-category-footer-banner {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.path-local.path-local-pcl_winners .pcl-sponsor-banner > img,
    body.path-local.path-local-pcl_winners .pcl-category-footer-banner-image {
        height: 56px !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 768px) {
    body.path-course .pcl-sponsor-banner,
    body.path-course .pcl-category-footer-banner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    body.path-my .pcl-sponsor-banner,
    body.path-my .pcl-category-footer-banner,
    body.page-mycourses .pcl-sponsor-banner,
    body.page-mycourses .pcl-category-footer-banner,
    body.path-my.pagelayout-mycourses .pcl-sponsor-banner,
    body.path-my.pagelayout-mycourses .pcl-category-footer-banner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    body.path-mod-hvp .pcl-sponsor-banner,
    body.path-mod-hvp .pcl-category-footer-banner,
    body.path-mod-h5pactivity .pcl-sponsor-banner,
    body.path-mod-h5pactivity .pcl-category-footer-banner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }
}

/* Quiz pages use Moodle's `limitedwidth` body class by default, which caps
   `#page.drawers .main-inner` at the core course-content max width.
   Pennacool quiz pages should fill the available bridge content width
   instead, so override the core limited-width cap across the whole quiz
   plugin.
 */
body.path-mod-quiz #page.drawers .main-inner,
body.path-mod-quiz.limitedwidth #page.drawers .main-inner,
body#page-mod-quiz-attempt.limitedwidth #page.drawers .main-inner {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.path-mod-quiz #page-content,
body.path-mod-quiz #page-content > .container,
body.path-mod-quiz #page-content > .container-fluid,
body.path-mod-quiz #region-main-box,
body.path-mod-quiz #region-main,
body.path-mod-quiz #region-main > div[role="main"],
body.path-mod-quiz.limitedwidth #page-content,
body.path-mod-quiz.limitedwidth #page-content > .container,
body.path-mod-quiz.limitedwidth #page-content > .container-fluid,
body.path-mod-quiz.limitedwidth #region-main-box,
body.path-mod-quiz.limitedwidth #region-main,
body.path-mod-quiz.limitedwidth #region-main > div[role="main"],
body#page-mod-quiz-attempt.limitedwidth #page-content,
body#page-mod-quiz-attempt.limitedwidth #page-content > .container,
body#page-mod-quiz-attempt.limitedwidth #page-content > .container-fluid,
body#page-mod-quiz-attempt.limitedwidth #region-main-box,
body#page-mod-quiz-attempt.limitedwidth #region-main,
body#page-mod-quiz-attempt.limitedwidth #region-main > div[role="main"] {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #responseform > div:last-child {
    display: block;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-left: 0 !important;
    margin-right: 0;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    border-radius: 0;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #responseform > div:last-child .pcl-quiz-attempt-footer-banner {
    display: block;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #responseform > div:last-child .pcl-quiz-attempt-footer-banner > img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    box-sizing: border-box;
}

body.pcl-quiz-attempt-parity.path-mod-quiz .pcl-sponsor-banner {
    display: none !important;
}

@media (max-width: 991.98px) {
    body.pcl-quiz-attempt-parity.path-mod-quiz #responseform > div:last-child {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 769px) {
    body.pcl-sidebar-collapsed.pcl-sidebar-layout .pcl-sponsor-banner,
    body.pcl-sidebar-collapsed.pcl-sidebar-layout .pcl-category-footer-banner {
        margin-left: var(--pcl-sidebar-collapsed-width);
        width: calc(100% - var(--pcl-sidebar-collapsed-width));
        max-width: calc(100% - var(--pcl-sidebar-collapsed-width));
    }
}

@media (max-width: 768px) {
    body.pcl-sidebar-layout .pcl-sponsor-banner,
    body.pcl-sidebar-layout .pcl-category-footer-banner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
}

body.pcl-sidebar-layout #nav-drawer img {
    display: block;
    margin: 0 auto;
}

body.pcl-sidebar-layout #nav-drawer .list-group {
    padding-top: 0;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #nav-drawer .list-group,
body.pcl-quiz-attempt-parity.path-mod-quiz #nav-drawer #icon_navdata_id,
body.pcl-quiz-attempt-parity.path-mod-quiz #nav-drawer .drawercontent {
    padding-top: 0 !important;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #nav-drawer {
    padding-top: 0 !important;
}

body.pcl-quiz-attempt-parity.path-mod-quiz #pclMobileMenu .pcl-mobile-menu-body {
    padding-top: 0 !important;
}

body.pcl-sidebar-layout #nav-drawer #icon_navdata_id {
    order: 0;
    flex: 0 0 auto;
    display: block !important;
}

body.pcl-sidebar-layout #nav-drawer > nav:not(#icon_navdata_id) {
    order: 1;
    flex: 1 1 auto;
}

body.pcl-sidebar-layout #nav-drawer .list-group-item {
    border: 0;
    border-radius: 0;
    padding: 1.05rem 1.5rem;
    color: var(--pcl-sidebar-text);
    background: transparent;
    font-weight: 700;
    font-size: 1.05rem;
}

body.pcl-sidebar-layout #nav-drawer .menu-link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    line-height: 1.2;
}

body.pcl-sidebar-layout #nav-drawer .menu-link i {
    min-width: 1.45rem;
    font-size: 1.08rem;
}

body.pcl-sidebar-layout #nav-drawer .menu-link .menu-label {
    display: inline-block;
}

body.pcl-sidebar-layout #nav-drawer .list-group-item:hover,
body.pcl-sidebar-layout #nav-drawer .list-group-item:focus,
body.pcl-sidebar-layout #nav-drawer .list-group-item.active {
    background: var(--pcl-sidebar-hover);
    color: #0b5a7a;
}

body.pcl-sidebar-layout #nav-drawer .list-group-item i {
    width: 1.25rem;
    text-align: center;
}

body.pcl-sidebar-layout #nav-drawer .drawercontent {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.pcl-sidebar-layout #nav-drawer .drawercontent::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.pcl-sidebar-layout #nav-drawer .drawercontent::-webkit-scrollbar-thumb {
    background: transparent;
}

body.pcl-sidebar-layout #nav-drawer .collapse .list-group-item {
    padding-left: 2.4rem;
}

body.pcl-sidebar-layout #nav-drawer .collapse .list-group-item.active {
    border-left: 3px solid var(--pcl-sidebar-accent);
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer {
    width: var(--pcl-sidebar-collapsed-width);
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer > nav:not(#icon_navdata_id) {
    display: none;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer #icon_navdata_id {
    display: block;
    padding-top: 0;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer #icon_navdata_id .menu-link {
    justify-content: center;
    padding: 1rem 0;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer #icon_navdata_id .menu-link .menu-label {
    display: none;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer #icon_navdata_id .menu-link i {
    min-width: 0;
    font-size: 1.25rem;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer #icon_navdata_id .list-group-item {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer .list-group-item > div {
    margin-left: 0 !important;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer .media {
    justify-content: center;
}

body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer .media-body {
    display: none;
}

@media (min-width: 769px) {
    body.pcl-landing-page nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.pcl-landing-page nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.pcl-landing-page .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 768px) {
    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg > .container-fluid.align-items-center {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        min-width: 0 !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .d-flex.align-items-center.gap-3 {
        min-width: 0 !important;
        gap: 0.35rem !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-toggler,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-toggler,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-toggler,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-toggler,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-toggler,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-toggler {
        flex: 0 0 auto !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-brand,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-brand,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-brand,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-brand,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-brand,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-brand {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex: 0 1 auto !important;
        max-width: 104px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-brand img,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-brand img,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-brand img,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .navbar-brand img,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .navbar-brand img,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .navbar-brand img {
        display: block !important;
        height: 34px !important;
        max-width: 104px !important;
        width: auto !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .pcl-user-menu,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .pcl-user-menu,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .pcl-user-menu,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .pcl-user-menu,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .pcl-user-menu,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin-left: 0 !important;
        flex: 0 0 auto !important;
        min-width: 0 !important;
        white-space: nowrap !important;
    }

    body.path-mod-hvp #page-wrapper nav.pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp #page-wrapper .pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity #page-wrapper nav.pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity #page-wrapper nav.navbar.pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity #page-wrapper .pcl-navbar.navbar-expand-lg .pcl-user-menu .pcl-user-button {
        padding: 0.4rem 0.75rem !important;
        white-space: nowrap !important;
    }

    body.path-local .pcl-user-menu,
    body.path-mod-hvp .pcl-user-menu,
    body.path-mod-h5pactivity .pcl-user-menu,
    body.path-course .pcl-user-menu {
        display: inline-flex !important;
        visibility: visible !important;
    }

    body.path-local .pcl-user-menu .pcl-user-button,
    body.path-mod-hvp .pcl-user-menu .pcl-user-button,
    body.path-mod-h5pactivity .pcl-user-menu .pcl-user-button,
    body.path-course .pcl-user-menu .pcl-user-button {
        display: inline-flex !important;
        align-items: center !important;
        visibility: visible !important;
        font-weight: 400 !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0.55rem 1rem !important;
        border-radius: 999px !important;
    }

    body.path-local .pcl-user-menu .dropdown-menu,
    body.path-mod-hvp .pcl-user-menu .dropdown-menu,
    body.path-mod-h5pactivity .pcl-user-menu .dropdown-menu {
        margin-top: 0.35rem !important;
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 1rem) !important;
    }

    body.path-local nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-local nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-local .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-course .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-hvp nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-hvp nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-hvp .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-h5pactivity nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.path-mod-h5pactivity .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    body.path-local nav.pcl-navbar a.pcl-logout-button,
    body.path-local nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-local .pcl-navbar a.pcl-logout-button,
    body.path-course nav.pcl-navbar a.pcl-logout-button,
    body.path-course nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-course .pcl-navbar a.pcl-logout-button,
    body.path-mod-hvp nav.pcl-navbar a.pcl-logout-button,
    body.path-mod-hvp nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-mod-hvp .pcl-navbar a.pcl-logout-button,
    body.path-mod-h5pactivity nav.pcl-navbar a.pcl-logout-button,
    body.path-mod-h5pactivity nav.navbar.pcl-navbar a.pcl-logout-button,
    body.path-mod-h5pactivity .pcl-navbar a.pcl-logout-button {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    body.pcl-landing-page nav.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.pcl-landing-page nav.navbar.pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button,
    body.pcl-landing-page .pcl-navbar > .container-fluid > .ms-auto > a.pcl-logout-button {
        display: inline-flex !important;
        visibility: visible !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 0 auto !important;
        padding: 0.45rem 0.9rem !important;
        pointer-events: auto !important;
    }

    body.pcl-sidebar-layout .navbar.fixed-top {
        min-height: 64px;
    }

    body.pcl-sidebar-layout .navbar.fixed-top .navbar-brand img {
        max-height: 34px;
    }

    body.pcl-landing-page #portals,
    body.pcl-landing-page #custom_footer {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-areas:
            "menu brand auth"
            "collapse collapse collapse" !important;
        align-items: center !important;
        gap: 0.3rem 0.6rem !important;
        padding: 0.4rem 0.85rem 0.32rem !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 2005 !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-brand {
        grid-area: brand !important;
        justify-self: center !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-brand img {
        display: block !important;
        max-width: min(40vw, 150px) !important;
        max-height: 64px !important;
        height: auto !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-toggler {
        grid-area: auth !important;
        justify-self: end !important;
        margin-left: 0 !important;
        z-index: 2006 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .pcl-mobile-menu-toggle {
        grid-area: menu !important;
        justify-self: start !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .pcl-mobile-auth-button {
        grid-area: auth !important;
        justify-self: end !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 0.7rem !important;
        margin-right: 0 !important;
        line-height: 1 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .pcl-mobile-auth-button .fa {
        margin-right: 0.45rem;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse {
        grid-area: collapse !important;
        width: 100% !important;
        order: 3 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse:not(.show) {
        display: none !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse.show {
        display: block !important;
        margin-top: 0.25rem !important;
        padding: 0.5rem 0 !important;
        background: #ffffff !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 0 14px 14px !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse .navbar-nav {
        width: 100% !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.path-local.path-local-pcl_landing .nav-sticky .navbar-collapse .nav-item {
        width: 100% !important;
    }

    body.path-local.path-local-pcl_landing #banner {
        margin-top: 92px !important;
    }

    body.path-local.path-local-pcl_landing,
    body.path-local.path-local-pcl_landing #page-wrapper,
    body.path-local.path-local-pcl_landing #page,
    body.path-local.path-local-pcl_landing #page-content,
    body.path-local.path-local-pcl_landing #region-main-box,
    body.path-local.path-local-pcl_landing #region-main,
    body.path-local.path-local-pcl_landing #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed),
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page-wrapper,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #page-content,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #region-main > div[role="main"],
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) .embedded-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page-wrapper,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #page-content,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main-box,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #region-main > div[role="main"],
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .embedded-main {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) .embedded-main {
        margin-left: var(--pcl-sidebar-width) !important;
        width: calc(100% - var(--pcl-sidebar-width)) !important;
        max-width: calc(100% - var(--pcl-sidebar-width)) !important;
    }

    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .embedded-main {
        margin-left: var(--pcl-sidebar-collapsed-width) !important;
        width: calc(100% - var(--pcl-sidebar-collapsed-width)) !important;
        max-width: calc(100% - var(--pcl-sidebar-collapsed-width)) !important;
    }

    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #portals .card-main > .row.justify-content-center,
    body.path-local.path-local-pcl_landing:not(.pcl-sidebar-collapsed) #custom_footer.justify-content-center {
        justify-content: flex-start !important;
    }

    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #banner,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #portals.row.portals,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .features,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .sponsors,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .subjects,
    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed .workbooks,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main #banner,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main #portals.row.portals,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main .features,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main .sponsors,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main .subjects,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main .workbooks {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    body.path-local.path-local-pcl_landing.pcl-sidebar-collapsed #portals .card-main > .row.justify-content-center,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main #portals.row.portals .row.justify-content-center,
    body.pcl-frontpage-dashboard.pcl-sidebar-collapsed .pcl-auth-frontpage-main #custom_footer.justify-content-center {
        justify-content: flex-start !important;
    }

    body.path-local.path-local-pcl_landing #banner,
    body.path-local.path-local-pcl_landing #banner .carousel-inner,
    body.path-local.path-local-pcl_landing #banner .carousel-item {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    body.path-local.path-local-pcl_landing #banner .banner-logos {
        right: 0.5rem !important;
        bottom: 0.35rem !important;
        max-width: calc(100% - 1rem) !important;
    }

    body.path-local.path-local-pcl_landing #banner .banner-logo-img {
        max-width: min(42vw, 140px) !important;
    }

    body.path-local.path-local-pcl_landing #banner .carousel-control-prev,
    body.path-local.path-local-pcl_landing #banner .carousel-control-next {
        max-width: 44px !important;
        width: 12% !important;
    }

    body.path-local.path-local-pcl_landing .sponsor-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    body.path-local.path-local-pcl_landing .sponsor-carousel__viewport {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body.path-local.path-local-pcl_landing .sponsor-carousel__track {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    body.path-local.path-local-pcl_landing .sponsor-carousel__item {
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    body.path-local.path-local-pcl_landing .sponsor-carousel__image {
        max-width: min(30vw, 120px) !important;
        height: auto !important;
    }

    body.path-local.path-local-pcl_landing #loginstd .modal-dialog,
    body.path-local.path-local-pcl_landing #registerModal .modal-dialog,
    body.path-local.path-local-pcl_landing #passwordModal .modal-dialog {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        margin: 0.5rem auto !important;
    }

    body.path-local.path-local-pcl_landing #loginstd .modal-content,
    body.path-local.path-local-pcl_landing #registerModal .modal-content,
    body.path-local.path-local-pcl_landing #passwordModal .modal-content {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    body.path-local.path-local-pcl_landing #loginstd .modal-body,
    body.path-local.path-local-pcl_landing #registerModal .modal-body,
    body.path-local.path-local-pcl_landing #passwordModal .modal-body {
        min-width: 0 !important;
    }

    body.pcl-landing-page #portals > .card-main {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.pcl-landing-page .embedded-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-top: 64px !important;
        overflow-x: hidden !important;
    }

    body.pcl-landing-page #portals,
    body.pcl-landing-page #custom_footer {
        margin-top: 0 !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body.pcl-landing-page #portals .card-main > .row.justify-content-center.mb-2 {
        margin-bottom: 1rem !important;
    }

    body.pcl-landing-page #portals .card-main > .row.justify-content-center + .row.justify-content-center {
        margin-top: 1rem !important;
    }

    body.pcl-landing-page #portals .card-main > .row.justify-content-center.mb-2 > a {
        margin-bottom: 0.35rem;
    }

    body.pcl-sidebar-layout #page-wrapper,
    body.path-local #page-wrapper,
    body.path-admin #page-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }

    body.pcl-sidebar-layout:not(.pcl-sidebar-collapsed):not(.drawer-open-left) #page.drawers,
    body.path-local:not(.pcl-sidebar-collapsed):not(.drawer-open-left) #page.drawers,
    body.path-admin:not(.pcl-sidebar-collapsed):not(.drawer-open-left) #page.drawers {
        margin-left: 0 !important;
        padding-left: var(--pcl-sidebar-width) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.pcl-sidebar-layout.pcl-sidebar-collapsed #page.drawers,
    body.path-local.pcl-sidebar-collapsed #page.drawers,
    body.path-admin.pcl-sidebar-collapsed #page.drawers {
        margin-left: 0 !important;
        padding-left: var(--pcl-sidebar-collapsed-width) !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.pcl-sidebar-layout #page.drawers .main-inner,
    body.path-local #page.drawers .main-inner,
    body.path-admin #page.drawers .main-inner,
    body.path-local:not(.pcl-sidebar-collapsed):not(.drawer-open-left) #page.drawers .main-inner,
    body.path-admin:not(.pcl-sidebar-collapsed):not(.drawer-open-left) #page.drawers .main-inner,
    body.path-local #page-content,
    body.path-admin #page-content,
    body.path-local #page-content > .container,
    body.path-admin #page-content > .container,
    body.path-local #page-content > .container-fluid,
    body.path-admin #page-content > .container-fluid,
    body.path-local #region-main-box,
    body.path-admin #region-main-box,
    body.path-local #region-main,
    body.path-admin #region-main,
    body.path-local #region-main > div[role="main"],
    body.path-admin #region-main > div[role="main"],
    body.path-local:not(.pcl-sidebar-collapsed) #page-content,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content,
    body.path-local:not(.pcl-sidebar-collapsed) #page-content > .container,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container,
    body.path-local:not(.pcl-sidebar-collapsed) #page-content > .container-fluid,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container-fluid,
    body.path-local:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-admin:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-local:not(.pcl-sidebar-collapsed) #region-main,
    body.path-admin:not(.pcl-sidebar-collapsed) #region-main,
    body.path-local:not(.pcl-sidebar-collapsed) #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    body.path-local #page-content,
    body.path-local #page-content > .container,
    body.path-local #page-content > .container-fluid,
    body.path-local #region-main-box,
    body.path-local #region-main,
    body.path-local #region-main > div[role="main"],
    body.path-admin #page-content,
    body.path-admin #page-content > .container,
    body.path-admin #page-content > .container-fluid,
    body.path-admin #region-main-box,
    body.path-admin #region-main,
    body.path-admin #region-main > div[role="main"] {
        padding-left: 1rem !important;
        padding-right: 0.5rem !important;
    }

    body.path-local #page-content,
    body.path-local #page-content > .container,
    body.path-local #page-content > .container-fluid,
    body.path-local #region-main-box,
    body.path-local #region-main,
    body.path-local #region-main > div[role="main"] {
        padding-left: 0 !important;
        padding-right: 0.5rem !important;
    }

    body.pcl-landing-page #portals .card-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-local #page-wrapper #page #page-content,
    body.path-local #page-wrapper #page #region-main-box,
    body.path-local #page-wrapper #page #region-main,
    body.path-local #page-wrapper #page #page-content > .container,
    body.path-local #page-wrapper #page #page-content > .container-fluid,
    body.path-local #page-wrapper #page #region-main > div[role="main"],
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content,
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main-box,
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main,
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content > .container,
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content > .container-fluid,
    body.path-local:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main > div[role="main"],
    body.path-admin #page-wrapper #page #page-content,
    body.path-admin #page-wrapper #page #region-main-box,
    body.path-admin #page-wrapper #page #region-main,
    body.path-admin #page-wrapper #page #page-content > .container,
    body.path-admin #page-wrapper #page #page-content > .container-fluid,
    body.path-admin #page-wrapper #page #region-main > div[role="main"],
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main-box,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content > .container,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #page-content > .container-fluid,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
        padding-right: 0.5rem !important;
        box-sizing: border-box;
    }

    body.path-local-pcl-questcollect #page-wrapper #page,
    body.path-local-pcl_questcollect #page-wrapper #page,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main > div,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main > div,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main > div[role="main"],
    body.path-local-pcl_questcollect #page-wrapper #page #region-main > div[role="main"] {
        padding-left: 16px !important;
        padding-right: 0 !important;
        padding-inline-start: 16px !important;
        padding-inline-end: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-local-pcl-questcollect #page-content,
    body.path-local-pcl_questcollect #page-content,
    body.path-local-pcl-questcollect #region-main-box,
    body.path-local-pcl_questcollect #region-main-box,
    body.path-local-pcl-questcollect #region-main,
    body.path-local-pcl_questcollect #region-main,
    body.path-local-pcl-questcollect #region-main > div[role="main"],
    body.path-local-pcl_questcollect #region-main > div[role="main"] {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    body.path-local-pcl-questcollect #page-wrapper #page #page-content,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main > div[role="main"],
    body.path-local-pcl_questcollect #page-wrapper #page #region-main > div[role="main"] {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }

    body.pcl-sidebar-layout #nav-drawer,
    body.path-local #nav-drawer {
        position: fixed;
        top: 56px;
        left: 0;
        width: min(86vw, 330px) !important;
        max-width: 86vw !important;
        min-height: 0;
        height: calc(100vh - 56px);
        border-right: 1px solid rgba(20, 58, 90, 0.12);
        box-shadow: 2px 0 14px rgba(20, 58, 90, 0.06);
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 1040;
    }

    body.pcl-sidebar-layout.drawer-open-left #nav-drawer,
    body.path-local.drawer-open-left #nav-drawer {
        transform: translateX(0);
    }

    body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer,
    body.path-local:not(.drawer-open-left) #nav-drawer {
        width: min(86vw, 330px) !important;
        max-width: 86vw !important;
    }

    body.pcl-sidebar-layout:not(.drawer-open-left) #page-wrapper {
        margin-left: 0;
        width: 100%;
    }

    body.pcl-sidebar-layout:not(.drawer-open-left) #page.drawers {
        margin-left: 0;
        width: 100%;
    }

    body.pcl-sidebar-layout:not(.drawer-open-left) #nav-drawer,
    body.path-local:not(.drawer-open-left) #nav-drawer {
        pointer-events: none;
    }

    body.path-admin #page-wrapper {
        margin-left: 0;
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
        scrollbar-gutter: stable;
        box-sizing: border-box;
    }

    body.path-admin #page.drawers {
        position: relative;
        margin-left: 0 !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: visible;
        scrollbar-gutter: stable;
        box-sizing: border-box;
    }

    body.path-admin.drawer-open-index #page.drawers {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.path-admin.drawer-open-left #page.drawers {
        margin-left: var(--pcl-sidebar-width);
    }

body.path-admin.drawer-open-index #page.drawers .main-inner,
body.path-admin.drawer-open-index #page-content,
body.path-admin.drawer-open-index #page-content > .container,
body.path-admin.drawer-open-index #page-content > .container-fluid,
body.path-admin.drawer-open-index #region-main-box,
body.path-admin.drawer-open-index #region-main,
body.path-admin.drawer-open-index #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
}

body.path-admin.drawer-open-index #page-content,
body.path-admin.drawer-open-index #page-content > .container,
body.path-admin.drawer-open-index #page-content > .container-fluid,
body.path-admin.drawer-open-index #region-main-box,
body.path-admin.drawer-open-index #region-main,
body.path-admin.drawer-open-index #region-main > div[role="main"] {
    padding-left: 1rem !important;
}

    body.path-admin #page.drawers .main-inner,
    body.path-admin #page-content,
    body.path-admin #page-content > .container,
    body.path-admin #page-content > .container-fluid,
    body.path-admin #region-main-box,
    body.path-admin #region-main,
    body.path-admin #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.path-admin #page-content,
    body.path-admin #region-main-box,
    body.path-admin #region-main {
        overflow-x: hidden !important;
    }

    body.path-admin #page-content .container,
    body.path-admin #page-content .container-fluid,
    body.path-admin #region-main .container,
    body.path-admin #region-main .container-fluid,
    body.path-admin #region-main-box .container,
    body.path-admin #region-main-box .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.path-admin #page-content > .container,
    body.path-admin #page-content > .container-fluid,
    body.path-admin #region-main > div[role="main"] {
        padding-left: 0 !important;
        padding-right: 2rem !important;
    }

    body.path-admin #adminsettings .row {
        display: block !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.path-admin #adminsettings .row > *,
    body.path-admin #adminsettings .fitem > *,
    body.path-admin #adminsettings .form-item > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext,
    body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        float: none !important;
    }

    body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext > select,
    body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext > select,
    body.path-admin #adminsettings .form-control,
    body.path-admin #adminsettings .custom-select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    body.path-admin #adminsettings .form-defaultinfo {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0.5rem !important;
    }

}

body.path-admin {
    --pcl-sidebar-width: 330px;
    --pcl-sidebar-collapsed-width: 84px;
}

body.path-admin #page-wrapper {
    margin-left: 0 !important;
    min-height: 100vh;
    width: 100% !important;
    overflow-x: hidden !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-admin #page.drawers {
    position: relative;
    margin-left: var(--pcl-sidebar-collapsed-width) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scrollbar-gutter: stable;
    box-sizing: border-box;
}

body.path-admin #page.drawers .main-inner,
body.path-admin #page-content,
body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #page-content .container,
body.path-admin #page-content .container-fluid,
body.path-admin #region-main-box,
body.path-admin #region-main,
body.path-admin #region-main > div[role="main"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

body.path-admin #page.drawers .main-inner {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
}

body.path-admin #page-content,
body.path-admin #region-main-box,
body.path-admin #region-main {
    overflow-x: hidden !important;
}

body.path-admin #topofscroll {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box;
}

body.path-admin #page-content > .container,
body.path-admin #page-content > .container-fluid,
body.path-admin #page-content .container,
body.path-admin #page-content .container-fluid,
body.path-admin #region-main > div[role="main"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

body.path-admin #adminsettings .form-item.row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .form-item.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-setting,
body.path-admin #adminsettings .fitem.row > .col-md-3,
body.path-admin #adminsettings .fitem.row > .col-md-9 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
}

body.path-admin #adminsettings .form-item.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .fitem.row > .form-setting > .form-select.defaultsnext > select,
body.path-admin #adminsettings .form-control,
body.path-admin #adminsettings .custom-select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.path-admin #adminsettings .form-defaultinfo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.5rem !important;
}

@media (max-width: 1199.98px) {
    body.path-local {
        --pcl-navbar-height: 58px;
    }

    body.path-admin.drawer-open-index #page.drawers {
        margin-left: 0 !important;
    }

    body.path-admin.drawer-open-index #topofscroll {
        margin-top: 0 !important;
    }

    body.path-admin.drawer-open-index #page.drawers .main-inner,
    body.path-admin.drawer-open-index #page-content,
    body.path-admin.drawer-open-index #page-content > .container,
    body.path-admin.drawer-open-index #page-content > .container-fluid,
    body.path-admin.drawer-open-index #region-main-box,
    body.path-admin.drawer-open-index #region-main,
    body.path-admin.drawer-open-index #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0.5rem !important;
    }

    body.path-admin.drawer-open-index #page-content > .container,
    body.path-admin.drawer-open-index #page-content > .container-fluid,
    body.path-admin.drawer-open-index #region-main > div[role="main"] {
        padding-left: 0 !important;
        padding-right: 0.5rem !important;
    }

    body.path-admin.drawer-open-index #page.drawers {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-admin.drawer-open-index #page.drawers .main-inner,
    body.path-admin.drawer-open-index #page-content,
    body.path-admin.drawer-open-index #page-content > .container,
    body.path-admin.drawer-open-index #page-content > .container-fluid,
    body.path-admin.drawer-open-index #region-main-box,
    body.path-admin.drawer-open-index #region-main,
    body.path-admin.drawer-open-index #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box;
    }

    body.path-admin.drawer-open-index #page-header {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.path-admin.drawer-open-index #page-navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.path-admin.drawer-open-index .secondary-navigation {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.path-admin.drawer-open-index #page-header .breadcrumb,
    body.path-admin.drawer-open-index #page-navbar .breadcrumb {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

body.path-admin #adminsettings .form-item.row > .form-label,
body.path-admin #adminsettings .fitem.row > .form-label,
body.path-admin #adminsettings .form-label,
body.path-admin #adminsettings .form-defaultinfo,
body.path-admin #adminsettings .form-description {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

@media (max-width: 1199.98px) {
    body.path-admin nav.pcl-navbar,
    body.path-admin nav.navbar.pcl-navbar,
    body.path-admin .pcl-navbar {
        min-height: 58px !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    body.path-admin nav.pcl-navbar > .container-fluid,
    body.path-admin nav.navbar.pcl-navbar > .container-fluid,
    body.path-admin .pcl-navbar > .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    body.path-admin nav.pcl-navbar .navbar-toggler,
    body.path-admin nav.navbar.pcl-navbar .navbar-toggler,
    body.path-admin .pcl-navbar .navbar-toggler {
        order: 0 !important;
        flex: 0 0 auto !important;
        margin-right: 0.5rem !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand,
    body.path-admin .pcl-navbar .navbar-brand {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        text-align: left !important;
    }

    body.path-admin nav.pcl-navbar .navbar-brand img,
    body.path-admin nav.navbar.pcl-navbar .navbar-brand img,
    body.path-admin .pcl-navbar .navbar-brand img {
        display: block !important;
        height: 32px !important;
        max-height: 32px !important;
        width: auto !important;
    }

    body.path-admin .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
    }

    body.path-admin .pcl-user-menu .pcl-user-button {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.95rem !important;
        line-height: 1.1 !important;
    }

body.path-admin .pcl-user-menu .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        max-width: calc(100vw - 1rem) !important;
    }

    body.path-local nav.pcl-navbar,
    body.path-local nav.navbar.pcl-navbar,
    body.path-local .pcl-navbar {
        min-height: 58px !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }

    body.path-local nav.pcl-navbar .navbar-brand,
    body.path-local nav.navbar.pcl-navbar .navbar-brand,
    body.path-local .pcl-navbar .navbar-brand {
        margin-left: 0.25rem !important;
        margin-right: auto !important;
    }

    body.path-local nav.pcl-navbar .navbar-brand img,
    body.path-local nav.navbar.pcl-navbar .navbar-brand img,
    body.path-local .pcl-navbar .navbar-brand img {
        height: 32px !important;
        max-height: 32px !important;
    }
}

@media (max-width: 767.98px) {
    body.path-local #page-header {
        display: none !important;
    }

    body.path-local #page-wrapper #page,
    body.path-local #page-wrapper #page #page-content,
    body.path-local #page-wrapper #page #region-main-box,
    body.path-local #page-wrapper #page #region-main,
    body.path-local #page-wrapper #page #page-content > .container,
    body.path-local #page-wrapper #page #page-content > .container-fluid,
    body.path-local #page-wrapper #page #region-main > div[role="main"] {
        padding-left: 0.125rem !important;
        padding-right: 0.125rem !important;
    }

    body.path-local #page-wrapper #page #page-content,
    body.path-local #page-wrapper #page #page-content > .container,
    body.path-local #page-wrapper #page #page-content > .container-fluid,
    body.path-local #page-wrapper #page #region-main-box,
    body.path-local #page-wrapper #page #region-main,
    body.path-local #page-wrapper #page #region-main > div[role="main"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    body.path-local #page-wrapper #page #page-content .container,
    body.path-local #page-wrapper #page #page-content .container-fluid,
    body.path-local #page-wrapper #page #region-main .container,
    body.path-local #page-wrapper #page #region-main .container-fluid,
    body.path-local #page-wrapper #page #region-main-box .container,
    body.path-local #page-wrapper #page #region-main-box .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    body.path-local-pcl-questcollect #page-wrapper #page #page-content,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main,
    body.path-local-pcl_questcollect #page-wrapper #page #region-main,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container,
    body.path-local-pcl-questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl_questcollect #page-wrapper #page #page-content > .container-fluid,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main > div[role="main"],
    body.path-local-pcl_questcollect #page-wrapper #page #region-main > div[role="main"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Winners page shell override.
 * The shared local-page padding rules above are loaded after the winners
 * route CSS, so they need a late, route-specific override here to fully
 * collapse the left/right gutter on the winners page in both sidebar states.
 */
body.path-local.path-local-pcl_winners #page-wrapper #page,
body.path-local.path-local-pcl_winners #page-wrapper #page > .main-inner,
body.path-local.path-local-pcl_winners #page-wrapper #page #page-content,
body.path-local.path-local-pcl_winners #page-wrapper #page #page-content > .container,
body.path-local.path-local-pcl_winners #page-wrapper #page #page-content > .container-fluid,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main-box,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main > div[role="main"],
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main > div[role="main"] > .pcl-winners-shell,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main > div[role="main"] > .pcl-winners-shell.container-fluid,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main > div[role="main"] > .pcl-winners-shell.container-fluid > .row,
body.path-local.path-local-pcl_winners #page-wrapper #page #region-main > div[role="main"] > .pcl-winners-shell.container-fluid > .row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-inline: 0 !important;
    box-sizing: border-box;
}

body.path-local.path-local-pcl_winners #page-wrapper,
body.path-local.path-local-pcl_winners #page,
body.path-local.path-local-pcl_winners #page-content,
body.path-local.path-local-pcl_winners #region-main-box,
body.path-local.path-local-pcl_winners #region-main,
body.path-local.path-local-pcl_winners #region-main > div[role="main"] {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
}

body.path-local.path-local-pcl_winners #page {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

body.path-local.path-local-pcl_winners #page.drawers {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

body.path-local.path-local-pcl_winners #page.drawers .main-inner {
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
}

body.path-local.path-local-pcl_winners #topofscroll {
    margin-left: var(--pcl-sidebar-width, 285px) !important;
    width: calc(100% - var(--pcl-sidebar-width, 285px)) !important;
    max-width: calc(100% - var(--pcl-sidebar-width, 285px)) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

body.path-local.path-local-pcl_winners.pcl-sidebar-collapsed #topofscroll {
    margin-left: var(--pcl-sidebar-collapsed-width, 84px) !important;
    width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px)) !important;
    max-width: calc(100% - var(--pcl-sidebar-collapsed-width, 84px)) !important;
}

body.path-local.path-local-pcl_winners #page-content,
body.path-local.path-local-pcl_winners #region-main-box,
body.path-local.path-local-pcl_winners #region-main,
body.path-local.path-local-pcl_winners #region-main > div[role="main"],
body.path-local.path-local-pcl_winners .pcl-winners-shell {
    padding-left: 0 !important;
}

body.path-local.path-local-pcl_winners #page-header {
    margin-top: 0.75rem !important;
}

body.path-local.path-local-pcl_winners #page-content,
body.path-local.path-local-pcl_winners #region-main-box,
body.path-local.path-local-pcl_winners #region-main,
body.path-local.path-local-pcl_winners #region-main > div[role="main"],
body.path-local.path-local-pcl_winners .pcl-winners-shell {
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.path-local.path-local-pcl_winners {
    scrollbar-gutter: auto !important;
}

@media (max-width: 768px) {
    body.path-local.path-local-pcl_winners #topofscroll {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_winners #page-content,
    body.path-local.path-local-pcl_winners #region-main-box,
    body.path-local.path-local-pcl_winners #region-main,
    body.path-local.path-local-pcl_winners #region-main > div[role="main"],
    body.path-local.path-local-pcl_winners .pcl-winners-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-local.path-local-pcl_winners .performanceinfo.siteinfo,
    body.path-local.path-local-pcl_winners .performanceinfo.siteinfo.container-fluid,
    body.path-local.path-local-pcl_winners .footer-content-debugging .performanceinfo.siteinfo {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    body.path-local.path-local-pcl_winners .footer-content-debugging {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    body.path-local.path-local-pcl_winners .footer-content-debugging .container-fluid.footer-dark-inner,
    body.path-local.path-local-pcl_winners .footer-content-debugging .container-fluid.footer-dark-inner > .performanceinfo.siteinfo.container-fluid.px-md-0.overflow-auto.pt-3 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-inline: 0 !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
}

/* Landing page mobile layout override to ensure content fills viewport */
@media (max-width: 768px) {
    body.path-local.path-local-pcl_landing #page,
    body.path-local.path-local-pcl_landing #page.drawers,
    body.path-local.path-local-pcl_landing #page-wrapper,
    body.path-local.path-local-pcl_landing #page #region-main,
    body.path-local.path-local-pcl_landing #region-main-box,
    body.path-local.path-local-pcl_landing #page-content,
    body.path-local.path-local-pcl_landing #topofscroll,
    body.path-local.path-local-pcl_landing #portals {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Permanent admin override: ensure admin pages do not receive local page top padding.
   Placed at end so it loads after the shared rules and mirrors the temporary console fix. */
body.path-admin #page-wrapper,
body.path-admin #page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* My courses pages already have the shell offset applied via #topofscroll.
   Do not add a second left margin to #region-main or the content will drift
   away from the sidebar and leave a blank strip on the left. */
@media (min-width: 992px) {
    body.path-my #region-main,
    body.path-my.pcl-sidebar-collapsed #region-main,
    body.page-mycourses #region-main,
    body.page-mycourses.pcl-sidebar-collapsed #region-main,
    body.path-my.pagelayout-mycourses #region-main,
    body.path-my.pagelayout-mycourses.pcl-sidebar-collapsed #region-main {
        margin-left: 0 !important;
    }

    /* Keep the My Courses shell header pinned so it does not scroll away with
       the page body when the sidebar is collapsed or expanded. */
    body.path-my nav.pcl-navbar,
    body.path-my nav.navbar.pcl-navbar,
    body.path-my .pcl-navbar,
    body.page-mycourses nav.pcl-navbar,
    body.page-mycourses nav.navbar.pcl-navbar,
    body.page-mycourses .pcl-navbar,
    body.path-my.pagelayout-mycourses nav.pcl-navbar,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar,
    body.path-my.pagelayout-mycourses .pcl-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1060 !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        min-height: 58px !important;
    }

    body.path-my nav.pcl-navbar > .container-fluid,
    body.path-my nav.navbar.pcl-navbar > .container-fluid,
    body.path-my .pcl-navbar > .container-fluid,
    body.page-mycourses nav.pcl-navbar > .container-fluid,
    body.page-mycourses nav.navbar.pcl-navbar > .container-fluid,
    body.page-mycourses .pcl-navbar > .container-fluid,
    body.path-my.pagelayout-mycourses nav.pcl-navbar > .container-fluid,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar > .container-fluid,
    body.path-my.pagelayout-mycourses .pcl-navbar > .container-fluid {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        min-height: 58px !important;
    }

    body.path-my nav.pcl-navbar .navbar-brand,
    body.path-my nav.navbar.pcl-navbar .navbar-brand,
    body.path-my .pcl-navbar .navbar-brand,
    body.page-mycourses nav.pcl-navbar .navbar-brand,
    body.page-mycourses nav.navbar.pcl-navbar .navbar-brand,
    body.page-mycourses .pcl-navbar .navbar-brand,
    body.path-my.pagelayout-mycourses nav.pcl-navbar .navbar-brand,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar .navbar-brand,
    body.path-my.pagelayout-mycourses .pcl-navbar .navbar-brand {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: auto !important;
        max-width: none !important;
        z-index: 4 !important;
    }

    body.path-my nav.pcl-navbar .navbar-brand img,
    body.path-my nav.navbar.pcl-navbar .navbar-brand img,
    body.path-my .pcl-navbar .navbar-brand img,
    body.page-mycourses nav.pcl-navbar .navbar-brand img,
    body.page-mycourses nav.navbar.pcl-navbar .navbar-brand img,
    body.page-mycourses .pcl-navbar .navbar-brand img,
    body.path-my.pagelayout-mycourses nav.pcl-navbar .navbar-brand img,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar .navbar-brand img,
    body.path-my.pagelayout-mycourses .pcl-navbar .navbar-brand img {
        display: block !important;
        height: clamp(32px, 4vw, 50px) !important;
        max-height: none !important;
        width: auto !important;
    }

    body.path-my nav.pcl-navbar .navbar-toggler,
    body.path-my nav.navbar.pcl-navbar .navbar-toggler,
    body.path-my .pcl-navbar .navbar-toggler,
    body.page-mycourses nav.pcl-navbar .navbar-toggler,
    body.page-mycourses nav.navbar.pcl-navbar .navbar-toggler,
    body.page-mycourses .pcl-navbar .navbar-toggler,
    body.path-my.pagelayout-mycourses nav.pcl-navbar .navbar-toggler,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar .navbar-toggler,
    body.path-my.pagelayout-mycourses .pcl-navbar .navbar-toggler,
    body.path-my nav.pcl-navbar #usernavigation,
    body.path-my nav.navbar.pcl-navbar #usernavigation,
    body.path-my .pcl-navbar #usernavigation,
    body.page-mycourses nav.pcl-navbar #usernavigation,
    body.page-mycourses nav.navbar.pcl-navbar #usernavigation,
    body.page-mycourses .pcl-navbar #usernavigation,
    body.path-my.pagelayout-mycourses nav.pcl-navbar #usernavigation,
    body.path-my.pagelayout-mycourses nav.navbar.pcl-navbar #usernavigation,
    body.path-my.pagelayout-mycourses .pcl-navbar #usernavigation {
        position: relative !important;
        z-index: 5 !important;
    }

    body.path-my .pcl-user-menu,
    body.page-mycourses .pcl-user-menu,
    body.path-my.pagelayout-mycourses .pcl-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        position: relative !important;
        z-index: 5 !important;
    }

    body.path-my .pcl-user-menu .pcl-user-button,
    body.page-mycourses .pcl-user-menu .pcl-user-button,
    body.path-my.pagelayout-mycourses .pcl-user-menu .pcl-user-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 38px !important;
        padding: 0 1rem !important;
        border-radius: 999px !important;
        line-height: 1 !important;
        font-size: 0.95rem !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    body.path-my .pcl-user-menu .pcl-user-button:hover,
    body.path-my .pcl-user-menu .pcl-user-button:focus,
    body.page-mycourses .pcl-user-menu .pcl-user-button:hover,
    body.page-mycourses .pcl-user-menu .pcl-user-button:focus,
    body.path-my.pagelayout-mycourses .pcl-user-menu .pcl-user-button:hover,
    body.path-my.pagelayout-mycourses .pcl-user-menu .pcl-user-button:focus {
        background: rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
    }

    body.path-my #page-wrapper,
    body.page-mycourses #page-wrapper,
    body.path-my.pagelayout-mycourses #page-wrapper {
        padding-top: 58px !important;
    }

    body.path-my:not(.pcl-sidebar-collapsed) #topofscroll,
    body.page-mycourses:not(.pcl-sidebar-collapsed) #topofscroll,
    body.path-my.pagelayout-mycourses:not(.pcl-sidebar-collapsed) #topofscroll {
        margin-left: 285px !important;
        width: calc(100vw - 285px) !important;
        max-width: calc(100vw - 285px) !important;
    }

    body.path-my.pcl-sidebar-collapsed #topofscroll,
    body.page-mycourses.pcl-sidebar-collapsed #topofscroll,
    body.path-my.pagelayout-mycourses.pcl-sidebar-collapsed #topofscroll {
        margin-left: 84px !important;
        width: calc(100vw - 84px) !important;
        max-width: calc(100vw - 84px) !important;
        padding-left: var(--pcl-sidebar-content-gap, 1rem) !important;
        padding-inline-start: var(--pcl-sidebar-content-gap, 1rem) !important;
    }
}

/* Keep admin pages flush to the right edge when the PCL sidebar is open.
   The general admin layout still carries Bootstrap-style right guttering in a
   few nested wrappers, so remove that padding in the open-sidebar state only. */
@media (min-width: 992px) {
    body.path-admin:not(.pcl-sidebar-collapsed) #page.drawers,
    body.path-admin:not(.pcl-sidebar-collapsed) #page.drawers .main-inner,
    body.path-admin:not(.pcl-sidebar-collapsed) #topofscroll,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content > .container-fluid,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content .container,
    body.path-admin:not(.pcl-sidebar-collapsed) #page-content .container-fluid,
    body.path-admin:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-admin:not(.pcl-sidebar-collapsed) #region-main,
    body.path-admin:not(.pcl-sidebar-collapsed) #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.path-admin:not(.pcl-sidebar-collapsed) #page.drawers {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.path-admin:not(.pcl-sidebar-collapsed) #topofscroll {
        margin-left: 285px !important;
        width: calc(100vw - 285px - 16px) !important;
        max-width: calc(100vw - 285px - 16px) !important;
        padding-right: 16px !important;
    }

    body.path-admin.pcl-sidebar-collapsed #topofscroll {
        margin-left: 0 !important;
        width: calc(100vw - 84px - 16px) !important;
        max-width: calc(100vw - 84px - 16px) !important;
        padding-right: 16px !important;
    }

    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page-wrapper #page #topofscroll,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page.drawers #topofscroll {
        margin-left: calc(285px + 16px) !important;
        width: calc(100vw - 285px - 16px) !important;
        max-width: calc(100vw - 285px - 16px) !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page-wrapper #page #topofscroll,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page.drawers #topofscroll {
        margin-left: calc(84px + 16px) !important;
        width: calc(100vw - 84px - 16px) !important;
        max-width: calc(100vw - 84px - 16px) !important;
        padding-right: 0 !important;
    }

    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page.drawers .main-inner,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page-content,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page-content > .container,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #page-content > .container-fluid,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #region-main-box,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #region-main,
    body.path-local.path-local-pcl_landing-admin:not(.pcl-sidebar-collapsed) #region-main > div[role="main"],
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page.drawers .main-inner,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page-content,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page-content > .container,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #page-content > .container-fluid,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #region-main-box,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #region-main,
    body.path-local.path-local-pcl_landing-admin.pcl-sidebar-collapsed #region-main > div[role="main"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}

@media (max-width: 768px) {
    body.path-local-pcl-questcollect .pcl-questcollect-page,
    body.path-local_pcl_questcollect .pcl-questcollect-page {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
        padding-left: 1.5rem !important;
        padding-right: 1rem !important;
        box-sizing: border-box !important;
    }

    body.path-local-pcl-questcollect #page-wrapper #page #page-content,
    body.path-local_pcl_questcollect #page-wrapper #page #page-content,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main-box,
    body.path-local_pcl_questcollect #page-wrapper #page #region-main-box,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main,
    body.path-local_pcl_questcollect #page-wrapper #page #region-main,
    body.path-local-pcl-questcollect #page-wrapper #page #region-main > div[role="main"],
    body.path-local_pcl_questcollect #page-wrapper #page #region-main > div[role="main"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
}
