body {
  font-family: sans-serif;
}

.link {
    color: #0b3ed6!important;
    text-decoration: underline;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #2c3e50;
  color: white;
}
.logo {
  font-size: 1.5em;
}
.logout a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
}
.form-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

.articleHeader{
	color: #1111ff !important;
    font-size: 2em;
}

.articleContent {
    margin-bottom: 1em;
	margin-top: 1em;
    padding: 0.5em;
}

.articleSpan{
	display:block;
	width: fit-content;
}
p.breadcrumb {
    font-style: italic;
    font-size: 0.9em;
    background: #f0f8ff;
	line-height: 1.2em;
}
textarea.articleComment {
    width: 100%;
}
p.font-semibold.text-sm.text-gray-800 {
    font-size: 0.9em;
    font-weight: bold;
}

.articleClass{
	padding-top: 0.5em;
	cursor: pointer;
}

.articleClass: hover {
	background-color:#e5e7eb;
}

.form-group {
  margin-bottom: 10px;
}

main.container {
   /*margin-left: var(--sidebar-full-width);*/
}

label {
  display: block;
  margin-bottom: 5px;
  padding-right: 1em;
  width: 220px;
}


input[type="text"], input[type="email"], input[type="password"] , input[type="number"] {
  width: 100%;  
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3em !important;
  font-size: 1em;
}

input[type="text"]::placeholder, 
input[type="email"]::placeholder, 
input[type="password"]::placeholder, 
input[type="number"]::placeholder {
    color: #ae9d9d !important;
    opacity: 1; /* Firefox requires this to show the full color */
}

