.alert {
	opacity: 1;
	transition: opacity 0.6s ease-in-out;
}

.alert.fade-out {
	opacity: 0;
}

.page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	flex-grow: 1;
}

.footer {
	margin-top: auto;
}

.rounded-circle {
	border: 1px solid #ddd;
}

.navbar-dropdown-menu {
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: translateY(-10px);
	right: 0;
	min-width: 200px;

}

.navbar-dropdown-menu.show {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 768px) {
	.navbar-dropdown-menu {
		position: static;
		width: 100%;
		margin-top: 10px;
		box-shadow: none;
	}
	.dropdown-menu {
		width: 100%;
	}
}

.response-dropdown-menu {
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	transform: translateY(-10px);
}

.response-dropdown-menu.show {
	opacity: 1;
	transform: translateY(0);
}

.nav-link.active {
	font-weight: bold;
	color: #007bff;
	border-bottom: 2px solid #007bff;
}

.dropdown-menu {
	background-color: #fff;
	border: 1px solid #ccc;
}

.dropdown-menu .dropdown-item:hover {
	background-color: #000000;
	color: #ffffff;
	transition: background-color 0.3s ease;
}

.dropdown-menu .dropdown-item:hover img {
	filter: brightness(0) invert(1);
}

.card.feature-card {
	transition: box-shadow 0.3s ease;
	border-radius: 8px;
	border: none;
}

.feature-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card img {
	transition: transform 0.3s ease;
}

.form-element-table.table-hover tbody tr:hover {
	background-color: #e2e6ea;
}

#dynamicInputContainer * {
	font-size: 1.0rem;
}

.doc-version-table.table-hover tbody tr:hover {
	background-color: #f0f2f5;
}

.list-group-item button {
	display: block;
	width: 100%;
	text-align: left;
}

.list-group-item .text-left {
	text-align: left;
}

.list-group-item.bg-primary:hover .job-style i,
.list-group-item.bg-primary:hover .job-style h5,
.list-group-item.bg-primary:hover .job-style small {
	color: #14a085;
}

.trix-content img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 10px 0;
}

.pnp-category-editor .trix-button--icon-link,
.pnp-category-editor .trix-button-group--file-tools {
	display: none !important;
}

.card-header-title {
	font-size: 1.25rem;
}

.card-img-top-no-rounded {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.limited-text {
	display: -webkit-box;
		line-clamp: 5;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.6em;
	height: 8em;
}


.table-responsive {
	overflow-x: auto;
}

.table th, .table td {
	white-space: nowrap;
	vertical-align: middle;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 150px;
}

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

.table th, .table td {
	white-space: normal;
	vertical-align: middle;
}

.order-column {
	width: 5%;
}

.form-name-column {
	width: 30%;
}

.form-element-card {
	display: grid;
	grid-template-columns: 10% 65% 20%;
	align-items: center;
	padding: 10px;
	gap: 10px;
	border-bottom: 1px solid #ccc;
}

.icon-column {
	text-align: center;
	font-size: 1.0rem;
}

.icon-column i {
	width: 100%;
}

.details-column {
	padding: 0 10px;
}

.edit-column, .actions-column {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.edit-column a {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
	padding: 5px 10px;
	white-space: nowrap;
}

.edit-column a:hover, .edit-column a:hover i {
	color: #18BC9C;
}

.edit-column a i {
	margin-right: 5px;
}

@media (max-width: 768px) {
	.form-element-card {
		grid-template-columns: 15% 65% 20%;
	}

	.details-column {
		font-size: 0.9rem;
	}

	.edit-column a {
		padding: 3px 8px;
		font-size: 0.9rem;
	}
}

@media (max-width: 576px) {
	.form-element-card {
		grid-template-columns: 15% 55% auto;
	}

	.edit-column {
		justify-content: flex-end;
	}

	.details-column {
		font-size: 0.85rem;
	}

	.edit-column a {
		padding: 3px 6px;
		font-size: 0.85rem;
	}
}


.save-btn span:hover {
	color: #18BC9C;
}

.icon-button {
	background: none;
	border: none;
	padding: 0;
	font-size: 0.5rem;
	color: inherit;
	transition: color 0.2s;
}

.icon-button:hover {
	background-color: transparent;
	color: #007bff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.icon-button:active {
	color: #0056b3;
	box-shadow: none;
	border: none;
}

.icon-button:focus {
	outline: none;
}

.card-body small.text-muted {
	font-size: 0.8rem;
}

.selectable-image .card-img-top {
	height: 150px;
	object-fit: cover;
	width: 100%;
}

.selectable-image .card-body {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	white-space: normal;
	padding: 10px;
}

.selectable-image {
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	border: 2px solid transparent;

}

.selectable-image:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.selected-image {
	box-shadow: 0 0 10px 3px rgba(32, 156, 238, 0.8);
	border-color: #209cee;
}

.selectable-image {
	position: relative;
	cursor: pointer;
}

.checkbox-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}

.selected-image .checkbox-overlay {
	opacity: 1;
}

.checkbox-overlay i {
	color: green;
}

.image-card {
	display: inline-block;
	margin: 5px;
	border: 1px solid #ddd;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
	border-radius: 8px;
	overflow: hidden;
	max-width: 250px;
	text-align: center;
}

.image-card img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 4px;
}

