@media (max-width: 979px) {
    .sidebar {
        width: 64px !important;
        padding: 16px 0px !important;
    }

    .sidebar img {
        width: 40px !important;
        margin-bottom: 24px;
        margin-top: 4px;
    }

    .sidebar strong {
        display: none;
    }

    .sidebar .nav-link {
        padding: 16px;
        border-radius: 0px;
        display: flex;
        justify-content: center;
    }

    .sidebar>ul {
        gap: 0px !important;
    }

    .sidebar .icon {
        font-size: 24px;
    }

    .sidebar hr:first-of-type {
        display: none;
    }

    .sidebar i {
        width: auto !important;
    }
}

.sidebar i {
    width: 32px;
}

#mFileviewer img {
    position: relative;
    left: 50%;
    transform: translate(-50%);
    max-width: 100%;
    max-height: 80vh;
    border-radius: 6px;
}

table td.bold {
    font-weight: bold;
}

.dImg {
    max-width: 150px;
    max-height: 100px;
    border-radius: 6px;
}

.dH {
    font-weight: bold;
    display: block;
    font-size: 14px;
}

.dTiles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.dTile {
    background-color: #f2f2f2;
    border: 1px solid #ced4da;
    padding: 10px 18px;
    overflow: hidden;
    width: 266px;
    border-radius: 6px;
}

.dTile img {
    transition: .1s;
}

.dTile:hover {
    cursor: pointer;
    background-color: #f5f5f5;
}

.dt-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dNW {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dSASP {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

#mGenerell .dSASP .card {
    flex: 1 1 0px;
}

#meStickSchema,
#mAngebotPos {
    z-index: 10000;
}

.dSAContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dSAContainer .dSAItem {
    display: flex;
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    justify-content: space-between;
    align-items: center;
}

.dSAContainer .dSAItem img {
    width: 50px;
}

.modal-backdrop:nth-of-type(2) {
    z-index: 1057;
}

.modal-backdrop:nth-of-type(3) {
    z-index: 10570;
}

#mFileViewer.modal {
    z-index: 10580;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease-out;
    transform: scale(0.8);
    opacity: 0;
}

.modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
    animation: smoothZoomIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-footer,
.swal2-actions {
    border-top: 0 !important;
    gap: 16px;
}

.swal2-actions {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: -8px;
}

.swal2-actions .btn {
    padding: 12px 24px;
}

.modal-footer>* {
    flex: 1 1 0px;
    padding-bottom: 0px;
}

.swal2-actions>* {
    flex: 1 1 0px;
}

.modal-header {
    border-bottom: 0 !important;
}

.modal-header>* {
    font-weight: bold;
}

.modal-footer .btn {
    padding: 12px 24px;
}

.modal-content.right {
    position: absolute;
    top: 0px;
    left: calc(100% + 10px);
    width: 300px;
}

.offer-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.04);
    z-index: 0;
    pointer-events: none;
    font-weight: bold;
}

.widget-card,
.widget-card .card-body {
    border-radius: 16px;
}

.card-header {
    background-color: #e3e3e3;
}

.card-body {
    background-color: #f5f5f5;
    border-radius: 0.375rem;
}

.card-text {
    font-size: 18px;
}

.card-body img {
    max-width: 100%;
    border-radius: 5px;
}

table {
    width: 100% !important;
}

td .motiv {
    height: 50px;
    margin: -4px;
}

td a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.accordion-item:not(:first-of-type) {
    border-top: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
}

.accordion-item,
.accordion-button {
    border-radius: 0.375rem !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: black;
    background-color: #f5f5f5;
}

.accordion-body .card-body {
    transition: .1s;
}

.accordion-body .card-body:hover {
    background-color: #e3e3e3;
    cursor: pointer;
}

input,
select,
textarea,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    box-shadow: none !important;
}

.form-control {
    background-color: #f5f5f5;
    border-color: #ced4da;
}

.form-control:focus {
    border-color: #cf311f;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #cf311f !important;
}

.select2-container--bootstrap-5 .select2-selection {
    background-color: #f5f5f5 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: black;
}

.container-lg {
    padding: 0px !important;
    overflow-y: scroll;
    max-width: 100% !important;
    margin: 0px !important;
    background-color: #f5f5f5;
}

.page-header {
    padding: 18px 16px 18px 16px;
    border-bottom-left-radius: 32px;
    background-color: white;
}

#dDashboard {
    height: 100%;
}

.dContent {
    background-color: white;
    padding: 16px;
    border-top-left-radius: 32px;
    min-height: 100%;
}

.dImgUp {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dImagePreview {
    max-height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 6px;
    margin: 0 auto;
}

.dImagePreview img {
    max-height: 138px;
    border-radius: 4px;
}

.sidebar {
    transition: .1s;
}

.sidebar>ul {
    gap: 5px;
}

.sidebar img {
    width: 100px;
}

.btn-info {
    color: white !important;
}

.btn-close:focus {
    box-shadow: none !important;
}

.callout {
    padding: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    border-left: 0.25rem solid #dee2e6;
    font-size: .9rem;
    border-radius: 5px;
}

.table tr td,
.table tr th {
    border: none !important;
}

.table tr td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.table tr td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table {
    margin-bottom: 5px;
    border-spacing: 0 2px !important;
}

.callout-success {
    background-color: #d3f8d6;
    border-color: #28a745;
}

.callout-info {
    background-color: #edfbfe;
    border-color: #7ce2f6;
}

.callout-warning {
    background-color: #fffbec;
    border-color: #ffde78;
}

.callout-danger {
    background-color: #fdf0f1;
    border-color: #eb7b86;
}

.btn-secondary {
    background-color: #f5f5f5;
    border-color: #f5f5f5;
    border: 1px solid #ced4da;
    color: black;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    color: black;
    background-color: #ced4da !important;
    border-color: #ced4da !important;
}

.btn-success {
    background-color: #3c9b42;
    border-color: #3c9b42;
    border-radius: 6px;
}

.btn-success:hover,
.btn-success:active,
.btn-success:focus {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.btn-primary {
    background-color: #cf311f;
    border-color: #cf311f;
    box-shadow: none !important;
}

.bg-primary {
    background-color: #cf311f !important;
    border-color: #cf311f;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #be2616 !important;
    border-color: #be2616 !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #cf311f !important;
}

.nav-link {
    color: #000;
    border-left: 3px solid transparent;
    border-radius: 0px !important;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
    color: #000;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav-pills .show>.nav-link {
    border-left: 3px solid #cf311f !important;
    background-color: transparent;
    color: black;
}

.page-link {
    color: black;
}

.page-link:hover {
    color: white;
    background-color: #cf311f;
    border-color: #cf311f;
}

.page-link:focus {
    color: white;
    background-color: #cf311f;
    border-color: #cf311f;
}

.page-item.active .page-link {
    color: white;
    background-color: #cf311f;
    border-color: #cf311f;
}

.page-item.disabled .page-link {
    color: black;
    background-color: #f5f5f5;
    border-color: #d0d0d0;
}

.pagination>li>a,
.pagination>li>span {
    margin: 0px 4px;
    margin-left: 4px;
    border-radius: 6px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"] {
    background-color: #cf311f !important;
}

.btnIcon {
    background-color: #d2d2d2;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .1s;
}

.btnIcon:hover {
    background-color: #b9b9b9;
    cursor: pointer;
}

.bg-light {
    background-color: #f5f5f5 !important;
}

.navbar {
    padding: 0px;
}

main {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.bSAList {
    display: none;
}

.bSAAdd {
    display: none;
}