*,
*:before,
*:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    --cnc-module-card-height: 200px;
    --cnc-module-card-margin-height: 2rem;
    --cnc-module-card-margin-width: 2rem;
    --cnc-module-card-background-color: #eaf5ff;
    --cnc-module-card-padding: 1rem;

    --navbar-height: 50px;
    --menu-width: 270px;
    --maincontent-padding: 20px;

    --mainframe-height: calc(100vh - var(--navbar-height) - (var(--maincontent-padding) * 2 ));
    --mainframe-width: calc(100vw - (var(--maincontent-padding) * 2) - var(--menu-width));
}

.text-success {
    color: #187d2f !important;
}


.text-warning {
    color: #bd7100 !important;
}

.btn-info {
    color: #fff;
    background-color: #3f9ac9;
    border-color: #3f9ac9;
}

.btn-info:hover {
    background-color: #3681a7;
}

button:disabled{
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #555;
    cursor: not-allowed !important;
}

input[type="button"]:disabled,
button:disabled{
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #555;
    cursor: not-allowed !important;
}

button:disabled:hover {
    color: #000 !important;
    background-color: #dfdfdf;
}

body {
    font-size: 12px;
    font-weight: 400;
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.navbar {
    background: #fff;
    height: var(--navbar-height);
    width: 100%;
    top: 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    z-index: 10000;
    padding: 0.5rem 0.7rem;
}

.navbar .navbar-logo {
    max-height: 30px;
    margin-right: 12px;
    display: none;
}

/* START: Legacy CSS */
#appheader {
    height: 50px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: relative;
}

.legacy-navbar {
    padding: 10px 16px 6px 16px;
    height: 50px;
}

.legacy-navbar a {
    padding: 0;
    vertical-align: middle;
}

.legacy-navbar img.navbar-logo {
    max-height: 30px;
    margin-right: 12px;
}

.chgb2b a {
    width: 85px;
}
.werkzeug,
.werkzeug * {
    top: 0;
    height: 50px;
    line-height: 50px;
    margin: 0 2px;
    background-position-y: center;
}
.werkzeug li img {
    vertical-align: middle !important;
}
/* END: Legacy CSS */

a.navbar-brand {
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    display: none;
}

.user-tool-menu {
    display: none;
    right: 1rem;
    height: 36px;
    margin: 0;
    text-align: right;
    position: absolute;
    top: 6px;
}

.user-tool-menu a {
    font-size: 1.25em;
    font-weight: 400;
}

.user-tool-menu a.dropdown-item {
    font-size: 14px;
    font-weight: 400;
    color: #095da8;
}

.user-tool-menu .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #095da8;
}

.user-tool-menu a.dropdown-item i {
    padding-right: 10px;
}

h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.5em;
    font-weight: 500;
    color: #095da8;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
    line-height: 50px;
    position: absolute;
}

.mainLayout {
    background: rgb(247, 245, 245);
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 0px 1fr;
    -ms-grid-rows: 1fr;
    grid-template-columns: 0px 1fr;
    grid-template-rows: 1fr;
    position: fixed;
    top: 50px;
    bottom: 0px;
    left: 0px;
    right: 0;
    transition: all 0.4s;
}

/* .mainLayout.menu-active
{
    grid-template-columns: 270px 1fr;
} */

.mainLayout .userMenu {
    -ms-grid-row: 1;
    grid-row: 1;
    grid-column: 2;
    transition: all 0.4s;
    left: -100%;
    position: fixed;
    z-index: 1000;
    width: var(--menu-width);
    height: 100%;
}

.mainLayout.menu-active .userMenu {
    left: 0;
}

.mainLayout.legacy-menu {
    position: initial;
    -ms-grid-columns: 190px auto;
    grid-template-columns: 190px auto;
}

.mainContent {
    padding: var(--maincontent-padding);
    /* overflow-y: scroll; */
    overflow-y: auto;
    -ms-grid-column: 2;
    grid-column: 2;
}

.mainContent .data {
    border: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.mainLayout.legacy-menu .mainContent {
    overflow: hidden;
}

.mainLayout #navi {
    float: none;
    border: 0;
    position: unset;
    width: 100%;
    padding-top: 10px;
    margin-left: 0px;
    margin-right: 10px;
}

