﻿body {
}

.mainMenu .dxbl-treeview-item-container[aria-level="1"] {
    background-color: var(--bs-gray-100);
}
.mainMenu .dxbl-treeview-item-container[aria-level="1"]:focus {
    background-color: var(--bs-gray-200) !important;
}

/*.mainMenu .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-container.dxbl-active,*/
.mainMenu .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-container:not(.dxbl-disabled):not(:disabled).dxbl-active {
    color: var(--bs-body-color) !important;
}

.mainMenu .dxbl-treeview .dxbl-treeview-item > .dxbl-treeview-item-content > .dxbl-treeview-item-container:not(.dxbl-disabled):not(:disabled).dxbl-active::before {
    opacity: 10%;
}
.mainMenu .accountMenu {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid var(--bs-border-color);
}
.mainMenu .accountMenu .dxbl-treeview-item-container[aria-level="1"] {
    background-color: var(--bs-white);
}

.nav-buttons-container {
    padding: 10px 0 10px 0 !important;
}

.page .dxbl-menu.dxbl-menu-horizontal {
    margin-top: 20px
}

.pageHeader {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-content: baseline;
}
.pageHeader .infoText {
    width: 100%;
}

.pageHeader .portalLogo {
    align-items: flex-end
}

.pageHeader .portalLogo img {
    width: auto;
    height: 70px;
    margin: 30px 0 0 0;
}

@media (max-width: 1200px) {
    .pageHeader .portalLogo img {
        height: 50px;
        margin: 0;
    }
}
@media (max-width: 992px) {
    .pageHeader .portalLogo {
        display: none;
    }
}
@media (max-width: 769px) {
    .pageHeader {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

#gridWrapper {
    height: calc(100vh - 210px);
}

/* Status-Button ArticleList */
th.dxbl-grid-header {
    text-align: center !important;
}

.groupHeader,
.portalUpload .statusCell {
    width: auto !important;
    padding: 5px 30px !important;
}
.actionCell,
.statusCell {
    border-radius: 20px;
    margin: 0 auto 0 auto;
    padding: 10px 7px 10px 7px;
    background-color: var(--bs-gray-400);
    color: var( --bs-gray-900);
    width: 100%;
    display: block;
    text-align: center;
    font-size: 1.15em;
    font-weight: 500;
}
.statusCell.Aktiv {
    background-color: var(--bs-primary);
    color: var(--bs-light);
}
.statusCell.Inserieren,
.statusCell.Online {
    background-color: var(--bs-teal);
    color: var(--bs-light);
}

.statusCell.Archiv {
    background-color: var(--bs-pink);
    color: var(--bs-light);
}

.statusCell.Entwurf {
    background-color: var( --bs-warning);
    color: var(--bs-light);
}

.statusCell.Reserviert {
    background-color: var( --bs-orange);
    color: var(--bs-light);
}

.statusCell.Verkauft {
    background-color: var(--bs-danger);
    color: var(--bs-light);
}

.deactive {
    opacity: 0.6;
}

.hiddenField, .hidden {
    display: none !important;
}

.saveButton {
    margin: 10px 20px 0 20px;
    display: flex;
    justify-content: end;
    width: 100%;
}
.saveButton button {
    width: auto;
    min-width: 150px;
}

dxbl-modal,
dxbl-modal-dialog {
    /*width: 80% !important;
    min-width: 576px;
    height: 98% !important;;*/
}

@media (max-width: 769px) {
    dxbl-modal,
    dxbl-modal-dialog {
        width: 80% !important;
        min-width: 576px;
        height: 98% !important;
    }
}
/* dialogInfo */
.dxbl-message-box > .dxbl-modal-content {
    background-color: #464646 !important;
}

.dxbl-image,
.dxbl-modal-content .oi,
.nav-left .dxbl-treeview-container .oi {
    color: var(--bs-gray-600) !important;
}

.deleteModal .dxbl-modal-content {
}

.dxbl-fl-item label.dxbl-text {
    color: #808080 !important;
}

.textBlocks label.descriptionLabel,
.descriptionLabel label {
    border: 1px solid #ced4da;
    border-bottom: 0;
    border-radius: 3px;
    /**/
    padding-left: 10px !important;
    width: auto;
    height: 30px;
    background-color: whitesmoke;
    position: relative;
    bottom: -1px;
}

.textBlocks label.descriptionLabel {
    padding: 7px 10px 4px 10px !important;
}

.descriptionLabel label:before {
    content: ""; /* Zwingend erforderlich, sonst erscheint nichts */
    display: inline-block;
    width: 0;
    height: 10px;
    /*margin-right: 5px;*/
    vertical-align: middle;
}

.descriptionField.dxbl-text-edit.dxbl-memo-edit {
    min-height: 600px !important;
}

@media (max-width: 989px) {
    .descriptionField.dxbl-text-edit.dxbl-memo-edit {
        min-height: 250px !important;
    }
}

.shortDescriptionField.dxbl-text-edit.dxbl-memo-edit {
    min-height: 100px !important;
}

.teaserTextField.dxbl-text-edit.dxbl-memo-edit {
    min-height: 45px !important;
}

.dxbl-menu-bar li.imageIcon {
    /*background-color: aliceblue;*/
}

    .dxbl-menu-bar li.imageIcon svg path {
        /*fill: black;
stroke: black;*/
    }

.nav-left .dxbl-treeview-container .dxbl-treeview-item-content button {
    display: none;
    width: 0;
}

/** edit modal */
.editModal-TopMenu {
    background-color: whitesmoke;
    box-shadow: 3px 3px 3px gray;
}

.editModal-Content {
    height: 94% !important;
}

    .editModal-Content .left {
        position: relative;
        height: 100%;
        width: 100%;
        background-color: white;
        color: #464646;
        border-radius: 5px;
        left: -5px;
    }

    .editModal-Content .lastChanges {
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, /* Start am Boden: Vollweiß */
        rgba(255, 255, 255, 1) 60%, /* Bleibt vollweiß bis 70% Höhe */
        rgba(255, 255, 255, 0) 100% /* Verläuft erst auf den letzten 30% zu Transparent */
        );
    }

    .editModal-Content .lastChangesWidth {
        width: 100%;
    }

