@font-face {
    font-family: IBMPlexSans-Light;
    src: url(../assets/fonts/IBMPlexSans-Light.ttf);
}

@font-face {
    font-family: IBMPlexSans-Regular;
    src: url(../assets/fonts/IBMPlexSans-Regular.ttf);
}

@font-face {
    font-family: IBMPlexSans-Medium;
    src: url(../assets/fonts/IBMPlexSans-Medium.ttf);
}

@font-face {
    font-family: IBMPlexSans-SemiBold;
    src: url(../assets/fonts/IBMPlexSans-SemiBold.ttf);
}

@font-face {
    font-family: IBMPlexSans-Bold;
    src: url(../assets/fonts/IBMPlexSans-Bold.ttf);
}

/*general*/
html {
    height: 100%;
    font-size: 14px;
}

body {
    font-weight:300;
    font-family: "IBMPlexSans-Light", sans-serif;
    background-color: #ffffff;
    height: 100%;
    overflow: auto;
}

body.dark-mode {
    filter:invert(1);
    background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight:600;
    font-family: "IBMPlexSans-SemiBold", sans-serif;
}

.jdropdown-default .jdropdown-group-name {
    pointer-events:none;
}

/*error*/
.error_container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 18px;
}

.error_header {
    font-weight: 600;
    font-size: xx-large;
}

.error_info {
    font-weight: 600;
    font-size: larger;
}

.error_route {
    padding: 5px 10px;
    border: 1px solid;
    font-size: large;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

/*page*/
#wrap {position: relative;width: 100%;height: 100%;}

#wrap.dark-mode {
    filter:invert(1);
}

#header {
    display: flex;
    flex-direction: row;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    /* margin-bottom: 8px; */
    height: 60px;
    background-color: #fff;
    width: 100%;
    z-index: 59;
}

#logo-container {
    cursor: pointer;
    display:flex;
    flex-direction:row;
    /* align-items: center; */
}

#logo-container #logo{
    display:block;
    height: 1.6rem;
    margin-right: 8px;
}

#logo-container h1 {
    font-size: 1.6rem;
}

#logo-container h1 span {
    font-family: "IBMPlexSans-Light", sans-serif;
}

#loading-container{
    display: none;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-image: url(../assets/img/loading-icon.svg);
    background-position: center center;
    margin-left: 16px;
    width: 1.6rem;
}

#loading-container.active{
    display: block;
}

#nav-container {
    display: none;
    flex-direction:row;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0px;
    justify-content: center;
    z-index: 1;
    height: 100%;
    align-items: center;
}

#nav-container.active {
    display:flex;
}

#nav {
    display: flex;
    justify-content: center;
    /* gap: 24px; */
    font-family: "IBMPlexSans-SemiBold", sans-serif;
}

.nav-item {
    display: flex;
    cursor: pointer;
    padding-bottom: 2px;
    /* opacity: 0.8; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border-radius: 999px; */
    height: 60px;
    border: 2px solid transparent;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 12px;
}

#home-nav{
    background-color:#ebc8f0;
}
#chat-nav {
}
#people-nav {
    background-color:#cbbaf0;
}
#exhibitions-nav {
    background-color:#f2e4b5;
}
#projects-nav {
    background-color:#baecad;
}
#locations-nav {
    background-color:#b9ceed;
}
#infrastructure-nav {
    display: none;
    background-color:#abe0e8;
}
#architecture-nav {
    display: none;
    background-color:#eecaba;
}
#construction-nav {
    display: none;
    background-color:#eecaba;
}
#inventory-nav {
    background-color:#efb5b4;
}
#hour_pool-nav {
    background-color:#9da9d3;
}
#provider-nav {
    background-color:#9ae5c6;
}
#budgets-nav {
    background-color: #ecb4d5;
}
#shopping-nav {
    background-color:#daeaab;
}

#requests-nav{
    background-color:#aadbdc;
}

#statistics-nav {
    background-color: #ecc7b3;
}


#inventory_architecture-nav{
    display: none;
}
#requests_architecture-nav{
    display: none;
}


.nav-item .tab-icon {
    margin-bottom: 2px;
}


.nav-item .tab-icon img{
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.nav-item.active {
    border: 2px solid #000;
    opacity: 1;
    /* background-color: #e7e7e7; */
    /* border-radius: 4px; */
}

.nav-item.active .tab-icon {
    /* filter:invert(1); */
}

#header-controls {
    display: none;
    
}

#header-controls.active {
    display: flex;
    align-items: center;
    flex-direction:row;
    position: relative;
    z-index: 2;
}


.page{
    display: none;
    position: relative;
    width: 100%;
    top: 60px;
    height: calc(100% - 60px);
    overflow: hidden;
}

.page.active{
    display: block;
}

.inner {
    /* padding: 0 16px; */
    /* display: block; */
    /* overflow: hidden; */
    height: 100%;
}



/*login page*/
#login-page{
    /* margin-top: 20%; */
    /* align-items: center; */
    /* flex-direction: column; */
    /* gap: 40px; */
    /* margin-bottom: 30px; */
}

