.active > a {color: #fff;}
.active .icon:not(#easiNavbar .icon):not(#level1Nav .icon):not(.tab-pane .icon) {
    filter: invert(1);
}


.accordion-button::after {
	transform: rotate(270deg);
}
.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg) !important;
}
a {text-decoration: none;}

.btn-outline-dark:hover .icon {filter: invert(1)}
#fileModal {
    z-index: 3050 !important; /* Ensure it's above TinyMCE modal */
}

#fileModal.modal-backdrop {
    z-index: 3000 !important; /* Ensure it's above TinyMCE modal */
}
/* Ensure the loading panel covers the entire page */
#loading-panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.9);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	color: #555;
	}

	/* Add an optional spinner or loading animation */
	.spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top: 4px solid #333;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	}

	@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
	}


/* LOGIN SCREEN */
.loginScreen {
    background: linear-gradient(115deg, #dce5ef, #ffffff);
}

.tox .tox-promotion {display: none !important;}


/* Datatables */
.dataTable th {text-transform: capitalize;}




/* Default row style with smooth transitions */
.dataTable tr  {
    transition: background-color 0.3s ease-in-out;
}

/* Highlight the row when a link inside is hovered 
.dataTable tr:has(td a:hover) td, .dataTable tr:hover td {
    filter: invert(1); 
}

*/
/* ICONS */
.icon {background-repeat: no-repeat; background-size: contain; width: 20px !important; min-width: 20px !important; height: 20px !important; cursor: pointer; margin-right: 5px;}
.icon-lg {width: 32px; height: 32px;}
.icon-nm {margin: 0px;}
.icon-arrowDown {background-image: url("icon-arrowDown.svg"); }

.icon-arrowUp {background-image: url("icon-arrowUp.svg"); }

.icon-carousel {background-image: url("icon-carousel.svg"); }
.icon-category {background-image: url("icon-category.svg"); }
.icon-chevron-left {background-image: url("icon-chevron-right.svg"); transform: rotate(180deg);}

.icon-chevron-right {background-image: url("icon-chevron-right.svg"); position: absolute; top: 10px; right: 0px; }

.icon-chevron-right[aria-expanded="true"] {
    transform: rotate(90deg); /* Rotates the icon when expanded */
    transition: transform 0.3s ease;
}
.icon-add {background-image: url("icon-add.svg"); }
.icon-add-white {background-image: url("icon-add-white.svg"); }

.icon-addPanel {background-image: url("icon-addPanel.svg"); }

.icon-admin {background-image: url("icon-admin.svg"); }
.icon-calculator {background-image: url("icon-calculator.svg"); }
.icon-calendar {background-image: url("icon-calendar.svg"); }
.icon-check {background-image: url("icon-check.svg"); }

.icon-close {background-image: url("icon-close.svg"); }
.icon-close-white {background-image: url("icon-close-white.svg"); }
.icon-group {background-image: url("icon-group.svg"); }
.icon-contactus {background-image: url("icon-contact.svg"); }
.icon-delete, .icon-remove {background-image: url("icon-delete.svg"); }
.icon-delete-white {background-image: url("icon-delete-white.svg"); }

.icon-directory {background-image: url("icon-directory.svg"); }
.icon-download {background-image: url("icon-download.svg"); }
.icon-edit {background-image: url("icon-edit.svg"); }
.icon-edit-content {background-image: url("icon-edit-content.svg"); }
.icon-file {background-image: url("icon-file.svg"); }
.icon-files {background-image: url("icon-files.svg"); }
.icon-filestore {background-image: url("icon-filestore.svg"); }
.icon-gallery {background-image: url("icon-gallery.svg"); }
.icon-hash {background-image: url("icon-hash.svg"); }
.icon-image {background-image: url("icon-image.svg"); }
.icon-images {background-image: url("icon-images.svg"); }
.icon-knowledgebase {background-image: url("icon-knowledgebase.svg"); }

.icon-logout {background-image: url("icon-logout.svg"); }

.icon-menuAdd {background-image: url("icon-menuAdd.svg"); }
.icon-members {background-image: url("icon-members.svg"); }
.icon-news {background-image: url("icon-news.svg"); }

.icon-newsletter {background-image: url("icon-newsletter.svg"); }
.icon-open {background-image: url("icon-open.svg"); }

.icon-photo-up {background-image: url("icon-photo-up.svg"); }

.icon-products {background-image: url("icon-products.svg"); }

.icon-product-images {background-image: url("icon-product-images.svg"); }
.icon-restaurants {background-image: url("icon-restaurants.svg"); }
.icon-save {background-image: url("icon-save.svg"); }
.icon-save-dark {background-image: url("icon-save-dark.svg"); }

.icon-settings {background-image: url("icon-settings.svg"); }
.icon-settings-white {background-image: url("icon-settings-white.svg"); padding: 7px; }
.icon-sms {background-image: url("icon-sms.svg"); }

.icon-singlepage {background-image: url("icon-singlepage.svg"); }
.icon-ticketsolve {background-image: url("icon-ticketsolve.svg"); }
.icon-video {background-image: url("icon-video.svg"); }

.icon-analytics-white {background-image: url("icon-analytics.svg"); padding: 7px; }


#imageModal {
	z-index: 3050 !important; /* Ensure it's above TinyMCE modal */
}
.isHidden>a {opacity: 0.4;}

