@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root{
	--primary-color:#30336b;
    --primary-hover-color:#333762;
    --sidebar-width: 18rem;
    --sidebar-background:#30336b;
}
body{
	font-family: 'Poppins', sans-serif;
}
.navbar-brand{
	min-height: 55px;
}
.sidebar{
	border: none;
	box-shadow: none!important;
	background: var(--sidebar-background);
	z-index: 99999;
}
#sidebar-menu{
	background: var(--sidebar-background);
}
#sidebar-menu .nav-item{
	width: 100%;
	align-items: flex-start;
}
#sidebar-menu .nav-link{
	border-radius: 10px;
	width: 100%;
	display: flex;
	justify-content: flex-start;
	color:#fff;
	padding:14px 15px;
}
#sidebar-menu .nav-link.dropdown-toggle:after{
	margin-left: auto;
}
#sidebar-menu .nav-link.active{
	background: #0002;
	color: #fff;
}
#sidebar-menu .nav-link:hover{
	background: #0002;
}
#sidebar-menu .dropdown-item{
	padding-left: 3.5rem;
	border-radius: 10px;
}
#sidebar-menu .dropdown-item.active{
	font-weight: bold;
	background: none;
}
#sidebar-menu .dropdown-menu{
	position: relative;
	width: calc(100% - 20px);
	background: none;
	box-shadow: none;
	border:none;
	border-left: 1px dashed #fff3;
	margin-left: 20px!important;
}
#sidebar-menu .dropdown-menu .dropdown-item{
	color:#fffa;
	padding:8px 15px 8px 25px;
	position: relative;
	border-radius: 0;
}
#sidebar-menu .dropdown-menu .dropdown-item:before{
	content: "";
	position: absolute;
	top:50%;
	left:0;
	width: 15px;
	border-bottom: 1px dashed #fff3;
	transform: translateY(-50%);
}
#sidebar-menu .dropdown-menu .dropdown-item:hover,
#sidebar-menu .dropdown-menu .dropdown-item.active{
	color:#fff;
}
.table td{
	font-size: 14px;
	border-color: #f5f5f5;
}
.table thead tr:last-child th{
	border: none!important;
}
.table.no-footer{
	border: none!important;
}
.table .btn{
	padding-left: .5rem;
	padding-right: .5rem;
}
.note-toolbar.card-header{
	flex-wrap: wrap;
}
.bg-transparent-white{
	background: #fff1;
}

/* DATATABLE CUSTOM */
.dataTables_wrapper .dataTables_paginate .paginate_button{
	padding: 0!important;
	background: none!important;
	border: none!important;
}

.form-switch-text{
	position: relative;
	display: flex;
	border-radius: 5px;
	overflow: hidden;
}
.form-switch-text input{
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	opacity: 0;
}
.form-switch-text .switch-item{
	background: var(--primary-color);
	padding: 5px 10px;
	font-size: .8rem;
	color: #fff;
	font-weight: bold;
}
.form-switch-text input.form-check-input~.switch-item-on{
	background: #eee;
	color: #aaa;
}
.form-switch-text input.form-check-input:checked~.switch-item-off{
	background: var(--primary-color);
	color: #fff;
}
.form-switch-text input.form-check-input:checked~.switch-item-on{
	background: var(--primary-color);
	color: #fff;
}
.form-switch-text input.form-check-input:checked~.switch-item-off{
	background: #eee;
	color: #aaa;
}