#login-page .inner {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#login-container {
    margin-bottom:64px;
}

#login-page-title{
    text-align: center;
    font-family: "IBMPlexSans-Semibold", sans-serif;
    margin-bottom: 24px;
}

#login-page-input-form{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
}

#login-page-input-form input[type=text] {border: 1px solid #000;line-height: 36px;padding: 0;padding-left: 12px;padding-right: 12px;width: 300px;border-radius: 999px;font-family: "IBMPlexSans-Light", sans-serif;}

#login-page-password-container {
    display:flex;
}

#login-page-input-form input[type=password] {
    border: 1px solid #000;
    line-height: 36px;
    padding: 0;
    padding-left:12px;
    padding-right: 12px;
    width: 300px;
    border-radius: 999px;
    font-family: "IBMPlexSans-Light", sans-serif;
}

#login-page-input-password-visible {
    width: 38px;
    height: 38px;
    margin-left: -38px;
    cursor: pointer;
    background-image: url(../assets/img/visibility_24dp_FILL0_wght400_GRAD0_opsz24.svg);
    background-position: center center;
    background-repeat: no-repeat;
    filter: invert(1);
    opacity: 0.5;
    background-size: 48% auto;
    background-position: center center;
}

#login-page-input-submit{
    padding: 8px 12px;
    cursor: pointer;
    background: transparent;
    background-color: #000;
    border:none;
    border-radius:999px;
    font-family: "IBMPlexSans-Light", sans-serif;
    color: #fff;
}
/* Home page*/

#home-page {
    overflow-y:auto;
}

#home-page .inner {
    padding:16px;
}

/* Chat Page */
#chat-page .inner {
    max-width:600px;
    padding:16px;
}

/*project page*/

#row-popup-container {
    display:none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    /* justify-content: center; */
    /* align-items: center; */
    z-index: 800;
    overflow: hidden;
}

#row-popup-container .inner {
    height: 100%;
    padding: 24px;
    padding-bottom: 48px;
}

#row-popup-container.active {
    display: block;
}

#row-popup {
    background-color: white;
    height: 100%;
}

#row-popup-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#row-popup-header-inner {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    padding: 16px;
}

#row-popup-close {
    align-self: flex-end;
    padding: 8px;
    cursor: pointer;
    /* margin-bottom: 12px; */
}

#row-popup-close img{
    filter:invert(1);
}

#row-popup-submit {
    display: none;
    cursor: pointer;
    align-self: center;
    background-color: #56b96a;
    padding: 6px;
    border-radius: 999px;
    /* margin-right: 4px; */
    width: 36px;
    height: 36px;
}

#row-popup-submit.active {
    /* READONLY ARSTABLE */
    /* display: block; */
}

#row-popup-print-button {
    display: none;
    cursor: pointer;
    align-self: center;
    background-color: #cf62be;
    padding: 6px;
    border-radius: 999px;
    /* margin-right: 4px; */
    width: 36px;
    height: 36px;
}

.row-popup-item{
    display: flex;
    flex-direction: column;
    /* gap: 3px; */
    /* margin-bottom: 24px; */
    width: calc(50% - 8px);
    padding-bottom: 8px;
}

.row-popup-item:first-of-type{
    width:100%;
}

.row-popup-item input{
    line-height: 36px;
    border-radius: 999px;
    padding: 0;
    padding-left: 12px;
    padding-right: 12px;
    background-color: #fff;
    outline: none;
    font-family: "IBMPlexSans-Light", sans-serif;
    border: 1px solid #000;
}

.row-popup-item:first-of-type textarea{
    width:100%;
    height: 128px;
    resize: none;
}

.jdropdown-default .jdropdown-header {line-height: 36px;border-radius: 999px;border: none;padding: 0;padding-left: 12px;padding-right: 16px;background-color: #fff;outline: none;font-family: "IBMPlexSans-Light", sans-serif;border: 1px solid #000;}

.row-popup-item-title {
    /* font-size: larger; */
    font-weight: bold;
    margin-bottom: 8px;
}

.jdropdown {
    background:transparent;
}

.row-popup-item-request-dropdown {
    margin-bottom:16px;
}

.row-popup-item-request-dropdown.jdropdown-default .jdropdown-header{
    border-color:blue; 
}

.jdropdown-item[data-disabled] {
    pointer-events: all;
}

.row-popup-item-request-dropdown .jdropdown-item[data-disabled] {
    border-bottom:1px solid #000;
    opacity:1;
}

.row-popup-item-request-dropdown.jdropdown-default .jdropdown-selected {
    background-color: #525252;
}

.row-popup-item-text{
    width: 100%;
}

.row-popup-content {
    /* overflow-y: scroll; */
    overflow: hidden;
}

#row-popup-content-inner {
    padding: 24px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.project-request-add-search-table .jexcel_content{
    height:272px;
}

#row-popup-content-inner #row-popup-content-data{
    flex:1;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 16px;
    flex-wrap: wrap;
    display: flex;
    gap: 16px;
}