.mainLayout #navi a {
    font-size: 1.1em;
}

input[type="button"],
button {
    background-color: #095da8;
    border: 0;
    color: #fff;
    padding: 0px 15px;
    line-height: 30px;
    cursor: pointer;
    display: inline-block;
    font-size: 1.3em;
    min-width: 30px;
    min-height: inherit;
    height: inherit;
    font-weight: normal;
    font-family: inherit;
    margin-bottom: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
}

.userMenu {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    overflow-y: hidden;
}

.navbar *,
.userMenu * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.userMenu .menulink.dashboard {
    margin-top: 16px;
    margin-bottom: 8px;
}

.userMenu .menulink {
    display: block;
    padding: 16px;
    font-size: 1.3em;
    font-weight: 400;
    /* Anpassung von Simon - Mobile */
    display: none;
    /* Anpassung von Simon - Mobile ENDE */
}

.userMenu .menulink.mobile-view {
    display: block;
}

.userMenu .menulink:hover {
    background-color: #095ea80c;
}

.userMenu .menulink i {
    margin-right: 8px;
}

.userMenu .menu-category {
    position: relative;
    height: 30px;
}

.userMenu .menu-category.User {
    height: 12px;
}

.userMenu .menu-category .backline {
    border-top: solid 1px #eceaea;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 15px;
}

.userMenu .menu-category span {
    background-color: #fff;
    color: #095da8;
    position: relative;
    line-height: 30px;
    padding: 4px 8px;
    font-size: 0.9em;
    font-weight: 400;
    margin-left: 32px;
}

.userMenu .menumodule.active {
    margin-bottom: 16px;
}

.userMenu .menumodule {
    /* Anpassung von Simon - Mobile */
    display: none;
    /* display: block; */
    /* Anpassung von Simon - Mobile ENDE */
}

.userMenu .menumodule.mobile-view {
    display: block;
}

.userMenu .menumodule span {
    display: block;
    padding: 12px 16px;
    font-size: 1.15em;
    font-weight: 400;
    background: url("images/nav_down.png");
    background-repeat: no-repeat;
    background-position: 18px center;
    padding-left: 40px;
    cursor: pointer;
}

.userMenu .menumodule.active span {
    background: url("images/nav_up.png");
    background-repeat: no-repeat;
    background-position: 18px center;
}

.userMenu .menumodule:not(.active) .tasklinks {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.25s;
}

.userMenu .menumodule.active .tasklinks {
    transition: all 0.3s 0.05s;
}

.userMenu .menumodule .menulink {
    font-size: 1.15em;
    padding: 12px 8px 12px 56px;
    background-image: url("images/arrow_right_light.png");
    background-repeat: no-repeat;
    background-position: right 18px center;
    color: #64829c;
    border-right: solid 3px transparent;
}

.userMenu .menumodule .menulink.active {
    border-right: solid 3px #095da8;
    background-color: #f3f7fb;
    background-image: url("images/arrow_right_active.png");
    color: #095da8;
    font-weight: 500;
}

.userMenu .menumodule .menulink:hover {
    background-image: url("images/arrow_right_active.png");
    background-color: #f3f7fb;
    color: #095da8;
}

.userMenu .menumodule .menulink.type-ModuleLink {
    background-image: url("images/link_light.png");
    background-repeat: no-repeat;
    background-position: right 17px center;
}
.userMenu .menumodule .menulink.type-ModuleLink:hover,
.userMenu .menumodule .menulink.active.type-ModuleLink {
    background-color: #f3f7fb;
    background-image: url("images/link_active.png");
}

/* START: modullink */
.userMenu .menumodule .modullink {
    font-size: 1.15em;
    padding: 12px 40px;
    font-size: 1.15em;
    font-weight: 400;
    color: #212529;
    display: block;
    border-right: solid 3px transparent;
    /*
    background-image: url('images/asterisk.png');
    background-repeat: no-repeat;
    background-position: 18px center;
    */
}

