:root {
    --biru        : #002060;
    --biru-langit : #0a3d91;
    --kuning      : #F9A936;
    --abu         : #636e72;
}

.pkp_structure_page * {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif !important;
}

.fa {
    font: normal normal normal 14px/1 FontAwesome !important;
}

.pkp_brand_footer {
    display: none;
}

.pkp_site_name {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pkp_site_name > a {
    padding-top: 0;
    padding-bottom: 0;
}

.pkp_site_name .is_img img {
    max-height: 200px !important;
}

.pkp_site_name_wrapper {
    padding-left: 0;
    padding-right: 0;
}

.pkp_navigation_user_wrapper {
    top: 0;
    right: 0;
    padding-right:30px;
}

.pkp_navigation_primary.pkp_nav_list {
    border-right: white;
    border-right: 1px;
    color: white !important;
}

.pkp_navigation_primary_row {
    background: var(--biru);
    font-weight: bold;
    color: white !important;
}

.pkp_navigation_primary_row :hover {
    font-weight: bold;
}

.pkp_structure_page {
    margin-top: 20px !important;
    margin-bottom:20px !important;
    padding-bottom: 20px !important;
}

.pkp_block {
    border-bottom: 1px solid #e3e3e3;
}

#customblock-menukanan .content p:nth-child(10) {
    border-bottom: 1px solid #e3e3e3;
}

/* SUBMISSION BUTTON */

a.block_make_submission_link {
    padding: 5px 46px !important;
}

/* MISC */

.image-tools {
    max-width: 120px;
    margin: 0 auto;
}

.pkp_block .content p,
.pkp_block .content li {
    text-decoration: none !important;
    display: block !important;
}

.pkp_block .content a {
    padding: 4px 0;
    height: 40px;
    line-height: 32px;
}

.pkp_block .content li,
.pkp_block .content p {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    margin-top: 0px;
    border-bottom: 3px solid;
    border-bottom-color: white;
    transition: 0.4s ease-in-out;
    margin-bottom: 2px;
    font-weight: bold;
}

.pkp_block .content a:hover {
    border-bottom-color: var(--biru);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
    font-weight: 700;
    color: var(--biru-langit) !important;
}

.pkp_block .title,
span.title,
.pkp_block .content p:first-child {
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    display: block;
    border-radius: 3px;
    color: #555555;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.image-index {
    max-height: 45px;
    width: auto;
    padding: 3px;
    border: 2px solid var(--kuning);
    margin: 3px 3px;
    background-color: white;
    box-shadow: 3px 3px 3px rgba(68, 68, 68, 0.6);
}

.image-collaboration {
    background-color: white;
    max-width: 120px;
    margin: 0 auto;
}

.pkp_structure_page {
    margin: 0px !important;
    background: #e1e1e1;
}

.pkp_structure_head {
    background-color: #e1e1e1;
    border: 0px;
}

.pkp_head_wrapper {
    padding: 0px;
}

.pkp_site_name .is_img {
    width: 100%;
    margin: 0px;
    overflow: hidden;
}

.pkp_site_name .is_img img {
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    object-fit: cover;
    margin: 0px -10px;
}

.pkp_structure_content {
    background: #ffffff;
    padding-top: 0px;
    box-sizing: border-box;
}

.pkp_page_index .journals>ul>li:first-child {
    border-top: 0px;
}

.pkp_navigation_primary_wrapper {
    padding: 0px 2.143rem;
}

html {
    background: #e1e1e1;
}

.pkp_structure_main:before {
    width: 0px;
}

.pkp_block .content ul li {
    padding: 0px;
}

#customblock-contacts .content p:not(:first-child) {
    padding-left: 40px;
    position: relative;
    line-height: 35px;
}

#customblock-contacts .content p:not(:first-child) img {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

#customblock-social .content {
    text-align: center;
}

#customblock-social .content p {
    display: flex !important;
    justify-content: space-evenly;
    height: 70px;
}

#customblock-social .content p a {
    padding: 0px;
    display: block;
}

.pkp_structure_footer_wrapper {
    background: #e1e1e1;
    padding-bottom: 50px;
}

.pkp_footer_content {
    background: #002060;
}

.pkp_footer_content p {
    text-align: center;
}

.pkp_footer_content p a {
    color: #FFFFFF;
}

#customblock-logo .content p {
    text-align: center;
}

