/*!
 *  OJS StyleSheet by @dimartarmizi
 */

@import url('https://fonts.googleapis.com/css2?family=Assistant&family=Merriweather&display=swap');

:root {
    --bg-body-image-url: url("./bodyBackground.jpg");
    --bg-structure_head-url: url("./homepageImage_en_US.png");
    --bg-image-article-summary-url: url("./articleSummaryBackground.jpg");
    --primary-color: #004AAD;
    --accent-color: #4766A1;
}

html,
body {
    background-image: var(--bg-body-image-url);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.pkp_structure_head {
    background-image: var(--bg-structure_head-url);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pkp_site_name_wrapper {
    background: #0000;
}

.pkp_page_index .current_issue .section:last-child {
    margin-bottom: 30px;
}

.pkp_page_index .homepage_image {
    display: none;
}


/* !!!!!!!!!!!!!!!!!!!!!!!!!! */
/* Media Screen Configuration */
/* !!!!!!!!!!!!!!!!!!!!!!!!!! */

@media (min-width:320px) and (max-width:991px) {
    button.pkp_site_nav_toggle {
        background: var(--primary-color);
        border-radius: 5px;
        top: 5px;
        left: 5px;
    }

    .pkp_head_wrapper {
        height: 100px;
    }

    .pkp_site_name .is_img img {
        max-height: 90px;
    }

    .journal_thumbnail {
        display: none;
    }
}

@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);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	
    border: 1px solid var(--primary-color);
    padding: 15px;
    padding-bottom: 15px !important;
}

/* table-style-configuration*/
table.hover {
    border: 2px solid var(--primary-color);
}

.hover {
    width: 100%;
    border-collapse: collapse
}

.hover th {
    height: 35px;
    background: #ffffff;
    color: var(--primary-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: linear-gradient(90deg, rgba(0, 74, 173, 1) 0%, rgba(0, 160, 173, 1) 100%);
    color: #ffffff;
}

.hover tr:hover {
	background: linear-gradient(90deg, rgba(0,74,173,1) 0%, rgba(139,195,74,1) 100%);
}

.hover tr a {
    color: #ffffff;
}

.hover a:hover {
    color: #ffffff;
}

/* table at additional content configuration */
table#table_additional_content {
    background-image: var(--bg-header-image-url);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #00000070;
    padding: 15px;
    padding-bottom: 15px !important;
    box-shadow: 3px 3px 4px #212121;
}


/* homepage content configuration */
.description-container {
    display: flex;
    gap: 15px;

}

.journal_description {
    margin-top: -1.5em;
}

.journal_thumbnail {
    flex-shrink: 0;
    flex-basis: 25%;
}


/* animation configuration */
img.thumbnail:hover {
    animation: scaleUp 1s ease 0s 1 normal forwards;
}

img.shining {
    -webkit-mask-image: linear-gradient(45deg, #000 25%, rgba(0, 0, 0, .2) 50%, #000 75%);
    mask-image: linear-gradient(45deg, #000 25%, rgba(0, 0, 0, .2) 50%, #000 75%);
    -webkit-mask-size: 800%;
    mask-size: 800%;
    -webkit-mask-position: 0;
    mask-position: 0;
}

img.shining:hover {
    transition: mask-position 2s ease, -webkit-mask-position 2s ease;
    -webkit-mask-position: 120%;
    mask-position: 120%;
    opacity: 1;
}

@keyframes scaleUp {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
        transform: scale(1.05);
    }
}

@keyframes shadow {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}

	100% {
		box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.35);
	}
}

/* |---------------------| */
/* |  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: 'Merriweather', 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: 'Assistant', sans-serif;
    font-size: medium;
}