.NewDashboardItem {
    /* font-size: 1.15em;
    padding: 12px 40px;
    font-size: 1.15em;
    font-weight: 400;
    color: #212529;
    display: block;
    border-right: solid 3px transparent;
    background-image: url("images/circle_red.png");
    background-repeat: no-repeat;
    background-position: 18px center; */
    position: relative;
}

.dashboard_indicator {
    display: flex;
    border-radius: 100%;
    min-width: 16px;
    height: 16px;
    width: 30px;
    /* max-width: 30px; */
    /* width: 30px; */
    background-color: red;
    position: absolute;
    top: calc(50% - 8px);
    left: 6px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 0px 5px;
    margin: 0;
    line-height: 0;
    cursor: pointer;
    transition: all 0.25s ease, border-radius 0.3s ease;
}
.dashboard_indicator:hover {
    /* height: 22px;
    width: 36px;
    top: calc(50% - 12px);
    left: 3px; */
    /* font-size: 14px; */
    box-shadow: 0px 0px 0px 3px red;

    /* transform:scale(1.2); */

}

.dashboard_new_item_menu {
    display: flex;
    position: absolute;
    /* top: 0; */
    /* left: 100%; */
    /* right: 0; */
    z-index: 999;
    background-color: white;
    border: 2px solid tranparent;
    border-radius: 0px 5px 5px 0px;
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
    padding: 5px;
    gap: 5px;
    flex-direction: column;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.1s ease;
    /* height: 120px; */
    height: 100px;
    width: 140px;
}

.dashboard_new_item_menu_hidden{
    display: flex;
    position: absolute;
    /* top: 0; */
    /* left: 100%; */

    /* right: 0; */
    z-index: 999;
    background-color: transparent;
    border-radius: 0px;
    box-shadow: 0px 0px 2px 2px rgba(0,0,0,0.0);
    padding: 0px;
    gap: 0px;
    flex-direction: column;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    transition: all 0.1s ease;
    height: 0px;
    width: 0px;
    overflow: hidden;
}
.dashboard_new_item_menu_content {
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-content: space-evenly;
    margin-left: 0px;
    transition: all 0.25s ease;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    cursor: pointer;
}

.dashboard_new_item_menu_content:hover{
    margin-left: 10px;
    background-color: #eaf5ff;
}


.hidden {
    opacity: 0;
}

.offer-overview {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
}

.offer-overview-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    flex-wrap: wrap;
    min-width: 400px;
}

.offer-overview-header-info {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.userMenu .menumodule .modullink.active {
    border-right: solid 3px #095da8;
    background-color: #f3f7fb;
    background-image: url("images/arrow_right_active.png");
    background-repeat: no-repeat;
    background-position: right 70px center;
    color: #095da8;
    font-weight: 600;
}

.userMenu .menumodule .modullink:hover {
    background-color: #f3f7fb;
    color: #095da8;
    background-image: url("images/arrow_right_active.png");
    background-repeat: no-repeat;
    background-position: right 70px center;
}

/* END: modullink */

.button {
    padding: 6px 12px;
    background-color: transparent;
    font-size: 13px;
    font-weight: 500;
    color: #095da8;
    border: 0;
    cursor: pointer;
    float: inherit;
    margin: 0 2px;
}

.button.primary {
    background-color: #fff;
    color: #fff;
    background-color: #095da8;
    border-radius: 4px;
}

.button.primary:active {
    background-color: #104777;
}

#AppMenuExpander {
    width: 50px;
    height: 50px;
    fill: #095da8;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
    padding: 13px;
    transition: all 0.2s;
}

#AppMenuExpander:hover {
    background-color: #f3f7fb;
}

.card {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    padding: 15px;
    border: 0;
    border-radius: 0;
    flex-direction: inherit;
    display: block;
}

.aproval-body {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    overflow: hidden;
    height: 100svh;
}

.aproval-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: both;
    top: 0;
    padding: 15px;
}

.aproval-card {
    display: flex;
    flex-direction: column;
    background: #eaf5ff;
    padding: 15px;
    scroll-snap-align: start;
    scroll-behavior: smooth;
    scroll-snap-type: both;
    border-radius: 1rem;
    gap: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 3px 3px 5px 0px;
}
.aproval-card-content {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
    padding: 5px 0px;
}

