/* =====================================================
   JURNAL PERTAMBANGAN
   FULL-WIDTH HEADER + INSET NAVIGATION
   ===================================================== */


/* =====================================================
   1. FULL-WIDTH HEADER
   ===================================================== */

/* Allow the header area to span the viewport */
.pkp_site_name_wrapper {
    width: 100vw !important;
    max-width: none !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 0 !important;
}


/* Site-name container */
.pkp_site_name {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Remove OJS image-size restrictions */
.pkp_site_name .is_img {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
}


/* Link around the banner */
.pkp_site_name .is_img a,
.pkp_site_name > a {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* Header/banner image */
.pkp_site_name .is_img img,
.pkp_site_name img {
    display: block !important;

    width: 100vw !important;
    max-width: none !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;
}


/* =====================================================
   2. NAVIGATION BAR
   DO NOT MAKE THIS FULL WIDTH INTERNALLY
   ===================================================== */

/* Teal navigation bar */
.pkp_navigation_primary_wrapper {
    background-color: #1E9192 !important;
}


/* Keep menu content inset */
.pkp_navigation_primary {
    max-width: 1320px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 30px !important;
    padding-right: 30px !important;
}


/* Menu text */
.pkp_navigation_primary > li > a {
    color: #ffffff !important;
}


/* Search */
.pkp_navigation_search_wrapper,
.pkp_navigation_search_wrapper a {
    color: #ffffff !important;
}


/* Hover */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffd700 !important;
}


/* =====================================================
   3. RESPONSIVE
   ===================================================== */

@media (max-width: 992px) {

    .pkp_site_name_wrapper {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .pkp_site_name .is_img img,
    .pkp_site_name img {
        width: 100vw !important;
        height: auto !important;
    }

    .pkp_navigation_primary {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}