body {
  font-family: sans-serif;
}
.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);
}

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

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

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
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 48px; /* Height of navbar */
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  background-color: #083d68;
}

.sidebar .nav-link {
  font-weight: 500;
  color: #eee;
}

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

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

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

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * 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;
}

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

.mr-auto, .mx-auto {
    margin-right: auto !important;/**/
}
.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;}
.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;
}



.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;
}
label {
    width: 150px;
}
.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;
}

.card.mb-4.box-shadow {
    height: 350px;
    /*margin: 0.5em; */
	width: 100%;
}

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


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

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;
}
.dashboardCard {
    /*min-width: 170px;*/
    width: 240px;
    margin-right: 1em;
}
.p-3 {
	width: -webkit-fill-available;
}
p.card-text {
    text-transform: capitalize;
}
small.text-muted {
    display: flow;
}

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

.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;
}

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

.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;
}

a.nav-link {
    color: #333;
}
.dropdownManuHeader{
    padding: 1em;
}

.form-container.loginpage {
    max-width: 800px;
    width: 100%;
}
.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;
}


@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;
	}
	.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;
	}

}
