/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.body-hide-overflow {
	overflow: hidden;
}

.menu .app-brand.demo {
	height: 64px;
	/* margin-top: 0px; */
	margin-bottom: 12px;
}

.app-brand-logo.demo svg {
	width: 22px;
	height: 38px;
}

.app-brand-text.demo {
	font-size: 1.75rem;
	letter-spacing: -0.5px;
	text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
	padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
	padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
	z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
	display: block !important;
}

.demo-inline-spacing>* {
	margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
	margin-top: 1rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
	margin-top: 1.875rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
	margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
	margin-top: 5rem !important;
	margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
	margin-top: 0 !important;
}

.rtl-only {
	display: none !important;
	text-align: left !important;
	direction: ltr !important;
}

[dir="rtl"] .rtl-only {
	display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	margin-top: 1rem;
}

.layout-demo-placeholder img {
	width: 900px;
}

.layout-demo-info {
	text-align: center;
	margin-top: 1rem;
}

.icn-spinner {
	animation: spin-animation 0.5s infinite;
	display: inline-block;
}

@keyframes spin-animation {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(359deg);
	}
}

/*----  Main Style  ----*/
#cards_landscape_wrap-2 {
	text-align: center;
}

#cards_landscape_wrap-2 .container {
	padding-top: 80px;
	padding-bottom: 100px;
}

#cards_landscape_wrap-2 a {
	text-decoration: none;
	outline: none;
}

#cards_landscape_wrap-2 .card-flyer {
	border-radius: 5px;
}

#cards_landscape_wrap-2 .card-flyer .image-box {
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
}

#cards_landscape_wrap-2 .card-flyer .image-box img {
	-webkit-transition: all 0.9s ease;
	-moz-transition: all 0.9s ease;
	-o-transition: all 0.9s ease;
	-ms-transition: all 0.9s ease;
	width: 100%;
	height: 200px;
}

#cards_landscape_wrap-2 .card-flyer:hover .image-box img {
	opacity: 0.7;
	-webkit-transform: scale(1.15);
	-moz-transform: scale(1.15);
	-ms-transform: scale(1.15);
	-o-transform: scale(1.15);
	transform: scale(1.15);
}

#cards_landscape_wrap-2 .card-flyer .text-box {
	text-align: center;
}

#cards_landscape_wrap-2 .card-flyer .text-box .text-container {
	padding: 30px 18px;
}

#cards_landscape_wrap-2 .card-flyer {
	background: #ffffff;
	margin-top: 10px;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	box-shadow: 0 3px 4px rgba(0, 0, 0, 0.4);
}

#cards_landscape_wrap-2 .card-flyer:hover {
	background: #fff;
	box-shadow: 0 15px 26px rgba(0, 0, 0, 0.5);
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-ms-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	margin-top: 10px;
}

#cards_landscape_wrap-2 .card-flyer .text-box p {
	margin-top: 10px;
	margin-bottom: 0;
	padding-bottom: 0;
	font-size: 14px;
	letter-spacing: 1px;
	color: #000000;
}

#cards_landscape_wrap-2 .card-flyer .text-box h6 {
	margin-top: 0;
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: "Roboto Black", sans-serif;
	letter-spacing: 1px;
	color: #00acc1;
}

/* grid datatable */
.table.grid tbody td {
	display: block;
}

.table.grid thead {
	display: none;
}

/* card datatable */

/* .table.cards tbody tr {
    float: left;
    width: 100%;
    max-width: 19rem;
    margin: 0.5rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
} */

.colHeader {
	white-space: pre-line;
}

.table.cards tbody {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	grid-gap: 20px;
	align-items: stretch;
	justify-items: center;
}

.table.cards> :not(:first-child) {
	border-top: none !important;
}

.table.cards tbody>tr {
	border: 1px solid #ccc;
	box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.3);
	border-radius: 1rem;
	max-width: 280px;
}

.table.cards tbody td {
	display: block;
}

.table.cards thead {
	display: none;
}

.table.cards td:before {
	/* content: attr(data-label); */
	position: relative;
	float: left;
	color: #808080;
	min-width: 4rem;
	margin-left: 0;
	margin-right: 1rem;
	text-align: left;
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
}

.table.cards td:last-child {
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
}

tr.selected td:before {
	color: #ccc;
}

.table.cards .cover-card .avatar {
	width: 100%;
	height: 180px;
	max-height: 200px;
}

.table.cards .avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
}

.img-card {
	overflow: hidden;
	text-align: center;
	margin: 0 auto;
}

