:root {
	--primary-color: #3674d9;
	--secondary-color: #5c6ac4;
	--danger-color: #e55c57;
	--success-color: #50b83c;
	--warning-color: #eec200;
	--teal-color: #46bdbb;
	--gray-100: #f7fafc;
	--gray-200: #edf2f7;
	--border-color: #e2e2e2;
	--border-color-2: #b6b6b6;
	--secondary-text: #b7b7b7;
	--header-color: #2f3447;
	--custom-red: #eb5757;
	--default-background: #f4f5fa;
	--custom-black-1: #212b36;
	--custom-black-2: #454f5b;
	--custom-gray-1: #637381;
	--white-2: #f4f6f8;
	--white-1: #f9fafb;
	--shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	--soft-primary-color: #d9edf7;
	--core-grey: #e2e2e2;
	--core-green: #9ecb42;
}

body,
html {
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica",
		"Arial", sans-serif;
	background-color: #fff;
	font-size: 14px;
	margin: 0px !important;
}

body {
	padding: 0px !important;
}

.app {
	height: 100vh;
}

.def-bg {
	background-color: var(--default-background);
}

.animated {
	animation-duration: 0.5s;
	animation-fill-mode: both;
	transition: all 0.5s;
}

.app-header {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--border-color);
	background-color: #fff;
}

.form-control {
	border: 1px solid var(--border-color);
	padding: 0.5rem 0.75rem;
}

.form-control:focus {
	box-shadow: none;
	border-color: var(--border-color);
}

.form-control::placeholder {
	color: var(--secondary-text);
	font-style: italic;
}

.text-primary {
	color: var(--primary-color) !important;
}
.text-secondary {
	color: var(--secondary-text);
}

.text-border {
	color: var(--border-color);
}

.border-0 {
	border: none;
}

.border-1 {
	border: 1px solid var(--border-color);
}

.border-2 {
	border: 2px solid var(--border-color);
}

.border-dark {
	border-color: #000;
}

.border-left-1 {
	border-left: 1px solid var(--border-color);
}

.border-right-1 {
	border-right: 1px solid var(--border-color);
}

.border-top-1 {
	border-top: 1px solid var(--border-color);
}

.border-bottom-1 {
	border-bottom: 1px solid var(--border-color);
}

.font-sm {
	font-size: 0.9rem;
}

.font-xs {
	font-size: 0.8rem;
}

.font-lg {
	font-size: 1.2rem;
}

.font-xl {
	font-size: 1.5rem;
}

.bg-primary {
	background-color: var(--primary-color) !important;
}

.bg-soft-primary {
	background-color: var(--soft-primary-color) !important;
}

.bg-gray {
	background-color: var(--gray-100);
}

.bg-green {
	background-color: #dff2bf !important;
}

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

.form-control {
	font-size: 13px;
	padding: 8px 10px;
	margin-top: 2px;
}

.no-scroll-bar {
	max-height: 70vh;
	overflow-y: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.no-scroll-bar::-webkit-scrollbar {
	display: none;
}

.btn-primary {
	background-color: var(--primary-color);
	color: #fff;
}

.btn-grey {
	background-color: var(--core-grey);
	color: #000;
}

.btn-grey:focus,
.btn-grey:focus-visible,
.btn-grey:active,
.btn-grey:hover {
	background-color: var(--core-grey) !important;
	border-color: var(--core-grey) !important;
	color: #000 !important;
}

.btn-green {
	background-color: var(--core-green) !important;
	color: #000 !important;
}

.btn-green:focus,
.btn-green:focus-visible,
.btn-green:active,
.btn-green:hover {
	background-color: var(--core-green) !important;
	border-color: var(--core-green) !important;
	color: #000 !important;
}

.btn-black {
	background-color: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}

.btn-black:focus,
.btn-black:focus-visible,
.btn-black:active,
.btn-black:hover {
	background-color: #000 !important;
	border-color: #000 !important;
	color: #fff !important;
}
.navbar-nav .nav-link.active {
	font-family: "SF UI Text Medium";
}

.navbar-nav .nav-link {
	font-size: 14px;
}

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

.fs-15 {
	font-size: 15px;
}

.medium {
	font-family: "SF UI Text Medium";
}

.semi-bold {
	font-family: "SF UI Text Semibold";
}

.bold {
	font-family: "SF UI Text Bold";
}

.border-bottom-core {
	border-bottom: 2px solid var(--core-blue);
}

.loader,
.overlay,
.loading {
	width: 100%;
	height: 100vh;
	z-index: 1059;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	background-color: #0003;
}

.overlay {
	background-color: #00000066;
}

.loading {
	background-color: #0009;
}

.loading .spinner-border {
	width: 70px;
	height: 70px;
	font-size: 40px;
	margin: 0 auto;
	color: #fff;
}

.loading span {
	margin-top: 15px;
	font-size: 20px;
	color: #fff;
}

.loader .spinner-border {
	border-width: 0.5rem;
	width: 3rem;
	height: 3rem;
}

.select2-container--default .select2-selection--multiple {
	min-height: 38px;
	border-radius: 0.375rem;
	border: 1px solid #ced4da;
}

.modal-dialog .select2-container--default {
	width: 100% !important;
}

.select2-container--default
	.select2-selection--multiple
	.select2-search__field {
	height: 26px;
}

.select2-container--default .select2-selection--single {
	height: 38px;
	border-radius: 0.375rem;
	border: 1px solid #ced4da;
}

.select2-results__option--selectable,
.select2-container--default .select2-selection--single {
	font-size: 1rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	height: 100%;
	align-items: center;
	display: flex;
}

.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	height: 100%;
}

