/* NOTE: custom css for overriding */

.copyright {
  background-color: #1a252f;
  color: #cbcbcb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}


body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: #f4f6f4 !important;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-x: hidden;
}

/* Avatar */
.avatar-24 {
  font-size: 12px !important;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* Scale out animation for active carousel item */
@keyframes scaleOut {
  0% {
      transform: scale(1);
  }
  100% {
      transform: scale(1.05);
  }
}

/* Scale in animation for active carousel item */
@keyframes scaleIn {
  0% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}

/* Apply scale-out animation to active carousel item */
.carousel-fade .carousel-item.active {
  animation: scaleIn 0.5s ease-in-out forwards;
}

/* Apply scale-in animation when carousel item becomes inactive */
.carousel-fade .carousel-item:not(.active) {
  animation: scaleOut 0.5s ease-in-out forwards;
}


/* Custom styles for the social icons */
.social-icons {
  font-size: 24px;
  color: #1a252f;
  /* Adjust the font size as needed */
}

.social-icons a {
  color: #416a59;
  /* Adjust the font size as needed */
}

.social-icons a:hover {
  color: #3c6353;
  /* Adjust the font size as needed */
}

.social-icons i {
  margin-right: 20px;
  /* Add spacing between the icons */
}

/* NOTE: JS Tree folder structure css */
div#jstree li {
  min-height: 20px;
  line-height: 30px;
}

div#jstree a {
  font-size: 18px;
}

div#jstree a ins {
  height: 18px;
  width: 18px;
}

.jstree-default a { 
  white-space:normal !important; height: auto; 
}
.jstree-anchor {
  height: auto !important;
}
.jstree-default li > ins { 
  vertical-align:top; 
}
.jstree-leaf {
  height: auto;
}
.jstree-leaf a{
  height: auto !important;
}

/* footer css */
.footer {
  background-color: #3b4e4a;
}

.footer a,
.footer h5 {
  color: #f4f6f4;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;
}

.footer a:hover {
  color: #c1c1c1 !important;
}

.footer li {
  color: #b3b3b3;
}

.footer form label {
  color: #b3b3b3;
}


/* footer */
.details a,
.details h5 {
  color: #416A59;
  /* font-family: Work Sans; */
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-variant: all-small-caps;
}

.details a,
.details h5:hover {
  color: #416A59 !important;
}

/* override themes button */
.green-btn {
  background-color: #28c76f !important;
  color: #f3f2f5 !important;
}

.green-btn:hover {
  background-color: #23aa60 !important;
  color: #f3f2f5 !important;
}

.green-btn:active {
  background-color: #23aa60 !important;
  color: #f3f2f5 !important;
  box-shadow: none !important;
  border: none !important;
  border-color: #f3f2f5 !important;
}

.register-btn {
  background-color: #2876c7 !important;
  color: #f3f2f5 !important;
}

.register-btn:hover {
  background-color: #205690 !important;
  color: #f3f2f5 !important;
}



a.nav-link:hover {
  color: #416a59 !important;
}

a.nav-link.text-decoration-underline {
  color: #416a59 !important;
}


/* dropdown on profile */
a.dropdown-item:hover,
button.dropdown-item:hover,
button.dropdown-item a:hover {
  background-color: #d4e7d1 !important;
  color: #416a59 !important;
  /* font-weight: 400; */
}

.gear-icon {
  color: #5a917a !important;
}

.gear-icon:hover {
  color: #416a59 !important;
}

/* button[type=submit] {
  background-color: #10c469 !important;
  color: white !important;
} */

/* Document */
.btn-primary.search-doc-btn.active,
.btn-primary.search-doc-btn:active,
.btn-primary.search-doc-btn:focus {
  background-color: white;
  /* Change the background color */
  color: #416a59;
  /* Change the text color to the original primary color */
  border-color: #416a59;
  /* Change the border color to the original primary color */
}

.btn-primary.search-doc-btn:hover {
  background-color: rgb(255, 255, 255);
  /* Change the background color */
  color: #416a59;
  /* Change the text color to the original primary color */
  border-color: #416a59;
}

.doc-repo-nav-icon {
  color: #416a59 !important;
}

tbody.a:hover {
  color: #416a59 !important;
}

/*  */



/* Admin - manage user */