.notActivated a { color: #bbb}
.notPublished {text-decoration: line-through; }

.list-group-item {cursor: pointer;}

label {font-weight: bold;}
/* .navbar .active .icon {filter: brightness(0.8) sepia(10%) saturate(500%) hue-rotate(270deg);} */
.nav-item:has(.nav-link.active) {position: relative;}
.nav-item:has(.nav-link.active):after, .nav-item:has(.nav-link):hover:after  {
    /* Add your styles here */
	position: absolute;
	bottom: -8px; left: 0px;
	content: " ";
	height: 5px;
	display: block;
	width: 38px;
    background-color: rgba(255, 255, 255, 1); /* Example background change */
}


.icon-shuffle {background-image: url("icon-shuffle.svg"); }
.icon-tag {background-image: url("icon-tag.svg"); }

.imageSelectPreview {width: 50px !important; background-size: cover; aspect-ratio: 16/9; cursor: pointer;}
/* Main Nav List */
#level1Nav {text-transform: capitalize;}
.navListBtns {position: absolute; top: 10px; right: 30px;}
#level1Nav li > a {max-width: 70%;}
#level1Nav li > ul > li > .navListBtns {right: 30px;}


.list-group-item-sub {}
.l2NavUl, .l3NavUl  {padding-left: 10px !important}
/* Reordering Menu */
/* Styling for the placeholder */
.placeholder {
	background-color: #f0f0f0;
	border: 2px dashed #ccc;
	height: 50px;
	margin-bottom: 10px;
	display: block;
  }

  .sortable-item {cursor: pointer;}
  
  /* Styling for the item being dragged */
  .dragging {
	opacity: 0.5;
  }

/* Content Panels */
.contentPanelsContainer {position: relative;}
.contentPanelButtonContainer {position: absolute; top: 15px; right: 15px;}

/* DROPZONE STYLING */
.dropzone {
	text-align: center;
	padding: 20px;
	border: 3px dashed #bdbdbd;
	background-color: #fff;
	color: #444;
	border-radius: 1rem;  
	margin-bottom: 20px;
	margin-top: 20px;

  }

  .image-item.selected {background: rgba(201, 229, 243, 0.4);}

  .nav-images-list .card:hover {filter: invert(1)}
  /* SITE NAVIGATION OVERRIDES */
  #siteNav a {text-decoration: none;} 
  #siteNav ul, #siteNav li {border-color: #f0f0f0;}
  #siteNav .list-group-item {border-left: none !important; border-right: none; border-top: none; border-bottom: none;}
  #siteNav > .active,  #siteNav .active > a:first-child {background: none; font-weight: bold; color: var(--bs-primary);}
  #siteNav .active {background: none; }


  .tag {cursor: pointer; background: #fff; transition: 0.4s ease all;}
  .tag:hover {filter: invert(1);}
  /* TOP NAV */
  .topNav .icon, .editingHead .icon {width: 24px; height: 24px;}
.topNav .border-light {border-color: rgba(255,255,255,0.3) !important;}

tr[data-activated="False"] {opacity: 0.3}

#ReOrder {text-transform: capitalize;}
summary {
    list-style: none; /* Remove default marker */
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

summary::before {
    content: url("icon-chevron-right.svg"); /* Right arrow */
    width: 15px; height: 15px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}


summary span {
    flex-grow: 1;
    text-align: left;
}
/* Only rotate caret when its *own* details is open */
details[open] > summary::before {
	transform: rotate(90deg);
  }


@media (max-width: 768px) {
	/* Styles for mobile and tablet devices */
	#easiModules .nav-item {padding: 3px !important; margin: 3px !important}
	.nav-link .icon {width: 20px; height: 20px; }

	.nav-item:has(.nav-link.active):after, .nav-item:has(.nav-link):hover:after {
		position: absolute;
		bottom: -8px;
		left: 0px;
		content: " ";
		height: 3px;
		display: block;
		width: 24px;
		background-color: rgba(255, 255, 255, 1);
	}
  
	.hamburger {
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 40px;
		height: 32px;
		background: transparent;
		border: none;
		cursor: pointer;
		padding: 0;
		gap: 6px;
	  }
	  
	  .hamburger span {
		display: block;
		width: 30px;
		height: 3px;
		background-color: #333;
		border-radius: 3px;
		transition: all 0.3s ease-in-out;
	  }
	  
	  /* Animation when menu is open */
	  .hamburger.open span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	  }
	  
	  .hamburger.open span:nth-child(2) {
		opacity: 0;
	  }
	  
	  .hamburger.open span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	  }
}

/* DRIVER JS */
#driver-highlighted-element-stage {background-color: rgba(255,255,255,0.7) !important;}


.tinymce-modal-placeholder {
    padding: 12px;
    margin: 6px 0;
    border: 2px dashed #999;
    background: #f7f7f7;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}