#row-popup-content-inner #row-popup-content-data-1{
    display: none;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 16px;
    position: relative;
    margin-bottom: 64px;
}

#row-popup-content-inner #row-popup-content-data-1.active{
    display: block;
    flex:1;
}

#row-popup-content-cols{
    display: flex;
    flex-direction: row;
    gap: 50px;
    overflow-y: auto;
}

.project-request-inner {
    display:flex;
    flex-direction:column;
    gap:8px;
    /* margin-bottom: 24px; */
    padding-bottom: 8px;
}



.project-request-category-container {
    /* background-color: #ccc; */
    /* border: 1px solid #000; */
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#project-request-category-container-item_video {
    /* background-color: #d28e89; */
}

.row-popup-item-total-cost {
    position: fixed;
    bottom: 86px;
    font-size: 22px;
    font-family: "IBMPlexSans-SemiBold", sans-serif;
}

.project-request-header {
    /* padding: 16px; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: "IBMPlexSans-SemiBold", sans-serif;
    border-bottom: 1px solid #000;
    line-height:24px;
}

.project-request-header-open {
    display:none;
}

.project-request-add-container {
    padding: 16px;
    /* background-color: #ccc; */
    display: flex;
    flex-wrap: wrap;
    border-radius: 16px;
    gap: 16px;
}

.project-request-add-container.add {
    border: 1px solid black;
}

.project-request-add-container .jdropdown {
    width: 220px !important;
    min-width: 0 !important;
}

.project-request-add-container.update {
    border: 3px solid #61a2d5;
}

.project-request-add-notes {
    width: 220px;
    height:36px;
    /* margin-top: 8px; */
}

.project-request-notes-container {
    padding: 16px;
    background-color: #ccc;
    display: none;
}

.project-request-notes-container textarea {
    width:100%;
    height:128px;
}


#row-popup-content-inner #row-popup-chat{
    flex:1;
}

body.dark-mode .row-popup-content {
    backdrop-filter: opacity(20%) invert(1);
}

.project-inner {
    background-color: #ececece8;padding: 24px;
}

.project-inner > div {
    margin-bottom:12px;
}

.project-inner label{
    display:block;
    margin-bottom:4px;
}

.project-inner input {
    /* margin-bottom: 16px; */
    border-radius: 4px;
    border: 1px solid #bbb;
    line-height: 1.8rem;
    height: 1.8rem;
    padding-left: 12px;
    width:100%;
}

.project-inner textarea{
    width:100%;
    resize:none;
}

/*list page content*/
.list-page-title{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    display: none;
}

.list-page-description{
    text-align: center;
    font-size: large;
}

.list-page-table-add{
    display: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    background-color: #61a2d5;
    margin-right: 4px;
    width: 36px;
    height: 36px;
}

.list-page-table-add.active{
    /* READONLY ARSTABLE */
    /* display: block; */
}

.list-page-controls{
    /* width: 90%; */
    /* display: flex; */
    /* flex-direction: row; */
    /* justify-content: space-around; */
}

.list-page-submit{
    display: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    background-color: #54ce6c;
    margin-right: 16px;
    width: 36px;
    height: 36px;
}

.list-page-submit.active{
    display: block;
}

.list-page-reset{
    cursor: pointer;
    align-self: start;
    padding: 8px;
    border: 1px solid;
    display: inline-block;
}



.jexcel {
    
}

/* old table*/
/*.list-page-table{
    display: flex;
    flex-direction: column;
    border: 1px solid;
    max-width: 85%;
    gap: 10px;
    overflow: scroll;
}

.list-page-row{
    display: flex;
    flex-direction: row;
}

.list-page-row.header{
    justify-content: space-around;
    border-bottom: 2px solid;
}

.list-page-cell{
    border-bottom: 1px solid;
    padding: 4px;
}

.list-page-cell.header{
    font-weight: 600;
    border-bottom: none;
}

.list-page-cell.last{
    border-bottom: none;
}

.list-page-cell-content{
    border: none;
}

.list-page-cell-content.rowId{
    font-weight: 600;
    text-wrap: nowrap;
}

.list-page-cell-drag{
    cursor: pointer;
    padding: 4px;
}

.list-page-cell-delete{
    cursor: pointer;
    padding: 4px;
}*/

/*popup*/
#popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow: auto;
}

#popup-container.active{
    display: flex;
}

#popup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background-color: white;
    align-items: center;
    /* width: 75%; */
    /* max-width: 400px; */
}

#popup-close {
    align-self: flex-end;
    padding: 6px;
    cursor: pointer;
}

#popup-title{
    /* font-weight: 600; */
    font-family: "IBMPlexSans-SemiBold", sans-serif;
    margin-bottom: 16px;
}

#popup-info {
    text-align: center;
    line-height: 1.3;
    margin-bottom: 16px;
}

#popup-confirm {
    padding: 8px 12px;
    cursor: pointer;
    background-color: #54ce6c;
    border-radius: 999px;
    color: #fff;
}

