/**
* Template Name: NiceAdmin
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-navy: #001f3f;
  --bs-fuchsia: #f012be;
  --bs-maroon: #d81b60;
  --bs-lime: #01ff70;
  --bs-olive: #3d9970;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

:root {
  scroll-behavior: smooth;
}

.bg-aliceblue {
  background: aliceblue;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7faff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: darkslategrey;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
}

.text-right {
  float: right;
}

label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.card-information {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  padding: .75rem;
  margin: 0 0 1rem 0;
  background: #e9ecef;
  border-radius: .30rem;
}

.content-header h1 {
  font-size: 1.7rem;
  margin: 0;
}

.title {
  color: #1479e3;
  font-weight: bold;
}

h3 .title {
  color: #2355f7;
  font-weight: bold;
  margin: 7px 5px 10px 5px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.unit-card {
  background: #f5faff;
  border: 1px dashed #3d8bff !important;
  transition: 0.5s;
  height: 100%;
  padding: 10px;
  margin-bottom: 10px !important;
}

.unit-card:hover {
  background: #fffaf9;
  border: 1px solid #3d8bff !important;
}

.unit-profile {
  max-height: 47px;
}

.login-page {
  font-family: "Open Sans", sans-serif;
  background: #ecf2fd;
  color: #333333;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 55px;
  padding: 5px 20px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 0 15px;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: darkslategray;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: darkslategray;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-text {
  display: block;
  margin-top: .25rem
}

.form-row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px
}

.form-row>.col,
.form-row>[class*=col-] {
  padding-right: 5px;
  padding-left: 5px
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem
}

.form-check-input {
  position: absolute;
  margin-top: .3rem;
  margin-left: -1.25rem
}

.form-check-input:disabled~.form-check-label,
.form-check-input[disabled]~.form-check-label {
  color: #6c757d
}

.form-check-label {
  margin-bottom: 0
}

.form-check-inline {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
  margin-right: .75rem
}

.form-check-inline .form-check-input {
  position: static;
  margin-top: 0;
  margin-right: .3125rem;
  margin-left: 0
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/

dt,
dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

.box-shadow {
  box-shadow: 0 0 15px rgb(111, 111, 111) !important;
}

.float-right {
  float: right;
}

.box-card {
  margin-bottom: 15px;
  border: none;
  box-shadow: 3px 3px 3px #5f5f5f;
  color: #000;
  border-radius: 0px 5px 15px 0px;
}

.box-card .icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 210, 91, 0.11);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: absolute;
  top: 17px;
  right: 10px;
}

.card {
  margin-bottom: 15px;
  border-radius: 6px;
  box-shadow: 3px 3px 3px rgba(174, 188, 252, 0.8);
  border-top: 2px solid gray;
}

.bg-primary {
  color: #fff;
  background: #0832eb;
}

.bg-secondary {
  color: #fff;
  background: var(--bs-secondary);
}

.bg-success {
  color: #fff;
  background: var(--bs-success);
}

.bg-info {
  color: #fff;
  background: var(--bs-info);
}

.bg-warning {
  color: #000;
  background: var(--bs-warning);
}

.bg-danger {
  color: #fff;
  background: var(--bs-danger);
}

.bg-black {
  color: #fff;
  background: var(--bs-black);
}

.bg-gray-dark {
  color: #fff;
  background: var(--bs-gray-dark);
}

.bg-gray {
  color: #fff;
  background: var(--bs-gray);
}

.bg-danger {
  color: #fff;
  background: var(--bs-light);
}

.bg-indigo {
  color: #fff;
  background: var(--bs-indigo);
}

.bg-navy {
  color: #fff;
  background: var(--bs-navy);
}

.bg-purple {
  color: #fff;
  background: var(--bs-purple);
}

.bg-fuchsia {
  color: #fff;
  background: var(--bs-fuchsia);
}

.bg-pink {
  color: #fff;
  background: var(--bs-pink);
}

.bg-maroon {
  color: #fff !important;
  ;
  background: #d81b60 !important;
}

.bg-orange {
  color: #fff;
  background: var(--bs-orange);
}

.bg-lime {
  color: #fff;
  background: var(--bs-lime);
}

.bg-teal {
  color: #fff;
  background: var(--bs-teal);
}

.bg-olive {
  color: #fff;
  background: var(--bs-olive);
}

.card-primary.card-outline {
  border-top: 3px solid rgb(111, 111, 111) !important;
}

.card-info.card-outline {
  border-top: 3px solid var(--bs-info);
}

.card-warning.card-outline {
  border-top: 3px solid var(--bs-warning);
}

.card-danger.card-outline {
  border-top: 3px solid var(--bs-danger);
}

.card-success.card-outline {
  border-top: 3px solid var(--bs-success);
}

.card-header,
.card-footer {
  background: #efefef;
  color: #000000;
  padding: 10px 20px;
}

.card-header {
  border-bottom: 1px solid #999999;
}

.card-footer {
  border-top: 1px solid #999999;
}

.card-body {
  margin: 0 5px;
  padding: 15px;
}

.card-img-overlay {
  background: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: darkgray;
}

.nav-tabs-bordered .nav-link.active {
  background: #fff;
  color: black;
  border-bottom: 2px solid darkgray;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  background: aliceblue;
  padding: 0px 15px;
}

@media (min-width: 1200px) {
  .logo {
    width: 270px;
  }
}

.logo img {
  max-height: 60px;
}

.logo span {
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 55px;
  background: rgb(52, 70, 70);
}

.header .toggle-sidebar-btn {
  font-size: 26px;
  padding-left: 10px;
  cursor: pointer;
  color: #ffffff;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: white;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 55px;
  left: 0;
  bottom: 0;
  width: 270px;
  z-index: 996;
  transition: all 0.3s;
  padding: 10px 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #737994 transparent;
  box-shadow: 4px 4px 4px rgba(58, 58, 58, 0.99);
  background: aliceblue;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 270px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 6px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: white;
  transition: 0.3;
  background: darkslategray;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: white;
}

.sidebar-nav .nav-link.collapsed {
  color: black;
  background: wheat;
}

.sidebar-nav .nav-link.collapsed i {
  color: black;
}

.sidebar-nav .nav-link:hover {
  background: darkslategray;
  color: white
}

.sidebar-nav .nav-link:hover i {
  color: white;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #000;
  transition: 0.3;
  padding: 9px 0 9px 35px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 7px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #0135d6;
  font-weight: bold;
}

.sidebar-nav .nav-content a.active i {
  background: #0135d6;
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nav-pills .nav-link,
.nav-pills .show>.nav-link {
  color: #000;
  font-weight: bold;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  font-weight: bold;
  background-color: darkcyan;
}

.btn-gray {
  --bs-btn-color: #fff;
  --bs-btn-bg: darkslategray;
  --bs-btn-border-color: darkslategray;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: darkslategray;
  --bs-btn-hover-border-color: darkslategray;
  --bs-btn-focus-shadow-rgb: 66, 70, 73;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: darkslategray;
  --bs-btn-active-border-color: darkslategray;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: darkslategray;
  --bs-btn-disabled-border-color: darkslategray;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 210, 91, 0.11);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  position: absolute;
  top: 17px;
  right: 10px;
}

.text1 {
  font-size: 14px;
  font-weight: 600
}

.text2 {
  color: #a5aec0
}

#hide1 {
  display: none;
}

/* units create*/
.card .card-header .card-header-right {
  right: 10px;
  top: 16px;
  display: inline-block;
  position: absolute;
}

