
/* admin__icon start */

.admin__icon-svg {
  height: 35px;
  width: 35px;
  margin-right: 5px;
}

.admin__icon {
  text-decoration: none !important;
  display: flex;
  align-items: center;
}

.admin__icons {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1025px) {
  .admin__icons {
    margin-top: 20px;
  }
}

/* admin__icon end */

.nav-menu>a.selected {
  text-decoration: underline;
}

html[data-theme="light"], :root {
  --secondary: #73326e;
  --breadcrumbs-bg: #73326e;
  --link-fg: #73326e;
  --link-hover-color: #b855bd;
  --button-hover-bg: #b855bd;
  --default-button-hover-bg: #b855bd;
  --default-button-bg: #73326e;
}

html[data-theme="dark"], :root {
  --secondary: #73326e;
  --breadcrumbs-bg: #73326e;
  --link-fg: #b855bd;
  --link-hover-color: #73326e;
  --button-hover-bg: #b855bd;
  --default-button-hover-bg: #b855bd;
  --default-button-bg: #73326e;
}

html[data-theme="dark"] #header {
  color: #fff;
}

#site-name a {
  color: #fff !important;
}

#user-tools {
  margin-top: 2px;
  color: #fff !important;
}

#site-name {
  margin-bottom: 7px;
  color: #fff !important;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0 8px;
  font-size: 18px;
}

.breadcrumbs__icon {
  width: 25px;
  height: 25px;
  fill: #f2f0ee;
  transition: all 0.3s;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0 24px;
  justify-content: center;
}

div.breadcrumbs a {
  color: #f2f0ee;
  transition: all 0.3s;
}

div.breadcrumbs a:hover {
  color: #fff;
}

div.breadcrumbs a:hover svg {
  fill: #fff;
}

#header {
  color: var(--body-bg);
}

table thead th .text a {
  padding: 0;
}

.select2-container--admin-autocomplete .select2-results__option--highlighted[aria-selected] {
  background-color: var(--secondary);
}

.company-tab-links {
  padding-left: 0;
}

.field-brands .flex-container label {
  order: -1;
}

.field-brands option {
  display: none;
}

.help hr {
  background-color: transparent;
}

.hidden {
  display: none !important;
}

select {
  margin-top: 0;
  margin-bottom: 0;
}

.related-widget-wrapper-link {
  display: flex;
  align-items: center;
}

.form-row input[type="checkbox"] {
  vertical-align: -webkit-baseline-middle;
}

.related-widget-wrapper {
  flex-wrap: nowrap;
  margin-bottom: 0;
}

@keyframes opacityAnimation {
  from {
    opacity: 0.1;
  }

  to {
    opacity: 1;
  }
}

#materialtype-table-block table {
  animation: opacityAnimation 0.5s ease-in forwards;
}

#materialtype-select-copied {
  margin-bottom: 16px;
  font-size: 16px;
  height: auto;
}

a:link {
  transition: background 0s;
}

th.sortable.sorted {
  padding: 0 8px;
}

table thead th.sorted .sortoptions {
  padding: 8px 5px 5px 5px !important;
}

thead th.sorted .text {
  padding-right: 59px !important;
  padding-top: 8px;
}

#changelist table thead th {
  padding: 0 8px;
}

td.field-is_active img {
  display: block;
  margin-left: 34px;
}

table {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  display: block !important;
}

/* custom select start */

.custom-select {
  position: relative;
  width: 260px;
}