select {
    width: 450px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.statusOrange{
	color:#ffa500;
	font-size: 1.8em!Important;
}
.statusGreen{
	color:#4CAF50;
	font-size: 1.8em!Important;
}

button {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.error {
  color: red;
  margin-bottom: 15px;
}



body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */
nav#sidebarMenu {
    display: block ! Important;
}


:root {
		--sidebar-width: 230px;
		--navbar-height: 56px; /* Typical Bootstrap navbar height */
		--sidebar-min-width: 0px;
		--sidebar-full-width: 200px;
		--preview-width: 30vw; /* 30% of viewport width for large screens */
	}
	
	
		
	
	.nav {
		--bs-nav-link-padding-x: 0.5rem;
	}

	/* ------------------- Custom Sidebar CSS ------------------- */

	 .sidebar {
		position: fixed;
		top: var(--navbar-height);
		left: 0;
		bottom: 0;
		width: var(--sidebar-full-width);
		z-index: 1000;
		padding: 1rem 0;
		overflow-x: hidden;
		overflow-y: auto;
		
		transition: all 0.3s ease;
		transform: translateX(0);
		background-color: #083d68 !important;
	}
	
	/* Sidebar Item Styling */
	.sidebar .nav-link {
		display: flex;
		align-items: center;
		text-wrap: auto;
	}
	.sidebar .nav-link .icon {
		margin-right: 1rem;
		width: 20px; /* Standard icon size */
		text-align: center;
	}
	
	
	/* <main class="main-content"> uses display:contents so its margin is ignored; spacing lives on .main-content-inner */
	 .main-content {
			display: contents;
        }

		.main-content-inner {
            /*margin-top: var(--navbar-height);*/
            margin-left: var(--sidebar-full-width);
            padding: 1rem;
            transition: margin-left 0.3s ease;
            min-height: calc(100vh - var(--navbar-height));
			min-width: 0;
			box-sizing: border-box;
			width:100%;
        }
        
        /* New CSS for Preview Pane */
        .preview-pane {
            position: fixed;
            top: var(--navbar-height);
            right: 0;
            bottom: 0;
            width: 30%; /* 30% width as requested */
            max-width: 500px; /* Cap width for very large screens */
            background-color: #f9fafb; /* Light background */
            box-shadow: -4px 0 10px rgba(0,0,0,0.2);
            transform: translateX(100%); /* Start off-screen */
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
            z-index: 50;
        }

        .preview-pane-open .preview-pane {
            transform: translateX(0); /* Slide into view */
        }
        
        .preview-pane-content {
            height: 100%;
            overflow-y: auto;
            position: relative; /* needed for the close button */
        }

        /* Mobile-specific changes */
        @media (max-width: 767px) {
           
            .sidebar-minimized .sidebar {
                transform: translateX(0); /* On mobile, we use minimize to open it */
                /*width: var(--sidebar-full-width);*/
            }
            .main-content-inner {
                margin-left: 0;
            }
            .preview-pane {
                width: 85%; /* Take up more space on small screens */
            }
        }
        /* Loading indicator for the preview */
        .preview-loading {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #4f46e5;
        }
        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            border-left-color: #4f46e5;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
	
	a.article-preview-link {
		color: #1111ff;
		font-size: 1.3em;
		
	}
	
	span.text-gray-500 {
		font-size: 0.8em;
	}
	.articleActions{
		font-size: 0.9em;
	}
	
	h2 {
		font-weight: 600!important;
		margin-bottom: 0.5em;
		padding-top: 0.5em;
	}
	
	.articleHeaderLink{
		font-size: 1em;
		color: #0000ff;
		/*
		text-decoration: underline 1px #aaa;
		border: 1px solid #3F51B5;
		*/
		
		padding: 0.5em;
		
	}
	
	.articleHeaderLink.selected{
		font-weight: 600;	
		border-bottom: 4px solid #0f0fe7;
	}
	.articleHeaderLink:hover {		
		border-bottom: 4px solid #8c8c90;
		
	}
	
	.articleHeaderDiv{
		padding: 1em;
	}
	
	.pdpNote{
		font-style: italics;
	}
	.stickyButtons{
		position: fixed;
		bottom: 0;
		width: 100%;
	}
	
	button.close.btn.btn-primary {
		margin-left: 2em;
	}
	
	/* ------------------- Minimized State (Desktop) ------------------- */
	/* This class is now used to trigger the MINIMIZED state */
	.sidebar {
		width: var(--sidebar-full-width);
	}
	.sidebar-minimized .sidebar {
		width: var(--sidebar-min-width);
	}
	
	/* Hide text labels when minimized */
	.sidebar-minimized .nav-link span {
		display: none;
	}
	
	/* Push content only by the minimized width */
	.sidebar-minimized .main-content-inner {
		margin-left: var(--sidebar-min-width);
	}
	
	/* Tooltip behavior for minimized state */
	.sidebar-minimized .nav-link[title]:hover::after {
		content: attr(title);
		position: absolute;
		left: var(--sidebar-min-width);
		top: 50%;
		transform: translateY(-50%);
		background: rgba(0, 0, 0, 0.8);
		color: white;
		padding: 0.3rem 0.5rem;
		border-radius: 0.25rem;
		z-index: 2000;
	}
	
	/* ------------------- Mobile State (< 768px) ------------------- */
	@media (max-width: 767.98px) {
		/* On mobile, the minimized class means the sidebar is HIDDEN */
		.sidebar-minimized .sidebar {
			/*transform: translateX(calc(-1 * var(--sidebar-full-width)));
			width: var(--sidebar-full-width); /* Full width when opened */
		}
		
		/* Main content always takes full width on mobile */
		.main-content-inner {
			margin-left: 0;
		}
		
		/* Show text labels again if the sidebar is open on mobile */
		.sidebar-minimized .nav-link span {
			display: initial;
		}
	}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #fff;
  font-size: 1rem;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}