.image-card p {
	padding: 8px;
	background-color: #f8f9fa;
}

.image-preview img {
	padding: 8px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.image-preview {
	display: flex;
	flex-wrap: wrap;
	justify-content: start;
}

.circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: white;
	flex-shrink: 0;

}

.connector-line {
	height: 20px;
	width: 2px;
	background-color: #ddd;
	margin-left: 34px;
}

.list-group-form .list-group-item {
	background: none !important;
	border: none !important;
	color: #95a5a6 !important;
	padding-left: 15px;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}


.list-group-form .list-group-item.active {
	color: #18BC9C !important;
	font-weight: bold;
}

.list-group-form .list-group-item.active .circle {
	background-color: #18BC9C;
}

.list-group-form .list-group-item:not(.active) .circle {
	background-color: #cccccc;
}

.text-truncate {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.form-card {
	background: #fff;
}

.dotted-hr {
	border-top: 3px dotted black;
	border-bottom: none;
	margin: 20px 0;
}

input[type="color"].form-control {
	height: calc(1.8rem + 2px);
	padding: 0.375rem 0.75rem;
	border-radius: 0.25rem;
}

.description-text {
	font-size: 0.875rem;
	color: inherit;
}

.form-pages-list .form-page-item {
	padding: 0;
	border: none;
}

.form-page-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.form-element-list .form-element-item {
	padding: 0;
	border: none;
}

.form-element-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.training-pages-list .training-page-item {
	padding: 0;
	border: none;
}

.training-page-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.training-pages-list .question-answer-item {
	padding: 0;
	border: none;
}

.question-answer-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.edit-answer-button {
	display: flex;
	align-items: center;
}

.edit-answer-button .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.375rem;
	font-weight: bold;
	border: none;
	width: 40px;
	height: 40px;
}

.edit-answer-button .btn i {
	margin: 0;
}

.edit-answer-button .btn-primary {
	background-color: #18BC9C;
	border-color: #18BC9C;
}

.edit-answer-button .btn-danger {
	background-color: #dc3545;
	border-color: #dc3545;
}

.edit-answer-button .btn:hover, .edit-answer-button .btn:hover i {
	color: #ffffff;
}

.edit-answer-button .btn:focus {
	outline: none;
	box-shadow: none;
}

/* ------ */

.page-info h5 {
	margin: 0;
	font-size: 1.2rem;
	color: #343a40; /* Dark text for title */
}

.page-info .page-type {
	margin-top: 5px;
	font-size: 0.9rem;
}

/* Training Pages Edit Button */
.edit-column-page {
	display: flex;
	align-items: center;
}

.edit-column-page a {
	text-transform: uppercase;
	font-weight: bold;
}

.edit-column-page a:hover, .edit-column-page a:hover i {
	color: #18BC9C;
}


/* Training Page Video Progress Bar */
#progress-container {
	display: none; /* This hides the progress bar initially */
}

#progress-bar {
	padding: 5px 0;
	line-height: 20px;
	color: white;
	background-color: #18BC9C;
	transition: width 0.4s ease;
}

/* Training Quizz Card Style */
.training-question-list .training-question-item {
	padding: 0;
	border: none;
}

.training-question-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.quiz-ans-list .quiz-ans-item {
	padding: 0;
	border: none;
}

