@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
:root {
    --primary:  #002D62;
    --secondary:  #001B3A;
    --dark: #36454F;
    --light: #F1ECE6;
    --gold: #ffb547;
    --gold-dark: #fca21c;
  --light-dark: #666666;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.page-layout-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    height: 100vh;
}

.page-layout-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url(../images/Lines.png) center / cover no-repeat;
  opacity: 0.3; /* Adjust opacity here */
  z-index: -1;
}

.pages-content-wrapper  {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}



/* Tab  */
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--secondary);
    background-color: var(--gold);
}



/* Custom Text Color */
.text-gold {
  color: var(--gold);
}
.bg-gold {
  background-color: var(--gold) !important;
}













.page-bg-image img {
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1600px !important;
}

section {
    width: 100%;
    height: auto;
}

/***************    START TABLE      ***************/

th,  td {
  border: 0;
  border-color: #e4e6e8 !important;
}
/*************** END TABLE ***************/


/*************** START LIST STYLE ***************/
ul li{
  list-style: none;
}
/***************    END LIST STYLE      ***************/


/*************** BUTTON ***************/
a {
    text-decoration: none !important;
}

/* delete button */
.delete-button {
    background-color: #dc354621 !important;
    color: #dc3545 !important;
    transition: background-color .3s ease, color .3s ease;
}

.delete-button:hover {
    background-color: #dc3546e0 !important;
    color: #f8dadd !important;
    transition: background-color .3s ease, color .3s ease;
}

/* edit button */
.edit-button {
    background-color: #002e6223 !important;
    color: #002d62 !important;
    transition: background-color .3s ease, color .3s ease;
}

.edit-button:hover {
    background-color: #002d62 !important;
    color: #c2d8f1 !important;
    transition: background-color .3s ease, color .3s ease;
}

/* primary button */
.btn-primary {
    background-color: var(--primary) !important;
    color: var(--light) !important;
    border-color: var(--primary) !important;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--secondary);
  font-weight: 800 !important;
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: var(--secondary) !important;
}

.btn-gold-hover:hover {
  background-color: var(--gold-dark);
}

.btn-outline-gold {
  color: #fff;
  background-color: transparent;
  border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold-dark);
  border: 2px solid var(--gold-dark);
  color: #fff;
}


.btn-outline-gold {
    border: 2px solid var(--gold) !important;
}

.btn-primary:hover {
    background-color: var(--secondary) !important;
}

.btn-outline-primary,
.btn-outline-dark {
  border: 2px solid var(--primary) !important;
  color: var(--primary);
}

.btn-outline-light {
  border: 2px solid var(--light) !important;
  color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-dark:hover,
.btn-outline-light:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--light) !important;
}

.btn {
    padding: 6px 20px;
    border-radius: 100px;
}

a{
  text-decoration: none !important;
}
/*************** END BUTTON ***************/


.dropdown-avatar {
  width: 60px;
  height: 60px;
  background-color: var(--gold);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}



.nav-link:hover {
 color: #002d62;
}