#customblock-logo {
    border-bottom: 0px;
    padding-bottom: 0px;
}

#customblock-crossref {
    padding-top: 0px;
}

#customblock-crossref p {
    text-align: center;
}

.pkp_structure_content ul li,
.pkp_structure_content ol li {
    margin-bottom: 10px;
}

.pkp_structure_content ul li:last-child,
.pkp_structure_content ol li:last-child {
    margin-bottom: 0px;
}

/* TABLES */

.pkp_structure_content table {
    border-spacing: 0px;
    width: 100%;
}

.pkp_structure_content table tr td {
    border-left: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
    padding: 5px 15px;
}

.pkp_structure_content table tr td p,
.pkp_structure_content table tr td div {
    margin: 0px 0px 10px !important;
}

.pkp_structure_content table tr td p:last-child,
.pkp_structure_content table tr td div:last-child {
    margin: 0px 0px 0px !important;
}

.pkp_structure_content table tbody tr:last-child td {
    border-bottom: 1px solid #e3e3e3;
}

.pkp_structure_content table tr td:last-child {
    border-right: 1px solid #e3e3e3;
}

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

.pkp_navigation_primary>li>a:hover {
    color: #fff;
    border-color: #ffffff;
}

.pkp_navigation_primary>li>a:focus {
    color: #fff;
    background-color: transparent;
}

/* MOBILE */

@media (max-width: 768px) {

    .pkp_head_wrapper {
        padding-right: 0px !important;
    }

    .pkp_site_name_wrapper {
        display: flex;
        justify-content: space-between;
        height: auto;
        align-items: center;
        background: #002060;
    }

    .pkp_site_nav_toggle {
        position: relative;
        flex-shrink: 0;
    }

    .pkp_site_nav_toggle>span {
        border-bottom: 2px solid #fff;
    }

    .pkp_site_nav_toggle>span:before {
        top: 1px;
    }

    .pkp_site_nav_toggle>span:after {
        top: 9px;
    }

    .pkp_site_nav_toggle>span:before,
    .pkp_site_nav_toggle>span:after {
        height: 2px;
        background: #FFFFFF;
    }

    .pkp_site_name {
        position: relative;
        box-sizing: border-box;
        left: 0px;
        padding-left: 0px;
    }

    .pkp_site_name a {
        vertical-align: bottom;
    }

    .pkp_site_name .is_img img {
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        margin: 0px;
    }

    .pkp_structure_footer {
        padding: 0px;
    }

    #customblock-contacts {
        border-top: 1px solid #e3e3e3;
    }

    .pkp_navigation_primary_wrapper {
        padding: 15px 20px;
    }

    .pkp_navigation_primary_wrapper ul.pkp_navigation_primary li a {
        padding: 0px;
        line-height: 24px;
    }

    .pkp_navigation_primary_wrapper ul.pkp_navigation_primary > li > a {
        font-size: 16px;
    }

    .pkp_navigation_primary_wrapper ul.pkp_navigation_primary > li > ul {
        padding-left: 25px;
    }

    .page_index_journal .additional_content {
        display: flex;
        flex-direction: column;
        border-top: 0px;
    }

    .pkp_structure_main .homepage_about p,
    .page_index_journal .additional_content p {
        margin-left: 0px !important;
    }

    .pkp_structure_main .homepage_about p img {
        float: none !important;
    }
}

/* ORCID FIX */

.orcid_unauthenticated,
.orcid-unauthenticated,
span[class*="unauthenticated"],
a[href*="orcid.org"] + span {
    display: none !important;
}
/* ВИПАДАЮЧЕ МЕНЮ — БІЛИЙ ФОН, БЕЗ ПІДСВІТКИ ФОНУ */
.pkp_navigation_primary ul {
    background-color: #ffffff !important;
    border-top: 3px solid var(--biru) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pkp_navigation_primary ul li a {
    color: var(--biru) !important; /* Початковий синій колір тексту */
    background-color: transparent !important; /* Фон завжди прозорий */
    padding: 10px 20px !important;
    transition: color 0.3s ease; /* Плавна зміна кольору тексту */
}

.pkp_navigation_primary ul li a:hover {
    color: var(--biru-langit) !important; /* Колір тексту при наведенні */
    background-color: transparent !important; /* Жодної підсвітки фону */
    text-decoration: underline; /* Опціонально: можна додати підкреслення, щоб було зрозуміло, що це посилання */
}