.select2-container--open .select2-dropdown {
	background-color: #484D6D;
	color: white;
	max-height: 500px !important;
	overflow-y: auto;
	/* Add a scrollbar if needed */
}

.select2-container--default .select2-results>.select2-results__options {
	max-height: 500px !important;
}


#ui-datepicker-div {
	z-index: 10000 !important;
}

.bottom-modal .modal-dialog {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: none;
	width: 95%;
	transform: translate(0, 100%);
	animation: slide-up 0.2s ease-out;
	z-index: 9999;
}

.bottom-modal.show .modal-dialog {
	transform: translate(0, 0);
}

.bottom-modal .modal-content {
	border-radius: 0;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	height: calc(100% - 0px);
	overflow-y: auto;
}

.bottom-modal .modal-footer {
	margin: 0;
}

/* Define the animation */
@keyframes slide-up {
	from {
		transform: translate(0, 100%);
	}

	to {
		transform: translate(0, 0);
	}
}

.card-wrapper {
	position: relative;
	display: inline-block;
}

#card_floater {
	position: absolute;
	top: 0;
	right: 0;
}

@media print {
	.page-break {
		clear: both;
		page-break-after: always;
	}
}

.all_cards_div {
	display: grid;
	grid-template-columns: repeat(2, auto);
	margin: 0 auto;
	justify-content: center;

}

.outer_card_div {
	position: relative;
	width: 150px;
	height: 170px;
	margin: 15px;

}

.inside_card_div {
	width: 100%;
	height: 100px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.card_title_txt {
	padding: 5px;
	font-size: 18px;
}

/* For mobile (top: 40%) */
@media (max-width: 767px) {
	.alertify .ajs-dialog {
		top: 40%;
		/* transform: translateY(-20%); */
		margin: auto;
	}
}

/* For desktop (top: 30%) */
@media (min-width: 768px) {
	.alertify .ajs-dialog {
		top: 30%;
		/* transform: translateY(-15%); */
		margin: auto;
	}
}

.two_line_description {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	/* number of lines to show */
	line-clamp: 2;
	-webkit-box-orient: vertical;

	-webkit-user-select: none;
	/* Safari */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* IE10+/Edge */
	user-select: none;
	/* Standard */
}

.card-wrapper {
	position: relative;
	display: inline-block;
}

#card_floater {
	position: absolute;
	top: 0;
	right: 0;
}

@media print {
	::-webkit-scrollbar {
		display: none;
	}

	::-moz-scrollbar {
		display: none;
	}

	::-o-scrollbar {
		display: none;
	}

	::-ms-scrollbar {
		display: none;
	}

	body {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
}

.image-container {
	height: max-content;
	overflow-y: auto;
}

.image-container img {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
}


.no_select {}

.floating-action-button {
	background-color: #176df6;
	color: #fff;
	border-radius: 50%;
	width: 66px;
	height: 66px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: absolute;
	bottom: 60px;
	right: 40px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	z-index: 99;
}

.sticky {
	position: fixed;
	bottom: 60px;
	right: 40px;
}

@media (max-width: 767px) {
	.floating-action-button {
		bottom: 40px;
		right: 20px;
	}

	.sticky {
		bottom: 40px;
		right: 20px;
	}
}

.web_header {
	width: 100%;
	display: grid;
	grid-template-columns: auto auto auto;
	justify-items: center;
}

.header_txt {
	text-align: center;
	justify-items: center;
	margin-top: auto;
	margin-bottom: auto;
	font-size: 28px;
	font-weight: bold;
}


.header_img {
	margin-top: auto;
	margin-bottom: auto;
}


/* id card page */

.details_div {
	background-color: rgb(229, 229, 229);
	display: grid;
	grid-template-columns: auto auto;
	margin-bottom: 10px;
	padding: 10px;
	text-transform: uppercase;

}

.ans_txt {
	font-weight: bold;
	padding-left: 10px;
	padding-right: 10px;
}

.center_vertical {
	margin-top: auto;
	margin-bottom: auto;
}

@media print {
	.print_btn {
		display: none !important;
	}
}

.table-bordered-dark {
	border: 1px solid #000;
}

.table-bordered-dark th,
.table-bordered-dark td {
	border: 1px solid #000;
	padding: 8px;
}

.table-bordered-dark th {
	background-color: #333;
	color: #fff;
}

.hovery :hover {
	background-color: #f5f5f5;
}