.quiz-ans-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.content {
	word-wrap: break-word;
	overflow-x: auto;
}

.content img {
	display: block;
	margin-bottom: 10px;
	max-width: 100%;
	height: auto;
}

.content a {
	display: block;
}


.questions {
	word-wrap: break-word;
	overflow-x: auto;
}

.questions img {
	display: block;
	margin-bottom: 5px;
	max-width: 100%;
	height: auto;
}

.questions a {
	display: block;
	margin-bottom: 10px;
}

/* Training Page Question Attributes From User Site */
.answer-option input {
	margin-right: 5px;
}

.answer-option.btn-outline-dark:hover {
	background-color: #6c757d !important;
	border-color: #6c757d !important;
	color: #fff !important;
}

.answer-option.btn-outline-dark:hover small.text-muted {
	color: #e0e0e0 !important;
}

.answer-option {
	display: flex;
	align-items: flex-start;
	justify-content: start;
	font-size: 1.25rem;
	padding: 10px 15px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}

.radio-hidden {
	display: none;
}

@media (max-width: 576px) {
	.answer-option {
		font-size: 1rem;
		padding: 8px 10px;
	}

	.answer-option small {
		font-size: 0.875rem;
	}
}



/* Fix Later to make it better */
/* Trix Editor Font Style on Training Page Question Type */
/* General container for questions */
/* .questions h1, .questions h2, .questions h3 {
	font-size: 1.25rem;
	margin-top: 10px;
	margin-bottom: 10px;
	font-weight: bold;
} */

.questions p {
	font-size: 1rem; /* Default size for paragraphs */
	line-height: 1.6;
	margin-bottom: 15px;
}

/* Styling for correct answer feedback */
.alert-success {
	background-color: #e6f9f2;
	border-color: #28a745;
	color: #28a745;
	padding: 20px;
	border-radius: 8px;
}

/* Styling for incorrect answer feedback */
.alert-danger {
	background-color: #fbeaea;
	border-color: #dc3545;
	color: #dc3545;
	padding: 20px;
	border-radius: 8px;
}

/* Style for highlighted answer box */
.alert h1, .alert h2, .alert h3 {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.alert p {
	font-size: 1rem;
	margin-bottom: 10px;
}

/* Style Explanation title */
.alert p.strong {
	font-size: 1.2rem;
	font-weight: bold;
	color: #333;
}


/* Radio Icon from Training Page QAS */
input[type="radio"].radio-hidden {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}



.btn-group-toggle .btn {
	cursor: pointer;
}
.congrats-icon { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-30px); } 60% { transform: translateY(-15px); } }

