:root{
  --brand:#89C539;
  --brand-bg:rgba(137,197,57,0.12);
  --brand-bg-strong:rgba(137,197,57,0.18);
  --brand-shadow:rgba(137,197,57,0.25);
  --brand-hover: #89c539b8;
  --brand-hover-soft:#88c53965;
  --brand-border-soft:#88c53996;
  --brand-state:#88c53994;
  --muted:#9A9898;
  --muted-hover:#8a8989;
  --danger:#E01311;
  --danger-border:#e0141194;
  --white:#ffffff;
  --black: #0a0000;
  --scroll-track:#F5F5F5;
  --text-2:#666;
  --text-3:#555;
  --gray-200:#e9e9e9;
  --gray-300:#ccc;
  --panel:#ffffff;
  --bg-soft:#fafafa;
  --shadow-soft:0 2px 8px rgba(0,0,0,0.06);
  --shadow-softer:0 2px 6px rgba(0,0,0,0.04)
}

@font-face {
  font-family: 'Roboto Thin';
  src: url('font/Roboto-Thin.ttf') format('truetype');
  font-weight: 100;
}
@font-face {
  font-family: 'Roboto Light';
  src: url('font/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Roboto Regular';
  src: url('font/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Roboto Medium';
  src: url('font/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: 'Roboto Bold';
  src: url('font/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Roboto Black';
  src: url('font/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--scroll-track);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted-hover);
}

html * {
  user-select: none;
  font-family: "Roboto Light";
}
h1, h2, h3, h4, h5, h6{
  font-family: "Roboto Regular";
}

#alert{
  position: fixed;
  top: 0px;
  left: calc(50% - 150px);
  width: 300px;
  height: fit-content;
  border-radius: 25px;
  z-index: 9999999999999999;
}
#alert-msg{
  padding: 10px;
  line-height: 15px;
}
.success{
  background-color: var(--brand);
  border: 1px solid var(--brand-border-soft);
}
.error{
  background-color: var(--danger);
  border: 1px solid var(--danger-border);
}
#toast-container{
  position: fixed;
  left: 0;
  bottom: 0px;
  z-index: 9999999999999;
}
.toast{
  margin: 5px;
}

html,
body,
#wrapper-editor{
  height: 100%;
}
#loader{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--white);
  z-index: 99999999999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hidden{
  display: none !important;
}
a{
  color: var(--brand);
}

.registration-warpper{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.registration-warpper .center{
  border: 1px solid rgba(0,0,0,0.1);
  padding: 25px;
  box-shadow: 0 0 15px 10px rgba(0,0,0,0.1);
  border-radius: 5px;
}
.registration-warpper h3{
  margin-bottom: 20px;
}
.registration-warpper p, .registration-warpper form{
  margin-bottom: 0px;
}
.registration-warpper img{
  width: 300px;
  margin-bottom: 20px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="file"], input:not(input[type="checkbox"]), .multiselect{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  height: 40px;
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
}
input[type="file"]::-webkit-file-upload-button { display: none; }
input[type="file"]::-ms-browse { display: none; }

select, textarea, .multiselect {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  background: var(--white);
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.multiselect{
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
}
.multiselect img{
  margin-left: auto;
}
.multiselect-item-container{
  width: 90%;
  display: flex;
  flex-wrap: wrap;
}
.multiselect-item-search{
  width: 100%;
}

.children-container-cascade {
  margin-left: 20px;
  padding-left: 10px;
  border-left: 1px solid var(--gray-300);
}

.top-bar{
  padding-left: 10px;
  padding-right: 10px;
  height: 75px;
  width: 100%;
  display: flex;
  position: sticky;
  top: 0px;
  background-color: var(--white);
  align-items: center;
  box-shadow: 0 5px 5px rgba(0,0,0,0.1);
  z-index: 999;
}

.content-wrapper{
  height: calc(100% - 75px);
  display: flex;
}
.side-bar{
  width: 100px;
  height: 100%;
  box-shadow: 5px 0 5px rgba(0,0,0,0.1);
  z-index: 1;
}
.side-item{
  border-bottom: 1px solid rgba(0,0,0,0.5);
  opacity: 0.7;
}
.side-item.active{
  opacity: 1;
  box-shadow: inset 0 0 5px var(--brand);
}
.side-item.active .side-item-wrapper{
  transform: scale(0.95);
}
.side-item:hover{
  opacity: 1;
  background-color: var(--gray-200);
  cursor: pointer;
}
.side-item-wrapper{
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  display: flex;
  width: 100px;
  height: 100px;
  transition: transform 0.1s ease;
}
.side-item-wrapper:hover{
  transform: scale(0.95);
}
.side-item-img{ width: 30px; }
.side-item-title{
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 0;
  margin: 0px;
  font-size: small;
  font-family: "Roboto Bold";
}

.main-page{
  width: calc(100% - 100px);
  height: 100%;
  position: relative;
}
.modal-body{ overflow-y: auto; }

#settingsArea{
  padding: 20px;
  width: 1000px;
  padding-bottom: 3rem;
  margin: auto;
}
#settingsAreaWrapper{
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
#settingsArea * { font-family: 'Roboto Regular'; }
#settingsArea h4{ padding-left: 0px; }
#settingsArea h5{ padding-top: 0.5rem; }
#settingsArea .row{
  background-color: rgba(202,219,255,0.5);
  border-radius: 3px;
  padding: 5px;
  margin: 5px;
}
#settingsArea .col, #settingsArea .col-4{
  border-right: 1px solid rgb(163,163,163);
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#settingsArea .col:last-child, #settingsArea .col-4:last-child{ border-right: 0px solid black; }
#settingsArea .row-header-props .col, #settingsArea .row-header-props .col-4{
  text-align: center;
  border-right: none;
}
.row-header-props{ background-color: var(--white) !important; }
.disabled-prop{ background-color: rgba(224,224,224,0.3) !important; }

