.dark-mode {
  filter: invert(0.9);
}

.dark-mode .no-invert,
.dark-mode .companycolor,
.dark-mode .company-color,
.dark-mode [data-companycolor],
.dark-mode .brand,
.dark-mode .brand-bg,
.dark-mode .brand-text,
.dark-mode .brand-border,
.dark-mode .logo,
.dark-mode [data-logo],
.dark-mode img[alt*="logo" i],
.dark-mode img[src*="logo" i],
.dark-mode svg.logo,
.dark-mode svg[aria-label*="logo" i] {
  filter: invert(0.9) !important;
}

.dark-mode .brand-text,
.dark-mode .companycolor,
.dark-mode .company-color,
.dark-mode [data-companycolor="text"] {
  color: var(--company-color) !important;
}

.dark-mode .brand-bg,
.dark-mode [data-companycolor="bg"] {
  background-color: var(--company-color) !important;
}

.dark-mode .brand-border,
.dark-mode [data-companycolor="border"] {
  border-color: var(--company-color) !important;
}

.dark-mode .logo::before,
.dark-mode .logo::after,
.dark-mode .brand-bg::before,
.dark-mode .brand-bg::after {
  filter: invert(0.9) !important;
}

.dark-mode #toast-container *, .dark-mode img, .dark-mode svg, .dark-mode input:focus-visible, .dark-mode select:focus-visible, .dark-mode textarea:focus-visible, .dark-mode h1, .dark-mode a, .dark-mode button:not(.ui-btn), .dark-mode #profileImg, .dark-mode img.ui-btn-icon[id="profileImg"], .dark-mode .ui-btn-small, .dark-mode .ui-btn:hover, .dark-mode #btnNotifications::after, .dark-mode .page-item.active a, .dark-mode .form-tab.active::after, .dark-mode .settings-tab.active::after, .dark-mode input[type='color'], .dark-mode input[type="checkbox"]:checked, .dark-mode .watch-icon.active{
  filter: invert(0.9) !important;

}

.dark-mode .ui-btn-icon, .dark-mode .watch-icon, .dark-mode .side-item-img, .dark-mode .properties-tab, .dark-mode .ui-btn:hover[id='profileImg'] {
  filter: unset !important;
}

@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;
}

:root {
  --company-color: #c2c2c2;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #F5F5F5; 
  border-radius: 5px;
}
 
::-webkit-scrollbar-thumb {
  background: #9A9898; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8a8989; 
}

.settings-tabs::-webkit-scrollbar {
  width: 0px;          
  height: 0px;      
}

html * {
  user-select: none;
  font-family: "Roboto Regular";
}

h1, h2, h3, h4, h5, h6{
  font-family: "Roboto Regular";
}

/*

MESSAGES

*/

#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(--company-color);
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.error{
  background-color: #E01311;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

#toast-container{
  position: fixed;
  left: 0;
  bottom: 0px;
  z-index: 9999999999999;
}

.toast{
  margin: 5px;
}

/*

GENERAL RULES

*/

html, 
body,
#wrapper-editor{
  height: 100%; 
}

#loader{
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: white;
  z-index: 99999999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden{
  display: none !important;
}


a{
  color: var(--company-color);
}

.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;
}

.left-wrapper select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="file"], input:not(input[type="checkbox"]){
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  background: white;
  padding: 5px;
  height: 40px;
}

/*

CHECKBOX

*/

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: rgba(0, 0, 0, 0);
  margin: 0;
  position: relative;
  -webkit-border-radius: 0;
  display: inline-block;
  overflow: hidden;
  width: 40px;
  height: 20px;
  border-radius: 15.5px;
  background-color: #e9e9ea;
  transition: background-color 250ms;
  vertical-align: middle;
  cursor: pointer;
}