.user-management {
  color: #566787;
  background: #f5f5f5;
  /* font-family: 'Varela Round', sans-serif; */
  font-size: 15px;
}

.table-responsive {
  margin: 30px 0;
}

.table-wrapper {
  min-width: 1000px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.table-title {
  padding-bottom: 15px;
  background: #416a59;
  color: #fff;
  padding: 16px 30px;
  margin: -20px -25px 10px;
  border-radius: 3px 3px 0 0;
}

.table-title h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.table-title .btn {
  color: #566787;
  float: right;
  font-size: 13px;
  background: #fff;
  border: none;
  min-width: 50px;
  border-radius: 2px;
  border: none;
  outline: none !important;
  margin-left: 10px;
}

.table-title .btn:hover,
.table-title .btn:focus {
  color: #566787;
  background: #f2f2f2;
}

.table-title .btn i {
  float: left;
  font-size: 21px;
  margin-right: 5px;
}

.table-title .btn span {
  float: left;
  margin-top: 2px;
}

table.table tr th,
table.table tr td {
  border-color: #e9e9e9;
  padding: 12px 15px;
  vertical-align: middle;
}

table.table tr th:first-child {
  width: 60px;
}

table.table tr th:last-child {
  width: 100px;
}

table.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fcfcfc;
}

table.table-striped.table-hover tbody tr:hover {
  background: #f5f5f5;
}

table.table th i {
  font-size: 13px;
  margin: 0 5px;
  cursor: pointer;
}

table.table td:last-child i {
  opacity: 0.9;
  font-size: 22px;
  margin: 0 5px;
}

table.table td a {
  font-weight: bold;
  color: #566787;
  display: inline-block;
  text-decoration: none;
}

table.table td a:hover {
  color: #2196F3;
}

table.table td a.settings {
  color: #2196F3;
}

table.table td a.delete {
  color: #F44336;
}

table.table td i {
  font-size: 19px;
}

table.table .avatar {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

.status {
  font-size: 30px;
  margin: 2px 2px 0 0;
  display: inline-block;
  vertical-align: middle;
  line-height: 10px;
}

.text-success {
  color: #10c469;
}

.text-info {
  color: #62c9e8;
}

.text-warning {
  color: #FFC107;
}

.text-danger {
  color: #ff5b5b;
}

.pagination {
  float: right;
  margin: 0 0 5px;
}

.pagination li a {
  border: none;
  font-size: 13px;
  min-width: 30px;
  min-height: 30px;
  color: #999;
  margin: 0 2px;
  line-height: 30px;
  border-radius: 2px !important;
  text-align: center;
  padding: 0 6px;
}

.pagination li a:hover {
  color: #666;
}

.pagination li.active a,
.pagination li.active a.page-link {
  background: #03A9F4;
}

.pagination li.active a:hover {
  background: #0397d6;
}

.pagination li.disabled i {
  color: #ccc;
}

.pagination li i {
  font-size: 16px;
  padding-top: 6px
}

.hint-text {
  float: left;
  margin-top: 10px;
  font-size: 13px;
}



/* Home - faq */
.faq h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;

}

.quote h2 {
  font-size: 36px;
  font-weight: bold;
  color: #416a59;

}

.blockquote-footer {
  font-size: 15px !important;
}

.justify {
  text-align: justify;
  text-justify: inter-word;
}

.sticky-top {
  top: 20px !important;
  /* Set the distance from the top of the viewport */
}


.accordion-item {
  background-color: #d4e7d1 !important;
  /* Light green accordion item background color */
  border: none;
  border-bottom: 1px solid #9bc48a !important;
  /* Dark green border color */
}

.accordion-button {
  color: #216e39 !important;
  /* Dark green text color for the accordion button */
  background-color: #d4e7d1 !important;
  /* Medium green background color for the accordion button */
}

.accordion-button:hover {
  background-color: #b4ceb0 !important;
  /* Darker green background color on hover */
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(216, 216, 216, 0.463) !important;
  /* Green shadow when focused (selected) */
}

.accordion-button.collapsed {
  background-color: #d4e7d1 !important;
  /* Medium green background color for the collapsed accordion button */
}

.accordion-button.collapsed:hover {
  background-color: #b4ceb0 !important;
  /* Medium green background color for the collapsed accordion button */
}