#popup-cancel {display: none;padding: 8px 12px;cursor: pointer;background-color: #ce5454;border-radius: 999px;color: #fff;}

#popup-cancel.active {
    display: block;
}

/*chat*/
#row-popup-chat{
    display: none;
    /* flex-direction: column; */
    /* width: 100%; */
    /* margin-top: 40px; */
    /* padding: 20px; */
    /* border: 1px solid; */
    /* background-color: #ccc; */
    /* border-radius: 16px; */
    height: 100%;
}

#row-popup-chat-inner {
    /* padding: 16px; */
    /* background-color: #cfcfcf; */
    /* border-radius: 12px; */
    /* border: 1px solid #000; */
    height: 100%;
    /* display: flex; */
    flex-direction: column;
}

.chat-header-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    /* align-items: flex-end; */
}

#row-popup-chat.active{
    display: block;
}

.chat-title{
    font-weight: 600;
    text-align: center;
    /* font-size: x-large; */
}

.chat-reload {
    cursor: pointer;
    padding: 8px 12px;
    /* align-self: center; */
    /* margin-bottom: 20px; */
    border: 1px solid #000;
    /* margin: 12px; */
    border-radius: 999px;
}

.chat-content {
    height: calc(100% - 50px);
}

.chat-content-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* min-height: 100%; */
}

.chat-content-messages {
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
    padding-right: 16px;
    padding-left: 16px;
    /* height: calc(100vh - 568px); */
    padding-bottom: 24px;
    border: 1px solid #000;
    /* background-color: #e9e9e9; */
    padding-top: 16px;
    padding-bottom: 16px;
    scrollbar-width: thin;
    /* flex: 1; */
    height: 100%;
}

.row-popup-chat-message {
    padding: 16px;
    /* border: 1px solid; */
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #e7e7e7;
    border-radius: 12px;
    width: 60%;
}

.row-popup-chat-message.user {
    align-self: end;
    background-color: #cccccc;
}

.row-popup-chat-message-header {
    font-style: italic;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.row-popup-chat-message-delete {
    padding: 4px;
    cursor: pointer;
}

.chat-content-footer {
    /* margin-top: 40px; */
    /* border: 1px solid; */
    /* display: flex; */
    /* flex-direction: row; */
}

.chat-content-footer-inner {
    display: flex;
    flex-direction: row;
    height: 128px;
}

.chat-message-input {
    border: none;
    width: 100%;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #000;
}

.chat-message-send {
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background-color: #000;
    margin-left: 16px;
    border: 1px solid #000;
}


/*profile*/
.profile-section{
    max-width: 600px;
    display: none;
    flex-direction: column;
    gap: 8px;
    /* padding: 10px; */
    margin-bottom: 64px;
}

#profile-admin-message-container {
    display:none;
}

.profile-section.active{
    display: flex;
}

.profile-section-title{
    /* font-weight: 600; */
    /* font-size: large; */
}

.profile-notes-form{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.profile-section-submit{
    padding: 8px 12px;
    border: 1px solid;
    align-self: start;
    cursor: pointer;
}

#profile-edit-media-image{
    max-width: 140px;
}

.dark-mode-switch{
    /* align-self: end; */
    padding: 6px;
    cursor: pointer;
    /* color: white; */
    /* background-color: black; */
}

.dark-mode-switch img{
    filter:invert(1);
    width: 24px;
    height: 24px;
    display: block;
}

.profile-support-mail{
    display: contents;
    color: blue;
    cursor: pointer;
}

.profile-support-form{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.profile-sign-out{
    padding: 6px;
    /* border: 1px solid red; */
    /* align-self: center; */
    cursor: pointer;
    margin-left: 4px;
}

.profile-sign-out img{
    display:block;
    filter:invert(1);
}

.profile-log-container{
    display: flex;
    gap: 16px;
    flex-direction: column;
    /* margin: 25px; */
    padding-bottom: 64px;
}

.profile-log-title{
    font-weight: 600;
    font-size: large;
}

.profile-log-feed-collapse{
    padding: 8px 12px;
    border: 1px solid;
    /* align-self: end; */
    cursor: pointer;
    /* margin: 5px; */
    align-self: flex-start;
}

.profile-log-feed{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-log-item{
    display: block;
}

.profile-log-item.collapsed{
    display: none;
}

.profile-log-item-header{
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-download-pwa{
    display: none;
    padding: 8px 12px;
    border: 1px solid;
    align-self: center;
    cursor: pointer;
    /* margin: 10px; */
    margin-bottom: 24px;
}

#admin-message{
    display: none;
}

#admin-message.active{
    display: block;
    text-align: center;
    padding: 10px;
    margin: 15px;
    border: 1px solid red;
    font-size: large;
    display: none;
}

/* qr reader */
#qr-reader-ui{
    /* width: 100%;
    height: 100%; */
}

.list-page-qr-scanner{
    cursor: pointer;
    padding: 8px;
    border: 2px solid;
    display: inline-block;
    align-self: flex-end;
}

