@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Javanese:wght@400..700&display=swap');

:root {
	--jeemce-color: #01347c;
	--jeemce-color: #33540f; /* DEBUG  */
	--main-background: #F0F2F7;
	--main-blue-dark: #01347C;
	--main-blue-light: #D5DEFE;
	--main-blue: #2F5CD0;
	--main-outline-color: #CFCFCF;
	--bg-card: #FAFAFA;
	--disabled-color: #BDC1C6;
	/* --bs-primary: #b635ee; */

	--header-table-color: #F2F3F4;

	--main-font: "Nunito", sans-serif;
}

@font-face {
	font-family: "Ngayogyan";
	src: url(../fonts/custom/Ngayogyan.ttf);
}

body{
	font-family: var(--main-font);
	height: fit-content;
}

.javanese_font{
	font-family: "Ngayogyan";
}

.image-wrapper.bg-overlay:before{
	background: var(--main-background);
}

.bg_main_section{
	background-color: var(--main-background);
}

.bg_primary{
background-color: var(--main-blue);
}

.bg-theme {
	background-color: var(--jeemce-color);
}

.bg_card{
	background-color: var(--bg-card);
}

.fg-theme {
	color: var(--jeemce-color);
}

.bg_blue_light{
	background-color: var(--main-blue-light);

}

.w-fit-content{
	width: fit-content!important;
}

.uu_icon_container {
	display: flex;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	color: #414141;
	background-color: var(--main-blue-light);
	align-items: center;
	justify-content: center;
}

.text-justify{
	text-align: justify;
}

.object-fit-cover{
	object-fit: cover;
}

/* ===== GLOBAL TABLE ===== */
.custom_table, .custom_table tr{
	border: 1px solid #CFCFCF;
}

.custom_table thead{
	background-color: var(--header-table-color);
	border: 1px solid #CFCFCF
}

.custom_table thead tr th {
	padding: 10px!important;
}
/* ===== END GLOBAL TABLE ===== */

/* ===== HEADER ===== */
header .nav-item .nav-link:hover,
header .nav-item .dropdown-item:hover{
	color: var(--main-blue)!important;
}

.navbar .navbar-collapse .nav-link.active,
.navbar .navbar-collapse .nav-link:focus,
.navbar .navbar-collapse .nav-link:hover,
.navbar .navbar-collapse .show>.nav-link,
header .dropdown-item.active{
	color: var(--main-blue) !important;
}

.navbar .navbar-collapse .nav-link, .navbar .navbar-collapse .dropdown-menu .dropdown-item, .nav-link.dropdown-toggle.show{
	color: #414141;
}

.navbar.caret-none .navbar-nav:not(.sm-collapsible) .nav-link .sub-arrow{
	display: inline-block;
}

.dropdown-menu.show .nav-item .dropdown-item{
	width: max-content;
}

header .header_title p {
	margin-bottom: 3px;
}

@media screen and (max-width: 425px) {
	header .navbar-brand img{
		width: 22px;
		object-fit: contain;
	}

	header .header_title p{
		font-size: 10px!important;
	}

	.navbar-toggler-icon{
		width: 1.1em;
		height: 1.1em;
	}

	.navbar-brand{
		padding: 0.5rem 0!important;
	}

	header .nav-item .nav-link{
		font-size: .7rem;
	}
}

@media screen and (max-width: 375px) {
	header .navbar-brand img {
		width: 16px;
	}

	header .header_title p {
		font-size: 8px !important;
	}
}

@media screen and (max-width: 350px) {
	header .navbar-brand img {
		width: 25px;
	}

	header .header_title p {
		display: none;
	}
}

@media screen and (max-width: 320px){
	header .header_title p {
		font-size: 8px !important;
	}
}

/* ===== END HEADER ===== */

/* ===== TABS ===== */
.nav-tabs .nav-item .nav-link{
	border-radius: 0;
}
/* ===== END TABS ===== */

/* ===== PAGINATION ===== */
.pagination{
	gap: 8px;
}

.pagination .page-link {
	border: 1px solid var(--main-outline-color);
	border-radius: 4px !important;
	padding: 6px;
	width: 2rem;
	height: 2rem;
}

.pagination .page-item.active .page-link{
	color: white;
	background-color: var(--main-blue);
}

.pagination .page-item.prev.disabled .page-link, .pagination .page-item.next.disabled .page-link{
	color: white;
	background-color: var(--disabled-color);
}
/* ===== END PAGINATION ===== */

/* ===== HERO ===== */
#hero-carousel .carousel-item::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
}

.search_hero_container{
	bottom: 50px;
}

#btn_advanced_search{
	cursor: pointer;
	border: none;
	background: transparent;
}
/* ===== END HERO ===== */

