/*
==========================================================================
NZPM-MAIN.css CSS for NZPM. Updated May 2026
==========================================================================
*/

/*
========================================================================== 1.
GLOBAL / BASE STYLES
==========================================================================
*/

body { font-size: 16px; }

a { color: #260273; }

a:hover, a:focus { color: #3a07f2; }

/*
==========================================================================
2. LAYOUT / STRUCTURE
==========================================================================
*/

.pkp_structure_content { overflow: hidden; }

@media (min-width: 992px) { .pkp_structure_content { padding-top: 0; } }

/*
==========================================================================
3. HEADER / BANNER
==========================================================================
*/

#headerNavigationContainer { background-color: #fff; background-size:
cover; height: auto; padding-top: 0px; }

#headerNavigationContainer .pkp_head_wrapper .pkp_site_name_wrapper
.pkp_site_name { text-align: center; }

#headerNavigationContainer .pkp_head_wrapper .pkp_site_name_wrapper
.pkp_site_name .is_text { font-size: 18px; }

/* — Desktop banner (992px and above) — */

@media (min-width: 992px) { .pkp_site_name_wrapper { padding-bottom:
1rem; }

    .pkp_site_name .is_img img {
        display: block;
        max-width: 100%;
        max-height: unset;
        width: auto;
        height: auto;
        margin: 0px auto 20px auto;
    }

}

/* — Mobile / Tablet banner (below 992px) — */

@media (max-width: 991px) {

    /* Reset the fixed 40px height wrapper */
    .pkp_site_name_wrapper {
        height: auto !important;
        position: relative !important;
    }

    /* Pull site name out of absolute positioning */
    .pkp_site_name {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        padding-top: 50px !important;
        padding-left: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: center !important;
        max-width: 100% !important;
        line-height: normal !important;
    }

    /* Allow the link wrapper to behave as block */
    .pkp_site_name .is_img {
        display: block !important;
        overflow: visible !important;
    }

    /* Let the image scale proportionally to full width */
    .pkp_site_name .is_img img {
        max-height: none !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Ensure parent containers don't clip */
    .pkp_head_wrapper,
    .pkp_structure_head {
        overflow: visible !important;
        height: auto !important;
    }

}

/*
==========================================================================
4. PRIMARY NAVIGATION
==========================================================================
*/

.pkp_site_nav_menu { background: rgba(0, 0, 4, 0); }

.pkp_site_nav_menu a { color: #260273; }

.pkp_site_nav_menu a:hover { color: #260273; }

.pkp_navigation_primary_row { text-align: center; }

.pkp_navigation_primary ul a { color: #260273; }

.pkp_navigation_primary [aria-haspopup] ul a:focus,
.pkp_navigation_primary [aria-haspopup] ul a:hover, .pkp_nav_list ul
a:hover, .pkp_nav_list ul a:focus { border-color: #260273; }

.pkp_navigation_primary > li > a { color: #fff; }

/* Override Search link to white */ .pkp_navigation_search_wrapper a {
color: #fff !important; }

/* — Desktop primary nav overrides (992px+) — */

@media (min-width: 992px) { .pkp_nav_list ul a { color: #260273; }

    .pkp_nav_list ul a:hover,
    .pkp_nav_list ul a:focus {
        outline: 0;
        background: #ddd;
        border-color: #260273;
        color: #260273;
    }

    .pkp_navigation_primary > li > a:hover {
        color: #f285eb;
        outline: 0;
        border-color: #9706bf;
    }

    .pkp_navigation_primary > li > a:focus {
        background: #fff;
        color: #fff;
        outline: 0;
    }

    .pkp_navigation_primary .dropdown-menu a:focus,
    .pkp_navigation_primary .dropdown-menu a:hover {
        border-color: #260273;
        color: #260273;
    }

    .pkp_navigation_search_wrapper a:hover {
        color: #000;
        outline: 0;
        border-color: #fff;
        text-decoration: none;
    }

}

/* Square navigation bar */

@media (min-width: 992px) { .pkp_navigation_primary_wrapper {
background: #140126c6; border-radius: 0; max-width: 100%; margin: 0
auto; padding: 0.25rem 1.5rem; } }

/*
==========================================================================
5. HOMEPAGE — ABOUT / OVERLAP FIXES
==========================================================================
*/

/* Fix overlapping on smaller portrait screens */

@media (max-width: 436px) and (orientation: portrait) { .pkp_page_index
.homepage_about h2 { margin-top: 20px; padding-top: 20px; clear: both; }
}

/*
==========================================================================
6. SIDEBAR
==========================================================================
*/

.pkp_structure_sidebar { background: #ede9e8; padding-bottom: 99999px;
margin-bottom: -99999px; }

/*
==========================================================================
7. BUTTONS
==========================================================================
*/

/* All button-style elements — sharp square, consistent sizing */

.cmp_button, .cmp_form .buttons button, .pkp_head_wrapper .pkp_search
button, .page_lost_password .buttons button, .page_search .submit
button, .obj_article_details .citation_display form
input[type=“submit”], .block_make_submission a, .obj_galley_link,
.sidebar_search_button { display: inline-block; padding: 8px 20px;
background: #260273; border: 1px solid #ccc; border-radius: 0;
box-shadow: none; font-size: 16px; line-height: 1.42857143; font-weight:
400; color: #FFFFFF; text-decoration: none; }

/* Button hover / focus states */

.cmp_button_wire:hover, .cmp_button_wire:focus, .obj_galley_link:hover,
.obj_galley_link:focus, .block_make_submission a:hover,
.block_make_submission a:focus, .sidebar_search_button:hover,
.sidebar_search_button:focus, .page_search .submit button:hover,
.page_search .submit button:focus { background: #9706bf; color: #FFFFFF;
}

/* Hide the PDF / file type icon on galley buttons */

.obj_galley_link::before { display: none !important; content: none
!important; background-image: none !important; }

/* Hide the magnifying glass icon on search buttons */

.pkp_head_wrapper .pkp_search button::before, .pkp_head_wrapper
.pkp_search button::after, .sidebar_search_button::before,
.sidebar_search_button::after, .page_search .submit button::before,
.page_search .submit button::after { display: none !important; content:
none !important; }

/* Ensure search button text is visible */

.pkp_head_wrapper .pkp_search button, .sidebar_search_button,
.page_search .submit button { font-size: 16px; text-indent: 0; overflow:
visible; background-image: none !important; }

/*
==========================================================================
8. CURRENT ISSUE
==========================================================================
*/

.pkp_page_index .current_issue .read_more { display: inline-block;
position: relative; padding-right: 2.143rem; font-size: .93rem;
font-weight: 700; line-height: 2.143rem; color: #3a07f2;
text-decoration: none; margin-bottom: 1.43rem; }

.pkp_page_index .current_issue .read_more:hover, .pkp_page_index
.current_issue .read_more:focus { color: #9706bf; }

@media (min-width: 992px) { .obj_issue_toc .section { margin: -40px
-30px; } }

/*
==========================================================================
9. MOBILE MENU
==========================================================================
*/

@media (max-width: 767px) {

    /* Menu background */
    .pkp_head_wrapper .pkp_site_nav_menu,
    .pkp_head_wrapper nav,
    #pkp-navigation-primary,
    #pkp-navigation-user,
    .header_navigation_container {
        background-color: #260273 !important;
    }

    /* Left-align all menu text */
    .pkp_navigation_primary li,
    .pkp_navigation_primary a,
    .pkp_navigation_primary ul li,
    .pkp_navigation_primary ul a,
    .pkp_navigation_user li,
    .pkp_navigation_user a,
    .pkp_navigation_user ul li,
    .pkp_navigation_user ul a,
    #pkp-navigation-primary li,
    #pkp-navigation-primary a,
    #pkp-navigation-user li,
    #pkp-navigation-user a {
        text-align: left !important;
    }

    /* Text colour for mobile menu items */
    .pkp_navigation_primary a,
    .pkp_navigation_user a,
    #pkp-navigation-primary a,
    #pkp-navigation-user a {
        color: #ffffff !important;
    }

    /* Hover state */
    .pkp_navigation_primary a:hover,
    .pkp_navigation_primary a:focus,
    .pkp_navigation_user a:hover,
    .pkp_navigation_user a:focus {
        background-color: #260273 !important;
        color: #ffffff !important;
    }

    /* The admin / user label text */
    .pkp_navigation_user > li > span,
    .pkp_navigation_user .pkp_screen_reader {
        color: #ffffff !important;
        text-align: left !important;
    }

    /* Search link */
    .pkp_search a,
    .pkp_head_wrapper .pkp_search a {
        color: #ffffff !important;
        text-align: left !important;
    }

}

/*
==========================================================================
10. FOOTER
==========================================================================
*/

.tuwhera_footer { font-size: 14px; padding: 20px; }

.pkp_brand_footer { display: none; }