/*************** START CHECKBOX ***************/
.form-check-input {
  transform: scale(1.4); 
}
  .checkbox-wrapper {
    box-sizing: border-box;
    --background-color: #fff;
    --checkbox-height: 20px;
  }

  @-moz-keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @-webkit-keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @keyframes dothabottomcheck-19 {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  @-webkit-keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  @-moz-keyframes dothatopcheck-19 {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  .checkbox-wrapper input[type=checkbox] {
    display: none;
  }

  .checkbox-wrapper .check-box {
    height: var(--checkbox-height);
    width: var(--checkbox-height);
    background-color: transparent;
    border: calc(var(--checkbox-height) * .1) solid #000;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: border-color ease 0.2s;
    -o-transition: border-color ease 0.2s;
    -webkit-transition: border-color ease 0.2s;
    transition: border-color ease 0.2s;
    cursor: pointer;
  }
  .checkbox-wrapper .check-box::before,
  .checkbox-wrapper .check-box::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    height: 0;
    width: calc(var(--checkbox-height) * .2);
    background-color: #34b93d;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 5px;
    content: " ";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
  }

  .checkbox-wrapper .check-box::before {
    top: calc(var(--checkbox-height) * .72);
    left: calc(var(--checkbox-height) * .41);
    box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  .checkbox-wrapper .check-box::after {
    top: calc(var(--checkbox-height) * .37);
    left: calc(var(--checkbox-height) * .05);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .checkbox-wrapper input[type=checkbox]:checked + .check-box,
  .checkbox-wrapper .check-box.checked {
    border-color: #34b93d;
  }

  .checkbox-wrapper input[type=checkbox]:checked + .check-box::after,
  .checkbox-wrapper .check-box.checked::after {
    height: calc(var(--checkbox-height) / 2);
    -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    animation: dothabottomcheck-19 0.2s ease 0s forwards;
  }
  .checkbox-wrapper input[type=checkbox]:checked + .check-box::before,
  .checkbox-wrapper .check-box.checked::before {
    height: calc(var(--checkbox-height) * 1.2);
    -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
    animation: dothatopcheck-19 0.4s ease 0s forwards;
  }
/***************    START CHECKBOX     ***************/



/***************    START CARD     ***************/
.card {
  border: 0 !important;
  box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}
/*************** END CARD ***************/


/*************** Custom Dropdown ***************/
.action, .notification,
.global-dropdown-menu {
  /* position: fixed; */
  top: 20px;
  right: 30px;
}

.action .profile,
.notification .profile {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.action .menu,
.notification .notification_menu_list,
.admin_navbar .adminmenu,
.global-dropdown-menu .global_menu {
  position: absolute;
  top: 120px;
  right: 22px;
  padding: 10px 20px;
  background: #fff;
  width: auto;
  box-sizing: 0 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.global-dropdown-menu .global_menu {
   right: 112px !important;
}

.global-dropdown-menu .global_menu .custom-dropdown-item {
  flex: 30%;
  min-width: 200px;
}



.global-dropdown-menu .global_menu.active {
  top: 85px;
  right: 112px;
  visibility: visible;
  opacity: 1;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.action .menu::after,
.notification .notification_menu_list::after,
.admin_navbar .adminmenu::after,
.global-dropdown-menu .global_menu::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 20px;
  height: 20px;
  background: #fff;
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.action .menu::before,
.notification .notification_menu_list::before,
.admin_navbar .adminmenu::before,
.global-dropdown-menu .global_menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2;
  border-radius: 15px;
}

.menu-list ul {
  z-index: 3 !important;
  position: relative;
}

.action .menu ul li:hover img {
  opacity: 1;
}


/***************    START REVEAL ANIMATION    ***************/
  .reveal {
    position: relative;
    opacity: 0;
    transition: all .5s ease;
    background-color: transparent;
  }
  
  .reveal.active {
    opacity: 1;
    transition: all .9s ease;
  }
  .active.fade-bottom {
    animation: fade-bottom 1s ease-in;
  }
  .active.fade-left {
    animation: fade-left 1s ease-in;
  }
  .active.fade-right {
    animation: fade-right 1s ease-in;
  }
  .active.zoom-in {
    animation: zoom-in 0.8s ease-in-out;
  }
  @keyframes fade-top {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fade-bottom {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-left {
    0% {
      transform: translateX(-50px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fade-right {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes zoom-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/***************    END REVEAL ANIMATION    ***************/



.offcanvas {
  background-color: #fff;
  color: #fff;
  height: 100vh;
}

.offcanvas-body  {
  display: flex;
  justify-content: end;
}

.bg-body-tertiary {
  background-color: unset !important;
}

.navbar-toggler {
  padding: 8px 10px !important;
  border: 1.5px solid #a7a7a7 !important;
  margin-right: 16px !important;
}

.fa-bars {
  color: #a7a7a7 !important;   
}

.menu-on-mobile {
  display: none;
}

.menu-on-mobile li{
  list-style: none;
  margin: 0 10px;
}

.menu-on-mobile .custom-dropdown-item span:first-child {
  color: var(--dark);
  transition: color .3s ease-in-out;
}

.menu-on-mobile .custom-dropdown-item:hover span:first-child {
  color: var(--primary);
  transition: color .3s ease-in-out;
}

.custom-dropdown-item {
  position: relative;
  padding: 10px;
  border-radius: 6px;
}

.custom-dropdown-item:hover,
.custom-dropdown-item.active {
  background-color: #1c81f310;
  cursor: pointer;
}

.custom-dropdown-item:hover .dropdown-item-text,
.custom-dropdown-item:hover .icon-wrapper {
  color: var(--primary) !important;
}

.dropdown-item-text {
  color: #777777;
}

.dropdown-item-text:first-child {
  font-size: 14px;
}

.custom-dropdown-item.active .dropdown-item-text,
.custom-dropdown-item.active .icon-wrapper{
  color: var(--primary) !important;
}

.icon-wrapper {
  width: 40px; 
  height: 40px; 
  /* color: #002e62f8;  */
  color:#36454F;
  background-color: #0664cf25;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.custom-dropdown-item:hover  .icon-wrapper {
  color:#0664cf;
  background-color: #002e6250;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.custom-dropdown-item:hover span:first-child {
  color: #0664cf;
  transition: color .3s ease-in-out;
}


.menu-on-mobile .user-fullname {
  color: var(--primary);
}

.menu-on-mobile .user-email {
  color: var(--dark);
}

@media (max-width: 991px) { 
  .offcanvas-body  {
      display: flex;
      justify-content: start
  }
  .menu-on-mobile {
      display: block;
  }
  .user-firtsname {
      display: none;
  }
}

@media (max-width: 820px) {
  .navbar-toggler {
      margin-right: 10px !important;   
  }
  .navbar-wrapper {
      height: 70px;
  }

  .mobile-logo img {
      width: 200px !important;
  }
  .offcanvas-body  {
      display: flex;
      justify-content: start
  }
}

.user-firtsname {
  color: #a7a7a7;
}

/***************    END NAVIGATION    ***************/


/* Remove borders and background */
.nav-tabs {
  flex-direction: column;
  min-width: 200px;
  border: none;
}
.nav-tabs .nav-item {
    width: 100%;
}
 .nav-item a {
    font-weight: 800 !important;
}
.nav-tabs .nav-link {
  color: #333;
  background: none;
  padding: 12px 15px;
  text-align: left;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.nav-link {
  font-weight: 500 !important;
  border-radius: 100px;
  /* padding: 6px 16px !important; */
}
.nav-link:hover {
   background-color: #002e6218 !important;
   cursor: pointer;
}
.nav-link.nav-link-load.active {
  background-color: var(--light);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

@media (max-width: 991px) {
    .nav-link.nav-link-load.active {
    background-color: transparent;
    color: var(--primary);
    /* text-decoration: underline !important; */
      border: none;
    font-weight: 700 !important;
  }
}

/* Hover effect */
.nav-tabs .nav-link:hover {
  background: #f1f1f1;
  color: #000;
}

/* Active tab styling */
.nav-tabs .nav-link.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}

/* Tabs Content */
.tab-content {
  flex-grow: 1;
  padding: 20px;
}


/* BREADCRUM */
.breadcrumb-item + .breadcrumb-item::before {
  content: '•';
  font-size: 2rem; /* Bigger dot */
  color: #0dcaf0;  /* Optional: match Bootstrap info color */
  vertical-align: middle;
  line-height: 20px;
}
/* END BREADCRUM */

/* TABLE STYLE */


 @keyframes scaleDown {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(0.4);
    }
    80% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }



  .cstm-tr:hover th div,
  .cstm-tr:hover td div {
    animation: scaleDown 0.4s forwards;
    display: inline-block;       
    transform-origin: center center; 
  }


.pace .pace-progress {
	background: var(--secondary) !important;
	position: fixed;
	top: 0;
	right: 100%;
	width: 100%;
	height: 2px;
  z-index: 99999 !important;
}

.spinner-wrapper {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.979);
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 9999;
}

.spinner-border {
  width: 60px !important;
  height: 60px !important;
  animation: slowSpin 2s linear infinite;
  border-color: var(--secondary) !important;
    border-right-color: transparent !important;
}

.logo {
  position: absolute;
  width: 45px;
  height: 45px;
  background: url('../img/logo2.gif') no-repeat center;
  background-size: contain;
}

.hidden {
  display: none;
}

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

.owl-item {
  height: min-content;
}

 /* Style the select dropdown */
 .bootstrap-select .dropdown-toggle {
  border: 2px solid #0d6efd;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  background-color: white;
  color: #0d6efd;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.bootstrap-select .dropdown-toggle:hover {
  background-color: #0d6efd;
  color: white;
}

/* Style the dropdown menu */
.bootstrap-select .dropdown-menu {
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Style the search box */
.bootstrap-select .bs-searchbox input {
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
}

/* Style options */
.bootstrap-select .dropdown-item {
  font-size: 16px;
  padding: 10px;
}

.bootstrap-select .dropdown-item:hover {
  background-color: #0d6efd;
  color: white;
}

/* Apply ellipsis to the label */
.text-overflow-ellipsis {
 display: inline-block;
 max-width: 100%; /* Adjust based on layout */
 white-space: nowrap;
 text-overflow: ellipsis;
}

.Choices-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.answer {
  min-width: 25%;
}

label {
  color: gray;
}

.check-icon {
  padding: 0 17px;
}

.choices-wrapper .correct-answer .check-icon {
  padding: 0 10px;
}

.choices-wrapper .fa-check {
  display: none !important;
}

.correct-answer .fa-check, .correct-answer label {
  color: green;
  display: block;
}

.accordion-button:focus {
  box-shadow: unset !important;
}

/* .accordion-button {
  border-bottom: 1px solid gray;
} */

.accordion-button:not(.collapsed) {
  /* background-color: unset !important; */
  background-color: transparent !important;
  box-shadow: unset !important;
}

.accordion-button::after {
  display: none !important;
}

.modal {
  z-index: 999999 !important;
}

.modal-backdrop.show {
  z-index: 99999 !important;
}

.hidden {
  display: none !important;
}


/* SWEET ALERT MODAL */
.delete-btn {
  margin-right: 10px !important; /* Adjust as needed */
}

.swal2-actions {
  gap: 10px !important;
}



/* Notes Section */
  .card-header {
    position: relative;
  }
.notes_body::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 25px;
    width: 4px;
    height: 38px;
    background-color: #0d6efd;
}
/* start: Global */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* start: Avatar */
.avatar-group {
    display: flex;
    align-items: center;
    justify-content: end;
}
.avatar-group .avatar {
    margin: 0 10px;
    position: relative;
    transition: .2s;
}
.avatar-group .avatar:not(:first-child) {
    margin-left: -1.5rem;
}
.avatar-group .avatar:hover {
    z-index: 1;
    transform: translateY(-.5rem);
}
.avatar-group .avatar-name {
    position: absolute;
    bottom: calc(100% + .5rem);
    left: 50%;
    transform: translateX(-50%);
    padding: .5rem .75rem;
    border-radius: .25rem;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: .875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}
.avatar-group .avatar-name::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: .5rem solid;
    border-color: rgba(0, 0, 0, .7) transparent transparent;
}
.avatar-group .avatar:hover  .avatar-name {
    opacity: 1;
    visibility: visible;
}
.avatar-group .avatar img {
 width: 40px;
    height: 40px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .1);
}
.placeholder-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d6efd;
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .1);
  position: relative;
}

.placeholder-avatar .avatar-group .avatar-placeholder {
  pointer-events: none;
}




/* Profile Upload Modal */

.profile-upload-modal-image-box-wrapper {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #888 #ffffff00; /* for Firefox */
}

.profile-upload-modal-image-box-wrapper::-webkit-scrollbar {
  width: 2px;
}

.profile-upload-modal-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 80px;
  min-width: 90px;
  min-height: 80px;
  overflow: hidden; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-upload-modal-image-box img {
  width: 100%;
  height: 100%;
}

.profile-upload-modal-image-box:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: transparent;
  transition:  background-color .3s ease-in-out
}

.profile-upload-modal-image-box:hover::before {
  background-color: #0000009d;
  transition:  background-color .3s ease-in-out
}

.profile-checkbox {
  position: absolute;
  left: 10px;
  top: 10px;
}

.profile-upload-modal-image-box.selected::before {
  background-color: #0000009d !important;
}
