@media (prefers-reduced-motion) {
  input[type="checkbox"] {
    transition: none;
  }

  input[type="checkbox"]::before {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  input[type="checkbox"] {
    background-color: #39393d;
  }
}

input[type="checkbox"]::before {
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 15.5px;
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: white;
  transition: all 200ms;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}

input[type="checkbox"]:checked {
  background-color: var(--company-color); 
}

@media (prefers-color-scheme: dark) {
  input[type="checkbox"]:checked {
    background-color: var(--company-color); 
  }
}

input[type="checkbox"]:checked::before {
  left: 22px;
}

input[type="checkbox"]:disabled {
  background-color: #efefef;
}

@media (prefers-color-scheme: dark) {
  input[type="checkbox"]:disabled {
    background-color: #8d8d8d;
  }
}

input[type="checkbox"]:disabled::before {
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"]:disabled:checked {
  background-color: var(--company-color); 
  opacity: 0.3;
}

@media (prefers-color-scheme: dark) {
  input[type="checkbox"]:disabled:checked {
    background-color: var(--company-color); 
  }
}

input[type="checkbox"] + label {
  vertical-align: middle;
  font-family: Verdana;
}


.file-upload-form{
  flex-direction: column;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.attachments-preview{
  padding: 6px;
  display: flex;
  flex-wrap: wrap;
}

.remove-attachment-btn{
  width: 30px;
  height: 30px;
  margin-left: auto;
  background-color: var(--company-color);
  color: white;
}

.remove-attachment-btn:hover{ 
  background-color: var(--company-color);
  color: white;
}

.attachment-item{
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.5);
  margin: 5px;
  padding: 5px;
  border-radius: 8px;
}

#users-container .col{
  margin: 5px;
}

.multiselect{  
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
}

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: 8px;
  background: white;
  padding: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
/*  height: 40px;     */
}

.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 #ccc;
}

.top-bar{
  padding-left: 10px;
  padding-right: 10px;
  height: 75px;
  width: 100%;
  display: flex;
  position: sticky;
  top: 0px;
  background-color: 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(--company-color);
}

.side-item.active .side-item-wrapper{
  transform: scale(0.95);
}

.side-item:hover{
  opacity: 1;
  background-color: #f1f3f5;
  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;
}

.kanban-board {
  overflow-x: auto;
  padding: 10px;
}

.kanban-column {
  flex: 1 0 250px; 
  background: #f1f3f5;
}

.kanban-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: .5rem;
  cursor: grab;
}

.kanban-card > strong {
  display: flex;
  align-items: center;
  margin-top: 4px;
  margin-right: 40px;
}

.assigneImg {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.tickettypeContextMenu {
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  z-index: 10000;
  min-width: 150px;
}

.tickettypeContextMenu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .2s;
}

.tickettypeContextMenu li:hover {
  background: #f5f5f5;
}

.tickettypeIcon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.kanban-card span {
  font-size: .875rem;
  color: #555;
}

.modal-body{  
  overflow-y: auto;
}

#settingsArea{
  /* padding: 20px; */
  width: 100%;
  max-width: 1000px;
  /* padding-bottom: 3rem; */
  margin: auto;
  height: 100%;
}

.settings-container{
  height: calc(100% - 75px - 3rem);
  overflow: auto;
  padding: 10px;
}

.settings-container h4:first-child{
  padding-top: 0px;
}

#watchicon.active:after{
  content: "test";
}

#settingsAreaWrapper{
  width: 100%;
  height: 100%;
}

#settingsArea * {
  font-family: 'Roboto Regular';
}

#settingsArea h4{ 
  padding-left: 0px;
}

#settingsArea h5{   
  padding-top: 0;
  margin-bottom: 0;
  margin: auto;
}

#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: 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;
  display: flex;
  align-items: center;
}

.object-wrapper{
  margin-bottom: 15px;  
  border-radius: 8px;
}

.requiredChar{
  color: red;
}

.ticket-type-icon{  
  max-width: 200px;
  max-height: 100px;
}

.collapsed-props::before {
  content: url("img/caret-right.svg");
  display: inline-block;
  transition: transform 0.3s ease;
  cursor: pointer;
  margin-top: 5px;
  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;
}

.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;
  border-radius: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.render-select, .datasource-select{
  border-radius: 5px;
  padding: 1px;
  height: 26px;
}