a.nav-link {
    color: #a5a2a2;;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }



body {
  min-height: 75rem;
  padding-top: 3rem;
}
.form-inline{display: inline-flex;}

.navbar{
	max-height: 4em;
	display: flow;
}

p.text-xs.italics {
    font-style: italic;
    font-size: 0.9em;
}


.bg-white.shadow-lg {
    padding-left: 1em;
}

form.form-inline.mt-2.mt-md-0 {	
    vertical-align: middle;
}

.articleBoard{
	display: flow;
	padding-left: 0.5em;
    background-color: #fff;
	margin-top: 0.5em;
    
}

.bgblue{
	background-color: #e8f3fb;
	padding-left: 1em;
}

.bg-deleted-200 {
    background-color: #607D8B;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

.bg-pending-200 {
    background-color: #FFEB3B;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

.bg-gray-200 {
    background-color: #ccc;
	font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}
.bg-green-100 {
	background-color: #11ff11;
    font-size: 0.9em;
    font-weight: 100;
    font-style: italic;
	margin-right: 0.2em;
}

p.km_header {
    text-align: center;
    font-size: 2em;
    color: #fff;    
    font-weight: bolder;	
}

.successTxt {
    color: #1b7e1b;
}

.fade-container{
	max-height: 200px; /* Set the maximum height */
	overflow-y: hidden; /* Enable vertical scrolling if content exceeds max-height */
	mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%); /* Create the fade effect */
	-webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%); /* For Webkit browsers */
	padding-bottom: 20px;
}

.mr-auto, .mx-auto {
    margin-right: auto !important;/**/
	padding-left: 1em;
}
.block {
    width: auto;
}

.ml-sm-auto, .mx-sm-auto {
    margin-left: auto !important;
	display: inline;	
}
.divsearch {
    float: right;
    display: inline-flex;
}
input.form-control.mr-sm-2 {
    max-height: 2em;
}
button.btn.btn-outline-primary.my-2.my-sm-0 {
    margin-left: 0.5em;
	margin-right: 0.5em;	
    max-height: 2em;
    line-height: 1em;
}
.rightstuff{
	    float: right;
    display: inline-flex;
	    vertical-align: middle;

}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dateDiv{
	/*max-width: 300px;*/
	padding-right: 1em;
	/*margin: auto;*/
}
input[disabled] {
  background-color: #e9ecef !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.img-thumbnail {
  border: 1px solid #ccc;
  padding: 4px;
  margin-top: 10px;
  max-height: 200px;
  object-fit: contain;
}
.table>:not(caption)>*>* {
    padding: 0.1rem 0.3rem;
}
.table>thead {
    height: 2em;
}
table {    margin-top: 0.5rem;  width: 100%;}
.searchObjDiv{     display: inline-block; width: 100%;}

.subnav{ font-size: 1.5em; }
.subnavactive{font-weight:bold;}
a.p-2.text-muted { color:#0011ee!important; border-right: 2px solid #7c8083;}
a.p-2.text-muted:last-child { border-right: none;}
.nav-tabs{margin-bottom:1em;    font-size: 1.5em;}
input, input[type="text"], input[type="email"], input[type="password"] {    
    max-width: 450px;
}
.form-select { max-width: 450px; }
textarea#description {max-width: 450px;}
.custom-select{max-width: 450px;}
.myform2elems{ display: inline-flex;
    margin-top: 1em;	
	margin-left: 11em;
}
.nav-tabs .nav-link.active{font-weight:bold;}
.actioncell{ padding-left: 1em!important;display: contents;}
.fa:hover{font-weight:bold;cursor:pointer;}

.mainpagehead{     display: block;}

#showsearchresults {
	max-height: 300px;
	overflow-y: auto;
	margin-top: 10px;
	width: fit-content;
	/*width: 300px;*/
}
button.btn.btn-sm.btn-success.enrol-btn {
    margin-left: 1em;
}

th {
    background-color: #083d68 !important;
    color: #eeeeee !important;
	text-align: center;
    vertical-align: middle;
}

td.inactive{
	color: #6c757d !important;
}


.table>tbody {
    ertical-align: inherit;
    font-size: 0.9rem;
    font-weight: 100;
}
.col-md-4{
	display: inline-flex;
}
.dashboardCard {
    /* min-width: 170px; */
    width: 200px;
    margin-right: 1em;
}



.hidden { display: none;}
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5); /* dim background */
	z-index: 2; /* behind form */
}

  .form-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* in front of overlay */
  }

  .form-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 400px;
  }
.form-group {    
    width: 100%;
	display: inline-flex;
	line-height: 1.7em;
}

}
.activityIcon{font-size: 1.4em !important;margin-right:0.2em;}
a.accordion-button.collapsed {color: #052c65;}
.editingIcons{font-size: 0.9em;float: right; display: grid;}



.editmode-switch-form {
    padding: 8px 4px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .26), 0 14px 44px 0 rgba(0, 0, 0, .2);
    position: fixed;
    right: 20px;
    bottom: 10px;
    height: 40px;
    z-index: 10001;
    transition: all 0.2s ease-in-out;
}

.custom-control {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 30px;
    min-height: 16px;
    line-height: 21px;
    
}
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.editmode-switch-form .custom-control-input {
    z-index: 1;
}
.custom-switch .custom-control-input {
    width: 35px;
    height: 20px;
}
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}
.custom-control-input {
    position: absolute;
    left: 0;
}
.custom-switch.custom-control--xs {
    padding-left: 37px;
}
input {
    overflow: visible;
}


