/* =========================================
                General CSS
========================================= */
body {
  font-family: "Open Sans", sans-serif;
  background-color: #f5f5f9;
  color: #010364;
}
a {
  display: inline-block;
  text-decoration: none;
  color: #010364;
  transition: 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
}
button {
  background-color: transparent;
  border: none;
  color: #010364;
}

/* =========================================
            Reusable Classes
========================================= */
main.main {
  width: calc(100% - 260px);
  margin-left: auto;
  padding: 16px 32px 80px;
  position: relative;
  min-height: 100vh;
  transition: 0.3s;
}
.row > *:not([class*="col-"]) {
  width: auto;
}
.gap-y-3 {
  row-gap: 16px;
}
.gap-y-4 {
  row-gap: calc(var(--bs-gutter-x));
}
.lni {
  font-size: 15px;
  margin-right: 5px;
}
table.all-text-start td,
table.all-text-start th {
  text-align: left !important;
}
.table {
  margin-bottom: 0;
}
.card {
  box-shadow: 0 0 0.375rem 0.25rem rgb(161 172 184 / 15%);
  border: none;
  border-radius: 6px;
}
table.table th {
  color: #566a7f;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}
.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #dee2e6;
}
.table th,
.table td {
  padding: 12px 16px;
  vertical-align: middle;
}
.table th:last-child,
.table td:last-child {
  text-align: center;
}
.table th {
  white-space: nowrap;
}
.table-searchbar {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.table-searchbar i.lni {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  border-right: 1px solid #ccc;
  padding: 4px 8px 4px 4px;
}

.table-searchbar input {
  padding-left: 44px;
}
.btn .lni {
  font-size: 16px;
  margin-right: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
}
.btn-primary {
  background-color: #696cff;
  border-color: #696cff;
}
.btn-primary:hover {
  background-color: #5254d6;
  border-color: #5254d6;
}
.form-control:focus,
.form-select:focus {
  border-color: #696cff80;
  box-shadow: 0 0 0 0.25rem rgba(105, 108, 255, 0.16);
}
.text-primary {
  color: #696cff !important;
}
.text-bolder {
  font-weight: 600;
}
.bg-light-info:hover {
  background-color: #0dcaf00f;
}
.bg-light-primary:hover {
  background-color: #696cff0f;
}
.bg-light-danger:hover {
  background-color: #dc35450f;
}
.card-header {
  background-color: #fff;
  padding: 0.8rem 1rem;
}
.card-header h5 {
  margin: 0 !important;
  font-size: 1.05rem;
}
.dash-charts .card .card-body {
  padding: 0rem 1rem 1rem;
}
.table-responsive .table th,
.table td {
  padding: 8px;
}
/* =========================================
                Sidebar
========================================= */

aside.sidebar {
  position: fixed;
  background: #fff;
  z-index: 999;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  padding: 16px;
  padding-right: 0;
  transition: 0.3s;
  box-shadow: 0 0 0.375rem 0.25rem rgb(161 172 184 / 15%);
}
aside.sidebar > ul {
  overflow: auto;
  height: calc(100% - 98px);
  padding-right: 16px;
}
aside.sidebar > ul::-webkit-scrollbar {
  width: 0;
}
aside.sidebar a {
  padding: 6px 16px;
  margin: 2px 0;
  font-weight: 500;
  color: #010364;
  border-radius: 6px;
  width: 100%;
  position: relative;
}
aside.sidebar ul li a:hover {
  background-color: rgba(67, 89, 113, 0.04);
}
aside.sidebar ul li a.active {
  color: #696cff;
  background-color: rgba(105, 108, 255, 0.16);
}
aside.sidebar a.active:before {
  content: "";
  position: absolute;
  right: -16px;
  top: 0;
  height: 100%;
  width: 4px;
  background: #696cff;
  border-radius: 4px 0 0 4px;
}

aside.sidebar .app-logo {
  position: relative;
  margin-bottom: 32px;
}
aside.sidebar .app-logo .sidebar-toggler {
  background: #696cff;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  color: #fff;
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px #f5f5f9;
}

.page-wrapper.sidebar-toggle.sidebar-hover .sidebar-toggler .lni {
  transform: rotateY(0) !important;
}

aside.sidebar .app-logo .sidebar-toggler .lni {
  font-size: 16px;
  margin-right: 0;
  display: block;
}
aside.sidebar ul.sub-menu {
  padding-left: 16px !important;
  display: none;
  width: 100% !important;
}

aside.sidebar ul.sub-menu a {
  font-size: 14px;
  padding: 5px 10px;
}

aside.sidebar ul.sub-menu a .lni {
  font-size: 14px;
}

.page-wrapper.sidebar-toggle:not(.sidebar-hover) .sidebar {
  width: 85px;
}

.page-wrapper.sidebar-toggle:not(.sidebar-hover) .sidebar li a {
  font-size: 0;
}

.page-wrapper.sidebar-toggle:not(.sidebar-hover) .sidebar .app-logo a {
  padding: 16px 0;
  text-align: center;
}

.app-logo a h4 {
  transition: 0.3s;
  margin-right: 21px;
}
.page-wrapper.sidebar-toggle:not(.sidebar-hover) .sidebar .app-logo a h4 {
  font-size: 0;
}

.page-wrapper.sidebar-toggle .sidebar .sidebar-toggler .lni {
  transform: rotateY(180deg);
}

.page-wrapper.sidebar-toggle main.main {
  width: calc(100% - 85px);
}

/* =========================================
                Header
========================================= */
.user-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ececec;
  margin-right: 5px;
}
.user-profile span {
  font-weight: 500;
}
.user-profile {
  position: relative;
}