.add-icon{  
  background-color: var(--company-color);
  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(--company-color);
  border-radius: 20px;
}

.add-cascade-item-btn:hover{
  background-color: #0052a57a;
  color: 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: 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: 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: 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: #f1f3f5;
}

.col-input-list-item p{
  margin: 0px;
}

.col-input-list-item input{
  margin-left: auto;
}

.context-menu-item:hover{
  background-color: #f1f3f5;
}

.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(--company-color) !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(--company-color);
}

.multiselect-item-search{  
  border-left: 1px solid var(--company-color);
  border-right: 1px solid var(--company-color);
  border-bottom: 1px solid var(--company-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;

  padding: 10px;
}

.option-container{
  position: absolute;
  top: 40px;
  width: 100%;
  background-color: white;
  z-index: 123123;
  border-left: 1px solid var(--company-color);
  border-right: 1px solid var(--company-color);
  border-bottom: 1px solid var(--company-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 0px 10px 10px 10px;
  display: flex;
  max-height: 200px;
  overflow-y: auto;
  flex-direction: column;
}

.search-select-toperator{
}

.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;
}

#iconType{
  width: 26px;
  height: 26px;
  left: 0px;
  position: absolute;
}

.ui-btn{
  border: 1px solid rgba(0, 0, 0, 0);
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  transition: transform 0.1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-btn:hover *:not(#profileImg) {
  filter: invert(1);
}

.ui-btn:hover img[src="css/img/person-circle.svg"] {
  filter: invert(1) !important;
}

img#profileImg:not([src="css/img/person-circle.svg"]) {
  border-radius: 50%;
  width: 150%;
  height: 100%;
}

.ui-btn-small{
  border: none;
  color: white;
  display: flex;
  border-radius: 20px;
  transition: transform 0.1s ease;
  align-items: center;
  background-color: var(--company-color);
  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(--company-color);
}

.ui-btn.active{
  transform: scale(0.95);
  background-color: var(--company-color);
}

.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.5);
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  display: flex;
}

.ui-search-datalist-item:last-child{
  font-size: 19px;
  line-height: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.ui-search-datalist-item:hover{
  background-color: #f1f3f5;
}

.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: 40px;
}

.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;
}

.template-select-area {
  padding: 10px;
}

.left-wrapper hr {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  margin-top: 5px;
  margin-bottom: 5px;
}

.status-row{
  display: flex;
  margin-bottom: 10px;
}

.left-wrapper input, #publishFrom input{
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  height: 100%;
  background: white;
  border-radius: 20px;
  padding: 10px;
  height: 40px;
}

.left-wrapper textarea, #publishFrom textarea{
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  background: 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: 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);
}

.right-wrapper *{
  user-select: text;
}

.ui-expand-button{
  border: 1px solid rgba(0, 0, 0, 0);
  background-color: transparent;
  transition: transform 0.1s ease;
}

button.ui-expand-button{
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  left: 0px;
}

.ui-expand-button:hover{
  transform: scale(0.95);
  background-color: transparent;
}

#main-page-content, #main-page-optional, #userAreaContent{
  width: 100%;
  height: calc(100% - 110px);
  position: relative;
}

#main-page-content .col{
  min-width: 200px;
  max-height: 200px;
  overflow: hidden;
}

#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 rgb(202, 219, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  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: #f1f3f5;
}

.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;
  overflow: hidden;
  text-overflow: ellipsis;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 6;

  max-height: 150px;
  overflow: auto;
  
}

.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 #ccc;
  background-color: #fff;
  padding: 10px;
  overflow-x: scroll;
  max-height: 300px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.attachment-item{
  font-size: 80%;
  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;
  cursor: pointer;
}

/**

focused

**/


.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: 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: 14px;
  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: 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: white;
}

.header-row .col:hover::before{    
  content: url(img/arrow-down.svg);
  position: absolute;
  left: 10px;
}

.header-row .col.sortDESC::before{  
  content: url(img/arrow-down.svg);
  position: absolute;
  left: 10px;
}