.nav-link[disabled] {
	color: var(--core-grey);
}

.bg-white {
	background: #fff;
}

.bg-grey {
	background: var(--core-grey) !important;
}

.bg-light-grey {
	background: #f4f4f4 !important;
}

.bg-green-dark {
	background: var(--core-green);
}

.bg-yellow {
	background: #fff3cd !important;
}

.bg-blue-dark {
	background: var(--core-blue) !important;
	color: #fff !important;
}

.bg-blue {
	background: var(--core-bg-blue) !important;
}

.bg-light-red {
	background-color: #ffdada !important;
}

.bg-red {
	background: var(--core-bg-red) !important;
}

.text-grey {
	color: var(--core-grey) !important;
}

.text-green {
	color: var(--core-green) !important;
}

.text-red {
	color: red !important;
}

.bg-primary {
	background-color: #2b6edb !important;
	color: #fff !important;
	background-image: var(--bs-gradient) !important;
}

.text-light-red {
	color: var(--core-red) !important;
}

table.no-border > :not(caption) > * > * {
	border-bottom-width: 0;
}

.table-fixed-header thead tr td,
.table-fixed-header thead tr th {
	background-color: #ddd !important;
	text-align: center;
}

.table-fixed-header th,
.table-fixed-header td {
	padding: 8px;

	border-width: 0;
	border-bottom-width: 1px;
	border-right-width: 1px;
	border-style: solid;
	border-color: #b6b6b6;
}

.table-kesimpulan tr th:first-child,
.table-kesimpulan tr td:first-child {
	border-left: 1px solid #b6b6b6;
}

.table-kesimpulan thead tr th,
.table-kesimpulan thead tr td {
	border-top: 1px solid #b6b6b6;
}

#data input.form-control {
	border: none;
	border-radius: 0;
}

.disable-action {
	pointer-events: none;
	background-color: #f4f4f4 !important;
}

.disable-action input.form-control {
	background: #f4f4f4 !important;
	border-radius: 0;
}

.modal-header {
	background: var(--border-color);
	border-radius: 0px;
}

.modal-title {
	font-weight: 600;
	opacity: 0.8;
}

.modal-content {
	border-radius: 0px;
	border: 0px;
	box-shadow: var(--shadow);
}

.card-header {
	border-radius: 0px !important;
	background-color: #dddddd;
	border-bottom: 0px;
}

.card.card-flatten {
	border: 1px solid var(--border-color);
	border-radius: 0px;
}

.swal2-input {
	margin: 1em 2em 3px;
}

.kTable {
	border-collapse: separate;
	border-spacing: 0px;
	width: 100%;
}

.kTable thead tr th {
	border: 0px;
	border-bottom: 1px solid #b6b6b6;
	border-right: 1px solid #b6b6b6;
}

.kTable thead tr:last-child th {
	border-top: 1px solid #b6b6b6;
}

.kTable thead tr th:first-child {
	border-left: 1px solid #b6b6b6;
}

.kTable tbody tr td:first-child {
	border-left: 1px solid #b6b6b6;
}

.kTable tbody tr td {
	border: 0px;
	border-right: 1px solid #b6b6b6;
	border-bottom: 1px solid #b6b6b6;
	background-color: transparent;
	background: transparent;
}

.kTable tbody tr:last-child td {
	border-bottom: 1px solid #b6b6b6;
}

.kTable .gap {
	border-bottom: 0px !important;
}

.kTable .gap2 {
	border-right: 0px !important;
	border-left: 0px !important;
}

.kTable thead tr:first-child .gap {
	border-top: 0px !important;
}

.kCard .card-header {
	padding: 10px 16px;
	border-bottom: 1px solid #b6b6b6;
}

.kCard {
	border: 1px solid #b6b6b6;
	border-radius: 0px;
}

.font-sm {
	font-size: 11px !important;
}
.menus {
	font-size: 14px;
}
.menus.active {
	background-color: #2b6edb !important;
	color: #fff;
}
.topMenu,
.leftMenu,
.navHead {
	height: 140px !important;
}

