/*
* main.css
* File include item main specific css only
******************************************************************************/

.required{
    color:  var(--bs-danger);
}

input.required{
    border-color:  var(--bs-danger);
}

.font-small{
    font-size: .8em;
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

@media (min-width: 768px) {
    .dataTables_filter{
        float: none!important;
        text-align: center!important;
    }
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/*.dataTables_wrapper {
    font-size: 0.85em;
}*/

table.dataTable thead > tr > th.sorting::after{
    top: 20px;
}

table.dataTable thead th {
    vertical-align: top;
}

thead input {
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
}

.yadcf-filter-wrapper {
  margin-left: 0px;
  width: 100%;
}

.yadcf-filter,.yadcf-filter-date {
  height: 27px;
  background-color: #FFF;
  border: 1px solid #666;
  margin-left: 0px;
  margin-top: 12px;
  margin-bottom: 6px;
  width: 100%;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.yadcf-filter-reset-button {
  padding: 3px 6px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  height: 27px;
  line-height: 20px;
  font-family: var(--fa-style-family-classic);
  font-size: 9px;
  top: -1px;
  position: relative;
  border: 0px;
  background-color: var(--bs-primary-light);
  color: #fff;
}

.inuse, .ui-slider-range .inuse, .yadcf-filter-range-number-slider .inuse {
  background: var(--bs-primary-light);
}

table.dataTable > tbody > tr.selected > td.select-checkbox::after, table.dataTable > tbody > tr.selected > th.select-checkbox::after {
  margin-top: -20px;
}

table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px #0d6efd;
  box-shadow: inset 0 0 0 9999px rgb(var(--dt-row-selected));
  color: white;
  color: rgb(var(--dt-row-selected-text));
}