.properties-wrapper{
  transition: max-height 0.3s ease;
  overflow: hidden;
}
.collapsed-props{ cursor: pointer; }
.collapsed-props::before {
  content: url("img/caret-right.svg");
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-right: 5px;
}
.expanded-props::before { transform: rotate(90deg); }
.collapsed-props-wrapper{
  max-height: 0px !important;
  overflow: hidden;
}

#selectDefaultLang{
  width: 100px;
  height: 40px;
  display: flex;
  padding: 5px;
  text-align: center;
}
#langContainer{
  padding: 5px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}
.multi-value-container{ display: flex; flex-wrap: wrap; }
.data-source-wrapper{
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}
.cascade-header-wrapper{ display: flex; align-items: center; }
.disabled{ opacity: 0.5; pointer-events: none; }
.delete-icon{ cursor: pointer; }
.delete-item-btn{ margin-top: 0px; margin-left: 5px; }
.render-select, .datasource-select{
  border-radius: 5px;
  padding: 1px;
  height: 26px;
}
.add-icon{
  background-color: var(--brand);
  padding: 5px;
  border-radius: 20px;
  display: block;
  margin: auto;
  cursor: pointer;
}

#searchArea .data-item{
  padding: 2px;
  margin: 2px;
  font-size: smaller;
}
.data-item, .cascade-name{
  min-width: 40px;
  border-radius: 3px;
  background-color: rgba(202,219,255,0.5);
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 5px;
  position: relative;
}
.add-cascade-item-btn{
  height: 30px;
  width: 30px;
  position: relative;
  background-color: transparent;
  color: var(--brand);
  border-radius: 20px;
}
.add-cascade-item-btn:hover{
  background-color: #0052a57a;
  color: var(--white);
}
.add-cascade-item-btn::before{
  content: "+";
  position: absolute;
  left: 0px;
  top: 0px;
  height: 30px;
  width: 30px;
  line-height: 30px;
}

.data-datacource-item{ background-color: rgba(202,219,255,0.5); cursor: text; }
.content-element{ min-width: 20px; cursor: text; text-align: center; }
.delete-icon-data{
  position: absolute;
  right: -10px;
  top: -10px;
  cursor: pointer;
  border-radius: 15px;
  background-color: rgba(255,202,202,0.5);
  display: none;
  z-index: 9999;
}
.data-datasource-item:hover .delete-icon-data{ display: block; }
.drag-icon{ cursor: grab; }

.active-lang{ background-color: rgba(202,219,255,0.5); }
.unactive-lang{ background-color: rgba(161,161,161,0.5); }
.active-lang::after {
  content: "";
  background: url(img/check.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 1px;
  right: 1px;
  background-color: rgba(235,255,232);
  border-radius: 8px;
}

.main-page h4{
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}
#loadingSettingsWrapper{
  position: absolute;
  width:calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: var(--white);
}
#loading-main-page, #loading-settings-page, #loading-home-page{
  position: absolute;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 50%;
  margin-top: -40px !important;
  margin-left: -40px !important;
  border-width: 7px;
}