.custom-select--selected {
  cursor: pointer;
  background-color: var(--body-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  height: 30px;
  line-height: 30px;
  padding: 0 20px 0 8px;
  position: relative;
}

.custom-select--selected::before {
  content: '';
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  right: 9px;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.custom-select__items {
  overflow-y: auto;
  max-height: 300px;
  background: var(--body-bg);
}

.custom-select-container {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  max-width: 258px;
  overflow: hidden;
  border: 1px solid #ccc;
  z-index: 10;
}

.custom-select__items div {
  padding: 6px;
  cursor: pointer;
  line-height: 20px;
}

.custom-select__items div:hover {
  color: var(--primary-fg);
  background-color: var(--secondary);
}

.custom-select__search-container {
  background: var(--body-bg);
  color: var(--body-fg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 4px;
  width: 100%;
  margin: 6px 4px !important;
  max-width: 236px;
}

.custom-select img {
  max-width: 30px;
}
.custom-select--hidden {
  display: none !important;
}
/* custom select end */

/* table--2col start */

.table--2col {
  width: 100%;
}

.table--2col tbody {
  display: block;
  width: 100%;
  overflow: hidden;
}

.table--2col tr:nth-child(1) {
  display: block;
}

.table--2col tr:nth-child(1) td {
  display: block;
}

.table--2col td {
  width: 100%;
}

.table--2col tr:nth-child(2) {
  display: flex;
}

/* table--2col end */

/* custom-admin start */

.custom-admin__menu {
  max-width: 275px;
  border-right: 1px solid var(--hairline-color);
  border-left: 1px solid var(--hairline-color);
  height: 100%;
  margin-bottom: 0;
}

.custom-admin__menu tr a {
  font-size: 16px !important;
  text-transform: uppercase;
  padding: 8px 8px 8px 16px;
}

.custom-admin__menu th {
  padding: 0 !important;
}

.custom-admin__menu * {
  display: block
}

/* custom-admin end */

#content.colMS {
  padding: 0 0 0 23px !important;
  height: 100%;
}

#content.colMS>h1 {
  display: none;
}

#changelist-filter-extra-actions a {
  background-position: left center;
}

#pricelistend_form table,
main.content:has(li.warning) form#othercompanysetting_form table,
#materialsetting_form table {
  overflow: visible !important;
}

#pricelistdevice_form th>table {
  display: table !important;
}

#pricelistdevice_form td>table input[type="checkbox"] {
  width: 86px;
}

input[readonly] {
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
  border: none;
  text-align: center;
}

input[readonly]:focus {
  border-color: var(--border-color);
}

table.inline-related.djn-table {
  position: static !important;
}

#content-main {
  position: relative;
}

.object-tools {
  position: absolute !important;
  margin-top: 0 !important;
  right: 14px;
  top: 8px;
}

.inline-group .tabular tr.has_original td {
  padding-top: 8px !important;
  vertical-align: middle !important;
}

#pricelistcompany_form .module,
#pricelistdevice_form .module,
#pricelistsink_form .module {
  margin-bottom: 0 !important;
}

#pricelistcompany_form .module.aligned select {
  min-width: 400px;
}

.model-pricelistdevice .colM,
.model-pricelistsink .colM {
  padding-top: 0 !important;
}

.model-pricelistmaterialprice .object-tools a.addlink {
  background: var(--button-bg);
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  color: var(--button-fg);
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--font-family-primary);
  font-weight: normal;
  font-size: 0.8125rem;
  text-transform: none;
  line-height: normal;
  margin: 2px 0;
}

.object-tools a.addlink:hover {
  background: var(--button-hover-bg);
}

#changelist-filter {
  margin: 46px 0 0 30px;
}
th.sortable #changelist-filter {
  margin: 6px 0 0 0;
}
th.sortable #changelist-filter ul{
  padding-bottom: 0;
  padding-left: 0;
}
.select2-search:has(.select2-search__field[aria-controls="select2-id-material_type__pk__exact-dal-filter-results"]) {
  display: none;
}
#pricelistend_form .custom-select--selected {
  height: 45px;
  display: flex;
  align-items: center;
}

#pricelistend_form .custom-select p {
  width: 60px;
}

#pricelistend_form .custom-select img {
  max-width: 45px;
}

#pricelistend_form .custom-select__items div {
  display: flex;
  align-items: center;
}

/*
#pricelistend_form .custom-select__items div[data-is_compart="True"] {
  display: none !important;
}
*/

.app-pricelists.current-app tbody {
  display: flex;
  flex-direction: column;
}

.app-pricelists.current-app .model-pricelistoperation {
  order: -7;
}

.app-pricelists.current-app .model-pricelistend {
  order: -6;
}

.app-pricelists.current-app .model-pricelistdevice {
  order: -5;
}

.app-pricelists.current-app .model-pricelistmaterialprice {
  order: -4;
}

.app-pricelists.current-app .model-pricelistsink {
  order: -3;
}

.app-pricelists.current-app .model-pricelistservice {
  order: -2;
}

.field-brands .flex-container .help-tooltip {
  order: -2;
}

th.sortable .select2-container--admin-autocomplete .select2-selection--single .select2-selection__placeholder {
  color: var(--body-fg);
  text-transform: none;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  div.breadcrumbs a {
    font-size: 0;
  }
}