.text-right {
  text-align: right !important;
}

.border-0 {
  border: 2 !important;
}

/* required field */

.required:after {
  content: " *";
  color: red;
}

.text-bold {
  font-weight: bold;
}

.text-gray {
  color: rgb(102, 102, 102);
  font-weight: bold;
  font-size: 23px;
}

.content-header {
  padding: 8px 0;
}

.btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.mr-1 {
  margin-right: .25rem !important;
}

.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
  .badge {
    transition: none
  }
}

a.badge:focus,
a.badge:hover {
  text-decoration: none
}

.badge:empty {
  display: none
}

.btn .badge {
  position: relative;
  top: -1px
}

.badge-pill {
  padding-right: .6em;
  padding-left: .6em;
  border-radius: 10rem
}

.badge-primary {
  color: #fff;
  background-color: #007bff
}

a.badge-primary:focus,
a.badge-primary:hover {
  color: #fff;
  background-color: #0062cc
}

a.badge-primary.focus,
a.badge-primary:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d
}

a.badge-secondary:focus,
a.badge-secondary:hover {
  color: #fff;
  background-color: #545b62
}

a.badge-secondary.focus,
a.badge-secondary:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .5)
}

.badge-success {
  color: #fff;
  background-color: #28a745
}

a.badge-success:focus,
a.badge-success:hover {
  color: #fff;
  background-color: #1e7e34
}

a.badge-success.focus,
a.badge-success:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5)
}

.badge-info {
  color: #fff;
  background-color: #17a2b8
}

a.badge-info:focus,
a.badge-info:hover {
  color: #fff;
  background-color: #117a8b
}

a.badge-info.focus,
a.badge-info:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(23, 162, 184, .5)
}

.badge-warning {
  color: #1f2d3d;
  background-color: #ffc107
}

a.badge-warning:focus,
a.badge-warning:hover {
  color: #1f2d3d;
  background-color: #d39e00
}

a.badge-warning.focus,
a.badge-warning:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(255, 193, 7, .5)
}

.badge-danger {
  color: #fff;
  background-color: #dc3545
}

a.badge-danger:focus,
a.badge-danger:hover {
  color: #fff;
  background-color: #bd2130
}

a.badge-danger.focus,
a.badge-danger:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .5)
}

.badge-light {
  color: #1f2d3d;
  background-color: #f8f9fa
}

a.badge-light:focus,
a.badge-light:hover {
  color: #1f2d3d;
  background-color: #dae0e5
}

a.badge-light.focus,
a.badge-light:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(248, 249, 250, .5)
}

.badge-dark {
  color: #fff;
  background-color: #343a40
}

a.badge-dark:focus,
a.badge-dark:hover {
  color: #fff;
  background-color: #1d2124
}

a.badge-dark.focus,
a.badge-dark:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(52, 58, 64, .5)
}

.table-sm td,
.table-sm th {
  padding: .45rem
}

.text-maroon {
  color: rgb(83, 176, 233);
}

input[type=number] {
  appearance: textfield;
}

#purchases .purchaseData {
  border-bottom: 1px solid #323431;
}

#ledger-report tbody,
#ledger-report td,
#ledger-report tfoot,
#ledger-report th,
#ledger-report thead,
#ledger-report tr {
  border-color: inherit;
  border-style: solid;
  border-width: 3px;
}
.required::after {
  content: " *";
  color: red;
}