/* ===== UU HOME */
.card_uu .btn{
	padding: 6px 8px;
	font-size: 14px;
}

.card_uu .post-meta li:before{
	display: none;
}

.card_uu .post-meta li:first-of-type {
	margin-right: 8px;
}
/* ===== END UU HOME */

/* ==== LINK TERKAIT HOME */
/* .link_terkait_img{
	width: 100%;
	height: 100%;
	object-fit: contain;
} */

.link_terkait_img img{
	height: 80px;
	max-width: 95px;
	object-fit: contain;
}

.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal{
	transform: translateY(16px);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
	background-color: var(--main-blue);
}
/* ==== END LINK TERKAIT HOME */

/* ===== FOOTER ====== */
.main_footer{
	padding: 80px 45px 110px;
	background-color: #E7EDFB;
}

.main_footer span{
	font-size: 0.75rem;
}

.main_footer ul {
	list-style-type: none;
	padding: 0;
}

.main_footer .dropdown-item{
	padding: 0;
}

.main_footer .nav-item .dropdown-item{
	font-size: 0.785rem;
	font-weight: 500;
}

.footer_logo{
	width: 52px;
	height: 54px;
	object-fit: contain;
}

.sub_footer{
	background-color: var(--main-blue-dark);
	color: white;
	font-size: 0.7rem;
}
/* ===== END FOOTER ===== */

/* ===== PRODUK HUKUM ===== */
.breadcrumb_produk_hukum > * > *{
	font-size: 0.75rem;
	justify-content: center;
	margin-bottom: 24px !important;
}

.search_list_produk_hukum{
	width: 50%;
}
/* ===== END PRODUK HUKUM ===== */

/* ===== JARING ASMRARA */
.table_saran{
	border: 1px solid #CFCFCF;
}

.table_saran thead{
	background-color: #F2F3F4;
	border: 1px solid #CFCFCF;
}

.table_saran thead tr th {
	padding: 10px;
}

.table_saran tbody tr{
	border-bottom: 1px solid #CFCFCF;
}
/* ===== END JARING ASMRARA */

/* ===== FORM SARAN ===== */
.form_saran .form-label {
	color: #414141;
	font-size: 0.8rem;
}

.invalid-feedback {
	font-size: .8rem;
}
/* ===== END FORM SARAN ===== */

/* ===== INDEX BERITA ===== */
.berita > div {
	display: flex;
	flex-direction: row;
	gap: 12px;
}

.berita:not(:nth-child(-n + 2)) > div{
	display: flex;
	border: 1px solid var(--main-outline-color);
	border-radius: 5px;
}