.img-bg {
	height: 130px;
	min-width: 150px;
	max-width: 300px;
	/* margin: 0 -100%; */
	position: absolute;
	transform: translate(-7%, 45%);
	opacity: 0.3;
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

.img-card:hover .img-bg {
	height: 130px;
	min-width: 150px;
	max-width: 300px;
	/* margin: 0 -100%; */
	position: absolute;
	transform: translate(0%, 30%);
}

.box-loader {
	width: 100%;
	height: 100%;
	align-items: center;
	background-color: white;
	display: flex;
	justify-content: center;
	position: absolute;
	z-index: 20000;
}

/* loader */
.loader {
	animation: rotate 3s infinite;
	height: 50px;
	width: 50px;
}

.loader:before,
.loader:after {
	border-radius: 50%;
	content: "";
	display: block;
	height: 20px;
	width: 20px;
}

.loader:before {
	animation: ball1 3s infinite;
	background-color: #cb2025;
	box-shadow: 30px 0 0 #f8b334;
	margin-bottom: 10px;
}

.loader:after {
	animation: ball2 3s infinite;
	background-color: #00a096;
	box-shadow: 30px 0 0 #97bf0d;
}

@keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg) scale(0.8);
		-moz-transform: rotate(0deg) scale(0.8);
	}

	50% {
		-webkit-transform: rotate(360deg) scale(1.2);
		-moz-transform: rotate(360deg) scale(1.2);
	}

	100% {
		-webkit-transform: rotate(720deg) scale(0.8);
		-moz-transform: rotate(720deg) scale(0.8);
	}
}

@keyframes ball1 {
	0% {
		box-shadow: 30px 0 0 #f8b334;
	}

	50% {
		box-shadow: 0 0 0 #f8b334;
		margin-bottom: 0;
		-webkit-transform: translate(15px, 15px);
		-moz-transform: translate(15px, 15px);
	}

	100% {
		box-shadow: 30px 0 0 #f8b334;
		margin-bottom: 10px;
	}
}

@keyframes ball2 {
	0% {
		box-shadow: 30px 0 0 #97bf0d;
	}

	50% {
		box-shadow: 0 0 0 #97bf0d;
		margin-top: -20px;
		-webkit-transform: translate(15px, 15px);
		-moz-transform: translate(15px, 15px);
	}

	100% {
		box-shadow: 30px 0 0 #97bf0d;
		margin-top: 0;
	}
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible+.select2-container {
	pointer-events: none;
	touch-action: none;
	background-color: #eceef1 !important;
	border-color: #a8a8a8 !important;
}

.select2-selection {
	background-color: #eceef1;
	box-shadow: none;
}

.select2-selection__arrow,
select[readonly].select2-hidden-accessible+.select2-container .select2-selection__clear {
	display: none;
}

/*Select2 ReadOnly End*/

select[readonly].form-select {
	pointer-events: none;
	touch-action: none;
	background-color: #eceef1 !important;
	border-color: #a8a8a8 !important;
}

.table-header thead th {
	border: 1px solid #dee2e6;
	/* border semua sisi */
	vertical-align: middle;
	text-align: center;
}

.table-header thead tr {
	background-color: #f8f9fa;
	/* opsional, biar beda warna */
}

table.dataTable.dt-checkboxes-select tbody tr.selected {
	background-color: #eceef1 !important;
	/* hijau muda Bootstrap */
}

.select2-readonly .select2-selection {
	pointer-events: none;
	background-color: #e9ecef;
	/* abu-abu seperti readonly input */
	cursor: not-allowed;
}

.bg-green {
	--bs-bg-opacity: 1;
	background-color: rgba(0, 135, 24, var(--bs-bg-opacity)) !important;
}

.bg-label-green {
	background-color: #00871833 !important;
	color: #008718 !important;
}

.bg-yellow {
	--bs-bg-opacity: 1;
	background-color: rgb(255 203 0) !important;
	/* kuning pastel transparan */
}

.bg-label-yellow {
	background-color: #fffbea !important;
	/* kuning muda background */
	color: rgb(255 203 0) !important;
	/* kuning tua untuk teks */
}

.bg-pink {
	--bs-bg-opacity: 1;
	background-color: rgb(251 83 83 / 71%) !important;
	/* pink transparan */
}

.bg-label-pink {
	background-color: #ffe6f0 !important;
	/* pink muda background */
	color: rgb(251 83 83 / 71%) !important;
	/* pink tua untuk teks */
}

.yearpicker-container {
	top: 40px !important;
}