.header-row .col.sortDESC:hover::before{    
  content: url(img/arrow-up.svg);
  position: absolute;
  left: 10px;
}

.header-row .col.sortASC::before{    
  content: url(img/arrow-up.svg);
  position: absolute;
  left: 10px;
}

.header-row .col.sortASC:hover::before{    
  content: url(img/arrow-down.svg);
  position: absolute;
  left: 10px;
}

.manager-input{
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  height: 100%;
  background: 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 #ccc;
  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: 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(--company-color);
}

.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(--company-color);
}

.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, .data-source-wrapper {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);

  border-radius: 8px;  
}

.cascade-content-wrapper, .sub-data-wrapper {
  transition: max-height 0.4s ease;
}

.object-wrapper{
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  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: #f1f3f5;
}

.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(--company-color);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

button:hover {
  background-color: var(--company-color);
}

.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 #ccc;
  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(--company-color);
}
.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;
}

.tool-btn {
  width: 32px;
  height: 32px;
  padding: 5px 15px;
  justify-content: center;
}

#imgWrapper img, #imgWrapperAlert img{
  width: 100%;
}

.item-list{
  padding: 10px;
  overflow-x: auto;
}

.active>.page-link{
  background-color: var(--company-color);
  border-color: var(--company-color);
}

#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(--company-color);
  border-radius: 15px;

  position: absolute;
  right: 55px;
}

.toggle-options-container:hover{
  transform: scale(0.95);
  background-color: #88c53963;
}

.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(--company-color);
}

.ui-search-wrapper{
  position: absolute;
  top: 16px;
  left: calc(50% - 250px);
  z-index: 1;
}

.ui-search-bar{
  width: 500px;
  border-radius: 20px;
  position: relative;
  background-color: white;
}


.properties-tabs{
  height: 30px;
  width: 100%;
}

.properties-tab{
  margin: 3px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 24px;
  height: 24px;
  cursor: pointer;
  border-radius: 3px;
}

.properties-tab.active{
  box-shadow: inset 0 0 2px var(--company-color);
}


.history-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  margin: 0;
}

.history-item img{
  max-width: 100%;
}

.history-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.history-action {
  font-weight: 600;
  color: #333;
  margin: 0;
}

.history-time {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

.history-user {
  font-style: italic;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.history-changes {
  margin-top: 0.5rem;
}

.history-change-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-change-list li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  row-gap: 0.25rem;
  column-gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.history-change-list li strong {
  grid-column: 1 / -1;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.history-change-list li .old-value {
  grid-column: 1;
  word-break: break-word;
  white-space: pre-wrap;
  background-color: rgba(255, 0, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.875rem;
}

.history-change-list li .new-value {
  grid-column: 2;
  word-break: break-word;
  white-space: pre-wrap;
  background-color: rgba(0, 128, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.875rem;
}

.no-changes {
  color: #999;
  font-style: italic;
  margin: 0.5rem 0 0;
}

.ui-search-input{
  width: 100%;
  height: 100%;
  background: 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: 25px;
  top: 7px;
  opacity: 0.7;
  pointer-events: none;
}

.ui-search-bar.active .ui-search-datalist{
  display: block;
}

.ui-search-datalist{
  position: absolute;
  top: 40px;
  left: 0px;
  width: 100%;

  background-color: 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.5);
  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.5);
  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: #f1f3f5;
  cursor: pointer;
}

.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: #f1f3f5;
  cursor: pointer;
}

.green-status{
  background-color: #88c53994;
}

.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: #E01311;
  margin-left: 3px;
}

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

#referenceQRForm{
  margin: auto;
}

.kanban-list{
  height: calc(100% - 30px);
  overflow-y: scroll;
  padding-right: 10px;
}

#ticketTypeContainer{
  flex-direction: column;
  align-items: center;
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 20px;
}