ul.profile-actions a {
  padding: 6px 12px;
  border-radius: 5px;
  width: 100%;
  margin: 3px 0;
}

ul.profile-actions a:hover {
  background-color: rgba(67, 89, 113, 0.04);
}

ul.profile-actions {
  position: absolute;
  padding: 10px;
  right: 0;
  width: 200px;
  display: none;
}
header.header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 6px;
  align-items: center;
  box-shadow: 0 0 0.375rem 0.25rem rgb(161 172 184 / 15%);
}
.header-searchbar input {
  border: none;
  outline: none;
}

.page-title ul {
  display: flex;
}

.page-title ul li:not(.active) {
  margin-right: 5px;
  color: #566a7f;
}

.page-title h2 {
  font-size: 28px;
  margin-bottom: 5px;
}

.page-title {
  padding: 32px 0;
}

/* =========================================
                footer
========================================= */

footer.footer {
  position: absolute;
  bottom: 0;
  text-align: center;
  left: 0;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(105, 108, 255, 0.16);
}
footer.footer p {
  font-size: 13px;
}
/* =========================================
                order page
========================================= */
td.p-3.box-shadow {
  background: #f5f5f9;
  padding: 0 !important;
  padding-bottom: 20px !important;
  display: none;
}
td.p-3.box-shadow .card {
  border-radius: 0;
  box-shadow: none;
}
/* .form-label {
    margin-bottom: 0.5rem;
    font-size: 12px;
    font-weight: 500;
    color: #b0b1b2;
    position: absolute;
    background: #fff;
    padding: 0px 5px;
    left: 12px;
    bottom: 29px;
    z-index: 99;
} */
.form-control {
  font-size: 14px;
  font-weight: 400;
  padding: 12px 14px;
  color: #6d6d6d;
}
.btn-light {
  box-shadow: 0 0 31px -8px #00000045;
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* .modal.show .modal-dialog {
    transform: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100vh;
} */
/* .modal {
    position: fixed;
    top: 150px;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
} */
button.btn.close-btn {
  color: #696cff;
  font-weight: 600;
  border: 1px solid #696cff;
}
button.btn.close-btn:hover {
  background-color: #696cff;
  color: #fff;
}
button.btn-excel {
  margin-left: auto;
  display: block;
  margin-bottom: 15px;
  margin-top: 15px;
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 15px 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}
.modal-title p {
  font-size: 15px;
  color: #382929c7;
  font-weight: 600;
}
.modal-dialog {
  max-width: 575px;
  margin: 1.75rem auto;
}
.yarn-img2 {
  max-width: 30px;
}
.op-0 {
  opacity: 0;
}
img.yarn.yarn-img2.me-3.cut-i {
  filter: grayscale(1);
}

@media (max-width: 1199px) {
  .landing-bx-content p {
    font-size: 14px;
  }
  .landing-bx-content h3 {
    font-size: 20px;
  }
  body .landing-boxes .lni {
    padding: 8px;
    font-size: 30px;
  }
  .landing-bx1 {
    padding: 12px !important;
  }
  .landing-bx2 {
    padding: 12px !important;
  }
  .landing-bx3 {
    padding: 12px !important;
  }
  .landing-bx-icon {
    padding-right: 0;
  }
}

@media (max-width: 1439px) {
  .card {
    min-height: 100%;
  }
  ul.profile-actions {
    right: -17px;
    top: 59px;
    width: 156px;
  }
  ul.profile-actions a {
    padding: 6px 5px;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
    margin: 3px 0;
    font-weight: 500;
  }
  .table th,
  .table td {
    padding: 12px 11px;
    vertical-align: middle;
  }
}

@media (max-width: 991px) {
  .dashb-box {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  aside.sidebar .app-logo .sidebar-toggler {
    right: -33px;
    top: 44%;
  }
  .user-profile span {
    display: none;
  }
  header.header {
    padding: 8px 0px 8px 35px;
  }
  .page-wrapper.sidebar-toggle:not(.sidebar-hover) .sidebar {
    width: 85px;
    transform: translateX(-85px);
  }
  .page-wrapper.sidebar-toggle main.main {
    width: 100%;
    padding: 21px 15px 80px;
  }
  .fc .fc-view-harness-active > .fc-view {
    bottom: inherit !important;
    left: inherit !important;
    position: inherit !important;
    right: inherit !important;
    top: inherit !important;
  }

  .fc .fc-scroller-liquid-absolute {
    bottom: inherit !important;
    left: inherit !important;
    position: inherit !important;
    right: inherit !important;
    top: inherit !important;
  }
  .fc-view-harness.fc-view-harness-active {
    height: inherit !important;
  }
  .fc .fc-toolbar-title {
    font-size: 17px;
    margin: 0;
  }
  section.task-calender .card {
    padding: 13px !important;
  }
  button.fc-prev-button.fc-button.fc-button-primary {
    padding: 0px;
  }
  button.fc-next-button.fc-button.fc-button-primary {
    padding: 0px;
  }
  button.fc-today-button.fc-button.fc-button-primary {
    padding: 1px 5px;
    font-size: 15px;
  }
  .lni {
    font-size: 16px;
    margin-right: 5px;
  }
  .table-searchbar {
    display: none;
  }
  section.orders a.btn.btn-primary {
    font-size: 0;
  }
  section.orders a.btn.btn-primary i {
    margin: 0;
  }
  .table th:last-child,
  .table td:last-child {
    text-align: right;
    white-space: nowrap;
  }
  .table th,
  .table td {
    font-size: 14px;
    white-space: nowrap;
  }
}

/* custom css */
.bx-custom {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0px 0 10px rgb(1 41 112 / 10%) !important;
  margin: 10px;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;

  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* =----- */

button.hidden {
  display: none;
}

/* Supplier */

.table td {
  padding: 8px;
  vertical-align: middle;
  font-size: 13px;
}
button.fc-today-button {
  text-transform: capitalize !important;
}
.fc .fc-button-primary {
  background-color: #696cff !important;
  border-color: #696cff !important;
}
.rotated {
  transform: rotate(90deg);
  transition: all 0.3s;
}
a.date-btn {
  font-size: 15px;
  font-weight: 600;
}
.btn-light:hover {
  background: #000000;
  color: #fff;
  border: 1px solid #000000;
}
.template-details table tr th {
  text-align: left !important;
  padding: 10px 15px !important;
}
.template-details tbody tr td {
  text-align: left !important;
  padding: 10px 15px !important;
}
section.create-user a:first-child {
  background: #d7d7d7;
  border: 1px solid #d7d7d7;
}

.create-activity a:first-child {
  background: #d7d7d7;
  border: 1px solid #d7d7d7;
}
.view-data p {
  border: 1px solid #ababab;
  padding: 5px 10px;
  border-radius: 5px;
}
.view-data .label {
  font-size: 14px !important;
}
.view-data label.form-label.text-bolder {
  font-size: 14px;
}


.dropdown.bootstrap-select.show-tick.form-select {
  display: block;
  width: 100%;
}

.dropdown.bootstrap-select.show-tick {
  width: 100% !important;
}
.show-tick button.btn.dropdown-toggle.btn-light{
  outline: none !important; 
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  appearance: none;
}
.show-tick button.btn.dropdown-toggle.btn-light:hover {
  background-color: #fff;
  color: #000;
  border-color: #ced4da;

}
.show-tick button.btn.dropdown-toggle.btn-light:after{
  display: none;
}

section.create-user a:first-child {
  background: #fff;
  border: none;
  color: #000;
}