#qr-popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center; 
    z-index: 900;
    overflow: auto;
}

#qr-popup-container.active{
    display: flex;
}

#qr-popup-container .inner {
    width: 80%;
    max-width: 500px;
}

#qr-popup {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    background-color: white;
    align-items: center;
}

#qr-popup-close {
    align-self: flex-end;
    padding: 4px;
    cursor: pointer;
}

#qr-popup-info{
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

#qr-popup-title{
    font-size: larger;
    font-weight: bold;
}

#qr-popup-name{
    width: 100%;
}

#qr-popup-code{
    font-style: italic;
}

#qr-popup-confirm{
    padding: 6px 10px;
    border: 1px solid green;
    cursor: pointer;
    margin: 5px;
}

/* jdropdown custom pieces input */
.jdropdown-custom-input-container{
    display: none;
}

.jdropdown-custom-input-container.active{
    display: block;
}

.jdropdown-custom-input{
    width: 100%;
    max-width: 70px;
    border: none;
}

.list-page-view-switch-container{
    display: flex;
    flex-direction: row;
    gap: 4px;
    border-radius: 999px;
    /* padding: 4px; */
    background-color: #ffffff;
    margin-right: 16px;
}

.list-page-view-switch-item {
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    opacity: 0.5;
}

.list-page-view-switch-item img{
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.list-page-view-switch-item.active {
    /* border: 1px solid red; */
    background-color: #000;
    color: #fff;
    opacity: 1;
}

.list-page-view-switch-item.active img{
    filter:none;
}

/* temp bc card view fucked */
#list-page-view-switch-card-view{
    pointer-events: none;
}


#table-page .table-container-inner{
    overflow: scroll;
    width: 100%;
    height: calc(100vh - 154px);
    scrollbar-width: thin;
}

#table-page .table-container-inner.tab-view-inventory_video,
#table-page .table-container-inner.tab-view-inventory_audio,
#table-page .table-container-inner.tab-view-inventory_lights,
#table-page .table-container-inner.tab-view-inventory_it,
#table-page .table-container-inner.tab-view-inventory_furniture,
#table-page .table-container-inner.tab-view-inventory_power,
#table-page .table-container-inner.tab-view-inventory_infrastructure,
#table-page .table-container-inner.tab-view-inventory_tools,
#table-page .table-container-inner.tab-view-inventory_materials,
#table-page .table-container-inner.tab-view-inventory_working_hours{
    /* max-height: calc(100vh - 174px); */
}

.jexcel > tbody > tr:nth-of-type(even) {
    background-color: #e7e7e7;
}

.jexcel > tbody > tr > td {
    vertical-align: middle;
    height: 24px;
    padding: 2px;
    line-height: 1rem;
}

.jexcel > tbody > tr > td br{
    display:none;
}

.jexcel > tbody > tr > td.readonly {
    color: rgb(0 0 0 / 38%);
}

.jexcel > tbody > tr > td > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 1rem;
    display: block;
}

.project-request-add-search-table .jexcel > tbody > tr > td[data-x="0"]{
    color:transparent;
    /* READONLY ARSTABLE */
    /* background-image:url(../assets/img/add_24dp_FILL0_wght400_GRAD0_opsz24.svg); */
    /* background-color: #61a2d5; */
    background-position: center center;
    background-repeat: no-repeat;
}

#table-page .table-container-inner.extended-table-view .jexcel > tbody > tr > td{
    height: 128px;
    vertical-align: top;
}

#table-page .table-container-inner.extended-table-view .jexcel > tbody > tr > td > img {
    max-height: 100%;
}

.jexcel > tbody > tr > td.jexcel_dropdown {
    background-position: top 0% right 5px;
}

.jdropdown-header {
    background-position: top 0% right 5px;
}

#table-page .inner.card-view .table-container{
    display:flex;
    flex-wrap: wrap;
    gap:24px;
    overflow: hidden;
}

.table-container {position: relative;top: 60px;padding: 16px;/* padding-bottom: 220px; */}

.table-container-inner.card-view {
    display:flex;
    gap:16px;
    flex-direction: row;
    flex-wrap: wrap;
    /* overflow: scroll; */
}

.list-page-card{
    display: none;
    flex-direction: column;
    padding: 16px;
    border: 1px solid #000;
    border-radius: 0px;
    gap: 16px;
    width: 600px;
    max-width: calc(16% - 4px);
    /* background-color: #eaeaea; */
    max-height: 360px;
    overflow-y: scroll;
    scrollbar-width: thin;
}

.list-page-card.active{
    display: flex;
}

.list-page-card-delete-button{
    cursor: pointer;
    padding: 4px;
    align-self: flex-end;
}

.list-page-search{
    line-height: 36px;
    border-radius: 999px;
    border: none;
    width: 220px;
    padding: 0;
    padding-left: 12px;
    padding-right: 16px;
    background-color: #fff;
    outline: none;
    font-family: "IBMPlexSans-Light", sans-serif;
}