/** edit modal - success message **/
.fade-out-transition {
    transition: opacity 0.5s ease-out;
    opacity: 1;
    font-weight: 600;
    margin-left: 12px;
    margin-right: 12px;
    width: 100%;
    display: none;
}

.fading {
    opacity: 0;
}

.displayBlock {
    display: block;
}

.alert-danger {
    color: var(--bs-danger);
}

.alert-succes {
    color: var(--bs-success);
}

.group-header {
    display: flex;
}

.menu-item {
    color: var(--bs-black, #000) !important;
}

    .menu-item .icon {
        margin-left: 0 !important;
    }

.dxbl-drawer.demo-drawer {
    position: relative;
    top: 5px;
}

.actionElement label {
    width: 150px !important;
    display: block;
    padding: 8px 0 !important;
}

.actionElement .actionButton {
    background-color: var(--bs-teal) !important;
    border-color: 1px solid var(--bs-teal) !important;
}
/*********************/
.upload-validation-text {
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.upload-container,
.upload-container > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: #ADB5BD;
    width: 48px;
    height: 48px;
    -webkit-mask-image: var(--dxbl-icon-drop-file);
    mask-image: var(--dxbl-icon-drop-file);
}

.drop-file-label {
    font-weight: 500;
    font-size: 1rem;
}

.ArticleImage {
    margin: 0 auto;
}

.ArticleImage {
    opacity: 0; /* Verstecken, solange es lädt */
    transition: opacity 0.3s;
}

    .ArticleImage.is-loaded {
        opacity: 1; /* Anzeigen, wenn geladen */
    }

    .ArticleImage.error {
        opacity: .5;
        content: url('/images/FileExtensions/file-earmark-image.svg'); /* Ersatzbild via CSS */
        filter: invert(48%) sepia(9%) saturate(2476%) hue-rotate(190deg) brightness(218%) contrast(57%);
        border: 0;
        width: 100%;
        height: 60px;
    }

.dxbl-grid-table tbody tr td span.cellClass {
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
}

.text-generator {
    height: 100%;
    width: 100%;
    display: block;
}
.text-generator .textHeader {
    height: 40px;
}
    .text-generator .textHeader label {
        border: 1px solid #ced4da;
        border-radius: 3px;
        padding: 7px 10px 4px 10px;
        width: 100%;
        background-color: whitesmoke;
        display: flex
    }
.text-generator .textBlocks {
    height: 90%;
}

.text-generator .textBlocks label {
    font-size: 14px;
    color: #808080 !important;
}

.text-generator .textBlock {
    height: 45%;
}

.text-generator .buttons {
    position: relative;
    bottom: -5px;
}

.text-generator .buttons button {
    max-height: 30px !important;
    padding: 4px 10px !important;
    margin-top: 5px;
}

@media (max-width: 769px) {
    .text-generator .buttons {
     
    }
    .dxbl-drawer-content #formLayout {
        overflow-y: scroll;
    }
}