.blink {
	animation: blinker 1s linear infinite;
}

.grow {
	animation: grow 1s linear infinite;
}

@keyframes blinker {
	50% {
		opacity: 0;
	}
}
@keyframes grow {
	0% {
		scale: 1;
	}
	50% {
		scale: 1.2;
	}
	100% {
		scale: 1;
	}
}
.disabled {
	pointer-events: none;
}
.bdr_bottom {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.pulse {
	animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
	0% {
		box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
	}
	100% {
		box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
	}
}

::placeholder {
	font-style: italic;
}

.table-bordered {
	/* table-layout: fixed; */
	border-collapse: separate !important;
	font-size: 0.9rem;
	border-spacing: 0px;
	font-size: inherit;
}

table.dataTable tbody tr td {
	word-wrap: break-word;
	word-break: break-all;
}

.table-bordered tr:first-child th:first-child {
	border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.table-bordered th {
	background-color: #dddddd;
	border-right: 1px solid rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	padding: 10px;
	font-weight: 500;
}
.table-bordered td:first-child {
	border-left: 1px solid rgba(0, 0, 0, 0.2);
}
.table-bordered td {
	border-left: 0px;
	border-right: 1px solid rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	padding: 5px;
	word-break: break-word;
}
.col-border-left {
	border-left: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.table-bordered tbody tr:last-child td {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* HTML: <div class="loader"></div> */
.loader-bar {
	height: 4px;
	width: 100%;
	--c: no-repeat linear-gradient(var(--primary-color) 0 0);
	background: var(--c), var(--c), var(--soft-primary-color);
	background-size: 60% 100%;
	animation: l16 2s infinite;
	border-radius: 8px;
}
@keyframes l16 {
	0% {
		background-position: -150% 0, -150% 0;
	}
	66% {
		background-position: 250% 0, -150% 0;
	}
	100% {
		background-position: 250% 0, 250% 0;
	}
}

/* HTML: <div class="loader"></div> */
.loader-circle {
	width: 50px;
	aspect-ratio: 1;
	box-shadow: 0 0 0 3px var(--core-blue) inset;
	border-radius: 50%;
	position: relative;
	animation: l8-0 1.5s linear infinite;
}
.loader-circle:before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(100% + 2px);
	box-shadow: inherit;
	width: 25px;
	aspect-ratio: 1;
	border-radius: 50%;
	animation: l8-1 1.5s linear infinite;
}
@keyframes l8-1 {
	0% {
		transform-origin: -27px 50%;
		width: 20px;
		transform: translateY(-50%) rotate(0);
	}
	100% {
		transform-origin: -12px 50%;
		width: 50px;
		transform: translateY(-50%) rotate(180deg);
	}
}
@keyframes l8-0 {
	0% {
		width: 50px;
		transform: translate(0);
	}
	100% {
		width: 20px;
		transform: translate(37px);
	}
}
input.custom-switch {
	--s: 20px; /* adjust this to control the size*/

	height: calc(var(--s) + var(--s) / 5);
	width: auto; /* some browsers need this */
	aspect-ratio: 2.25;
	border-radius: var(--s);
	margin: calc(var(--s) / 2);
	display: grid;
	cursor: pointer;
	background-color: #f1f1f1;
	box-sizing: content-box;
	overflow: hidden;
	transition: 0.3s 0.1s;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input.custom-switch:before {
	content: "";
	padding: calc(var(--s) / 10);
	--_g: radial-gradient(
		circle closest-side at calc(100% - var(--s) / 2) 50%,
		#000 96%,
		#0000
	);
	background: var(--_g) 0 / var(--_p, var(--s)) 100% no-repeat content-box,
		var(--_g) var(--_p, 0) / var(--s) 100% no-repeat content-box, #fff;
	mix-blend-mode: darken;
	filter: blur(calc(var(--s) / 12)) contrast(11);
	transition: 0.4s, background-position 0.4s 0.1s,
		padding
			cubic-bezier(0, calc(var(--_i, -1) * 200), 1, calc(var(--_i, -1) * 200))
			0.25s 0.1s;
}
input.custom-switch:checked {
	background-color: var(--primary-color);
}
input.custom-switch:checked:before {
	padding: calc(var(--s) / 10 + 0.05px) calc(var(--s) / 10);
	--_p: 100%;
	--_i: 1;
}

.bg-red {
	background-color: #f8d7da !important;
}

/* scroll bar */
::-webkit-scrollbar {
	width: 4px;
	height:4px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

.no-scroll-bar::-webkit-scrollbar {
	scrollbar-width: none;
}

.bg-primary .text-primary {
	color: #fff !important;
}

.transition {
	transition: all 0.3s ease-in-out;
}	
