body {
  font-family: "IBM Plex Sans Arabic", "Poppins", sans-serif;
}

.side_bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.side_bar section {
  border-bottom: 1px solid;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 20px 0;
}

.side_bar section.noborder {
  border-bottom: 0px solid;
}

.side_bar section h4 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 100%;
}

.side_bar section > *:not(.form-control):not(.form-switch) {
  padding: 0;
}

.side_bar section label {
  margin-top: 15px;
  display: block;
}

th {
  vertical-align: top;
  text-overflow: ellipsis;
  max-width: 20ch;
  white-space: normal !important;
}

td {
  text-overflow: ellipsis;
  max-width: 20ch;
  white-space: normal !important;
}

.navigation {
  padding: 0;
  background-color: transparent !important;
}
.navigation > div:nth-child(1) {
  margin: 0px 3px;
}
/* .navigation > div:nth-child(2) {
  margin-right: 1.5rem !important;
} */
@media (max-width: 768px) {
  .navigation {
    z-index: 0;
    flex-direction: column;
    align-items: unset !important;
  }

  .navigation > div:nth-child(2) {
    align-self: end;
    margin-right: 0px !important;
  }
  .products-kinds-page .offcanvas-end,
  .products-page .offcanvas-end {
    width: 85vw !important;
  }
  .pieching {
    align-items: center;
  }
}
.sidebar_content_value {
  width: 100%;
  background: #f8f8f8;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  padding: 2px;
  color: #545454;
}

#details_sidebar .offcanvas-header {
  align-items: flex-start;
}

.products-kinds-page .offcanvas-end,
.products-page .offcanvas-end {
  width: 70%;
}

.select2.categories-kind span.select2-container {
  width: 100%;
}

.row-height .tox-tinymce {
  height: 500px !important;
}

.row-height .tox-tinymce.tox-fullscreen {
  height: 100% !important;
}

body[data-sidebar="dark"].vertical-collpsed {
  min-height: unset;
}

.jconfirm-content > div {
  font-size: 17px;
}

.line-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CSS to remove borders from DataTable */
#myTable {
  border: none;
  width: 100% !important;
}

#myTable th,
#myTable td {
  border: none;
  padding: 7px !important;
}
.table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
  background-color: #556ee6 !important; /* Replace with your desired color */
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control:before {
  background-color: #34c38f !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  width: 100%;
}

@media (max-width: 768px) {
  .navigation {
    z-index: 0;
    flex-direction: column;
    align-items: unset !important;
  }

  .navigation > div:nth-child(1) {
    margin: 0px 3px;
  }
  .navigation > div:nth-child(2) {
    align-self: end;
  }

  .dtr-data > div {
    text-align: center;
  }
  .pagination {
    display: -webkit-box;
  }
}

table.dataTable thead th:not(:first-child),
table.dataTable thead td:not(:first-child) {
  width: 300px !important;
}
table.dataTable thead th:first-child,
table.dataTable thead tr th td:first-child {
  width: 20px !important;
}

@media (min-width: 768px) {
  table#subjectTable thead th:first-child,
  table#subjectTable tbody tr td:first-child,
  table#ourServicesTable thead tr th:first-child,
  table#ourServicesTable tbody tr td:first-child,
  table#blogTable thead th:first-child,
  table#blogTable tbody tr td:first-child,
  table#clientImagesTable thead th:first-child,
  table#clientImagesTable tbody tr td:first-child,
  table#sliderTable thead th:first-child,
  table#sliderTable tbody tr td:first-child,
  table#citiesTable thead tr th:first-child,
  table#citiesTable tbody tr td:first-child {
    display: none;
  }
}

table.dataTable thead th {
  padding: 7px !important;
}

#slidercontent {
  max-height: 150px;
  overflow-y: scroll;
  margin: 0px;
}

/* width */
#slidercontent::-webkit-scrollbar {
  width: 8px;
}

/* Track */
#slidercontent::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
#slidercontent::-webkit-scrollbar-thumb {
  background: #c1c1c1;
}

/* Handle on hover */
#slidercontent::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

.rotate-90 {
  transform: rotate(90deg);
}
