/*
NEW THEME COLOUR FOR KONF, SEMB, MENG, AKTIF:
TOTAL | d_blue: rgba(52, 73, 94, .7) | #34495E
MENG | red: rgba(231, 76, 60, .7)    | #E74C3C
SEMB | green: rgba(26, 188, 156, .7) | #1ABC9C
AKTF | orange: rgba(243, 156, 18, .7)| #F39C12
*/

body {
	font-family: "Roboto", sans-serif;
}

.diff-ks {
	white-space: nowrap;
}

.card {
	overflow: hidden
}

.anchor {
	position: absolute;
	margin-top: -4rem;
}

.flbet {
	display: flex;
	justify-content: space-between;
	align-items: center
}

#ClosedCasesToday,
#NewCasesToday,
#SembCasesToday {
	padding-left: 1.25rem;
	margin-bottom: 0;
	list-style-type: square
}

#ClosedCasesToday li:hover::after,
#NewCasesToday li:hover::after,
#SembCasesToday li::after:hover {
	content: "a";
	display: block;
	position: absolute;
	margin-top: -.5rem;
	border-bottom: 1px solid;
}

.fw-500 {
	font-weight: 500
}

.fs-14 {
	font-size: 14px
}

.child-badge-fs1rem .badge {
	font-size: 1rem;
}

#TambahanInfo {
	z-index: 1079;
	position: sticky;
	bottom: 0;
	max-height: 20vh;
	overflow-y: auto;
	margin-bottom: 0;
}

#MapContainer {
	height: 500px;
	max-height: 75vh;
	cursor: grab;
	scrollbar-width: none;
	background: #C6ECFF;
}

#MapContainer::-webkit-scrollbar {
	display: none;
}

#MapContainer:active {
	cursor: grabbing;
}

#MapContainer svg {
	overflow: auto;
	width: 100%;
}

#MapContainer svg path:not(.no-select) {
	cursor: pointer;
	transition: .5s;
}

#MapContainer svg path:not(.no-select):not(.kab_selected):hover {
	filter: brightness(1.1) contrast(1.1);
}

#MapLegend {
	z-index: 1;
	position: absolute;
	left: .5rem;
	bottom: .5rem;
	width: 250px;
}

#MapNav .dropdown-item {
	padding: .2rem .75rem;
	font-size: .875rem;
}

#MapNav .dropdown-header {
	padding: .3rem .75rem;
}

#MapNav {
	position: absolute;
	bottom: .5rem;
	right: .5rem;
	width: 316px;
	z-index: 0;
	white-space: nowrap;
	display: flex;
}

#MapHeader {
	position: absolute;
	top: .5rem;
	left: .5rem;
	right: .5rem;
	margin-bottom: 0;
	z-index: 1;
	text-align: center;
	line-height: 1.25
}

#MapIndLeg {
	position: absolute;
	bottom: 3rem;
	right: .5rem;
	width: 316px;
	user-select: none;
}

#MapIndLeg>div {
	line-height: 1;
	display: flex;
	justify-content: space-between;
	position: relative;
	font-size: 80%;
}

#MapIndLeg>div span:nth-child(2) {
	position: absolute;
	width: 100%;
	text-align: center
}

#MapIndCol {
	height: .5rem;
	border-radius: .25rem
}

#MapMobileNav {
	display: none
}

/*.ping-shake{animation:shake .75s cubic-bezier(.36,.07,.19,.97)}
@keyframes shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(3px)}30%,50%,70%{transform:translateX(-6px)}40%,60%{transform:translateX(6px)}}*/

#meta_dist>div {
	height: 500px;
	display: flex;
	flex-direction: column
}

#tbl_noupdate td:last-child {
	text-align: right;
	white-space: nowrap;
}

#tbl_noupdate td {
	vertical-align: top;
	font-size: 14px
}

#tbl_noupdate tr:not(:last-child) {
	border-bottom: 1px solid #dee2e6
}