.form-switch-toggle .form-check-label{
	display: none;
}
.form-switch-toggle .form-check-label.off{
	display: block;
}
.form-switch-toggle .form-check-input:checked~.form-check-label.on{
	display: block;
}
.form-switch-toggle .form-check-input:checked~.form-check-label.off{
	display: none;
}
.sticky-bottom{
	position: sticky;
	position: -webkit-sticky;
	bottom: 0;
}
#navbar{
	transition: .3s ease;
	background: #fff;
	box-shadow: 0px 5px 20px -10px #0001;
	z-index: 9999;
}
#navbar.float{
	background: #fffa;
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.text-tetap{
	color:#2ecc71!important;
}
.text-sementara{
	color:#f1c40f!important;
}
.text-na{
	color:#ddd!important;
}
.col-data-low{
	background: #FFD6D2!important;
}
.col-data-medium{
	background: #FFFBE8!important;
}
.col-data-high{
	background: #C5FFDD!important;
}
.swiper-pagination-bullet-active{
	background: #fff!important;
}
.sidebar-toggler{
	width: 24px;
	height: 24px;
	border:none;
	padding:0;
	background: none;
}
.sidebar-toggler .sidebar-icon{
	height: 2px;
	background: #333;
	display: block;
	border-radius: 100px;
	position: relative;
}
.sidebar-toggler .sidebar-icon:before,
.sidebar-toggler .sidebar-icon:after{
	content: "";
	position: absolute;
	top:-8px;
	right:0;
	width: 100%;
	height: inherit;
	background: inherit;
	transition: .3s ease;
}
.sidebar-toggler .sidebar-icon:after{
	top:8px;
}
body.sidebar-collapse .sidebar-toggler .sidebar-icon:before,
body.sidebar-collapse .sidebar-toggler .sidebar-icon:after{
	width: 70%;
}
.avatar{
	object-fit: cover;
}
div:where(.swal2-container){
	z-index: 10600!important;
}
.modal-backdrop{
	z-index: 10600!important;	
}
.modal{
	z-index: 10700!important;		
}
.table-action{
	white-space: nowrap;
	width: 50px;
}
.select2 .select2-selection__rendered{
	font-size: .875rem;
}
.btn-icon .bi{
	font-size: 18px;
}
.form-control[disabled],textare[disabled],select[disabled]{
	background: #eee;
}
.cycle-time-graph{
	display: flex;
	flex-wrap: nowrap;
}
.cycle-time-graph .step{
	text-align: center;
	position: relative;
	width: 100%;
}
.cycle-time-graph .step:before{
	content: "";
	position: absolute;
	top:14px;
	left:0;
	right:0;
	height: 5px;
	background: #ddd;
}
.cycle-time-graph .step:after{
	content: attr(data-duration);
	position: absolute;
	top:-8px;
	right:0;
	transform: translateX(50%);
	text-align: center;
	font-size: 12px;
}
.cycle-time-graph .step:first-child:before{
	left:50%;
}
.cycle-time-graph .step:last-child:before{
	right:50%;
}
.cycle-time-graph .step .circle{
	width: 30px;
	height: 30px;
	border: 4px solid #ddd;
	border-radius: 50%;
	background: #eee;
	display: block;
	margin:0 auto;
	position: relative;
	z-index: 10;
}
.cycle-time-graph .step .label{
	font-size: 12px;
	margin:5px 0;
}
.cycle-time-graph .step.active .circle{
	background: lime;
	border-color:var(--primary-color);
}
.cycle-time-graph .step.active:before{
	background: var(--primary-color);
}
@media (min-width: 992px){
	.sidebar{
		width: var(--sidebar-width)!important;
	}
	.navbar-expand-lg.navbar-vertical~.navbar, .navbar-expand-lg.navbar-vertical~.page-wrapper{
		margin-left: var(--sidebar-width)!important;
	}
	body.sidebar-collapse .sidebar{
		display: block;
		transform: translateX(-100%);
	}
	body.sidebar-collapse .navbar-expand-lg.navbar-vertical~.navbar, 
	body.sidebar-collapse .navbar-expand-lg.navbar-vertical~.page-wrapper{
		margin-left: 0!important;
	}
}
@media (max-width: 768px){
	.sidebar{
		min-height: 0;
		padding:0;
	}
	.cycle-time-graph{
		flex-direction: column;
	}
	.cycle-time-graph .step{
		text-align: left;
		display: flex;
		gap:15px;
		padding:15px 0px;
	}
	.cycle-time-graph .step:before{
		position: absolute;
		top:0;
		bottom:0;
		left:12px;
		right:auto;
		width: 5px;
		height: auto;
	}
	.cycle-time-graph .step:first-child{
		padding-top:0;
	}
	.cycle-time-graph .step:last-child{
		padding-bottom:0;
	}
	.cycle-time-graph .step:first-child:before{
		top:50%;
		left: 12px;
	}
	.cycle-time-graph .step:last-child:before{
		bottom:50%;
		left: 12px;
		right:0;
	}
	.cycle-time-graph .step:after{
		top:100%;
		left:45px;
		right:auto;
		transform:translateY(-50%);
	}
	.cycle-time-graph .step .circle{
		margin:0;
	}
}