.list-page-search-clear {
    width: 24px;
    height: 36px;
    line-height: 36px;
    text-align: left;
    margin-left: -30px;
    margin-right: 24px;
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-page-search-clear img{
    /* width: 20px; */
    /* height: 20px; */
}

.list-page-card-item{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-page-card-item-title {
    font-size: larger;
    font-weight: bold;
}

.list-page-card-item-text{
    width: 100%;
}

.list-page-card-item-image{
    max-width: 150px;
    max-height: 150px;
}

.row-popup-item-image{
    max-height: 180px;
}

.table-page-header-controls{
    display: flex;
    flex-direction: row;
    /* margin-top: -64px; */
    align-items: center;
    height: 100%;
    pointer-events: all;
}

.table-page-header-search {
    display: flex;
    flex-direction: row;
    /* margin-top: -64px; */
    align-items: center;
    height: 100%;
    pointer-events: all;
    position: relative;
}

.table-page-nav-container{
    background-color: #eaeaea;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 60px;
    z-index: 50;
}

.table-page-nav-container .nav-item {
    /* border-top:none; */
    /* border-bottom:4px solid transparent; */
}

.table-page-nav-container .nav-item.active {
    /* border-top:none; */
    /* border-bottom:2px solid #000; */
}

.table-page-header {
    padding-left: 16px;
    padding-right: 16px;
    height: 60px;
    position: fixed;
    width: 100%;
    z-index: 60;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    pointer-events: none;
}

.table-page-nav{
    display: none;
    justify-content: center;
    /* gap: 24px; */
    font-family: "IBMPlexSans-SemiBold", sans-serif;
    /* margin-bottom: 8px; */
    height: 100%;
    align-items: center;
}

.table-page-nav.active{
    display: flex;
}

.card-opencard-button{
    cursor: pointer;
    padding: 8px;
    border: 1px solid;
    align-self: flex-start;
}

.card-openchat-button{
    cursor: pointer;
    padding: 8px;
    border: 1px solid;
    align-self: center;
    margin: 10px;
}

#profile-change-password{
    padding: 8px 12px;
    border: 1px solid;
    align-self: flex-start;
    cursor: pointer;
    /* margin-top: 10px; */
}

/*password popup*/
#password-popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center; 
    z-index: 900;
    overflow: auto;
}

#password-popup-container.active{
    display: flex;
}

#password-popup {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: white;
    align-items: center;
    width: 75%;
    max-width: 400px;
}

#password-popup-title{
    font-weight: 600;
    font-size: larger;
}

.password-popup-info {
    text-align: center;
}

#password-popup-confirm {
    padding: 6px 10px;
    border: 1px solid green;
    cursor: pointer;
}

#password-popup-close {
    align-self: flex-end;
    padding: 4px;
    cursor: pointer;
}

.list-page-card-sort-button{
    display: none;
    /* margin: 5px; */
    padding: 6px 10px;
    border: 1px solid;
    cursor: pointer;
    /* pointer-events: none; */
    opacity: 0.5;
}

.list-page-card-sort-button.active{
    display: block;
}

.list-page-card-sort-dropdown{
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid;
    position: absolute;
    top: 60px;
    right: 0;
    height: 300px;
    overflow-y: scroll;
    scrollbar-width: thin;
}

.list-page-card-sort-dropdown.active{
    display: flex;
}

.list-page-card-sort-dropdown-item{
    cursor: pointer;
    padding: 3px;
    margin: 4px;
}

.list-page-card-sort-dropdown-item.active{
    /* border: 1px solid; */
}

.list-page-card-sort-dropdown-item.asc{
    border: 1px solid green;
}

.list-page-card-sort-dropdown-item.dsc{
    border: 1px solid red;
}

.loading {
    background-size: auto 80%;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../assets/img/loading-icon.svg);
}

.row-popup-item-request-add-container{
    /* margin-top: 16px; */
    /* margin-bottom: 16px; */
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #ccc;
    padding: 16px;
}

.row-popup-item-request-add-button{
    cursor: pointer;
    padding: 6px;
    border: 1px solid green;
}





/* request stuff */
.project-request-content {
    display: none;
}

.project-request-content.active {
    display: block;
}

.project-request-item-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* padding: 16px; */
}

.project-request-item {
    display: flex;
    padding: 8px;
    border: 1px solid #000;
    background-color: #fff;
    /* justify-content: space-between; */
    /* width: 100%; */
    gap: 8px;
    line-height: 16px;
    cursor: pointer;
    flex-wrap: wrap;
}

.project-request-item.selected {
    border: 3px solid #61a2d5;
}