.dxbl-drawer-content #formLayout,
.dxbl-drawer-content #formLayout .dxbl-row {
    height: 99%;
}
.priceEditor .group-header {
    justify-content: start;
}
.group-header {
    display: flex;
    width: 100%;
    /*justify-content: space-between;*/
}

.text-generator .group-header {
    justify-content: space-between;
}
.group-header .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 20px;
    margin: 10px 0 0 0;
    padding: 0;
}
    .group-header .button {
    }


.priceHistory {
    margin-top: 60px !important;
}
.statusHistory {
    margin-top: 30px !important;
}


.statusHistory.portalUpload .dxbl-scroll-viewer-content {
    max-height: 60% !important;
}

.previewStatusHistory .dxbl-grid-top-panel,
.priceHistory .dxbl-grid-top-panel,
.statusHistory .dxbl-grid-top-panel {
    display: none;
}

.previewStatusHistory thead .dxbl-grid-filter-row,
.priceHistory thead .dxbl-grid-filter-row,
.statusHistory thead .dxbl-grid-filter-row {
    display: none;
}

.documentListRow .dxbl-grid-table tbody tr td:nth-child(1) img {
    margin: 0 auto;
}

.documentListRow .dxbl-grid-table tbody tr td:nth-child(1) {
    text-align: center;
}

.documentListRow .dxbl-grid-table tbody tr td:nth-child(5) {
  /*  display: flex;
    justify-content: space-between;
    height: 89px;*/
}

.documentListRow .dxbl-grid-table tr .sortButtonDown {
    margin-right: 5px;
}
.documentListRow .dxbl-grid-table tr .sortButton {
    opacity: 0;
}

#gridWrapper .dxbl-grid-table tr,
.documentListRow .dxbl-grid-table tr {
    cursor: pointer;
}

#gridWrapper.logging-history .dxbl-grid-table tr,
.statusHistory #gridWrapper .dxbl-grid-table tr {
    cursor: default;
}

#gridWrapper .dxbl-grid-table tr:hover,
.documentListRow .dxbl-grid-table tr:hover {
    background-color: var(--bs-gray-100);
}

.documentListRow .dxbl-grid-table tr:hover .sortButton {
    transition: opacity 0.75s ease-out;
    opacity: 1;
    position: relative;
    top: 0;
    background-color: var(--bs-gray-500);
    border: 1px solid var(--bs-gray-500);
}

.sortButton {
    width: 30px !important;
    height: 30px !important;
}

.sortButtonUp::before {
}

.sortButtonDown {
}

.dxbl-btn.exportButton {
    background-color: #dc3545bf !important;
    border-color: #dc3545bf !important;
    background-color: var(--bs-gray-500) !important;
    border-color: var(--bs-gray-500) !important;
}
.dxbl-btn.exportButton:hover {
    background-color: var(--bs-gray-500) !important;
    border-color: var(--bs-gray-500) !important;
}

.dxbl-btn.exportButton.updateButton {
    background-color: var(--bs-red) !important;
    border-color: var(--bs-red) !important;
}

.portalUpload .portalStatusText {
    border: 1px solid var(--bs-gray-500);
    border-radius: 3px;
    height: 30px;
    display: block;
    padding: 5px 15px;
    text-align: center;
    background-color: var(--bs-gray-300) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal;
    max-width: 200px;
}
.portalUpload .portaStatus {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-left: 5px;
    position: relative;
    top: -7px;
}

.portalUpload .portaStatus.online {
    background-color: var(--bs-teal);
}

.portalUpload .portaStatus.offline {
    background-color: var( --bs-danger);
}
.portalUpload .dxbl-btn.exportButton {
    width: 200px !important;
    height: auto !important;
    color: white !important;
    padding: 3px 30px !important;
}

.actionElement > div.dxbl-fl-cpt {
    display: flex;
    justify-content: start;
    align-items: center;
    min-width: 40%;
    height: 100%;
}

.actionElement > div.dxbl-fl-cpt .portaText {
    display: none;
}
.portalImage {
    height: 24px;
    vertical-align: middle;
}
@media (max-width: 992px) {
    .actionElement > div.dxbl-fl-cpt .portaText {
        display: block;
    }
    .portaImage,
    .actionElement div img,
    .actionElement > div.dxbl-fl-cpt .portaImage {
        display: none;
    }
    .actionElement > div.dxbl-fl-cpt {
        height: 24px !important;
    }
}    