.aproval-card-content-header {
    font-size: 0.9rem;
    font-weight: bold;
}

.aproval-card-content-text {
    font-size: 0.8rem;
    word-break: break-all;
    word-wrap: normal;
}


.cnc-module-body {
    /* margin: 0; */
    /* height: 100svh; */
    height:calc(100svh - 90px);
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;

}

.cnc-module-body:hover::-webkit-scrollbar-thumb {
    background: #dff0ff;
    transition: all 1s ease;
}

.cnc-module-body::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
    height: 8px;
    transition: all 1s ease;
}
.cnc-module-body::-webkit-scrollbar-thumb {
    background: #dff0ff;
    border-radius: 5px;
}
.cnc-module-body::-webkit-scrollbar-track {
    background-color: transparent;
}

.cnc-module-container {
    position: relative;
    display: flex;
    /* height: 95%; */
    height: 100svh;
    flex-wrap: nowrap;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cnc-module-container:hover::-webkit-scrollbar-thumb {
    background: #dff0ff;
    transition: all 1s ease;
}

.cnc-module-container::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
    height: 8px;
    transition: all 1s ease;
}
.cnc-module-container::-webkit-scrollbar-thumb {
    background: #dff0ff;
    border-radius: 5px;
}
.cnc-module-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.cnc-module-card {
    flex: 0 0 calc(100% - var(--cnc-module-card-margin-width) * 2 - var(--cnc-module-card-padding) * 2);
    margin: var(--cnc-module-card-margin-height) var(--cnc-module-card-margin-width);
    scroll-snap-align: center;
    background-color: var(--cnc-module-card-background-color);
    padding: var(--cnc-module-card-padding);
    border-radius: 10px;
    display: flex;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    gap: 5px;
    align-items: stretch;
    /* grid-auto-rows: .2fr 1fr .2fr; */
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.cnc-module-card-part {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.cnc-module-card-center-part {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    border-bottom: 1px solid #ccc;
}

.cnc-module-card-center-part-item {
    display: grid;
    flex-direction: row;
    justify-content: flex-start;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    grid-template-columns: 1fr .25fr .25fr .5fr;
    flex-wrap: wrap;
    justify-items: start;
    gap: 5px 15px;
    align-items: start;
}

.cnc-module-card-center-row {
    display: flex;
    /* flex-direction: row; */
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    justify-content: start;
}

.cnc-module-card-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    justify-content: start;

}

.cnc-module-card-header {
    font-size: 1rem;
    font-weight: bold;
}

.cnc-module-card-text {
    font-size: 0.8rem;
    word-break: break-all;
    word-wrap: break-word;
}

.cnc-module-container-header {
    position: absolute;
    font-weight: bold;
    top: 0;
    left: 0;
    font-size: 1.2rem;
    z-index: 1;
    padding: 5px;
}

.cnc-module-filter-btn {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    padding: 5px;
    z-index: 1;
    background-color: white;
    border-radius: 50%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    line-height: 0px;
}

.cnc-module-filter-content {
    position: absolute;
    bottom: 60px;
    right: 30px;
    width: calc(100% - 60px - 15px);
    height: calc(100% - 80px - 15px);
    padding: 15px;
    overflow-y: auto;
    gap: 10px;
    z-index: 2;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: none;
    transition: all 0.5s ease;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-evenly;
    align-items: flex-start;
}


.selected_search_content{
    background-color: #225eaa !important;
    color: white;
}


.tracking_layout_container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
    scroll-snap-type: both;
    padding: 10px;
    max-width: 100%;
}

.toggle_all_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5px;
    min-width: 100px;
    border-radius: 5px;
    background-color: #225eaa;
    color: white;
    cursor: pointer;
}
.tracking_header_container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}


.customsearch_output_container {
    max-height: 300px;
    z-index: 21;
    background: white;
    box-shadow: rgba(99, 99, 99, 0.2) 3px 3px 5px 0px;
}


.customsearch_output_container:hover::-webkit-scrollbar-thumb {
    background-color: rgb(152, 205, 255);
    transition: all 5s ease;
    overflow: hidden;
    border-radius: 5px;


}