.project-request-item > div{
    /* padding: 8px; */
    text-wrap: nowrap;
    /* flex: 0.2; */
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.project-request-item > div > div{
    border-radius: 999px;
}

.project-request-item .pending {
    background-color: #ff9219;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    line-height: 24px;
    margin-left: 8px;
}

.project-request-item .requested {
    background-color: #ff1919;
    width: 8px;
    height: 8px;
}

.project-request-item .ready {
    background-color: #ffe719;
    width: 8px;
    height: 8px;
}

.project-request-item .deployed {
    background-color: #32ff19;
    width: 8px;
    height: 8px;
}

.project-request-item-name {
    /* flex: 1; */
    width: 40%;
    font-family: "IBMPlexSans-SemiBold", sans-serif;
}

.project-request-item-notes {
    /* flex: 0.5; */
    width: 20%;
    overflow: hidden;
}

.project-request-item-pieces {
    /* flex: 0.1; */
    width: 5%;
}
.project-request-item-price {
    /* flex: 0.2; */
    width: 12%;
    text-align: right;
}
.project-request-item-state {
    /* flex: 0.2; */
    width: 15%;
    text-align: right;
    display: flex;
    align-items: center;
}

.project-request-add-search {
    /* margin-bottom:8px; */
    /* min-width: 0 !important; */
    /* width: 70% !important; */
    /* margin-bottom: 0; */
    /* display: none; */
}

.project-request-add-pieces {
    width: 50px;
    /* padding-left: 8px; */
    /* padding-right: 8px; */
}

.project-request-add-pieces-input {
    width: 100%;
    height: 36px;
}

.project-request-add-button {
    cursor: pointer;
    width: 96px;
    background-color: #61a2d5;
    border-radius: 999px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 36px;
    /* READONLY ARSTABLE */
    display: none;
}


.project-request-add-name {
    /* margin-top: 8px; */
    width: 220px;
}

.project-request-add-name-input {
    width: 100%;
    line-height: 32px;
    border-radius: 999px;
    outline: none;
    border: 1px solid #000;
    padding-left: 12px;
}

.project-request-add-deadline {
    margin-top: 8px;
    width: 40%;
    padding-left: 8px;
}

.project-request-add-brand{
    width:220px;
}

.project-request-add-brand input{
    line-height:32px;
    width:100%;
    border-radius: 999px;
    outline: none;
    border: 1px solid #000;
    padding-left: 12px;
}

.project-request-add-deadline-input {
    width: 100%;
    line-height: 24px;
}


.project-request-add-link {
    width:220px;
}

.project-request-add-link input{
    width:100%;
    line-height:32px;
    border-radius: 999px;
    outline: none;
    border: 1px solid #000;
    padding-left: 12px;
}

.project-request-add-cost {
    width: 96px;
}
.project-request-add-cost input {
    line-height: 32px;
    width: 100%;
    border-radius: 999px;
    outline: none;
    border: 1px solid #000;
    padding-left: 12px;
}



.project-request-add-search-table{
    display: none;
    margin-bottom: 16px;
}

.project-request-add-search-table.active{
    display: block;
}

#project-popup-header{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

#project-popup-header.active{
    /* justify-content: space-between; */
}


#project-request-item-add-header{
    display: none;
}

#project-request-item-add-add-button {
    display: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    background-color: #61a2d5;
    /* margin-right: 4px; */
    width: 36px;
    height: 36px;
}

#project-request-item-add-add-button.active {
    transform: rotate(45deg);
    background-color: #757575;
}

#project-request-item-add-add-button.show {
    display: block;
}

#project-request-item-add-header.active{
    display: flex;
    gap: 36px;
    align-items: center;
    margin-right: auto;
}

#project-request-item-add-header-controls {
    display:none;
}

.project-request-item-nav{
    display: flex;
    gap: 24px;
}

.project-request-item-nav-element{
    cursor: pointer;
    line-height: 32px;
}

#project-request-nav-infrastructure {
    /* display:none; */
    margin-left: 64px;
}

#project-request-nav-power {
    /* display: none; */
}

#project-request-nav-network {
    /* display:none; */
}

#project-request-nav-project-request-nav-network {
    display:none;
}

#project-request-nav-hour_pool {
    /* display:none; */
}

#project-request-nav-construction {
    /* display:none; */
}

.project-request-item-nav-element.active{
    border-bottom: 2px solid;
}

.project-request-item-add-view-switch-container{
    display: none;
    gap: 5px;
}

.project-request-item-add-view-switch-container.active{
    display: flex;
}

#project-request-item-nav-container{
    display: flex;
    gap: 64px;
    /* height: 24px; */
}

#project-request-item-search-container{
    display: none;
    gap: 10px;
}

#project-request-item-search-container.active{
    display: flex;
}

#project-request-item-search {
    border-radius:999px;
    border:1px solid #000;
    line-height:32px;
    height:32px;
    padding-left:12px;
}

#project-request-item-search-clear {
    line-height:32px;
    width:32px;
    height: 32px;
    margin-left: -30px;
}

.row-popup-header-controls{
    display: flex;
    /* gap: 20px; */
    /* margin-left: 8px; */
}

.project-request-item-add-switch-item {
    cursor: pointer;
    padding: 6px;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    opacity: 0.5;
}

.project-request-item-add-switch-item img{
    width: 24px;
    height: 24px;
    filter: invert(1);
}


