.light-style .sidenav .app-brand.demo {
  height: 66px;
}

.dark-style .sidenav .app-brand.demo {
  height: 66px;
}

.material-style .sidenav .app-brand.demo {
  height: 70px;
}

.app-brand-logo.demo {
  display: -ms-flexbox;
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}

.app-brand-logo.demo svg {
  width: 20px;
  height: 11px;
}

.app-brand-text.demo {
  font-size: 1.1rem;
}

.layout-1 .layout-sidenav .app-brand.demo,
.layout-1 .layout-sidenav .app-brand.demo + .sidenav-divider,
.layout-reversed .layout-2 .layout-sidenav .app-brand.demo {
  display: none;
}

.layout-1 .layout-navbar .app-brand.demo,
.layout-reversed .layout-2 .layout-navbar .app-brand.demo {
  display: -ms-flexbox !important;
  display: flex !important;
}

.layout-1 .layout-navbar .layout-sidenav-toggle,
.layout-reversed .layout-2 .layout-navbar .layout-sidenav-toggle,
.layout-offcanvas .layout-navbar .layout-sidenav-toggle,
.layout-fixed-offcanvas .layout-navbar .layout-sidenav-toggle {
  display: block !important;
}

@media (min-width: 992px) {
  .layout-offcanvas .layout-sidenav .layout-sidenav-toggle,
  .layout-fixed-offcanvas .layout-sidenav .layout-sidenav-toggle {
    display: none;
  }
}

/* *****************************************************************************
 * Navbar
 */

.demo-navbar-messages .dropdown-toggle,
.demo-navbar-notifications .dropdown-toggle,
.demo-navbar-user .dropdown-toggle,
.demo-navbar-messages.b-nav-dropdown .nav-link,
.demo-navbar-notifications.b-nav-dropdown .nav-link,
.demo-navbar-user.b-nav-dropdown .nav-link {
  white-space: nowrap;
}

.demo-navbar-messages .dropdown-menu,
.demo-navbar-notifications .dropdown-menu {
  overflow: hidden;
  padding: 0;
}

@media (min-width: 992px) {
  .demo-navbar-messages .dropdown-menu,
  .demo-navbar-notifications .dropdown-menu {
    margin-top: .5rem;
    width: 22rem;
  }

  .demo-navbar-user .dropdown-menu {
    margin-top: .25rem;
  }
}


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

.demo-vertical-spacing > * + * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-sm > * + * {
  margin-top: .9375rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg > * + * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-inline-spacing > *,
.demo-paragraph-spacing > p > * {
  margin: 0 .375rem .9375rem 0 !important;
}

.demo-paragraph-spacing > p {
  margin: 0;
}

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

html:not(.material-style) .material-style-only {
  display: none !important;
}

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

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

/* *****************************************************************************
 * Layouts
 */

.layout-example-block {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 2px;
  background: rgba(0,0,0,.04);
  color: #c7254e;
}
.dark-style .layout-example-block {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
}
.layout-example-block code {
  background: none;
  color: #666;
}
.dark-style .layout-example-block code {
  color: #fff;
}

.layout-example-block-inner {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: stretch;
      align-items: stretch;
  -ms-flex-pack: justify;
      justify-content: space-between;
  height: 500px;
}

.layout-example-block-sidenav {
  width: 24%;
  background: #607d8b !important;
}
.layout-example-block-sidenav code {
  color: #fff;
}

.layout-example-block-navbar {
  background: #3ca99e !important;
}
.layout-example-block-navbar code {
  color: #fff;
}

.layout-example-block-content {
  background: #9e9e9e !important;
}
.layout-example-block-content code {
  color: #fff;
}

.layout-example-block-1 .layout-example-block-content {
  width: 74%;
}

.layout-example-block-2 .layout-example-block-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  width: 74%;
}
.layout-example-block-2 > .layout-example-block {
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
}
.layout-example-block-2 .layout-example-block-content {
  -ms-flex-positive: 1;
      flex-grow: 1;
}

.layout-example-block-1-no-sidenav .layout-example-block-content {
  width: 100%;
}

.layout-example-code {
  display: block;
  overflow: auto;
  margin: 0;
  padding: 30px;
  min-width: 0;
  width: 100%;
  background: #fff;
}

.dark-style .layout-example-code {
  background: #2f3238;
}

.layout-example-run {
  display: inline-block;
  margin: 3px;
  padding: 4px 6px;
  border: 1px solid #eee;
  background: transparent;
  white-space: nowrap;
  line-height: 1;
}

.dark-style .layout-example-run {
  border-color: rgba(255, 255, 255, .2);
}

.layout-example-block-3 .layout-example-block-inner {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
}
.layout-example-block-3 .layout-example-block-inner > .layout-example-block {
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
}
.layout-example-block-3 .layout-example-block-inner .layout-example-block-container-fluid {
  -ms-flex-positive: 1;
      flex-grow: 1;
}
.layout-example-block-3 .layout-example-block-sidenav-horizontal {
  background: #607d8b !important;
}
.layout-example-block-3 .layout-example-block-container-fluid {
  background: #fff !important;
}
.layout-example-block-3 .layout-example-block-container-fluid code {
  color: #666 !important;
}
.layout-example-block-3 .layout-example-block-footer {
  background: #e6514a !important;
}

.dark-style .layout-example-block-content .layout-example-block:not(.layout-example-block-sidenav-horizontal) code {
  color: #666 !important;
}

#notifications .notification-icon-box {
    cursor: pointer;
}
#notifications .notifi-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0 10px;
    margin-top: -5px;
    background-color: #e66060;
}
#notifications .notif {
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}
#notifications .not-readed {
    background-color: #daf3fb!important;
}
#notifications .dropdown-menu-lg {
    width: 270px;
}
#notifications .dropdown-menu {
    padding: 4px 0;
    border: 0;
}

.invoice_page__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  position: relative;
}
.invoice_page-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 60px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.invoice_page-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}
.invoice_page__head-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 5px;
}
.invoice_page__head-logo {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0;
  position: relative;
}
.invoice_page__head-logo:after {
  content: "";
  display: block;
  width: calc(100% + 20px);
  height: 2px;
  background: #000;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-print-color-adjust: exact !important;
}
.invoice_page__head-title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.invoice_page__table thead {
  display: table-header-group;
}
.invoice_page__table tr {
  page-break-after: auto;
}
.invoice_page__table tfoot {
  display: table-footer-group;
}
/**/

.block-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.block-buttons__item {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@media (min-width: 767px) {
  .block-buttons__item--right {
    margin-left: auto;
  }
}

.number-small-input-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.number-small-input {
  width: 50px;
  margin: 0;
}
.number-small-input[type="number"]::-webkit-inner-spin-button,
.number-small-input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.number-small-input[type="number"] {
  -moz-appearance: textfield;
  padding: 10px;
  text-align: center;
}


.number-small-input-wrapper .btn {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 59px;
  height: 39px;
  font-size: 30px;
}

.card-body--grid {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 20px
}

.card-main-head__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.card-body__right {
  display: flex;
  align-items: flex-start;
}
.image-square {
  width: 100%;
  height: 0;
  position: relative;
  padding-top: 100%;
}
.image-square img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .card-body--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
  }
}

.defect-wrapper {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.badge-normal {
  white-space: normal;
  word-break: break-word;
}

/*
*/
.filters-block-wrap .btn-group-sm > .btn {
  padding: 0.5075rem 0.6875rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.25rem;
}
