.ui-autocomplete {
    z-index: 10000 !important;
}

.sortable {
    cursor: move
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.table.table-align-top > tbody > tr > td {
    vertical-align: top;
}

div.sidebar-item {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0

}


div.sticky-container {
    /*position: -webkit-sticky;*/
    position: absolute;
    margin-top: 91px;
}


.ui-autocomplete-category {
    font-weight: bold;
    padding: .1em .2em;
    margin: .8em 0 .2em;
}


input#top-search {
    color: #ffffff;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #1ab394 !important;
    border-color: #1ab394 !important;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.table tbody tr:hover td, .table tbody tr:hover th {
    background-color: #c7dfb0;
}


.label-primary {
    background-color: var(--primary-color, #50AA3C);
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color, #50AA3C);
    text-decoration: none;
}

.user-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin-left: 4px;
    vertical-align: middle;
}

.ui-tooltip {
    white-space: pre-line;
}

.task-quickaction {
    margin-bottom: 2px;
}

.dl-horizontal dt {
    text-align: left;
}

.file {
    box-shadow: none !important;
    margin-right: 0;
}

.axova-file {
    border: 1px dashed var(--primary-color, #50AA3C);
    padding: 20px;
    width: 100%;
}

.axova-download-dropdown {
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 10px;
    z-index: 9999;
    position: absolute;
    display: none;
}

.css-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 20px 20px;
}

.css-grid-container > div {
    overflow: hidden;
}

.bemerkungen-toggle {
    color: #ccc;
}

.bemerkungen p:hover {
    color: var(--primary-color, #50AA3C);
    cursor: pointer;
}

.bemerkungen-input {
    display: none;
}

.projekt-foto {
    position: relative;
    aspect-ratio: 1/1;
    background-color: #c7c7c7;
}

.projekt-foto a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.projekt-foto img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.projekt-foto-loeschen {
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
}

.projekt-foto-drehen {
    display: block;
    position: absolute;
    top: 60px;
    right: 4px;
    width: 24px;
    height: 24px;
    transform: scaleX(-1);
}

.projekt-foto-checkbox {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    margin: 0;
}

.projekt-foto-copy {
    position: absolute;
    top: 32px;
    right: 4px;
    margin: 0;
    font-size: 10px;
    width: 24px;
    height: 24px;
}

.projekt-foto-zoom {
    position: absolute;
    top: 60px;
    right: 4px;
    margin: 0;
    height: auto !important;
    width: 24px;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.projekt-foto-copy i.fa-spinner {
    animation: rotating 2s linear infinite;
}

.photos-days h4 {
    margin-top: 25px;
}

.not-sortable {
    cursor: default;
}

.calculationitems-group th,
.calculationitems-group td {
    padding: 20px 8px !important;
}

.calculationitems-group h2 {
    margin: 0;
}

.editable-wrapper .editable-edit {
    display: none;
    flex: auto;
}

.editable-wrapper {
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    gap: 10px;
}

.editable-wrapper .editable-button {
    cursor: pointer;
}

.editable-wrapper .form-group {
    margin: 0;
}

.editable-wrapper .form-group input {
    width: 100%;
}

.editable-wrapper input {
    width: auto;
}

.inline-block {
    display: inline-block;
}

.lb-nav {
    pointer-events: none;
}

.lb-nav a.lb-prev {
    width: 20% !important;
    pointer-events: all;
}

.lb-nav a.lb-next {
    width: 20% !important;
    pointer-events: all;
}

.show-qr-code-on-click {
    position: relative;
}

.show-qr-code-on-click img {
    position: absolute;
    top: 20px;
    left: 0;
    width: 200px;
    height: 200px;
    z-index: 200;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.projects-view-title img {
    width: 100px;
}

*[data-gallery=manual] {
    cursor: zoom-in;
}

.photoviewer-modal {
    z-index: 11000 !important;
}

.mwst_warning {
    display: block;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffd7d7;
    color: red;
}

.mwst_warning--automatic {
    background-color: #deffd7;
    color: green;
}

.tab-photos-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px;
    background-color: lightgray;
}

.ax-select-template {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333333;
}

.ax-select-template:hover {
    cursor: pointer;
    background-color: #d5d5d5;
}

.select-template {
    padding: 4px;
    width: 100%;
}

.project-forms-buttons {
    display: flex;
    gap: 8px;
    margin: 5px 0;
}

.project-forms-buttons > * {
    margin: 0 !important;
}