.ticket-type-wrapper{
  border: 1px solid rgb(202, 219, 255, 0.3);
  width: 75vw;
  flex-wrap: wrap;
  min-width: 250px;
  max-width: 1000px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;  
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.quill-toolbar{
  border: none !important;
}

.quill-editor{
  border: none !important;
}

.ql-container{
  font-size: var(--bs-body-font-size);
}

.ticket-type-wrapper img{
  width: 40px;
  height: 40px;
  margin: 10px;
}

.ticket-type-wrapper p{
  width: calc(100% - 60px);
  margin-left: auto;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 24px;
  height: 24px;
  display: inline-block;
}

.ticket-type-wrapper h6{
  width: calc(100% - 60px);
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
}

.attachment-item p{
  margin-bottom: 0;
}
#searchResultsTable, #users-table {
  width: calc(100% - 10px);
  box-sizing: border-box;
  border: none;
  border-collapse: collapse;
  margin: 5px;
  padding: 0;
}

#searchResultsTable th,
#searchResultsTable td,
#users-table td, 
#users-table th{
  padding: 0.75rem;
  border: none;
  box-sizing: border-box;
  word-wrap: break-word;
}

#searchResultsTable tr:first-child th:first-child, #searchResultsTable tr:first-child th:last-child{
  /*border-radius: 8px;*/
}

#searchResultsTable tr:last-child td:first-child, #searchResultsTable tr:last-child td:last-child{
  /*border-radius: 8px;*/
}

#searchResultsTable tr , #users-table tr{
  border-bottom: 1px solid rgb(202, 219, 255, 0.3);
}

#searchResultsTable th.col-icon,
#searchResultsTable td.col-icon {
  width: 40px;
  min-width: 40px;
}
#searchResultsTable th.col-title,
#searchResultsTable td.col-title {
  width: 45%;
}
#searchResultsTable th.col-date,
#searchResultsTable td.col-date {
  width: 45%;
  white-space: nowrap;
}

#searchResultsTable tbody tr:hover {
  background-color: #f1f3f5;
  cursor: pointer;
}

.domain-person-icon{
  padding: 2px;
  border-radius: 20px;
  width: 26px;
  background-color: var(--company-color);
}

#userAreaContent tr td{
  vertical-align: middle;
}

#userAreaContent tr td:first-child, #searchResultsTable tr th:first-child{
  width: 40px;
}

#userAreaContent tr td:first-child button{
  width: 24px;
  height: 24px;
  border-radius: 12px;
  padding: 0;
}
/*
#searchResultsTable{
  height: calc(100% - 60px);
}*/

#userArea{  
  height: 100%;
  overflow: auto;
}

.settings-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  height: 50px;
}

.settings-tab {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-right: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: color 0.2s ease;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;   
  line-clamp: 1;
  text-overflow: ellipsis;
  white-space: nowrap;  
}

.settings-tab:hover {
  color: #000;
}

.settings-tab.active {
  color: #000;
}

.settings-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--company-color);
  border-radius: 2px 2px 0 0;
}

.settings-area > div[id$="Container"] {
  display: none;
  padding: 1rem 0;
}

.settings-area > div[id$="Container"].active,
.settings-area > div[id$="Container"]:not(.hidden) {
  display: block;
}

.settings-area > div[id$="Container"] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.settings-area > div[id$="Container"].active {
  opacity: 1;
  transform: translateY(0);
}

/* Tab-Leiste im Modal */
.form-tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1rem;
}

/* Einzelne Tab-Buttons */
.form-tab {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-right: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: color 0.2s ease;
}

.form-tab:hover {
  color: #000;
}

.form-tab.active {
  color: #000;
}

.form-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--company-color);
  border-radius: 2px 2px 0 0;
}

#commentSection *{
  user-select: text;
}

#commentSection img{
  max-width: 100%;
}

.watch-icon{
  width: 32px;
  margin-right: auto;
  padding: 4px;
  border-radius: 20px;
  cursor: pointer;
}

.watch-icon.active{
  background-color: var(--company-color);
}

.default-tiickettype-btn{
  margin-bottom: 0;
}

#faviconPreview, #applogoPreview{
  width: 42px;
  height: 42px;
  display: inline-block;
  margin-top: 8px;
  vertical-align: middle;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid rgb(202, 219, 255, 0.3);
}

