@media (min-width: 1399px) {
  * {
    scroll-margin-top: 90px;
  }
}

.app-header {
  background-color: #170d2e;
}
[data-kt-app-header-sticky="on"] .app-header {
  background-color: #170d2e !important;
}
.app-header-menu .menu>.menu-item>.menu-link .menu-title {
  color: #7A7A9A !important;
  font-size: 1.1rem;
}

.app-header-menu .menu>.menu-item.show>.menu-link .menu-title {
  color: #FAF2FC !important;
}

.app-header-menu .menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title {
  color: #FAF2FC !important;
}

.app-header-menu.drawer .menu>.menu-item:not(.here)>.menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title {
  color: var(--bs-text-primary) !important;
}

.app-header-menu.drawer .menu>.menu-item.here>.menu-link:not(.disabled) .menu-title {
  color: var(--bs-text-primary) !important;
}

body.split-screen-layout .btn-primary { background-color: #8559bd !important; }
body.split-screen-layout .link-primary { color: #8559bd !important; }

table.table-thead-last-row-border-solid thead tr:last-child { border-bottom-style: solid !important; }
table.table-thead-text-uppercase thead { text-transform: uppercase; }

table.table-sort-icons th.sorted.ascending a,
table.table-sort-icons th.sorted.descending a {
  vertical-align: middle;
}
table.table-sort-icons th.sorted.ascending a:after,
table.table-sort-icons th.sorted.descending a:after {
  position: relative;
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  content: " ";
  bottom: auto;
  right: auto;
  left: auto;
  margin-left: 0.5rem;
}

table.table-sort-icons th.sorted a:after {
  opacity: 1;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  background-color: var(--bs-text-muted);
}
table.table-sort-icons th.sorted.ascending a:after {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' fill='var%28--bs-text-muted%29'%3e%3cpath d='M3.23571 2.72011L4.97917 4.46358C5.15176 4.63618 5.43158 4.63617 5.60417 4.46358C5.77676 4.29099 5.77676 4.01118 5.60417 3.83861L3.29463 1.52904C3.13192 1.36629 2.86809 1.36629 2.70538 1.52904L0.395812 3.83861C0.22325 4.01117 0.22325 4.29099 0.395812 4.46358C0.568437 4.63617 0.84825 4.63617 1.02081 4.46358L2.76429 2.72011C2.89446 2.58994 3.10554 2.58994 3.23571 2.72011Z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' fill='var%28--bs-text-muted%29'%3e%3cpath d='M3.23571 2.72011L4.97917 4.46358C5.15176 4.63618 5.43158 4.63617 5.60417 4.46358C5.77676 4.29099 5.77676 4.01118 5.60417 3.83861L3.29463 1.52904C3.13192 1.36629 2.86809 1.36629 2.70538 1.52904L0.395812 3.83861C0.22325 4.01117 0.22325 4.29099 0.395812 4.46358C0.568437 4.63617 0.84825 4.63617 1.02081 4.46358L2.76429 2.72011C2.89446 2.58994 3.10554 2.58994 3.23571 2.72011Z'/%3e%3c/svg%3e");
}
table.table-sort-icons th.sorted.descending a:after {
  -webkit-mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' fill='var%28--bs-text-muted%29'%3e%3cpath d='M2.76429 3.27989L1.02083 1.53642C0.848244 1.36382 0.568419 1.36383 0.395831 1.53642C0.223244 1.70901 0.223244 1.98882 0.395831 2.16139L2.70537 4.47096C2.86808 4.63371 3.13191 4.63371 3.29462 4.47096L5.60419 2.16139C5.77675 1.98883 5.77675 1.70901 5.60419 1.53642C5.43156 1.36383 5.15175 1.36383 4.97919 1.53642L3.23571 3.27989C3.10554 3.41006 2.89446 3.41006 2.76429 3.27989Z'/%3e%3c/svg%3e");
  mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' fill='var%28--bs-text-muted%29'%3e%3cpath d='M2.76429 3.27989L1.02083 1.53642C0.848244 1.36382 0.568419 1.36383 0.395831 1.53642C0.223244 1.70901 0.223244 1.98882 0.395831 2.16139L2.70537 4.47096C2.86808 4.63371 3.13191 4.63371 3.29462 4.47096L5.60419 2.16139C5.77675 1.98883 5.77675 1.70901 5.60419 1.53642C5.43156 1.36383 5.15175 1.36383 4.97919 1.53642L3.23571 3.27989C3.10554 3.41006 2.89446 3.41006 2.76429 3.27989Z'/%3e%3c/svg%3e");
}
.table > tbody > tr > td {
  vertical-align: middle;
}

/* table of complaints - width of columns */
table[data-table-object="complaint"] > thead > tr > th[data-col-name="number"] { width: 200px; }
table[data-table-object="complaint"] > thead > tr > th[data-col-name="ctype"] { width: 240px; }
table[data-table-object="complaint"] > thead > tr > th[data-col-name="ctime"] { width: 170px; }
table[data-table-object="complaint"] > thead > tr > th[data-col-name="status"] { width: 200px; }
table[data-table-object="complaint"] > thead > tr > th[data-col-name="date_receipt"] { width: 120px; }
table[data-table-object="complaint"] > thead > tr > th[data-col-name="date_finished"] { width: 120px; }

#messages {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 900;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  #messages {
    width: auto;
    bottom: 1rem;
    left: 2.25rem;
    margin-right: 2.25rem;
    padding: 0;
  }
}