.customsearch_output_container::-webkit-scrollbar {
    width: 7px;
    background-color: transparent;
    height: 5px;
    transition: all 1s ease;
    overflow: hidden;
    /* border-left: 1px solid black; */
    border-left: 1px solid #ccc;

    /* margin-bottom: 1rem; */

}
.customsearch_output_container::-webkit-scrollbar-thumb {
    background-color: rgb(202, 229, 255);
    transition: all 2s ease;
    /* border-left: 1px solid black; */


    /* overflow: hidden; */
    /* transition: all 1s ease; */


}
.customsearch_output_container::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    /* background-color: transparent; */
    /* outline: 1px solid #ccc; */

    background-color: rgb(233, 239, 235);
    overflow: hidden;
    /* margin-bottom: .5rem; */
    transition: all 1s ease;


}

.navbarhoverclass {
    /* background-color: #f3f7fb; */
    left : -240px !important;
    transition: all 0.2s !important;
}

.navbarhoverclass:hover {
    /* background-color: #f3f7fb; */
    left : 0px !important;
}



.input-validator-overlay {
    position: absolute;
    width: 0px;
    height: 0px;
    opacity: 0;
    z-index: 1000;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px dashed green;
    display: none;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* .input-validator-overlay:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.9);
}

.input-validator-overlay:target{
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.9);
} */

/* START: Desktop */

/* #AppMenuExpander {
    display: none;
} */

.mainLayout-Desktop {
    -ms-grid-columns: 270px 1fr;
    -ms-grid-rows: 1fr;
    grid-template-columns: 270px 1fr;
}

.mainLayout-Desktop .userMenu {
    left: 0;
}

a.navbar-brand {
    display: inline-block;
}

.navbar .navbar-logo {
    display: inline-block;
}

.user-tool-menu {
    display: inline-block;
}

.userMenu .menulink {
    display: block;
}

.userMenu .menumodule {
    display: block;
}

.data-ss-container {
    height: calc(100% - 50px) !important;
}

.hideOnDesktop {
    display: none !important;
}