.accordion-body {
  background-color: #e7e7e7 !important;
  /* Light green accordion body background color */
  color: #216e39 !important;
  /* Dark green text color for the accordion body */
}



/* visitor counter */
.visitor-counter {
  /* max-width: 500px; */
  margin-top: 0;
  margin-bottom: 10px;
  /* margin-left: 25px; */
  background-color: #d4e7d1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 5px;
}

hr.vertical-line {
  border: none;
  /* Remove default border */
  height: 1px;
  /* Height of the horizontal line */
  background-color: #838383 !important;
  /* Color of the horizontal line */
  margin: 0 0 10px 0;
  /* Top and bottom margin for the horizontal line */
}

.title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.title svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  fill: #416a59;
}

.first-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.counter {
  text-align: center;
}

.counter-title {
  font-size: 18px;
  color: #888;
}

.counter-title i {
  font-size: 20px;
  color: #416a59;
}

.counter-count {
  font-size: 30px;
  color: #416a59;
}

.today-counter {
  text-align: center;
  flex: 1;
  /* Added this to make it take the remaining space */
}

.layout-one-counters {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.layout-one-counters .counter {
  text-align: center;
  width: 23%;
}

.layout-one-counters .counter-title {
  font-size: 12px;
  color: #888;
}

.layout-one-counters .counter-count {
  font-size: 18px;
  color: #416a59;
}


/* css for upload download files stats*/
.document-operation-stats {
  padding: 20px;
  border-radius: 5px;
  background-color: #d4e7d1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.stat {
  text-align: center;
  padding: 20px;
  border-right: 1px solid #bbbfc1;
}

/* Remove border-right for the last .stat element on mobile screens */
@media (max-width: 767px) {
  .stat {
    border-bottom: 1px solid #bbbfc1;
    border-right: none;
  }
}

@media (min-width: 768px) and (max-width: 1020px) {
  .stat h4{
    /* display: none !important; */
    font-size: 13px !important;
  }
}

.stat:last-child {
  border-right: none;
  border-bottom: none;
}

.stat i {
  font-size: 40px;
  color: #416a59;
  margin-bottom: 10px;
}

.stat h4 {
  color: #6c757d;
  font-size: 18px;
  margin-bottom: 10px;
}

.stat .stat-value {
  color: #416a59;
  font-size: 26px;
  font-weight: bold;
}



/* ----------------------------------------------------------------
/* CSS for Online Users Section */
.user-online {
  margin-top: 10px;
  background-color: #d4e7d1;
  /* Background color */
  border: 1px solid #dee2e6;
  /* Border color */
  border-radius: 8px;
  /* Border radius */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Box shadow */
  padding: 15px;
  /* Padding */
  text-align: center;
  /* Center align the content */
}

.user-online h5 {
  font-size: 23px;
  /* Font size for the title */
  margin-bottom: 15px;
  /* Bottom margin for the title */
}

.user-online p {
  font-size: 25px;
  /* Font size for the user count */
  margin-bottom: 0;
  /* Remove default margin for paragraphs */
}

.user-online i.bi-person-fill {
  font-size: 25px;
  /* Font size for the person icon */
  vertical-align: middle;
  /* Align the icon vertically with the text */
  margin-left: 5px;
  /* Left margin between the count and icon */
}

/* Style for the horizontal line */
.user-online hr.hr-blurry {
  border: none;
  /* Remove default border */
  height: 1px;
  /* Height of the horizontal line */
  background-color: #838383;
  /* Color of the horizontal line */
  margin: 20px 0;
  /* Top and bottom margin for the horizontal line */
}

/* Style for the date paragraph */
.user-online p:last-child {
  color: #777;
  /* Color of the date text */
  font-size: 14px;
  /* Font size for the date text */
}

------------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  border-top: 3px solid #416a59;
  border-bottom: 3px solid #416a59;
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 20px;
  color: #416a59;
  float: left;
  width: 44px;
  height: 44px;
  background: #b3dbcb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #416a59;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #416a59;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #416a59;
  color: #fff;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
  background: #416a59;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  border-top: 3px solid #416a59;
  border-bottom: 3px solid #416a59;
  padding: 30px;
  background: #fff;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form label {
  padding-bottom: 8px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #416a59;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=button] {
  background: #416a59;
  border: 0;
  padding: 12px 34px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=button]:hover {
  background: #2e4b3f;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}