/*
 * Stylesheet gabungan Q2LII untuk JLIK dan JLIPM
 * - Mempertahankan seluruh CSS jurnal yang aktif pada 31 Juli 2026
 * - Menambahkan efek sapuan hijau pada 14 item Quick Menu JLIK
 * - Menambahkan efek sapuan hijau pada 14 item ABOUT JLIPM
 */

/* =========================================================
   CSS JURNAL YANG SUDAH AKTIF
   ========================================================= */

.journals ul .body .description a {
	display: inline;
}

html,
body,
* {
	font-family: helvetica, calibri;
}

body {
	background-image: url("https://img.freepik.com/free-vector/hand-drawn-vintage-floral-pattern_79603-1671.jpg");
}

#headerNavigationContainer {
	max-height: 200% !important;
}

.obj_issue_toc .articles > li {
	margin-bottom: 20px;
	border-bottom: solid darkseagreen;
	padding: 1rem;
	border-radius: 0rem 2rem;
	box-shadow: rgb(123, 199, 87) 0.4rem 0.4rem 0.3rem;
	background: url("https://img.freepik.com/free-vector/hand-drawn-vintage-floral-pattern_79603-1671.jpg") 0% 0% repeat scroll transparent !important;
}

.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_structure_page {
	margin-top: 20px !important;
}

.container > ul {
	list-style: none;
}

.dropdown {
	position: relative;
}

.dropdown a {
	text-decoration: none;
}

.dropdown [data-toggle="dropdown"] {
	display: block;
	color: white;
	background: rgb(70, 130, 180);
	box-shadow: rgb(31, 58, 147) 0 1px 0 inset, rgb(31, 58, 147) 0 -1px 0 inset;
	text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
	padding: 10px;
}

.dropdown [data-toggle="dropdown"]:hover {
	background: rgb(205, 61, 46);
}

.dropdown [data-toggle="dropdown"]::before {
	position: absolute;
	display: block;
	content: "▼";
	font-size: 0.7em;
	color: rgb(255, 255, 255);
	top: 13px;
	right: 10px;
	transform: rotate(0deg);
	transition: transform 0.6s;
}

.dropdown > .dropdown-menu {
	max-height: 0;
	overflow: hidden;
	list-style: none;
	padding: 0;
	margin: 0;
	transform: scaleY(0);
	transform-origin: 50% 0%;
	transition: max-height 0.6s ease-out;
	animation: 0.4s ease-out 0s 1 normal none running hideAnimation;
}

.dropdown > .dropdown-menu li {
	padding: 0;
}

.dropdown > input[type="checkbox"] {
	opacity: 0;
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.dropdown > input[type="checkbox"]:checked ~ .dropdown-menu {
	max-height: 9999px;
	display: block;
	transform: scaleY(1);
	animation: 0.5s ease-in-out 0s 1 normal none running showAnimation;
	transition: max-height 2s ease-in-out;
}

.dropdown > input[type="checkbox"]:checked + a[data-toggle="dropdown"]::before {
	transform: rotate(-180deg);
	transition: transform 0.6s;
}

@keyframes showAnimation {
	0% {
		transform: scaleY(0.1);
	}
	40% {
		transform: scaleY(1.04);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.02);
	}
	100% {
		transform: scaleY(1);
	}
}

@-webkit-keyframes showAnimation {
	0% {
		transform: scaleY(0.1);
	}
	40% {
		transform: scaleY(1.04);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.02);
	}
	100% {
		transform: scaleY(1);
	}
}

@keyframes hideAnimation {
	0% {
		transform: scaleY(1);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.02);
	}
	100% {
		transform: scaleY(0);
	}
}

@-webkit-keyframes hideAnimation {
	0% {
		transform: scaleY(1);
	}
	60% {
		transform: scaleY(0.98);
	}
	80% {
		transform: scaleY(1.02);
	}
	100% {
		transform: scaleY(0);
	}
}

* {
	box-sizing: border-box;
}

.column2 {
	float: left;
	width: 33%;
	padding: 10px;
}

.row2::after {
	content: "";
	display: table;
	clear: both;
}

@media screen and (max-width: 600px) {
	.column2 {
		width: 100%;
	}
}

.pkp_footer_content {
	float: left;
	width: 70%;
	padding-top: 10px;
	padding-bottom: 10px;
}