/*style="position: relative;z-index: 3 !important;padding: 1em;transform: translateY(-100%);"*/

.btnExtra {
   background: #198754;
}

.divInfo{
	padding: 1em;
    background-color: #c0dcfe;
    border: solid;
    border-radius: 5px;
    border-color: #ccc;
    border-width: 1;
    margin-bottom: 1em;
	font-style: italic;
    font-weight: 100;
    font-size: 0.9em;
}

.pill-btn {
    background-color: #07a;
    border: none;
    color: #ffffff;
    padding: 2px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 16px;
    font-size: 0.9em;
}
.pill-btn.persona{
	background-color: #36af85;
}

.pill-btn:hover {
  background-color: #07075d;
}

.pill-btn.selected {
    background-color: #198754; 
}

.popupform{
	display:none;
	z-index: 3;
	background-color: #fff;
	position: fixed;         /* Sticks to the viewport */
	top: 33vh;               /* 1/3 from top of viewport */
	left: 20%;               /* center horizontally */	
	width: 85%;
	padding: 1em;
}

.popupform {
    z-index: 3;
    background-color: #fff;
    position: fixed;
    top: 10vh;
    left: auto;
    width: 80%;
    padding: 1em;
    overflow: scroll;
	max-height: 90%;
}
label {
    color: #03409b;
}


.info-container {
  position: relative;
  display: inline-block; 
  margin-left: 1em;
  margin-top:0.5em;
}
.info-icon {
	cursor: pointer; 
	font-size: 1.2em;
	color: #5692db;
}

.popup-message {
  display: none;
  position: absolute; 
  background-color: #c9e6e3;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 3; /* Ensure it appears above other elements */
  bottom: 120%; /* Position above the icon by default */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  /*white-space: nowrap; /* Prevent text wrapping if desired */
  width: 500px;
}

.dashboardCard {
    /*min-width: 170px;*/
    width: 200px;
    margin-right: 1em;
}

.card.mb-4.box-shadow {
    height: 260px;
    /*margin: 0.5em; */
	width: 200px;
}
.dashboard-block-wrap.mb-3 {
  width: 100%;
  max-width: 600px;
}

.card.mb-4.box-shadow:hover {
    background-color:#d2eeff;
}



img.card-img-top.dashboard {
    height: 100px;
    display: block;
    min-height: 100px;
    min-width: 190px;
	
}

img.card-img-top.courseview {
    height: 40px;   
	width:40px;
	margin-right:1em;
	display: block;
}
.dashboardMain{
	display: inline-flex;
}




  .progress-circle svg {
   
  }

  .progress-circle circle {
    fill: none;
    stroke-width: 3;
    cx: 15;
    cy: 15;
    r: 12;
  }

  .progress-circle .bg {
    stroke: #555;
  }

  .progress-circle .fg {
    stroke: #4caf50;
    stroke-linecap: round;
    stroke-dasharray: 75.4; /* 2 * π * 12 */
    stroke-dashoffset: 75.4;
    transition: stroke-dashoffset 0.6s ease;
  }

  .progress-circle text {
    font-family: sans-serif;
    dominant-baseline: middle;
  }
  
  .progress-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(#4caf50 0%, #eee 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: #333;
    position: relative;
  }

  .progress-label {
    position: absolute;
    z-index: 1;
  }


  

.courseIndicator {
    display: flex;
    float: right;
	width: 50px;
    margin-left: 15px;
}


p.card-text {
    text-transform: capitalize;
}
small.text-muted {
    display: flow;
}

p.card-text.dashboard {
    text-transform: capitalize;
    height: 5em;
    overflow: hidden;
	line-height: 1.1em;
}

.announcementsRow{	
    overflow: scroll;	
    max-height: 300px;
}

.labelContainer{
	width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
	padding-top:2em;
	padding-bottom:2em;
}

.progress-container {
    background-color: #eee;
    border-radius: 8px;
    height: 16px;
    width: 100%;
    overflow: hidden;
  }

  .progress-bar {
    height: 100%;
    background-color: #3b82f6; /* modern blue */
    width: 0;
    transition: width 0.5s ease-in-out;
  }