.table > tbody > tr > td > span.badge { white-space: normal; }
[data-bs-theme=dark] .table > tbody > tr > td > span.badge { color: #ffffff; background: #252830; }
[data-bs-theme=light] .table > tbody > tr > td > span.badge { color: #ffffff; background: #555555; }

.table > tbody > tr > td.cell-deadline-urgent { color: #E67E22; }
.table > tbody > tr > td.cell-deadline-in_delay { color: #d13a5e; }

.table > tbody > tr > td.cell-status { text-align: left; }
.table > tbody > tr > td.cell-status > span.badge { text-align: left; }

table[data-table-object="complainthistory"] > tbody > tr.text-muted > td { color: var(--bs-text-muted) !important; }
table[data-table-object="complainthistory"] > tbody > tr.text-warning > td { color: var(--bs-text-warning) !important; }

.iommi-table-container .links + .iommi-table-plus-paginator {
  margin-top: 20px;
  margin-bottom: 20px;
}

.filter-applied-fields .badge:last-of-type {
  margin-right: 2em;
}

.toggle-button:not(.toggle-button-status-two) .toggle-button-content-status-two { display: None; }
.toggle-button.toggle-button-status-two .toggle-button-content-status-one { display: None; }

.bg-reklamio { background-color: #170d2e !important; }

.btn-history i, .btn-report_pdf i { font-size: 20px !important; }

.form-floating > .form-label { color: var(--bs-gray-600); }
.form-floating > .form-control:not(:placeholder-shown) ~ .form-label { color: var(--bs-text-primary); }
.form-floating > .form-select ~ .form-label { color: var(--bs-text-primary); }

.clickable_rows > tbody > tr > td:not(.row_click_disabled) { cursor: pointer; }

/* fix left menu based on menu-{size}-row */
@media (min-width: 992px) {
  .app-header-menu .menu.menu-xxl-row > .menu-item > .menu-link, .app-header-menu .menu.menu-xl-row > .menu-item > .menu-link {
    padding: .65rem 1rem;
    margin-right: 0;
  }
}
@media (min-width: 1200px) {
  .app-header-menu .menu.menu-xl-row > .menu-item > .menu-link {
    padding: 0;
    margin-right: 1.75rem;
  }
}
@media (min-width: 1400px) {
  .app-header-menu .menu.menu-xxl-row > .menu-item > .menu-link {
    padding: 0;
    margin-right: 1.75rem;
  }
}
/* /fix left menu based on menu-{size}-row */

.form-floating > label { max-width: 100%; }

.badge.badge-count {
  border-radius: 1.5rem;
  font-size: 1.25rem;
  padding: .75rem 1.25rem;
  margin-left: 1.25rem;
}

[data-bs-theme=light] .badge.badge-count.badge-count--white {
  background-color: #FFF;
  color: var(--bs-text-primary);
  box-shadow: 0.25rem 0.25rem 0.5rem #ededed;
}

[data-bs-theme=dark] .badge.badge-count.badge-count--white {
  background-color: var(--bs-primary-light);
  color: var(--bs-primary);
  box-shadow: 0.25rem 0.25rem 0.5rem var(--bs-body-bg);
}

[data-bs-theme=light] .badge.badge-count.badge-count--blue {
  background-color: #EAF5FF;
  color: var(--bs-text-primary);
}

[data-bs-theme=dark] .badge.badge-count.badge-count--blue {
  border: 1px solid var(--bs-text-primary);
  color: var(--bs-text-primary);
}

.attachment-thumbnail {
  max-width: 50px;
  max-height: 50px;
}

/* tab switcher - add comment/reminder */
#kt_engage_history_body .tabs-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
#kt_engage_history_body .tabs-switcher:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--bs-gray-300);
  border-radius: 12px;
  content: "";
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn {
  position: relative;
  appearance: none;
  background: none;
  outline: none;
  display: inline-flex;
  transition: 300ms ease-in-out all;
  padding: 10px 18px;
  align-items: center;
  min-width: 130px;
  justify-content: center;
  cursor: pointer;

  border: 2px solid transparent;
  border-radius: 12px;
  font-family: "Inter", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 14.3px;
  line-height: 21px;
  color: var(--bs-gray-700);
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn svg {
  margin-right: 6px;
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn svg path {
  opacity: 1;
  transition: all 300ms ease-in-out;
  fill: var(--bs-gray-700);
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn--active {
  border-color: var(--bs-primary);
  color: var(--bs-primary);
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn--active svg path {
  fill: var(--bs-primary);
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn:hover {
  color: var(--bs-primary);
}
#kt_engage_history_body .tabs-switcher .tabs-switcher-btn:hover svg path {
  fill: var(--bs-primary);
}
#kt_engage_history_body .tabs-pages {
  position: relative;
}
#kt_engage_history_body .tabs-pages .tabs-pages-page {
  display: none;
}
#kt_engage_history_body .tabs-pages .tabs-pages-page--active {
  display: block;
}
/* /tab switcher - add comment/reminder */

/* reminders */
svg.history-reminder-calendar path { fill: var(--bs-primary); fill-opacity: 1; }
svg.history-reminder-user path { fill: var(--bs-primary); fill-opacity: 1; }
.text-muted svg.history-reminder-calendar path { fill: var(--bs-text-muted); }
.text-muted svg.history-reminder-user path { fill: var(--bs-text-muted); }

.timeline a.history-add-reminder svg path { opacity: 0; }
.timeline .timeline-item:hover a.history-add-reminder svg path { fill: var(--bs-text-muted); opacity: 1; }
.timeline .timeline-item a.history-add-reminder:hover svg path { fill: var(--bs-body-color); }

.timeline .timeline-item[data-timeline-item-type="reminder"] a.btn-edit-reminder svg path { opacity: 0; }
.timeline .timeline-item[data-timeline-item-type="reminder"]:hover a.btn-edit-reminder svg path { fill: var(--bs-text-muted); opacity: 1; }
.timeline .timeline-item[data-timeline-item-type="reminder"] a.btn-edit-reminder:hover svg path { fill: var(--bs-body-color); }
/* /reminders */