.footer-agg-control { display: inline-block; vertical-align: middle; }
.footer-agg-control .agg-toggle { cursor: pointer; background: transparent; border: none; color: #333; padding: 0 4px;}
.footer-agg-control .agg-toggle:hover { color: #000000ff; }
.footer-agg-control .agg-menu { display: none; }
.footer-agg-control .agg-menu { min-width: 120px; }
.footer-agg-control .agg-menu .agg-menu-item { padding: 6px 10px;  }
.footer-agg-control .agg-menu .agg-menu-item:hover { background: #f5f7fb; }


.shining{
    position: absolute; 
    top:0; 
    left: 0; 
    z-index: 2;
    background: linear-gradient(90deg,rgb(225, 225, 225) 0%, rgba(255, 255, 255, 100) 30%, rgb(225, 225, 225) 100%);
    background-size:  200% 100%;
    animation: shiningAnimation 1.5s infinite cubic-bezier(0.15, 0.7, 0.73, 0.65);
}

@keyframes shiningAnimation {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}


@media only screen and (max-width: 900px) {
    #AppMenuExpander {
        display: block !important;
    }

    :root{
        --mainframe-width: calc(100vw - (var(--maincontent-padding) * 2));
    }

    .mainLayout-Desktop {
        -ms-grid-columns: 0px 1fr;
        -ms-grid-rows: 1fr;
        grid-template-columns: 0px 1fr;
        grid-template-rows: 1fr;
    }

    .mainLayout-Desktop.menu-active .userMenu {
        left: 0;
    }
    .mainLayout-Desktop .userMenu {
        transition: all 0.4s;
        left: -100%;
    }

    .mainLayout.menu-active .userMenu {
        left: 0;
    }

    a.navbar-brand {
        display: none;
    }

    .navbar .navbar-logo {
        display: none;
    }

    .user-tool-menu {
        display: inline-block;
    }

    .offer-overview{
        min-width: 200px;
    }

    .offer-overview-container{
        width: 100%;
        min-width: 200px;
    }
    .offer-overview-header-info {
        gap: 10px;
        width: 100%;
    }

    .tbhdr_sf{
        width: 100%;
    }
    .tbhdr_if{
        width: 100%;
    }
    .tbhdr_ihf{
        width: 100%;
    }
    .tbhdr_shf{
        width: 100%;
    }
    .tbhdr_iz{
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    .tbhdr_ihz{
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    
    .reiter {
        position: relative;
        border:none;
    }

    .reiter::before {
        display: inline-block;
        content: "\2630 Tabs anzeigen"; /* Hamburger-Menü-Symbol */
        cursor: pointer;
        padding: 0 10px;
        font-size: 18px;
        color: #095da8;
        animation: enableBurgerIcon 0.3s ease forwards;
    }

    .reiter td:first-child {
        overflow: hidden;
        pointer-events: none;
        animation: disableReiterMenu 0.3s ease forwards;
    }
    
    

    .reiter:hover td:first-child,
    .reiter:focus td:first-child,
    .reiter:active td:first-child,
    .reiter.active td:first-child {
        animation: enableReiterMenu 0.3s ease forwards  ;
    }
    

    .reiter:hover::before,
    .reiter:focus::before,
    .reiter.active::before{
        animation: disableBurgerIcon 0.3s ease forwards;
    }

    @keyframes disableBurgerIcon {
        0% {
            opacity: 1;
            margin-left: 0px;
        }
        100% {
            margin-left: -300px;
            opacity: 0;
        }
    }

    @keyframes enableBurgerIcon {
        0% {
            margin-left: -300px;
            opacity: 0;
        }
        100% {
            opacity: 1;
            margin-left: 0px;
        }
        
    }

    @keyframes disableReiterMenu {
        0%{
            opacity: 1;
            width: 100%;
            pointer-events: auto;
        }
        100%{
            opacity: 0;
            width: 0;
            height: 0;
            pointer-events: none;
            position: absolute;
        }
    }
    @keyframes enableReiterMenu {
        0%{
            opacity: 0;
            width: 0;
            height: 0;
            pointer-events: none;
        }
        100%{
            opacity: 1;
            width: 100%;
            pointer-events: auto;
            position: relative ;
        }
    }
}



.process-view-container {
  display: flex;
  flex-direction: column;
}

.process-view-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(63,154,201,0.12) 0%, rgba(63,154,201,0.06) 100%);
  border: 1px solid rgba(63,154,201,0.18);
  color: #064e63;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.12s ease, transform 0.08s ease;
}

/* .process-view-title:focus  */
.process-view-title:hover
{
  box-shadow: 0 6px 20px rgba(63,154,201,0.18);
  /* transform: translateY(-1px); */
}

.process-view-overview {
  display: block;
  padding: 10px 12px;
}

.process-view-description {
  margin: 0 0 8px 0;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}

.process-view-steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  /* margin-top: 6px; */
  transition: max-height 0.25s ease, opacity 0.2s ease;
  margin-right: 8px;
}

.process-view-steps-container {
  position: relative; /* necessary for connector SVG positioning */
}

.process-hidden {
  display: none !important;
}

.process-view-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* .process-view-step {
  display: block;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
  border: 1px solid #e6f3f7;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.12s ease, transform 0.08s ease;
} */
.process-view-step {
    display: block;
    padding: 5px 10px;
    /* border-radius: 8px; */
    /* background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
     */
    /* border: 1px solid #e6f3f7; */
    background: linear-gradient(90deg,rgba(223, 239, 245, 0.4) 0%, rgba(223, 239, 245, 0.2)  100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.12s ease;
    position: relative;
    z-index: 2; /* ensure steps sit above connector SVG */
    /* cursor: pointer; */
}


.process-view-step:hover,
.process-view-step:focus-within {
  /* box-shadow: 0 8px 24px rgba(63,154,201,0.12); */
  box-shadow: 0 4px 10px rgba(63,154,201,0.12);
  /* transform: translateY(-2px); */
}

.process-view-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icons inside title/step */
.process-view-icon,
.process-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #3f9ac9;
  font-size: 14px;
}

.process-step-icon i,
.process-view-icon i,
.process-step-icon svg,
.process-view-icon svg {
  pointer-events: none;
}

/* Caret (dreieck) */
.process-view-caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #3f9ac9;
  transition: transform 0.18s ease, opacity 0.12s ease;
}

