/*!
 *  OJS StyleSheet by @dimartarmizi
 */

@import url('https://fonts.googleapis.com/css2?family=Lora&family=Source+Serif+Pro&display=swap');

:root {
    --bg-header-image-url: url("./homepageImage_en_US.jpg");
    --bg-body-image-url: url("https://ejournal.indrainstitute.id/public/uploads/others/images/background_albahts.webp");
    --bg-image-article-summary-url: url("./_backgroundArticleSummary.webp");
    --first-color: #7B4A2E;
    --secondary-color: #C8A05A;
    --third-color: #FFD23F;
}

html,
body {
    background-image: var(--bg-body-image-url);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/*!
  *  Other Configuration
  */

.pkp_structure_footer_wrapper {
    border-top: 5px solid var(--first-color);
}

.description_summary {
    border: 3px var(--secondary-color) solid;
    padding: 5px;
    background-color: var(--first-color);
    text-align: left;
    color: white;
    margin-bottom: 30px;
}

@media (min-width:320px) and (max-width:991px) {
    .pkp_site_name {
        text-align: center;
    }

    .pkp_site_name_wrapper {
        background: none;
    }

    .pkp_structure_head {
        background-image: var(--bg-header-image-url);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (min-width: 992px) {
    .pkp_site_name {
        /* padding for background */
        padding-top: 0;
        padding-bottom: 0;
    }

    .pkp_site_name_wrapper {
        background-image: var(--bg-header-image-url);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

        /* padding for background */
        padding-left: 0;
        padding-right: 0;
    }

    .pkp_site_name .is_img {
        /* padding for background */
        margin-top: 0;
        margin-bottom: 0;
    }

    #navigationPrimary>li>a {
        color: white;
    }

    #navigationPrimary>li>a:hover {
        color: var(--secondary-color);
    }

    .pkp_navigation_primary_row {
        background: rgb(8, 60, 87);
        background: linear-gradient(0deg, var(--first-color) 0%, var(--secondary-color) 100%);
    }

    .pkp_navigation_search_wrapper a {
        color: white;
    }

    .pkp_navigation_search_wrapper a:hover,
    .pkp_navigation_search_wrapper a:focus {
        color: var(--secondary-color);
    }
}

/*!
  *  End of Other Configuration
  */


.pkp_page_index .current_issue .section:last-child {
    margin-bottom: 30px;
}

.pkp_page_index .homepage_image {
    display: none;
}

.pkp_brand_footer {
    display: none;
}

/* !!!!!!!!!!!!!!!!!!!!!!!!!! */
/* Media Screen Configuration */
/* !!!!!!!!!!!!!!!!!!!!!!!!!! */

@media (min-width:320px) and (max-width:991px) {
    button.pkp_site_nav_toggle {
        background: var(--first-color);
        border-radius: 5px;
        top: 5px;
        left: 5px;
    }

    .pkp_head_wrapper {
        height: 100px;
    }

    .pkp_site_name .is_img img {
        max-height: 90px;
    }

    .description-container {
        flex-direction: column;
    }

    .journal_thumbnail {
        align-self: center;
    }

    .journal_thumbnail>img.thumbnail {
        max-height: 250px;
    }
}

@media screen and (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: fit-content;
    }
}

.obj_article_summary {
    background-image: var(--bg-image-article-summary-url);
    border: 1px solid var(--first-color);
    padding: 15px;
    border-radius: 15px 0px 15px 0px;
    padding-bottom: 15px !important;
    box-shadow: 3px 3px 4px #212121;
}

/* table-style-configuration*/
table.hover {
    border: 2px solid var(--first-color);
}

.hover {
    width: 100%;
    border-collapse: collapse
}

.hover th {
    height: 35px;
    background: #ffffff;
    color: var(--first-color);
}

.hover td {
    height: 30px;
    padding-top: 3px;
    vertical-align: middle;
    border-bottom: 1px solid #ffffff;
    text-align: center;
}

.hover td a {
    width: 100%;
    display: block;
}

.hover tr {
    background: rgb(8, 60, 87);
    background: linear-gradient(90deg, var(--first-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
}

.hover tr:hover {
    background: rgb(8, 60, 87);
    background: linear-gradient(90deg, var(--first-color) 0%, var(--third-color) 100%);
}

.hover tr a {
    color: #ffffff;
}

.hover a:hover {
    color: #ffffff;
}


/* homepage content configuration */
.description-container {
    display: flex;
    gap: 15px;
}

.journal_description {
    margin-top: -1.5em;
}

.journal_thumbnail {
    flex-shrink: 0;
    flex-basis: 25%;
}

/* |---------------------| */
/* |  Font Configuration | */
/* |---------------------| */

.pkp_site_name,
.pkp_site_name .is_text,
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
#navigationPrimary a,
.pkp_navigation_search_wrapper a,
.pkp_navigation_user_wrapper a,
.pkp_page_index .current_issue .current_issue_title,
.obj_issue_summary .title,
.obj_issue_summary .series,
.obj_article_details .main_entry .item .label,
.obj_article_details .subtitle,
.pkp_block .title {
    font-family: 'Lora', serif;
}

.pkp_structure_main h1 {
    font-size: 1.2rem;
}

html,
body,
.cmp_breadcrumbs,
.cmp_pagination,
.cmp_announcements .read_more,
.obj_article_details .entry_details .item .label,
.obj_article_details .citation_display .citation_formats_button,
.obj_article_details .item .label,
.obj_article_details .authors,
.obj_article_details .doi,
.pkp_page_index .current_issue .read_more,
.page_search .search_advanced>legend,
.obj_issue_toc .heading .pub_id,
.obj_issue_toc .heading .published,
.obj_issue_toc .pages,
.obj_article_summary>.title,
.obj_article_summary .subtitle,
.cmp_manuscript_button,
.block_make_submission a,
.obj_galley_link,
button,
input,
optgroup,
select,
textarea {
    font-family: 'Source Serif Pro', sans-serif;
    font-size: 1rem;
}

.page_index_journal {
    display: flex;
    flex-direction: column;
}

.additional_content {
    order: 1;
}

.homepage_image {
    order: 2;
}

.current_issue {
    order: 3;
}

.additional_content>h2 {
    margin-top: 0;
}

p.block_header {
    background: var(--first-color);
    color: white;
    border-radius: 5px;
    text-align: center;
    padding: 5px 0px 5px 0px;
}

img.thumbnail {
    border-radius: 5px;
}

.cmp_article_list>li {
    margin-bottom: 1.5rem;
}


.journal_description>p {
    text-align: justify;
}