/* Full screen peta */
#peta_supercont.map-fs {
	position: fixed!important;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1991
}

.map-fs #MapContainer {
	max-height: 100vh;
	height: 100vh
}

/* ShareThis */
.st-btn {
	display: inline-block!important;
}

.sharethis-inline-share-buttons {
	z-index: 1!important
}

.btn-share {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 14px;
	margin-left: .5rem
}

/* iD2_imgcar */
.flickity-prev-next-button:disabled {
	display: none;
}

.flickity-fullscreen-button {
	transform: scale(1.25);
}

.flickity-fullscreen-button:focus {
	box-shadow: 0 0 0 4px #19f;
}

#iD2_imgcar {
	margin: 0 -.5rem;
	user-select: none;
}

.imgcar-cont {
	width: 33.33%;
	padding: .5rem .5rem 1rem .5rem;
	cursor: zoom-in;
}

.imgcar-box {
	pointer-events: none;
	height: 250px;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
	border-radius: .25rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.imgcar-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#iD2_imgcar.is-fullscreen {
	width: 100vw;
	height: 100vh;
	z-index: 1080;
	margin: 0;
	padding-bottom: 0;
}

#iD2_imgcar.is-fullscreen .flickity-viewport {
	pointer-events: none;
}

#iD2_imgcar.is-fullscreen .imgcar-cont {
	cursor: default;
	width: 100%;
	height: 100%;
}

#iD2_imgcar.is-fullscreen .imgcar-box {
	height: 100%;
	box-shadow: none;
	border-radius: 0;
}
#iD2_imgcar.is-fullscreen .imgcar-box img {
	width: auto;
	height: auto;
	max-width: calc(100vw - 1rem);
	max-height: calc(100vh - 1rem);
	object-fit: contain;
}

/* Box iD2 */

.box3_1 {
	height: calc(50% - .5rem);
	margin-bottom: 1rem
}

.box3_2 {
	height: calc(50% - .5rem)
}

#tbl_noupdate {
	width: 100%;
	max-width: 300px;
	margin: 0 auto .5rem;
}

@media (min-width: 768px) and (max-width: 991.98px) {
	.box3_1 {
		height: 100%;
		margin-bottom: 0
	}
	.box3_2 {
		height: 100%;
		margin-right: .75rem
	}
}

@media (max-width : 991.98px) {
	.imgcar-cont {
		width: 50%;
	}
}

@media (max-width: 767.98px) {
	#meta_dist>div {
		height: auto
	}
	#MapLegend {
		position: static;
		border-radius: 0;
		width: calc(100% + 2px);
		margin: 0 -1px;
		overflow: hidden
	}
	#MapContainer {
		max-height: 275px;
		height: 50vh
	}
	#MapIndLeg {
		position: static;
		width: calc(100% - 9rem);
		margin: -1.5rem .5rem .5rem 8.5rem
	}
	#MapNav {
		position: static;
		width: 100%;
		margin: -2.5rem .5rem 1rem
	}
	#MapMobileNav {
		display: block;
		position: absolute;
		right: .5rem;
		bottom: 126px;
		width: 54px;
		text-align: right
	}
	#MapNav .input-group {
		display: none
	}
	.map-fs #MapContainer {
		height: calc(100vh - 93px);
	}
}

@media (max-width: 576px) {
	.imgcar-cont {
		width: 100%;
	}
}

/* DARK MODE */
html.dark #MapContainer {
	background: #11394c;
}

html.dark #mapSVG_brand,
html.dark #mapSVG_source {
	fill: #245a74;
}

html.dark #mapSVG_laut {
	fill: #b8daff;
}

html.dark .mapSVG_labelKab {
    fill: var(--bs-light-alt);
}

html.dark .mapSVG_boxLabel>rect {
    fill: var(--bs-dark-alt);
}

html.dark .mapSVG_boxLabel>text {
    fill: var(--bs-white-alt);
}