.infoText {
    border-radius: 5px;
    padding: 10px 17px 10px 17px;
    background-color: var(--bs-primary-bg-subtle);
    border: 1px solid var( --bs-primary);
    color: var( --bs-primary);
    width: 50%;
    display: block;
    margin-bottom: 20px;
}

.alertInfoText {
    border-radius: 5px;
    padding: 10px 17px 10px 17px;
    background-color: var(--bs-danger-bg-subtle);
    border: 1px solid var( --bs-danger);
    color: var( --bs-danger);
    width: 50%;
    display: block;
    margin-bottom: 20px;
}

.uploadContainer {
    display: flex;
    flex-direction: column;
    width: 210px;
    justify-content: flex-end;
}

    .uploadContainer span {
        text-align: right
    }

    .uploadContainer .when:after {
        content: '';
    }

    .uploadContainer .from {
        margin-top: 8px;
    }

.articleActions label.dxbl-text {
    display: inline;
}

.editModal-Content.salesApiDetail > .dxbl-drawer-panel {
    border: 1px solid red;
    display: none !important;
}

#salesApiDetailWrapper label.dxbl-text {
    display: inline;
}

#salesApiDetailWrapper .actionElement .dxbl-btn {
    min-width: 150px;
}

    #salesApiDetailWrapper .actionElement .dxbl-btn::before {
        /*content: ">>";*/
    }

.resetFilterValue {
    border: 0;
    background-color: var(--bs-gray-400);
    width: 10px;
    height: 24px;
    border-radius: 16px;
    margin-left: 4px;
}

    .resetFilterValue:hover {
        background-color: var(--bs-gray-500) !important;
    }

    .resetFilterValue .dxbl-btn-caption {
        position: relative;
        left: -4px;
        top: -1px;
    }

.priceSearchField .dxbl-btn-group-right {
    display: none;
}

.priceSearchField > dxbl-spinedit:first-child {
    margin-right: 5px;
}

.articlePreviewWrapper {
    position: relative;
    top: 20px;
}

.articleImagesPreview .imagesList .image {
    margin-bottom: 5px;
}

    .articleImagesPreview .imagesList .image img {
        max-width: 230px;
    }

    .articleImagesPreview .imagesList .image .text {
        padding: 5px;
        background-color: black;
        color: white;
        width: 230px;
        display: block;
        opacity: 0.5;
        position: relative;
        top: -30px;
    }

.articlePreviewWrapper.editModal-Content .dxbl-drawer-panel {
    min-width: 230px !important;
    border: 0 !important;
}

#articlePreviewWrapper .items {
    margin: 10px;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

    #articlePreviewWrapper .items > * {
        width: 45%;
    }

    #articlePreviewWrapper .items > .item {
    }

    #articlePreviewWrapper .items .item {
        padding: 2px;
        width: 50%;
        display: flex;
        flex-direction: column
    }

        #articlePreviewWrapper .items .item label {
            width: 100%;
            font-size: 1.2em;
            margin-bottom: 10px;
            font-weight: 400;
            color: #808080 !important;
        }

        #articlePreviewWrapper .items .item span.text {
            overflow-y: scroll;
            overflow-x: hidden;
            height: 60vh;
            margin-right: 15px;
        }

#articlePreviewWrapper .dxbl-text-edit.dxbl-disabled,
#articlePreviewWrapper .dxbl-text-edit.dxbl-readonly {
    border: 0;
    background-color: transparent !important;
    color: black !important
}

    #articlePreviewWrapper .dxbl-text-edit.dxbl-disabled .dxbl-btn-group,
    #articlePreviewWrapper .dxbl-text-edit.dxbl-readonly .dxbl-btn-group {
        display: none;
    }

    #articlePreviewWrapper .dxbl-text-edit.dxbl-disabled > *,
    #articlePreviewWrapper .dxbl-text-edit:disabled > * {
        opacity: .9;
    }

.previewImage {
    margin-bottom: 15px;
    height: 40%;
    width: auto;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #ced4da;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .previewImage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.salesApiDetail .statusHistory .dxbl-scroll-viewer-content {
    overflow: scroll;
    max-height: 450px;
}

.shopPortalExports .portalImage {
    display: flex !important;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.portalExports .dxbl-treeview-item-container {
    background-color: var(--bs-gray-100);
}