.bodyInContent{
	overflow-y: clip;
}



.logo-img{
	height:50px;
}

.my-3 {
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

.navbar {
	font-family: Helvetica;
    background-color: #fff;
	border-bottom: 2px solid #555; /* Adjust '2px' for thickness and 'black' for color */
	padding-bottom: 10px;
}

ol.breadcrumb {
    font-size: 0.9em;
}

.text-sm.mb-4.breadcrumb {
    margin-top: 1.2em !important;
    margin: 0px;
    padding: 0px;
    margin-bottom: 0rem !important;
}

a.text-blue-600.hover\:underline {
    margin-left: 5px;
    margin-right: 5px;
}

.nav-tabs .nav-link {
    font-size: 1rem;
}

.profileHeader{
	margin-right:1em;
	display: contents;
}
.profileHeaderName{display: contents;}

a#headDpdown {
	color:#222;
}

li.nav-item.dropdown {
    /* max-height: 50px; */
    display: contents;
}


.dropdownManuHeader{
    padding: 1em;
}

.form-container.loginpage {
    max-width: 800px;
    width: 100%;
}

/* Auth pages (signup, etc.) */
body.auth-page .main-content {
    margin-left: 0 !important;
    max-width: 100%;
}

body.auth-page .main-content-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 2rem 1rem;
}

.auth-shell {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(8, 61, 104, 0.12);
    border: 1px solid rgba(8, 61, 104, 0.08);
    padding: 2rem 2rem 1.75rem;
}

.auth-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-primary, #0d6efd);
}

.auth-title {
    font-weight: 700;
    color: #083d68;
}

.auth-subtitle {
    font-size: 0.95rem;
}

.auth-footer a {
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.tenant-admin-dashboard .application-card {
    border-left: 4px solid var(--bs-primary, #0d6efd);
}

.tenant-admin-dashboard .upgrade-success-banner {
    border: 1px solid rgba(25, 135, 84, 0.35);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 45%, #f0fdf4 100%);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
    overflow: hidden;
    position: relative;
}

.tenant-admin-dashboard .upgrade-success-banner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #10b981, #059669);
}

.tenant-admin-dashboard .upgrade-success-banner__inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.25rem 1.15rem 1.35rem;
}

.tenant-admin-dashboard .upgrade-success-banner__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15);
}

.tenant-admin-dashboard .upgrade-success-banner__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #059669;
}

.tenant-admin-dashboard .upgrade-success-banner__title {
    color: #064e3b;
    font-weight: 700;
}

.tenant-admin-dashboard .upgrade-success-banner__text {
    color: #065f46;
    font-size: 0.95rem;
}

.tenant-admin-dashboard .upgrade-success-banner__close {
    margin-left: auto;
    flex-shrink: 0;
}
.loginPageBox{
	display: flex; gap: 20px; align-items: stretch;
}
.loginPageInner{
	flex: 1; border: 1px solid #ccc; padding: 20px;
}
td {
    border-color: #e1d6d6;
    border-style: solid;
    border-width: 1px;
    padding: 0.5em;
}

.articleTumbnail{
	width: 80px;
    display: inline-block;
    padding: 5px;
}

.articleClass{
	cursor: pointer;
}

.articleClass:hover{
	cursor: pointer;
	background-color: #f3eeeeb8;
}

thead {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    background-color: #083d68;
    color: #fff;
}







#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    backdrop-filter: blur(5px);           /* Modern blur effect */
    z-index: 9999;                        /* Stay on top of everything */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    font-family: sans-serif;
}

/* A simple CSS Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db; /* Your brand color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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


a#headDpdown {
    display: flex;
    line-height: 4em;    
}

.mt-2.flex.items-center.space-x-2.text-sm {
    display: inline-flex;
	margin-right: 1em;
}

.articleTumbnail {
    display: none;
}

.divArticleList{
	display: flex;
}

span.pill-btn {
    margin: 2px 2px;
    background-color: #fff;
    color: #1111ee;
    padding: 0px;
    padding-left: 0.2em;
	border-left: 1px solid #ccc;
	border-radius:0px;
}

.list-tags{
	margin: 2px 2px;
    background-color: #fff;
    color: #1111ee;
    padding: 0px;
    padding-left: 0.2em;
	border-left: 1px solid #ccc;
	border-radius:0px;
}

.list-tags:hover{
	font-weight:bold;
}

.searchLink{
	color: #1111ff;
    font-size: 0.9em;
    font-style: italic;
    display: flex;
}




/* Modern Dashboard Styling */
.dashboard-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-top {
    height: 160px;
    object-fit: cover;
}