/* Rotated caret when expanded */
.process-view-title.expanded .process-view-caret {
  transform: rotate(180deg);
}

/* Default icon color override for step icons */
.process-step-default-icon,
.process-view-default-icon {
  color: #3f9ac9;
}

.process-view-step-checkbox {
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  cursor: pointer;
  accent-color: #3f9ac9;
}

.process-view-step-title {
  font-weight: 600;
  color: #003c4f;
  font-size: 12px;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  margin: 0;
  line-break: auto;
}

.process-view-step-dynamic-input {
  margin-left: auto;
  padding: 6px 8px;
  border: 1px solid #dbeff3;
  background: #fbfeff;
  border-radius: 6px;
  min-width: 160px;
  font-size: 13px;
  color: #16323a;
}


.process-view-step-description {
  margin: 8px 0 0 28px;
  font-size: 13px;
  color: #4a646a;
}

/* Visuelle Verbindungslinie zwischen Schritten */
.process-view-steps::before {
  content: "";
  position: absolute;
}

/* Option wrapper - ermöglicht externe Modifikatoren */
.process-view-option {
  display: block;
  /* margin: 8px 0; */
}

/* Make wrapper positioned so dropdowns can be absolute without affecting layout */
.process-view-option {
  position: relative;
}

/* Beispiel-Modifier: kompakte Variante, akzent-Variante */
.process-view-option.compact .process-view-overview {
  padding: 0px;
}

/* .compact.process-view-steps-container {
  gap: 0px;
  margin-top: 0px !important;
} */

.process-view-option.accent .process-view-title {
  background: linear-gradient(90deg, rgba(63,154,201,0.16) 0%, rgba(63,154,201,0.08) 100%);
  border-color: rgba(63,154,201,0.26);
}

/* Dropdown-specific styles: steps rendered as absolute overlay without changing container size */
.process-view-steps-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  max-width: var(--mainframe-width);
  background: #fff;
  border: 1px solid #e6f3f7;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px;
  z-index: 1200;
}

/* Keep hidden state by class - used in JS toggle */
.process-view-steps-dropdown.process-hidden {
  display: none !important;
}

/* When dropdown is open, add a light transform/animation */
.process-view-option.dropdown .process-view-steps-dropdown {
  transform-origin: top left;
  transition: transform 0.16s ease, opacity 0.14s ease;
  opacity: 1;
}
.process-view-option.dropdown-open .process-view-steps-dropdown {
  transform: translateY(0);
  opacity: 1;
}

/* SVG connectors placed behind the steps */
.process-connector-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Small responsive tweak for dropdown width */
@media screen and (max-width: 420px) {
  .process-view-steps-dropdown {
    left: 0;
    right: 0;
    min-width: unset;
    max-width: none;
    margin: 0 8px;
  }
}



/* Helper class name for step items if user passes a custom class */
.process-view-step-item {
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  border: 1px solid #eef6f8;
}

/* Kleine Fußnoten/Meta innerhalb des Steps */
.process-view-step-meta {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7f83;
}

/* Fokus-Ring für Accessibility */
/* .process-view-step:focus-within,
.process-view-title:focus {
  outline: 3px solid rgba(63,154,201,0.12);
  outline-offset: 2px;
} */

/* Kleine Aktionstasten innerhalb der Step-Header */
.process-view-step-action {
  margin-left: auto;
  display: inline-flex;
  gap: 6px;
}

.process-view-action-btn {
  border: 1px solid rgba(63,154,201,0.14);
  background: transparent;
  color: #0b5870;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.process-view-action-btn:hover {
  background: rgba(63,154,201,0.06);
  box-shadow: 0 4px 12px rgba(63,154,201,0.06);
}