.card-header .completed-certificate-icon { transition: transform 0.3s ease, color 0.3s ease; }
.card-header .completed-certificate-icon i { transition: transform 0.3s ease, color 0.3s ease; }
.card-header .completed-certificate-icon:hover { color: #FFD700 !important; }
.card-header .completed-certificate-icon:hover i { transform: scale(1.2); color: #FFD700 !important; }
.order-btn { min-width: 50px; text-align: center; }
.ck-content .image.image_resized { display: block; max-width: 100%; box-sizing: border-box; }
.ck-content .image.image_resized img { width: 100%; }
.ck-content .image.image_resized > figcaption { display: block; }
.ck-content img { aspect-ratio: auto; }
.feedback-correct { background-color: #e0f7e9; border: 2px solid #28a745; border-radius: 8px; padding: 20px; color: #155724; box-shadow: 0px 4px 8px rgba(0, 128, 0, 0.2); }
.feedback-incorrect { background-color: #fbeaea; border: 2px solid #dc3545; border-radius: 8px; padding: 20px; color: #721c24; box-shadow: 0px 4px 8px rgba(255, 0, 0, 0.2); }
.feedback-correct h2, .feedback-incorrect h2 { font-weight: bold; font-size: 1.5rem; margin-bottom: 10px; }

.bold { font-weight: bold; }
.no-dec { text-decoration: none; }

/* Checklist Items Properties */
.checklist-item-list .checklist-item { padding: 0; border: none; }
.checklist-item-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }

/* CK Editor Overrides */
.cke_dialog { z-index: 10500 !important; }
.ck.ck-balloon-panel { z-index: 10500 !important; }
.ck.ck-editor__editable_inline { min-height: 100px; }
:root { --ck-z-default: 100; --ck-z-panel: calc(var(--ck-z-default) + 999); }

/* Generic Paddings */
.pr-1 { padding-right: 0.3em; } .pr-2 { padding-right: 0.6em; } .pr-3 { padding-right: 1em; } .pr-6 { padding-right: 2em; } .pl-1 { padding-left: 0.3em; } .pl-2 { padding-left: 0.6em; } .pl-3 { padding-left: 1em; } .pt-1 { padding-top: 0.3em; } .pt-2 { padding-top: 0.6em; } .pt-3 { padding-top: 1em; } .pb-1 { padding-bottom: 0.3em; } .pb-2 { padding-bottom: 0.6em; } .pb-3 { padding-bottom: 1em; }
.mr-1 { margin-right: 0.3em; } .mr-2 { margin-right: 0.6em; } .mr-3 { margin-right: 1em; } .mr-6 { margin-right: 2em; } .ml-1 { margin-left: 0.3em; } .ml-2 { margin-left: 0.6em; } .ml-3 { margin-left: 1em; } .mt-1 { margin-top: 0.3em; } .mt-2 { margin-top: 0.6em; } .mt-3 { margin-top: 1em; } .mb-1 { margin-bottom: 0.3em; } .mb-2 { margin-bottom: 0.6em; } .mb-3 { margin-bottom: 1em; }

.mw-6 { max-width: 60%; }
.fg-1 { flex-grow: 1; }

.text-ellipsis { text-overflow: ellipsis; }
.text-nowrap { white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.float-right { float: right; }
.pointer { cursor: pointer; }

.p-pg-header { margin-top: -2em; display: flex; justify-content: space-between; padding-left: 2em; padding-right: 2em; }

@media (max-width:991.98px) { .navbar-logo { max-height: 60px; } }

.image-style-align-right { float: right; }

/* Background image */
/* .page { background-image: url('/images/bg.png'); background-repeat: no-repeat; background-position: right bottom; } */

.list-inline-arrows .list-inline-item+.list-inline-item:before{content:" > ";-webkit-margin-end:.5rem;margin-inline-end:.5rem}

.p-bg-purple { background-color: #3932B1 !important; }

.btn-link:hover { color:inherit; text-decoration: none; box-shadow:0 1px 10px 0 rgba(0,0,0,.33); }

.inline { display: inline; }


.icon-card {
    transition: all 0.2s ease-in-out;
}

.icon-card:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.icon-card.selected {
    border: 2px solid #0d6efd !important;
    background-color: #eef6ff;
}

.select2-container{flex: content!important;border:1px solid var(--tblr-border-color);border-radius:var(--tblr-border-radius);padding-top:2px;padding-bottom:2px;}
.select2-selection{border:none!important;margin-top:2px!important;}
.select2-dropdown{z-index:9999!important;}

.loader { width: 50px; height: 50px; margin: auto; aspect-ratio: 1; border-radius: 50%; border: 8px solid #514b82; animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;}
@keyframes l20-1{ 0%{clip-path: polygon(50% 50%,0 0,50% 0%,50% 0%,50% 0%,50% 0%,50% 0% )} 12.5%{clip-path: polygon(50% 50%,0 0,50% 0%,100% 0%,100% 0%,100% 0%,100% 0% )} 25%{clip-path: polygon(50% 50%,0 0,50% 0%, 100% 0%,100% 100%,100% 100%,100% 100% )} 50%{clip-path: polygon(50% 50%,0 0,50% 0%,100% 0%,100% 100%,50% 100%,0% 100% )} 62.5%{clip-path: polygon(50% 50%,100% 0,100% 0%,100% 0%,100% 100%,50% 100%,0% 100% )} 75%{clip-path: polygon(50% 50%,100% 100%,100% 100%,100% 100%,100% 100%,50% 100%,0% 100% )} 100%{clip-path: polygon(50% 50%,50% 100%,50% 100%,50% 100%,50% 100%,50% 100%,0% 100%)}}
@keyframes l20-2{ 0%{transform:scaleY(1)  rotate(0deg)} 49.99%{transform:scaleY(1)  rotate(135deg)} 50%{transform:scaleY(-1) rotate(0deg)} 100%{transform:scaleY(-1) rotate(-135deg)} }

.apexchart-interactive .apexchart-series { cursor: pointer; }