/* wiki popup */
#wiki-popup-container{
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 800;
    overflow: auto;
}

#wiki-popup-container.active{
    display: flex;
}

#wiki-popup {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 25px;
    background-color: white;
    align-items: center;
    /* width: 75%; */
    /* max-width: 400px; */
}

#wiki-popup-header {
    display: flex;
    align-items: center;
}

#wiki-popup-close {
    padding: 6px;
    cursor: pointer;
}

#wiki-popup-title{
    /* font-weight: 600; */
    font-family: "IBMPlexSans-SemiBold", sans-serif;
}

.project-request-add-ansi_lumen{
    display: none;
}

.project-request-add-ansi_lumen.active{
    display: block;
}

.project-request-add-screen_size{
    display: none;
}

.project-request-add-ansi_lumen {
    width:220px;
}

.project-request-add-ansi_lumen input{
    line-height: 32px;
    width: 100%;
    border-radius: 999px;
    outline: none;
    border: 1px solid #000;
    padding-left: 12px;
}

.project-request-add-screen_size.active{
    display: block;
}

.project-request-add-resolution{
    display: none;
}

.project-request-add-resolution.active{
    display: block;
}

.project-request-add-image_ratio{
    display: none;
}

.project-request-add-image_ratio.active{
    display: block;
}

.project-request-add-vesa_size{
    display: none;
}

.project-request-add-vesa_size.active{
    display: block;
}

.project-request-add-switch {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
}

.project-request-add-switch-inventory {
    padding: 6px;
    cursor: pointer;
}

.project-request-add-switch-inventory.active {
    border-bottom: 1px solid;
    font-weight: bold;
}

.project-request-add-switch-shopping {
    padding: 6px;
    cursor: pointer;
}

.project-request-add-switch-shopping.active {
    border-bottom: 1px solid;
    font-weight: bold;
}

#row-popup-print-button {
    /* display: none; */
    /* cursor: pointer; */
    /* padding: 5px; */
    /* border: 2px solid blue; */
}

#row-popup-print-button.active{
    display: block;
    margin-left: 8px;
    margin-right: 8px;
}

/* statistics */
#statistics-page {
    overflow: auto;
}

.statistics-header{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    padding-bottom: 0;
}

.statistics-title{
    /* text-align: center; */
    margin-top: 16px;
    font-size: large;
}

.statistics-controls{
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: left;
    width: 220px;
}

.statistics-content-inner {
    /* display: flex; */
    padding: 24px;
    /* flex-direction: column; */
}

.statistics-table-container{
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
}

.statistics-table-row{
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    /* padding-left: 24px; */
}

.statistics-project-row {
    /* background-color: #baecad; */
    padding-left: 0;
}

.statistics-project-row .statistics-first-column {
    width: 340px;
    margin-left: 16px;
}

.statistics-project-row .statistics-table-cell {
    background-color: #baecadab;
}

.statistics-exhibition-row {
    /* background-color: #baecad; */
    padding-left: 0;
}

.statistics-exhibition-row .statistics-first-column {
    width: 356px;
    margin-left: 0;
}

.statistics-exhibition-row .statistics-table-cell {
    background-color: #f5eac7;
    /* width: 320px; */
}

.statistics-exhibition-row {
    /* background-color: #baecad; */
    padding-left: 0;
}

.statistics-exhibition-row .statistics-first-column {
}

.statistics-exhibition-row .statistics-table-cell {
    background-color: #f2e4b5b5;
}

.statistics-table-cell{
    padding: 4px;
    /* flex: 1; */
    width: 78px;
    text-align: center;
    border: 1px solid #000;
    /* margin-left: 48px; */
}

.statistics-header-row{
    /* font-size: large; */
    /* font-weight: bold; */
    /* border-bottom: 2px solid black; */
    margin-bottom: 7px;
    /* justify-content: center; */
    align-items: center;
    margin-left: 0;
}

.statistics-header-row .statistics-first-column {
    margin-left:0;
    width: 356px;
}

.statistics-header-row .statistics-table-cell{
    height: 40px;
    background-color: #f2d8ca;
    /* line-height: 32px; */
}

.statistics-first-column{
    /* font-style: italic; */
    font-weight: bold;
    text-align: left;
    width: 324px;
    margin-left: 32px;
}

.statistics-last-column{
    font-style: italic;
    width: 120px;
    text-align: left;
}

.statistics-footer-row{
    /* font-size: larger; */
    /* font-weight: bold; */
    /* border-top: 2px solid black; */
    /* margin-top: 7px; */
}

.statistics-subtype{
    display: none;
}

.statistics-subtype.active{
    display: block;
}

.statistics-attribute{
    display: none;
}

.statistics-attribute.active{
    display: block;
}

#cell-count-container {
    display:none;
    position: absolute;
    z-index: 999;
    /* padding-left: 16px; */
    background-color: #000;
    border-radius: 999px;
    /* width: 24px; */
    padding: 8px 12px;
    color: #fff;
    opacity: 0.5;
}

#cell-count-container.active{
    display:block;
}