/* Responsive: Mobile card layout, ähnlich TableLayout mobile rules */
@media screen and (max-width: 768px) {
    .process-view-container {
        gap: 6px;
    }
    .process-view-overview {
        padding: 10px;
    }
    .process-view-steps-container {
        display: block;
    }
    .process-view-step {
        padding: 12px;
        margin-bottom: 10px;
    }
    .process-view-step-description {
        margin-left: 0;
    }
    .process-view-step-dynamic-input {
        width: 100%;
        margin-top: 8px;
    }

    /* Mobile: make dropdowns appear as fixed, scrollable panels */
    .process-view-steps-dropdown {
        position: fixed !important;
        left: 8px !important;
        right: 8px !important;
        top: 60px !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.18) !important;
        border-radius: 10px !important;
        padding: 12px !important;
        z-index: 30000 !important;
    }

    /* Larger tap targets */
    .process-view-step {
        padding: 12px 14px !important;
        font-size: 15px !important;
    }

    .process-view-step-header { 
        gap: 14px !important;
        align-items: center !important;
    }

    .process-view-step-title {
        font-size: 13px !important;
    }

    .process-view-step-checkbox {
        min-width: 22px !important;
        min-height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }

    .process-view-title {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        padding: 12px 14px !important;
    }

    /* Backdrop when dropdown open (requires dropdown-open on wrapper) */
    /* .process-view-option.dropdown-open::before {
        content: '';
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0,0,0,0.18);
        z-index: 25000;
    } */

    innercontainercell {
        max-height: none !important;
        overflow: visible !important;
        border-left: none !important;
        padding: 0 !important;
        padding-bottom: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    innercontainer {
        max-height: calc(var(--mainframe-height) - 80px) !important;
        flex-direction: column !important;
    }

    .process-view-dynamic-filters{
        flex-direction: column !important; 
        gap:10px; 
        max-height: none !important; 
        min-height: none !important;
    }
    .process-view-dynamic-filters-container{
        padding-left: 0px !important;
        border-left: none !important;
    }
}

/* Utility: collapsed/expanded animations when JS toggles max-height */
.process-collapse {
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.18s ease;
  max-height: 0;
  opacity: 0;
}

.process-expand {
  max-height: 1600px; /* genug Platz für Inhalte */
  opacity: 1;
}

innercontainer{
    display: flex;
    flex-direction: row;
    /* gap: 8px; */
    max-height: calc(var(--mainframe-height) - 35svh);
    overflow: auto;
    width: max-content;
    max-width: calc(var(--mainframe-width) - 20px);
    min-height: 300px;
}
innercontainer::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
    height: 8px;
    transition: all 1s ease;
}
innercontainer::-webkit-scrollbar-thumb {
    background: #dff0ff;
    border-radius: 5px;
}
innercontainer::-webkit-scrollbar-track {
    background-color: transparent;
}


innercontainercell{
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* width: -webkit-fill-available; */
    width: 350px;
    min-width: 280px;
    max-width: 350px;

    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom:8px;
    padding-right: 8px;
    padding-left: 8px;
}

innercontainercell::-webkit-scrollbar {
    width: 4px;
    background-color: transparent;
    height: 8px;
    transition: all 1s ease;

}
innercontainercell::-webkit-scrollbar-thumb {
    background: #dff0ff;
    border-radius: 5px;
}
innercontainercell::-webkit-scrollbar-track {
    background-color: transparent;
}


/* Wenn es nicht die erste Zelle ist, links eine Border anzeigen */
innercontainercell:not(:first-child) {
    border-left: 1px solid #e0e0e0;
    
}

.process-view-step-header input[type=date]{
    background:transparent;
    min-height: 18px;
    border: none;
}

/* .process-view-innercontainer-title{
   display: inline-flex;
    align-items: center;
    color: #064e63;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 14px;
} */

.process-view-innercontainer-title {
    display: inline-flex;
    align-items: center;
    color: #064e63;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 14px;
    flex-direction: column;
}

.process-view-innercontainer-header-title {
    display: inline-flex;
    align-items: center;
    color: #064e63;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 15px;
    flex-direction: column;
}

.process-view-dynamic-filters{
    display:flex; 
    flex-direction: row; 
    /* gap:8px;  */
    max-height: calc(var(--mainframe-height) - 35svh - 50px); 
    min-height: 250px;
}

.process-view-dynamic-filters-container{
    /* padding-left: 8px; */
    border-left: 1px solid #ccc;
}

/* .table-controls{
    background: linear-gradient(90deg,rgb(223, 239, 245) 0%, #e8f4f800 100%);
    border-radius: 6px;
} */


/* END: Desktop */