.border-left-primary {
    border-left: 4px solid #5d778f !important;
}

.rich-content img {
    max-width: 100%; /* Prevents large images in notices from breaking layout */
    height: auto;
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
}





.notice-body iframe {
    width: 100%;
    height: 315px; /* Default height */
    border-radius: 8px;
    margin: 10px 0;
}


/* Container for the video notice */
.video-thumbnail-container {
    width: 300px; /* Initial Thumbnail Width */
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: #000;
}

/* When the video has a class of 'expanded' 
.video-thumbnail-container.expanded {
    width: 100%; 
    max-width: 800px;
}

.video-thumbnail-container video {
    width: 100%;
    display: block;
}
/**/



.video-thumbnail-container {
    position: relative;
}

.video-thumbnail-container::after {
    content: '\f04b'; /* FontAwesome Play Icon */
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.7;
    pointer-events: none; /* Allows clicks to pass through to the video */
    transition: opacity 0.3s;
}

/* Hide play icon when expanded or playing */
.video-thumbnail-container.expanded::after {
    opacity: 0;
}










@media (max-width: 600px) {
    .notice-body iframe {
        height: 200px;
    }
}




@media (max-width: 1170px) {
    aside.col-md-3.blog-sidebar {
		display: contents;
	}
}


@media (max-width: 500px) {
    .myform2elems {
		display: inline-block;
		margin-left: 0em;		
	}
	
	.divsearch {		
		display: none;
	}
	.navbar {
		max-height: 5em;		
	}
	.form-group {    
		display: inline-block !important;
	}
	.myform2elems{ 
		width: 100%;
	}
	.dateDiv{
		margin: auto;
		margin-bottom: 1em;		    
	}
	.popup-message {   
		transform: translateX(-5%);
		width: 300px; 
		white-space: normal;
	}
	.dashboardMain{
		display: contents;
	}
	.dashboardCard {
        width: 96%;
        margin: 0.5em;
		display: block;
		margin-left: 0.5em;
    }
	img.card-img-top.dashboard {
		display: block;
		min-height: auto;
		min-width: 190px;
		width: 100%;		
	}
	.profileHeaderName{display:none;}
	
	.loginPageBox {
		display: block;
		margin-bottom: 1em;
			
	}
	.loginPageInner {
		margin-bottom: 1em;
	}

}