#logoPreview{  
  max-width: 200px;
  display: "block";
  margin-top: 8px;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid rgb(202, 219, 255, 0.3);
}

.loading-bar {
  display: none;
}

#createModal.loading-state .loading-bar {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px; 
  overflow: hidden;
  background-color: #e0e0e0; 
  border-bottom-right-radius: var(--bs-modal-border-radius);
  border-bottom-left-radius: var(--bs-modal-border-radius);
}

#createModal.loading-state .loading-bar::before {
  content: "";
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--company-color), transparent);
  animation: wave 1.5s infinite;
}

@keyframes wave {
  0% {
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(200%);
  }
}

.flex-container {
  display: flex;         
}

.box {    
  box-sizing: border-box; 
  padding: 1em;      
}

.box:first-child {
  flex: 0 0 40%;  
}

.box:last-child {
  flex: 0 0 60%;  
}

.object-wrapper.active{
  box-shadow: inset 0 0 5px var(--company-color);
}

#mailPreview, #mailPreviewSignature{
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;  
}

#mailPreviewSignature{
  align-items: center;
  justify-content: center;
}

#mailPreview a, #mailPreviewSignature a{
  pointer-events: none;
}

#mailWrapper .object-wrapper{  
  cursor: pointer;
}

.chart-container{
  display: flex;
  flex-direction: column;
}

.chart-container h4{
  margin-right: auto;
  margin-bottom: 20px;
}

#btnNotifications{
  position: relative;
}

#btnNotifications::after{
  position: absolute;
  left: 32px;
  top: 32px;
  content: attr(data-count);
  width: 14px;
  height: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--company-color);  
  border-radius: 7px;
  font-size: 10px;
  line-height: 10px;
}

#notificationsContainer {
  position: fixed;
  top: 61px;
  right: 84px;
  width: 280px;
  max-height: 30vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 5px;
  z-index: 1000;
  display: none;
}

#notificationsContainer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#notificationsContainer li {
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

#notificationsContainer li.unseen {
  background: #f5faff;
}

#notificationsContainer li:last-child {
  border-bottom: none;
}

.comment-entry{
  pointer-events: initial;
}

.comment-entry p{
  margin-bottom: 0;
}

.spinner-border{
  color: var(--company-color) !important;
}

.subscription-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  text-align: center;
  padding: 15px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.info-card .icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  color: #4e73df;
}

.info-card .value {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.info-card .label {
  font-size: .85rem;
  color: #6c757d;
  text-transform: uppercase;
}

.subscription-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.subscription-actions .ui-btn-small {
  min-width: 160px;
}

#subscriptionLoader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

#subMessage {
  text-align: center;
  color: #6c757d;
  font-size: .95rem;
  min-height: 1.5em;
}

#subscriptionActions{
  margin-top: .75rem;
}

.status_incomplete {
  background-color: #6c757d;
  color: #fff;
}

.status_incomplete_expired {
  background-color: #343a40;
  color: #fff;
}

.status_trialing {
  background-color: #0dcaf0;
  color: #fff;
}

.status_active {
  background-color: #198754;
  color: #fff;
}

.status_past_due {
  background-color: #ffc107;
  color: #212529;
}

.status_canceled {
  background-color: #dc3545;
  color: #fff;
}

.status_unpaid {
  background-color: #dc3545;
  color: #fff;
}

.status_paused {
  background-color: #6c757d;
  color: #fff;
}

@media only screen and (max-width: 1000px) { 
  .comment-entry {
    pointer-events: none;
  }

  .ui-search-wrapper{
    position: unset;
    z-index: 1;
    width: 100%;
    max-width: 500px;
  }

  .right-wrapper{
    display: none;
  }

  .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: white;
    z-index: 9;
  }

  .ui-collapsed {
    width: 0px;
    position: absolute !important;
  }

  .submenu-header{
    font-size: small !important;
    cursor: pointer;
  }

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

  .container{
    padding-top: 0em !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;
  }

  .options-user{
    margin-left: 20px;
    margin-right: 20px;
  }
}