.context-menu{
  position: absolute;
  background-color: var(--white);
  box-shadow: 0px 0 5px rgba(0,0,0,0.1);
  z-index: 1;
}
.context-menu-item{
  box-shadow: 0px 0 1px rgba(0,0,0,0.1);
  padding: 5px;
}
.col-input-list{
  position: fixed;
  z-index: 99;
  background-color: var(--white);
  box-shadow: 0px 0 5px rgba(0,0,0,0.1);
  width: 200px;
  max-height: 300px;
  overflow-y: auto;
}
.col-input-list-item{
  box-shadow: 0px 0 1px rgba(0,0,0,0.1);
  padding: 5px;
  display: flex;
}
.col-input-list-item:hover{ background-color: var(--gray-200); }
.col-input-list-item p{ margin: 0px; }
.col-input-list-item input{ margin-left: auto; }
.context-menu-item:hover{ background-color: var(--gray-200); }
.context-menu-item p{ margin: 0px; padding: 5px; }

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 0;
  box-shadow: unset;
  border: 1px solid var(--brand) !important;
}
.active-select input, .multiselect.active{
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
.multiselect.active{
  border-bottom: none;
  border-color: var(--brand);
}
.multiselect-item-search{
  border-left: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  border-bottom: 1px solid var(--brand);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 10px;
}
.option-container{
  position: absolute;
  top: 40px;
  width: 100%;
  background-color: var(--white);
  z-index: 123123;
  border-left: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  border-bottom: 1px solid var(--brand);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 0px 10px 10px 10px;
  display: flex;
  max-height: 200px;
  overflow-y: auto;
  flex-direction: column;
}
.option-container-option{
  width: 100%;
  padding: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.option-container-option:hover{ background-color: rgba(0,0,0,0.25); }
.option-container-option:last-child{ border-bottom: none; }

.locked-obj::before{
  content: url("img/lock-fill.svg");
  display: block;
  position: absolute;
  margin: auto;
  padding: 10px;
}

.tabGroup{
  height: 30px;
  margin-top: 5px;
  width: fit-content;
  text-align: left;
  vertical-align: middle;
  border-radius: 15px;
}
.tab{
  padding-left: 20px;
  padding-right: 20px;
  height: 100%;
  float: left;
  position: relative;
}
.tab:nth-child(n+2) { margin-left: 5px; }
.tab:hover{
  background-color: var(--muted);
  border-radius: 15px;
}
.tabActive{
  box-shadow: inset 0px 0px 4px;
  border-radius: 15px;
}

.ui-btn{
  border: 1px solid rgba(0,0,0,0);
  background-color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 25px;
  transition: transform 0.1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ui-btn-small{
  border: none;
  color: var(--white);
  display: flex;
  border-radius: 20px;
  transition: transform 0.1s ease;
  align-items: center;
  background-color: var(--brand);
  font-family: "Roboto Regular";
  box-shadow: 0px 0 5px rgba(0,0,0,0.1);
}
.ui-btn-align-left{ margin-right: auto; }
.ui-btn-align-center{ margin: auto; }
.ui-btn-align-right{ margin-left: auto; }
.ui-btn:hover{
  transform: scale(0.95);
  background-color: var(--brand-hover-soft);
}
.ui-btn.active{
  transform: scale(0.95);
  background-color: var(--brand-hover);
}
.ui-btn-small:hover{ transform: scale(0.95); }
.ui-btn-icon{ height: 25px; }

.page-item{ cursor: pointer; }
.page-item.disabled{ cursor: unset; }

.ui-search-datalist-item{
  font-size: 19px;
  line-height: 40px;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-left: 10px;
  padding-right: 10px;
}
.ui-search-datalist-item:last-child{
  font-size: 19px;
  line-height: 40px;
  border-top: 1px solid rgba(0,0,0,0.3);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.ui-search-datalist-item:hover{ background-color: var(--gray-200); }

.main-page-wrapper{
  display: flex;
  height: 100%;
  overflow: hidden;
}
.ui-expanded{
  width: 25vw;
  max-width: 25vw;
}
.ui-collapsed{
  width: 0px;
  position: relative;
}
.ui-collapsed > :not(.ui-expand-button){
  display: none;
  opacity: 0 !important;
}
.left-wrapper > :not(.ui-expand-button){
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.right-wrapper > :not(.ui-expand-button){
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.ui-collapsed .ui-expand-button{ position: absolute; }
.ui-collapsed .ui-left{
  right: -40px;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
  z-index: 1;
  border-bottom-right-radius: 20px;
  transition: right 0.3s ease-in-out;
}
.ui-collapsed .ui-right{
  left: -40px;
  box-shadow: -5px 5px 5px rgba(0,0,0,0.1);
  z-index: 1;
  border-bottom-left-radius: 20px;
  transition: left 0.3s ease-in-out;
}
.ui-right{ position: absolute; left: 0px; }
.ui-left{ position: absolute; right: 0px; }

.left-wrapper{
  height: 100%;
  display: flex;
  position: relative;
  transition: width 0.3s ease-in-out;
  flex-direction: column;
  box-shadow: 5px 0 5px rgba(0,0,0,0.1);
  z-index: 2;
}
.left-wrapper input, #publishFrom input{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
  height: 40px;
}
.left-wrapper select, #publishFrom select{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  background: var(--white);
  border-radius: 20px;
  padding: 5px;
  height: 40px;
}
.left-wrapper textarea, #publishFrom textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
}
.extended-search-field{
  display: flex;
  position: relative;
  margin-bottom: 15px;
  gap: 5px;
}
.extended-search-field:last-child{ margin-bottom: 0px; }
.left-wrapper select:focus-visible{
  box-shadow: none;
  outline: 0;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.extended-search-field-name{
  position: absolute;
  left: 20px;
  top: -6px;
  padding-left: 4px;
  padding-right: 4px;
  line-height: 12px;
  font-size: 12px;
  font-family: "Roboto Medium";
  background-color: var(--white);
}
.extended-search-field-operator-select{
  width: 30% !important;
  text-align: center;
}

.main-content-wrapper{
  min-width: 50%;
  width: 100%;
  height: 100%;
  position: relative;
}
.ui-create-button{
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #008d008c !important;
  box-shadow: inset 0 0 5px #030303;
}

.right-wrapper{
  height: 100%;
  display: flex;
  position: relative;
  transition: width 0.3s ease-in-out;
  flex-direction: column;
  align-items: end;
  box-shadow: -5px 0 5px rgba(0,0,0,0.1);
}
.ui-expand-button{
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0,0,0,0);
  background-color: transparent;
  transition: transform 0.1s ease;
}
.ui-expand-button:hover{
  transform: scale(0.95);
  background-color: transparent;
}

#main-page-content, #main-page-optional{
  width: 100%;
  height: calc(100% - 120px);
  position: relative;
}
#main-page-content .col{ min-width: 200px; }
#main-page-content .row{ flex-wrap: nowrap; }
.row{ --bs-gutter-x: 0; }

.obj_media{ width: 100%; height: auto; }
#content-wrapper-results{
  position: relative;
  height: 100%;
  width: 100%;
  overflow: auto;
}
.content-result-row{
  cursor: pointer;
  z-index: -2;
  font-size: 14px;
  text-decoration: none;
}
.content-result-row .col:first-child{ padding-left: 30px; }
.content-result-row .col{
  padding: 5px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-all;
  color: black;
  gap: 5px;
}
.content-result-row .col img{
  max-width: 200px;
  min-width: 50px;
  mix-blend-mode: darken;
}
.content-result-row:hover{ background-color: rgba(0,0,0,0.1); }
.content-result-row:first-child{ border-top: none; }

.item-properties-list{
  max-width: 100%;
  width: 100%;
  height: 100%;
  word-break: break-all;
  overflow: auto;
  padding: 10px;
}
.item-properties-list .row{ min-height: 18px; }
.item-propertie{
  border-top: 1px solid rgba(0,0,0,0.1) !important;
  font-family: "Roboto Regular";
}
.item-value{ font-size: smaller; display: flex; }
.clickable-header{ cursor: pointer; }
.clickable-header::after{ content: url("img/funnel.svg"); }
.clickable-header.active::after{ content: url("img/funnel-fill.svg"); }
.filter-popup{
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  padding: 10px;
  overflow-x: scroll;
  max-height: 300px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.options{
  margin-left: 45px;
  margin-right: 45px;
  position: relative;
  height: 60px;
  align-items: center;
  display: flex;
}
.info{
  position: relative;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  gap: 5px;
  display: flex;
  box-shadow: 0 -5px 5px rgba(0,0,0,0.1);
}
.info ul{ margin-bottom: 0; }
#objCount{
  position: absolute;
  top: 18px;
  left: 10px;
}
.nav-wrapper #objCount{ top: 8px; }
.nav-wrapper{
  position: relative;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.header-row{
  height: 40px;
  position: sticky;
  top: 0px;
  background-color: var(--white);
}
.header-row .col{
  height: 100%;
  display: flex;
  align-items: center;
  font-size: small;
  font-family: "Roboto Medium";
  padding-left: 30px;
  padding-right: 30px;
  justify-content: center;
  position: relative;
  background-color: var(--white);
}

.manager-input{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 10px;
}

.file-upload{
  width: calc(100% - 60px);
  height: 300px;
  position: relative;
  margin: 30px;
}
.upload-icon{
  width: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -15px;
  margin-top: -15px;
  pointer-events: none;
}
.preview{ overflow: scroll; height: 100%; width: 100%; }
.load-more{
  font-size: small;
  text-align: center;
  margin: 5px;
  color: var(--bs-blue);
  cursor: pointer;
}
.dropzone{
  border: 2px dashed var(--gray-300);
  border-radius: 10px;
}
.btn-bar-search{
  height: 50px;
  padding: 5px;
  display: flex;
  justify-content: end;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.job-wrapper{ position: relative; display: contents; }
.job-content{
  position: absolute;
  width: 400px;
  height: 200px;
  background-color: var(--white);
  z-index: 99;
  overflow-y: scroll;
  word-break: break-all;
  right: 150px;
  top: 50px;
  box-shadow: 00px 0px 5px;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
}
.job-item-wrapper{
  margin: 8px;
  padding: 2px;
  display: flex;
  box-shadow: 0px 0px 3px;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 5px;
}
.job-subitem-wrapper{
  padding-left: 5px;
  padding-right: 5px;
  border-bottom: 1px solid black;
}
.job-subitem-wrapper:last-child{ border-bottom: 0px solid black; }
.job-item-id, .job-subitem-id{
  font-size: x-small;
  font-family: 'Roboto Light';
  text-align: end;
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}
.job-item-date, .job-subitem-date{
  font-size: xx-small;
  font-family: 'Roboto Medium';
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}
.job-item-message, .job-subitem-message{
  font-size: small;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  word-break: keep-all;
  font-size: small;
  flex-basis: calc(100% - 25px);
  box-sizing: border-box;
  white-space: pre-line;
  position: relative;
}

.type-completed.collapsedJob{ background-color: rgba(235,255,232,0.5) !important; }
.type-queued.collapsedJob, .type-in_progress { background-color: rgb(202,219,255,0.5) !important; }
.type-error.collapsedJob, .type-warning.collapsedJob{ background-color: rgba(255,202,202,0.5) !important; }
.expandedJob.type-completed, .expandedJob.type-queued, .expandedJob.type-error, .expandedJob.type-in_progress{
  background-color: rgba(224,224,224,0.3);
  border: 0px solid var(--brand);
}
.type-completed.collapsedJob::after{ content: url("img/check.svg"); }
.type-queued.collapsedJob::after, .type-in_progress.collapsedJob::after{ content: url("img/loading.svg"); }
.type-error.collapsedJob::after{ content: url("img/x.svg"); }
.type-warning.collapsedJob::after{ content: url("img/x.svg"); }
.collapsedJob .job-item-messages{ display: none; }
.expandedJob{ border: 1px solid var(--brand); }

.processing-que, .error-que, .completed-que, .warning-que { position: relative; }
.processing-que::after {
  content: "";
  background: url(img/loading.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 2px;
  right: 2px;
  background-color: rgb(202,219,255);
  border-radius: 8px;
}
.error-que::after, .warning-que::after {
  content: "";
  background: url(img/x.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 2px;
  right: 2px;
  background-color: rgba(255,202,202);
  border-radius: 8px;
}
.completed-que::after {
  content: "";
  background: url(img/check.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: 2px;
  right: 2px;
  background-color: rgba(235,255,232);
  border-radius: 8px;
}

.job-item-messages{
  flex-basis: 100%;
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
  max-width: 100%;
}
.obj_publication::before{
  content: url("img/globe.svg");
  margin: 5px;
  vertical-align: middle;
}
.selected{ background-color: rgba(0,0,0,0.05); }
*:focus-visible{ outline: none; }

@keyframes pulse {
  0% { font-size: 100%; }
  50% { font-size: 105% }
  100% { font-size: 100% }
}
.pulsing { animation: pulse 0.5s ease-in-out; }

#newLangBody .col ,#newReviewBody .col, #newReleaseBody .col{
  border-right: 1px solid rgba(0,0,0,0.1);
  padding: 2px;
  font-size: smaller;
  display: flex;
  align-items: center;
  justify-content: center;
}
#newLangBody .col:nth-child(1) ,#newReviewBody .col:nth-child(1), #newReleaseBody .col:nth-child(1){ min-width: 35%; }
#newLangBody .col:nth-child(2) ,#newReviewBody .col:nth-child(2), #newReleaseBody .col:nth-child(2){ min-width: 20%; }
#newLangBody .col:nth-child(3) ,#newReviewBody .col:nth-child(3), #newReleaseBody .col:nth-child(3){ min-width: 10%; }
#newLangBody .col:nth-child(4) ,#newReviewBody .col:nth-child(4), #newReleaseBody .col:nth-child(4){ min-width: 30%; }
#newLangBody .col:nth-child(5) ,#newReviewBody .col:nth-child(5), #newReleaseBody .col:nth-child(5){ min-width: 5%; }
#newLangBody .row, #newReviewBody .row, #newReleaseBody .row{ border-bottom: 1px solid rgba(0,0,0,0.1); }
#newLangBody .col:last-child, #newReviewBody .col:last-child, #newReleaseBody .col:last-child{ border-right: 0px; }
#newLangBody .row:last-child, #newReviewBody .row:last-child, #newReleaseBody .row:last-child{ border-bottom: 0px; }

.dialog-container{ margin-bottom: 15px; padding: 5px; }
.dialog-container .col{ width: 25%; }
.loading img{ width: 20px; }
button:disabled { background-color: rgba(0,0,0,0.1) !important; }
.element-icon{ height: 22px; margin: 5px; display: inline-block; width: unset; }
.tree-icon{ height: 22px; margin: 5px; display: inline-block; width: unset; }
.loading-preview-container{ display: flex; align-items: center; justify-content: center; }
.loading-preview-container::before{
  content: url("img/loading.svg");
  width: 24px;
  height: 24px;
}

.cascade-container {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}
.cascade-content-wrapper, .sub-data-wrapper { transition: max-height 0.4s ease; }
.object-wrapper{
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
}
.cascade-header, .data-source-name {
  font-size: 18px;
  font-family: 'Roboto Regular' !important;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  cursor: text;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.toggle-span{
  padding: 5px;
  border-radius: 20px;
  width: 26px;
  height: 26px;
  display: inline-block;
  margin-left: 10px;
  text-align: center;
}
.toggle-span:hover{ background-color: var(--gray-200); }
.cascade-name{
  display: inline-block;
  margin-left: 10px;
  cursor: text;
}
.data-wrapper {
  margin-left: 0px;
  padding-left: 10px;
  border-left: 2px solid #ddd;
}
.cascade-data-item {
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  line-height: 30px;
}
.cascade-data-item[contenteditable="true"] { cursor: text; min-height: 30px; }
.name-wrapper{ display: inline-block; position: relative; }
.name-wrapper:hover .delete-icon-data{ display: block; }
.sub-data-wrapper {
  margin-left: 20px;
  padding-left: 10px;
  border-left: 2px dashed #ddd;
}

button {
  padding: 5px 10px;
  background-color: var(--brand);
  color: var(--white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
button:hover { background-color: var(--brand-hover); }
.add-main-element-button { margin-top: 15px; }
.delete-icon-data { width: 20px; height: 20px; cursor: pointer; float: right; }
.cascade-container:not(:last-child) { margin-bottom: 20px; }
.value-display-div {
  border: 1px solid var(--gray-300);
  padding: 5px;
  min-height: 30px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
}
.option-label { display: inline-block; margin-left: 10px; }
.toggle-icon { cursor: pointer; display: inline-block; }

.submenu{
  border: 1px solid rgba(0,0,0,0.5);
  margin-top: 10px;
  border-radius: 5px;
}
.submenu-header{
  opacity: 0.7;
  font-size: larger;
  cursor: pointer;
  padding-top: 15px;
  padding-bottom: 15px;
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
}
.submenu-header.active{
  opacity: 1;
  box-shadow: inset 0 0 5px var(--brand);
}
.submenu-header:hover{ background-color: rgba(0,0,0,0.1); }
.submenu-header:last-child{ border-right: unset; border-top-right-radius: 5px; }
.submenu-header:first-child{ border-top-left-radius: 5px; }

#imgWrapper, #imgWrapperAlert{
  max-width: 50%;
  padding: 30px;
}
#imgWrapper img, #imgWrapperAlert img{ width: 100%; }

.item-list{
  padding: 10px;
  overflow-x: auto;
}
.active>.page-link{
  background-color: var(--brand);
  border-color: var(--brand);
}

#homeArea{
  padding: 10px;
  height: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
#calendar a{ color: #212529; }

.toggle-options-container{
  display: flex;
  height: 35px;
  width: 52px;
  border: 1px solid var(--brand);
  border-radius: 15px;
  position: absolute;
  right: 55px;
}
.toggle-options-container:hover{
  transform: scale(0.95);
  background-color: var(--brand-hover-soft);
}
.toggle-option{
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 15px;
  cursor: pointer;
}
.toggle-option.active{ background-color: var(--brand); }

.ui-search-wrapper{
  position: absolute;
  top: 16px;
  left: calc(50% - 250px);
  z-index: 1;
}
.ui-search-bar{
  width: 500px;
  border: 1px solid rgba(0,0,0,0.5);
  border-radius: 20px;
  position: relative;
  background-color: var(--white);
}
.ui-search-input{
  width: 100%;
  height: 100%;
  background: var(--white);
  border: none;
  border-radius: 20px;
  padding: 10px;
}
.ui-search-bar.active input, .ui-search-bar.active{
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.ui-search-icon{
  position: absolute;
  right: 10px;
  height: 20px;
  top: 10px;
  opacity: 0.7;
  pointer-events: none;
}
.ui-search-bar.active .ui-search-datalist{ display: block; }
.ui-search-datalist{
  position: absolute;
  top: 40px;
  left: -1px;
  width: calc(100% + 1px);
  background-color: var(--white);
  display: none;
  border-left: 1px solid rgba(0,0,0,0.5);
  border-right: 1px solid rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.ui-search-datalist-item{
  font-size: 19px;
  line-height: 40px;
  border-top: 1px solid rgba(0,0,0,0.3);
  padding-left: 10px;
  padding-right: 10px;
  height: 50px;
}
.ui-search-datalist-item:last-child{
  font-size: 19px;
  line-height: 40px;
  border-top: 1px solid rgba(0,0,0,0.3);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.ui-search-datalist-item::before{
  left: 0px;
  width: 40px;
  height: 40px;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  content: "";
}
.ui-search-datalist-item::before *{ width: 100%; }
.ui-search-datalist-item.objCustomer::before{
  background-image: url("img/building.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.ui-search-datalist-item.objLocation::before{
  background-image: url("img/geo-alt-fill.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.ui-search-datalist-item.objDevice::before{
  background-image: url("img/fan.svg");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.ui-search-datalist-item.objDeviceAtLocation::before{
  background-image: url("img/waving-fan.svg");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: center;
}
.ui-search-datalist-item:hover{ background-color: var(--gray-200); }
.ui-search-datalist-item-name{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-left: 40px;
  font-size: 16px;
  line-height: 32px;
}
.ui-search-datalist-item-metadata{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-left: 40px;
  font-size: 14px;
  line-height: 14px;
}
.ui-search-datalist-item-metadata span{ margin-left: 5px; }

.main-page-container{
  flex: 1;
  padding: 10px;
  height: 100%;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  overflow: auto;
  min-width: 300px;
}
.main-page-container h4{ padding: 0px; }
.main-page-container table{ width: 100%; }
.main-page-container td{ padding: 15px; min-width: 100px; }
.main-page-container tr{ border-bottom: 1px solid rgba(0,0,0,0.1); }
.main-page-container tbody tr:hover{ background-color: var(--gray-200); }

.green-status{ background-color: var(--brand-state); }
.yellow-status{ background-color: rgba(229,255,0,0.5); }
.red-status{ background-color: #e014118a; }

.question-toast{
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 5px;
}
#objname{
  max-width: 400px;
  overflow: hidden;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.properties-wrapper .row .col:nth-child(4){ max-width: 100px; }
.mustfield-span{ color: var(--danger); margin-left: 3px; }

#qrCodeList{
  display: flex;
  flex-wrap: wrap;
  gap: 2cm;
  justify-content: center;
}
#referenceQRForm{ margin: auto; }

@media only screen and (max-width: 1000px) {
  .ui-search-wrapper{
    position: unset;
    z-index: 1;
    width: 100%;
    max-width: 500px;
  }
  .main-page-container { width: 100%; flex: none; }
  .ui-search-bar{ width: 100%; }
  .content-wrapper {
    height: calc(100% - 75px);
    display: flex;
    flex-direction: column-reverse;
  }
  .side-bar {
    height: 75px;
    width: 100%;
    box-shadow: 5px 0 5px rgba(0,0,0,0.1);
    z-index: 3;
    display: flex;
  }
  .main-page {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .side-item{
    border-right: 1px solid rgba(0,0,0,0.5);
    border-bottom: unset;
    flex: 1;
    height: 75px;
  }
  .side-item-wrapper{
    width: unset;
    height: 75px;
  }
  .side-item-title{ display: none; }
  .ui-btn-align-right{ display: flex; }
  .ui-btn-align-left{ display: flex; }
  .ui-expanded{
    width: 400px;
    position: absolute !important;
    max-width: 100vw;
    background-color: var(--white);
  }
  .ui-collapsed { width: 0px; position: absolute !important; }
  .options { justify-content: end; }
  .submenu-header{
    font-size: small !important;
    cursor: pointer;
  }
  #imgWrapper, #imgWrapperAlert{
    max-width: 100% !important;
    padding: 30px;
  }
  .container{ padding-top: 0em !important; }
  .container:first-child{ padding-top: 1em !important; }
  .main-page{ height: calc(100% - 75px) !important; }
  #homeArea{ overflow-y: auto; }
  .diagramRow { height: unset !important; }
  .landingpageDiagram{
    height: unset !important;
    display: block;
    overflow-y: hidden !important;
    min-height: 50vh;
  }
  .landingpageDiagram #map{ min-height: 50vh; }
  .hideonmobile{ display: none; }
  .landingpageDiagram .col{ width: 150px; padding: 10px; }
  .landingpageDiagram .row{ min-width: 600px; }
  .placeholder{ display: none !important; }
  .landinpageCol{ height: 100%; width: 100% !important; }
  #settingsArea{ width: 100%; }
  #objname{ max-width: 150px; }
}

/* aus HTML zusammengeführt */
.with-gutters{
  --bs-gutter-x:1rem;
  --bs-gutter-y:1rem;
}
.container{
  padding-top:2em;
  padding-bottom:2em;
}
.customer-card{
  display:flex;
  gap:1rem;
  align-items:center;
  background:var(--panel);
  border-radius:12px;
  box-shadow: var(--shadow-soft);
  padding:1rem 1.2rem;
}
.customer-avatar{
  width:88px;
  height:88px;
  border-radius:12px;
  background:#f3f3f3;
  overflow:hidden;
  flex:0 0 88px;
}
.customer-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.customer-meta .title{
  font-family:"Roboto Regular";
  font-size:1.1rem;
  line-height:1.2;
  margin:0 0 0.25rem 0;
}
.customer-meta .meta-line{
  display:flex;
  gap:0.5rem;
  align-items:baseline;
  font-size:0.95rem;
}
.customer-meta .label{
  color:var(--muted);
  font-size:0.85rem;
}
.customer-meta .value{ font-family:"Roboto Medium"; }
.section-title{
  font-size:1.1rem;
  font-weight:600;
  margin-bottom:0.5rem;
}
#map{
  width:100%;
  height:380px;
  border-radius:12px;
  box-shadow: var(--shadow-softer);
  background:var(--bg-soft);
  position:relative;
}
#map-loader{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
  border-radius:12px;
  z-index:2;
}
.spinner-border{ color:var(--brand); }
.location-card{
  background-color:var(--panel);
  border-radius:12px;
  box-shadow: var(--shadow-soft);
  padding:1rem 1.1rem;
  cursor:pointer;
  transition:transform 0.1s ease, box-shadow 0.1s ease;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.location-card:hover{
  transform:translateY(-2px);
  box-shadow:0 4px 14px var(--brand-shadow);
}
.location-card h5{
  font-size:1.05rem;
  margin-bottom:0.25rem;
}
.location-card p{
  margin:0;
  font-size:0.9rem;
  color:var(--text-3);
}
.location-card__badge{
  margin-top:0.7rem;
  align-self:flex-start;
  font-size:0.75rem;
  padding:0.25rem 0.6rem;
  border-radius:999px;
  background-color:var(--brand-bg);
  color:var(--brand);
  border:1px solid var(--brand-bg-strong);
}
.location-card:active{
  transform:translateY(0);
  box-shadow:0 3px 10px var(--brand-shadow);
}
@media (max-width:576px){
  .customer-card{ flex-direction:column; align-items:flex-start; }
  .customer-avatar{ width:76px; height:76px; border-radius:10px; }
}