.berita:not(:nth-child(-n + 2)) .berita_img{
	width: 220px;
	height: 150px;
	object-fit: cover;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.berita:not(:nth-child(-n + 2)) .berita_body {
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.berita:not(:nth-child(-n + 2)) .desc {
	display: none;
}

.berita:not(:nth-child(-n + 2)) .berita_tanggal, .berita:not(:nth-child(-n + 2)) .berita_btn_selengkapnya{
	display: block;
}

.berita:nth-child(-n + 2) > div{
	flex-direction: column;
}

.berita:nth-child(-n + 2) .berita_img{
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

.berita:nth-child(-n + 2) .berita_tanggal{
	position: absolute;
	right: 1rem;
	top: -2.4rem;
	border-radius: 4px;
	font-size: 0.8rem;
	color: white;
	background-color: var(--main-blue);
	padding: 8px 30px;
}

.berita:nth-child(-n + 2) .berita_btn_selengkapnya {
	font-weight: bold;
}
/* ===== END INDEX BERITA ===== */

/* ===== VIEW BERITA ===== */
.berita_terkait_img{
	width: 105px;
	height: 105px;
	object-fit: cover;
	border-radius: 10px;
}

.berita_terkait_judul{
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ===== END VIEW BERITA ===== */

/* ===== INDEX PRESTASI ===== */
.prestasi_img img{
	width: 120px;
	height: 88px;
	object-fit: cover;
	border-radius: 18px;
}

.prestasi_content p{
	margin-bottom: 0;
}
/* ===== END INDEX PRESTASI ===== */

.peraturan_icon_container{
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background-color: var(--main-blue-light);
}

.nav-link[data-bs-toggle="tab"] {
	color: var(--main-blue);
	background-color: transparent;
	outline: 2px solid var(--main-blue);
}

.nav-link.active[data-bs-toggle="tab"]{
	color: white;
	background-color: var(--main-blue);
}

.content-auto-width img{
	max-width: 100%!important;
	height: auto!important;
}

.tema-button-icon{
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.card-download-app{
	border: 0;
	background: linear-gradient(90deg, #7695DB 0%, #4675DD 100%);
	color: white!important;
}

.download-app-img{
	width: 100%;
	max-width: 300px;
	height: auto;
	object-fit: contain;
	margin-top: -150px;
}

.google-play-logo{
	width: 100%;
	max-width: 130px;
	object-fit: contain;
}

.download-app-img::after{
	content: '';
	position: absolute;
	width: 300px;
	height: 300px;
	background-color: rgba(21, 64, 159, 1);
	left: -20px;
	bottom: -20px;
}

.ikm-section{
	color: white;
}

.ikm-img{
	bottom: 0;
	right: 0;
}

.ikm-nilai{
	font-size: 2rem;
	color: white;
}

.ikm-icon{
	font-size: 2.25rem;
}

.ikm-responden{
	font-size: 1.25rem;
	font-weight: 600;
}

.btn-navigation{
	display: flex;
	width: 32px;
	height: 32px;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 20px;
	border: 2px solid rgba(85, 85, 85, 1);
}

.btn-navigation .icon-slide{
	margin: auto;
	color: rgba(85, 85, 85, 1);
}

.btn-navigation.swiper-button-disabled{
	border: 2px solid rgb(155, 155, 155);
}

.btn-navigation.swiper-button-disabled .icon-slide{
	color: rgb(155, 155, 155);
}

.video-thumbnail{
	position: relative;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.video-thumbnail::after{
	content: '';
	position: absolute;
	display: inline-block;
	top: 50%;
  	left: 50%;
  	transform: translate(-50%, -50%);
	width: 26px;
	height: 26px;
	background-color: rgba(0, 191, 255, 1);
}

.berita-thumbnail{
	width: 100%;
	aspect-ratio: 20 / 9;
	max-height: 450px;
	object-fit: contain;
	border-radius: 4px;
	/* background-color: rgba(141, 172, 240, 0.568); */
}

.berita-gambar{
	width: 100%;
	aspect-ratio: 20 / 9;
	object-fit: cover;
}

@media (min-width:800px) and (max-width:1200px){
	.navbar .navbar-collapse .nav-link{
		padding-left: 0.3rem;
		padding-right: 0.3rem;
	}
	.navbar-brand h1{
		font-size: 1rem;
	}
}

@media screen and (max-width: 768px) {
	.dropdown-menu.show{
		background-color: transparent;
		box-shadow: none;
	}

	.main_footer {
		padding: 40px;
	}

	.search_list_produk_hukum {
		width: 60%;
	}

	.berita:not(:nth-child(-n + 2)) > div {
		flex-direction: column;
	}

	.berita:not(:nth-child(-n + 2)) .berita_img{
		border-radius: 0;
		width: 100%;
	}

	.berita:nth-child(-n + 2) .berita_tanggal{
		padding: 5px 25px;
	}

	.berita:not(:nth-child(-n + 2)) .berita_body {
		padding: 0 10px 10px;
	}

	.page-header-title{
		font-size: 24px;
	}

	.ikm-img{
		width: 225px;
		height: auto;
	}
}

@media screen and (max-width: 425px) {
	.navbar-brand{
		padding: 0.6rem 0!important;
	}

	.page-header-title{
		font-size: 20px;
	}

	.page-header-desc{
		font-size: 15px;
	}

	#hero_container{
		height: 106vh!important;
	}

	.search_hero_container {
		bottom: 24px;
	}

	#advanced_search.aktif > div:first-of-type{
		flex: 0 0 auto;
		width: 100%;
	}

	#advanced_search div:last-child{
		width: 100%;
		margin-top: 9px;
	}

	.search_hero_container #advanced_search .form-control, .search_hero_container #advanced_search .form-select{
		padding: 9px 12px;
	}

	.search_hero_container #advanced_search .btn{
		padding: 7px 20px;
	}

	.btn_tema{
		width: 100%;
	}

	.main_footer{
		padding: 28px 16px;;
	}

	.search_list_produk_hukum {
			width: 100%;
	}

	.berita:nth-child(-n + 2) .berita_tanggal{
		top: -2.3rem;
		padding: 5px 20px;	
	}

	.content-auto-width img {
		float: none!important;
	}

	.prestasi_img img {
		width: 100%;
		height: 190px;
	}

	.download-app-img{
		margin-top: 0;
		width: 200px;
	}
}


/* Effect */
.card.zoom-effect .card-img-container{
	overflow: hidden;
}

.card.zoom-effect .card-img-container img{
	transition: all .2s;
}

.card.zoom-effect .card-img-container img:hover{
	transform: scale(1.2);
}