.pkp_brand_footer {
	display: none;
}

/* =========================================================
   EFEK QUICK MENU: SAPUAN HIJAU DARI KIRI KE KANAN
   ========================================================= */

:root {
	--jlik-menu-green: #008000;
	--jlik-menu-gold: #e5c000;
	--jlik-menu-text: #4b7d92;
	--jlik-menu-speed: 0.3s;
}

/*
 * Selector URL membatasi efek hanya pada 14 tautan internal Quick Menu.
 * Blok E-ISSN, Partnership, Template, Tools, dan gambar tidak terpengaruh.
 */
.pkp_structure_sidebar #customblock-menu p:has(> a[href*="/index.php/JLIK/"]) {
	border: 2px solid var(--jlik-menu-gold) !important;
	background: #fff !important;
	overflow: hidden;
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"] {
	position: relative !important;
	z-index: 0;
	isolation: isolate;
	display: block !important;
	margin: -9px !important;
	padding: 9px !important;
	overflow: hidden;
	color: var(--jlik-menu-text) !important;
	text-decoration: none !important;
	transition: color var(--jlik-menu-speed) ease-out;
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--jlik-menu-green);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--jlik-menu-speed) ease-out;
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:hover::before,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:focus-visible::before,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:active::before {
	transform: scaleX(1);
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:hover,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:hover *,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:focus-visible,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:focus-visible *,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:active,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:active * {
	color: #fff !important;
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"] .fa {
	display: inline-block;
	transform: scale(1);
	transform-origin: center;
	transition: transform var(--jlik-menu-speed) ease-out;
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:hover .fa,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:focus-visible .fa,
.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:active .fa {
	transform: scale(1.3);
}

.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
	.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"],
	.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"]::before,
	.pkp_structure_sidebar #customblock-menu a[href*="/index.php/JLIK/"] .fa {
		transition-duration: 0.01ms !important;
	}
}

/* =========================================================
   EFEK MENU JLIPM: STRUKTUR TABEL ABOUT JLIPM
   ========================================================= */

:root {
	--jlipm-menu-green: #008000;
	--jlipm-menu-gold: #e5c000;
	--jlipm-menu-text: #4b7d92;
	--jlipm-menu-speed: 0.3s;
}

/*
 * JLIPM memakai tabel, bukan paragraf seperti JLIK. Selector ini hanya
 * mengenai 14 sel yang berisi tautan menu teks dan mengabaikan tombol
 * Submit Your Article serta seluruh tautan bergambar.
 */
.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]) {
	position: relative !important;
	z-index: 0;
	isolation: isolate;
	overflow: hidden;
	padding: 0 !important;
	border: 2px solid var(--jlipm-menu-gold) !important;
	background: #fff !important;
}

.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"])::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--jlipm-menu-green);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--jlipm-menu-speed) ease-out;
}

.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]):hover::before,
.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]):focus-within::before,
.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]):active::before {
	transform: scaleX(1);
}

.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]) > span,
.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"]) > span > strong {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
}

.pkp_structure_sidebar #customblock-Sidebar td > span > strong > a[href*="/index.php/JLIPM/"] {
	position: relative;
	z-index: 1;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 35px;
	padding: 7px 8px;
	color: var(--jlipm-menu-text) !important;
	text-decoration: none !important;
	transition:
		color var(--jlipm-menu-speed) ease-out,
		transform var(--jlipm-menu-speed) ease-out;
}

.pkp_structure_sidebar #customblock-Sidebar td:hover > span > strong > a[href*="/index.php/JLIPM/"],
.pkp_structure_sidebar #customblock-Sidebar td:focus-within > span > strong > a[href*="/index.php/JLIPM/"],
.pkp_structure_sidebar #customblock-Sidebar td:active > span > strong > a[href*="/index.php/JLIPM/"] {
	color: #fff !important;
	transform: translateX(3px);
}

.pkp_structure_sidebar #customblock-Sidebar td > span > strong > a[href*="/index.php/JLIPM/"]:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
	.pkp_structure_sidebar #customblock-Sidebar td:has(> span > strong > a[href*="/index.php/JLIPM/"])::before,
	.pkp_structure_sidebar #customblock-Sidebar td > span > strong > a[href*="/index.php/JLIPM/"] {
		transition-duration: 0.01ms !important;
	}
}