/* Dashboard layout: calendar block — course-coloured event dots */
.dashboard-cal-event-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	vertical-align: middle;
}
.dashboard-cal-event-dot:hover {
	filter: brightness(1.12);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(13, 110, 253, 0.35);
}
.dashboard-cal-event-dot:focus-visible {
	outline: 2px solid var(--bs-primary, #0d6efd);
	outline-offset: 2px;
}
.dashboard-cal-event-row {
	min-height: 1.1rem;
}

/* Dashboard sidebar blocks — collapsible accordion header */
.dashboard-block-accordion,
.dashboard-calendar-accordion {
	--dashboard-block-header-bg: #3d6670;
	border-radius: 0.375rem;
	overflow: hidden;
}
.dashboard-block-accordion .accordion-item,
.dashboard-calendar-accordion .accordion-item {
	background: #fff;
}
.dashboard-block-accordion__toggle,
.dashboard-calendar-accordion__toggle {
	background-color: var(--dashboard-block-header-bg) !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 0.375rem 0.375rem 0 0;
	box-shadow: none !important;
}
.dashboard-block-accordion__toggle:not(.collapsed),
.dashboard-calendar-accordion__toggle:not(.collapsed) {
	border-radius: 0.375rem 0.375rem 0 0;
}
.dashboard-block-accordion__toggle.collapsed,
.dashboard-calendar-accordion__toggle.collapsed {
	border-radius: 0.375rem;
}
.dashboard-block-accordion__toggle::after,
.dashboard-calendar-accordion__toggle::after {
	filter: brightness(0) invert(1);
	opacity: 0.95;
}
.dashboard-block-accordion__toggle:focus,
.dashboard-calendar-accordion__toggle:focus {
	box-shadow: 0 0 0 0.2rem rgba(61, 102, 112, 0.35) !important;
	border-color: transparent;
}
.dashboard-block-accordion__title,
.dashboard-calendar-accordion__title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.dashboard-block-accordion__title .fa,
.dashboard-calendar-accordion__title .fa {
	font-size: 1.05rem;
	opacity: 0.95;
}
.dashboard-block-accordion__body--calendar,
.dashboard-calendar-accordion__body {
	padding: 1rem 1rem 1.25rem;
}
.dashboard-block-accordion .accordion-collapse,
.dashboard-calendar-accordion .accordion-collapse {
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-top: none;
	border-radius: 0 0 0.375rem 0.375rem;
}
.blog-sidebar .dashboard-block-wrap:last-child .dashboard-block-accordion {
	margin-bottom: 0;
}

/* Dashboard — current / historic courses & programs tabs */
.dashboard-enrolment-tabs-wrap {
	width: 100%;
	margin-bottom: 1rem;
}
.dashboard-enrolment-tabs {
	display: flex;
	align-items: flex-end;
	gap: 2rem;
	border-bottom: 1px solid #dee2e6;
	margin-bottom: 1.25rem;
	padding: 0;
}
.dashboard-enrolment-tabs__tab {
	appearance: none;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin: 0 0 -1px;
	padding: 0.5rem 0 0.65rem;
	font-size: 1rem;
	font-weight: 500;
	color: #6c757d;
	cursor: pointer;
	line-height: 1.3;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.dashboard-enrolment-tabs__tab:hover {
	color: #212529;
}
.dashboard-enrolment-tabs__tab.is-active {
	color: #212529;
	font-weight: 700;
	border-bottom-color: #5b9bd5;
}
.dashboard-enrolment-tabs__tab:focus-visible {
	outline: 2px solid #5b9bd5;
	outline-offset: 2px;
}
.dashboard-enrolment-tabs__count {
	font-weight: inherit;
	color: inherit;
}
.dashboard-enrolment-panel {
	width: 100%;
}
.dashboard-enrolment-cards.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: 0;
	margin-left: 0;
}
.dashboard-historic-list__item {
	border-bottom: 1px solid #eee;
}
.dashboard-historic-list__item:last-child {
	border-bottom: none;
}
.dashboard-historic-list__link {
	display: block;
	padding: 0.75rem 0;
	text-decoration: none;
	color: inherit;
}
.dashboard-historic-list__link:hover {
	background-color: #f8f9fa;
	text-decoration: none;
}
.dashboard-historic-list__name {
	display: block;
	font-weight: 600;
	color: #212529;
}
.dashboard-historic-list__meta {
	display: block;
	font-size: 0.875rem;
	margin-top: 0.15rem;
}

.text-truncate{
	font-weight: bold;
	color:#0000ff;
}

/* Course learner subnav: icon + label, underline active (matches course UI mock) */
.course-subnav {
	border-bottom: 1px solid #dee2e6;
}
.course-subnav-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1.75rem;
}
.course-subnav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0 0.65rem;
	color: #495057;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.course-subnav-link i {
	opacity: 0.85;
	font-size: 1rem;
}
.course-subnav-link:hover {
	color: #212529;
	text-decoration: none;
}
.course-subnav-link:focus-visible {
	outline: 2px solid #0d6efd;
	outline-offset: 2px;
}
.course-subnav-link.is-active {
	color: #212529;
	border-bottom-color: #495057;
}

/* Softer accordion section headers (less “tab button”) on course view */
#accordionExample .accordion-button {
	background-color: #fff;
	color: #495057;
	font-weight: 500;
	box-shadow: none;
}
#accordionExample .accordion-button:not(.collapsed) {
	background-color: #fff;
	color: #212529;
	box-shadow: none;
}
#accordionExample .accordion-button:focus {
	box-shadow: none;
	border-color: rgba(0, 0, 0, 0.08);
}

button.btn.btn-outline-light.btn-sm.py-1.px-2 {
    color: #111;
}


a#headDpdown {
    background-color: #5d778f;
}

i.fa.fa-sign-out {
    /* background-color: #5d778f; */
    color: #5d778f;
}

element {
}

@media (min-width: 576px) {
  .ms-sm-auto {
    margin-left: 0px!important;
  };
  }
}